/* =====================================================
   ROY LEXIE — LUXE LAYER
   style.css の後に読み込む上書きレイヤー。
   方針：写真が主役／文字は細く小さく／動きは遅く静かに
   　　　テスト用です。
   ===================================================== */
:root {
    --ink: #0b0b0b;
    --paper: #f4f1ec;
    --stone: #8c867c;
    --line: rgba(11, 11, 11, .12);
    --serif: 'Cormorant Garamond', 'Zen Old Mincho', serif;
    --jp: 'Zen Old Mincho', 'Cormorant Garamond', serif;
    --sans: 'Jost', 'Zen Kaku Gothic New', sans-serif;
    --slow: cubic-bezier(.22, .61, .36, 1);
}

/* ── BASE：生成りの紙に墨色。黒一色より上質に見える ── */
body.lx {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    cursor: auto;
    letter-spacing: .02em;
}
body.lx::after { display: none; }            /* ノイズ除去 */
body.lx button { cursor: pointer; }
body.lx ::selection { background: var(--ink); color: var(--paper); }
.lx img { width: 100%; height: 100%; object-fit: cover; }
.lx figure { margin: 0; overflow: hidden; background: #e6e2db; }

/* ── LOADING ── */
.lx-loading { background: var(--paper) !important; }
.lx-loading-mark {
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: .6em;
    color: var(--ink);
    animation: fadeIn 1s var(--slow) forwards;
    opacity: 0;
}

/* ── HEADER ── */
.lx-hdr {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 76px;
    padding: 0 48px !important;
    color: var(--paper);
    transition: background .6s var(--slow), color .6s var(--slow), border-color .6s;
}
/* 写真の上（未スクロール時）：上端に薄い影＋文字影で可読性を確保 */
.lx-hdr:not(.scrolled)::before {
    content: '';
    position: absolute; inset: 0 0 -40px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: -1;
}
.lx-hdr:not(.scrolled) { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.lx-hdr:not(.scrolled) .lx-nav-l a,
.lx-hdr:not(.scrolled) .lx-nav-r > a,
.lx-hdr:not(.scrolled) .lang-btn { font-weight: 400; }
.lx-hdr.scrolled {
    background: rgba(244, 241, 236, .92) !important;
    backdrop-filter: blur(16px);
    color: var(--ink);
    border-bottom-color: var(--line) !important;
}
.lx-logo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .45em;
    padding-left: .45em;          /* letter-spacing分の中心補正 */
    white-space: nowrap;
}
.lx-nav-l, .lx-nav-r { display: flex; gap: 32px; align-items: center; }
.lx-nav-r { justify-content: flex-end; }
.lx-nav-l a, .lx-nav-r > a, .lx-nav-r .lang-btn {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: inherit;
    position: relative;
}
.lx-nav-l a::after, .lx-nav-r > a::after {
    content: ''; position: absolute; left: 0; bottom: -4px;
    width: 100%; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right;
    transition: transform .5s var(--slow);
}
.lx-nav-l a:hover::after, .lx-nav-r > a:hover::after { transform: scaleX(1); transform-origin: left; }
.lx .lang-btn span { color: inherit; opacity: .6; }
.lx .lang-btn span.on { color: inherit; opacity: 1; }
.lx .ham { background: none; gap: 7px; }
.lx .ham span { background: currentColor; height: 1px; }
.lx .ham.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--ink); }
.lx .ham.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); opacity: 1; background: var(--ink); }

.lx .mob-menu { background: var(--paper); padding: 110px 32px 40px; }
.lx .mob-menu a {
    font-family: var(--serif);
    font-size: 30px;
    letter-spacing: .04em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.lx .mob-lang { color: var(--stone); font-size: 11px; }
.lx .mob-lang span.on { color: var(--ink); }

/* ── HERO ── */
.lx-hero {
    position: relative;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    color: var(--paper);
}
.lx-hero-img img {
    position: absolute; inset: 0;
    transform: scale(1.06);
    transition: transform 3.2s var(--slow);
    object-position: 50% 35%;   /* ロゴとカップが切れない位置 */
}
.lx-hero.in .lx-hero-img img { transform: scale(1); }
.lx-hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 22%),
        linear-gradient(to top, rgba(0,0,0,.50) 0%, rgba(0,0,0,0) 45%);
}
.lx-hero-copy {
    position: absolute; left: 0; right: 0; bottom: 9vh;
    text-align: center;
    opacity: 0; transform: translateY(16px);
    transition: opacity 1.6s var(--slow) .4s, transform 1.6s var(--slow) .4s;
}
.lx-hero.in .lx-hero-copy { opacity: 1; transform: none; }
.lx-hero-title {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(44px, 7vw, 104px);
    line-height: 1;
    letter-spacing: .01em;
    margin: 14px 0 30px;
}

/* ── COMMON PARTS ── */
.lx-eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: inherit;
    opacity: .75;
}
.lx-link {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    transition: opacity .4s;
}
.lx-link:hover { opacity: .55; }
.lx-sec { padding: 140px 48px; }
.lx-sec-hdr { text-align: center; margin-bottom: 72px; }
.lx-sec-title {
    font-family: var(--jp);
    font-weight: 400;
    font-size: clamp(26px, 2.6vw, 36px);
    letter-spacing: .2em;
    margin-top: 14px;
}
.lx-center { text-align: center; margin-top: 72px; }
.lx-empty { grid-column: 1 / -1; text-align: center; color: var(--stone); font-family: var(--jp); }

/* ── MANIFESTO ── */
.lx-manifesto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 140px 48px 0;
}
.lx-mani-img { aspect-ratio: 3 / 4; margin-bottom: 28px; }
.lx-mani-img img { transition: transform 1.6s var(--slow); }
.lx-mani:hover .lx-mani-img img { transform: scale(1.03); }
.lx-mani-num { font-family: var(--serif); font-size: 14px; color: var(--stone); }
.lx-mani-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    letter-spacing: .02em;
    margin: 6px 0 14px;
}
.lx-mani-text {
    font-family: var(--jp);
    font-size: 14px;
    line-height: 2.1;
    letter-spacing: .08em;
    color: #3a3833;
}
.lx-mani:nth-child(2) { margin-top: 96px; }   /* 段差で雑誌的なリズム */

/* ── PRODUCTS ── */
.lx-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
}
.lx-prod { display: block; }
.lx-prod-img { aspect-ratio: 4 / 5; position: relative; }
.lx-prod-img img { transition: transform 1.4s var(--slow); }
.lx-prod:hover .lx-prod-img img { transform: scale(1.04); }
.lx-prod-tag {
    position: absolute; top: 14px; left: 14px;
    font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
}
.lx-prod-info { padding-top: 18px; text-align: center; }
.lx-prod-name {
    font-family: var(--jp);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: .1em;
    margin-bottom: 6px;
}
.lx-prod-price { font-size: 12px; letter-spacing: .08em; color: var(--stone); }
.lx-prod-price s { margin-right: 8px; }
.lx-prod-price small { font-size: 10px; }

/* ── PHILOSOPHY ── */
.lx-philo {
    position: relative;
    height: 90vh; min-height: 520px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    color: var(--paper);
}
.lx-philo-img { position: absolute; inset: 0; }
.lx-philo-veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.lx-philo-q { position: relative; text-align: center; padding: 0 24px; margin: 0; }
.lx-philo-q p {
    font-family: var(--jp);
    font-size: clamp(20px, 2.4vw, 32px);
    line-height: 2.1;
    letter-spacing: .16em;
}
.lx-philo-q cite {
    display: block; margin-top: 32px;
    font-family: var(--serif); font-style: italic;
    font-size: 15px; letter-spacing: .1em; opacity: .8;
}

/* ── STORY ── */
.lx-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
    padding: 140px 48px;
}
.lx-story-img { aspect-ratio: 4 / 5; }
.lx-story-body { max-width: 460px; }
.lx-story-title {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1.05;
    margin: 18px 0 40px;
}
.lx-story-text p {
    font-family: var(--jp);
    font-size: 14px;
    line-height: 2.3;
    letter-spacing: .08em;
    color: #3a3833;
    margin-bottom: 1.6em;
}
.lx-story-body .lx-link { margin-top: 20px; }

/* ── JOURNAL：カードではなく一覧。情報を誇張しない ── */
.lx-journal { background: #ece8e1; }
.lx-journal-list { max-width: 960px; margin: 0 auto; border-top: 1px solid var(--line); }
.lx-jn {
    display: grid;
    grid-template-columns: 110px 120px 1fr 24px;
    align-items: baseline;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    transition: opacity .4s;
}
.lx-jn:hover { opacity: .55; }
.lx-jn time, .lx-jn-tag { font-size: 11px; letter-spacing: .16em; color: var(--stone); text-transform: uppercase; }
.lx-jn h3 { font-family: var(--jp); font-weight: 400; font-size: 15px; letter-spacing: .08em; line-height: 1.8; }
.lx-jn-arrow { font-family: var(--serif); text-align: right; }

/* ── FOOTER ── */
.lx-ft { background: var(--ink); color: var(--paper); padding: 110px 48px 36px; }
.lx-ft-logo {
    font-family: var(--serif);
    font-size: clamp(36px, 7vw, 96px);
    letter-spacing: .3em;
    text-align: center;
    margin-bottom: 96px;
}
.lx-ft-cols { display: flex; justify-content: center; gap: 96px; margin-bottom: 96px; }
.lx-ft-cols div { display: flex; flex-direction: column; gap: 12px; }
.lx-ft-cols a { font-size: 12px; letter-spacing: .08em; opacity: .7; transition: opacity .3s; }
.lx-ft-cols a:hover { opacity: 1; }
.lx-ft-h { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .45; margin-bottom: 6px; }
.lx-ft-btm {
    display: flex; justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid rgba(244, 241, 236, .14);
    font-size: 10px; letter-spacing: .16em; opacity: .5;
}

/* ── TOAST ── */
.lx .toast { background: var(--ink); color: var(--paper); font-family: var(--sans); letter-spacing: .14em; }

/* ── REVEAL：動きは小さく、遅く ── */
.lx .reveal { transform: translateY(18px); transition: opacity 1.4s var(--slow), transform 1.4s var(--slow); }
.lx .reveal-left { transform: none; transition: opacity 1.6s var(--slow); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .lx-prod-grid { grid-template-columns: repeat(2, 1fr); }
    .lx-story { gap: 56px; }
}
@media (max-width: 900px) {
    .lx-hdr { padding: 0 20px !important; height: 64px; }
    .lx-nav-l { display: none; }
    .lx-nav-r > a, .lx-nav-r .lang-btn { display: none; }
    .lx-nav-r > a[href="cart"] { display: inline; }
    .lx-hdr { grid-template-columns: 40px 1fr auto; }
    .lx-logo { grid-column: 2; text-align: center; font-size: 17px; }
    .lx-nav-r { grid-column: 3; gap: 18px; }

    .lx-sec { padding: 96px 20px; }
    .lx-sec-hdr { margin-bottom: 48px; }
    .lx-manifesto { grid-template-columns: 1fr; gap: 72px; padding: 96px 20px 0; }
    .lx-mani:nth-child(2) { margin-top: 0; }
    .lx-mani:nth-child(even) { padding-left: 15%; }   /* スマホでも左右に揺らす */
    .lx-mani:nth-child(odd)  { padding-right: 15%; }
    .lx-prod-grid { gap: 40px 12px; }
    .lx-story { grid-template-columns: 1fr; padding: 96px 20px; gap: 48px; }
    .lx-jn { grid-template-columns: 1fr 24px; gap: 6px 12px; padding: 24px 0; }
    .lx-jn time { grid-column: 1; }
    .lx-jn-tag { display: none; }
    .lx-jn h3 { grid-column: 1; }
    .lx-jn-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .lx-ft { padding: 80px 20px 28px; }
    .lx-ft-logo { margin-bottom: 64px; }
    .lx-ft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-bottom: 64px; }
    .lx-ft-btm { flex-direction: column; gap: 8px; text-align: center; }
}


/* =====================================================
   HERO 可読性 v3
   白Tの上に白文字が重なるため：写真全体を一段沈める＋
   コピーを左下（木のベンチ・黒パンツ側）へ移動
   ===================================================== */
.lx-hero-veil {
    background:
        linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 20%),
        linear-gradient(to top right, rgba(0,0,0,.60) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.10) 100%) !important;
}
.lx-hero-copy {
    left: 48px; right: auto; bottom: 8vh;
    text-align: left;
    max-width: 640px;
}
.lx-hero-title { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.lx-hero .lx-eyebrow { opacity: 1; font-size: 12px; font-weight: 400; }
.lx-hero .lx-link   { font-size: 12px; font-weight: 400; }

/* ヘッダー：写真上では文字をはっきり */
.lx-hdr:not(.scrolled) .lx-nav-l a,
.lx-hdr:not(.scrolled) .lx-nav-r > a,
.lx-hdr:not(.scrolled) .lang-btn { font-size: 12px; font-weight: 500; }
.lx-hdr:not(.scrolled) .lx-logo { font-weight: 500; }

@media (max-width: 900px) {
    .lx-hero-copy { left: 20px; right: 20px; bottom: 7vh; }
}