/* ATU — base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: #ffffff; }
body { margin: 0; background: #ffffff; color: #0B0B0C; font-family: 'Helvetica Neue', Arial, 'Noto Serif JP', serif; position: relative; }
img { max-width: 100%; }
a { color: #0B0B0C; }
a:hover { color: #000; }
::selection { background: #F10000; color: #fff; }

@keyframes atuScrollDot { 0% { transform: translateY(-14px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
@keyframes atuHeroIn { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: none; } }

section p, section h1, section h2, section h3 { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }

.sans { font-family: 'Helvetica Neue', Arial, sans-serif; }
.serif { font-family: 'Helvetica Neue', Arial, 'Noto Serif JP', serif; }
.en { font-family: 'Helvetica Neue', Arial, sans-serif; font-style: italic; font-weight: 300; color: #6b625b; }
.body-text { font-size: clamp(15px, 1.15vw, 17px); line-height: 2.25; letter-spacing: .04em; color: #3a352f; }
/* 本文は右端までそろえる（文節改行や pretty だと行末が欠けて右に余白が出るため） */
section p.body-text { text-align: justify; text-justify: inter-character; word-break: normal; text-wrap: wrap; }
section p.en { text-wrap: wrap; }
/* 中央揃えの文は文節ごとに折り返す（iOS Safari は word-break: auto-phrase 非対応のため手動で区切る） */
.phrase { display: inline-block; }
.sp-only { display: none; }

/* intro veil + progress */
.intro { position: fixed; inset: 0; z-index: 200; background: #ffffff; pointer-events: none; transition: opacity 1.6s ease; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress__bar { height: 100%; width: 0%; background: #F10000; transition: width .08s linear; }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 110; display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(18px, 5vw, 52px); }
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: 72px; width: auto; display: block; opacity: 0; transition: opacity .5s ease; }
.site-header__right { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.menu { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); overflow: hidden; max-width: 0; opacity: 0; pointer-events: none; transition: max-width .55s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.menu.is-open { max-width: 640px; opacity: 1; pointer-events: auto; }
.menu__link { text-decoration: none; color: #0B0B0C; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: color .3s ease; }
.is-dark .menu__link, .is-dark .menu__link:hover { color: #fff; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #F10000; opacity: 0; transition: opacity .3s ease; }
.menu__link:hover .dot, .fnav:hover .dot { opacity: 1; }

.burger { background: none; border: 0; padding: 10px; margin: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.burger__dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: #0B0B0C; border: 1px solid #0B0B0C; transition: background .4s ease, border-color .4s ease, transform .4s ease; }
.is-dark .burger__dot { background: #fff; border-color: #fff; }
.is-open .burger__dot { background: transparent; transform: scale(1.25); }
.burger:hover .burger__dot { background: #F10000; border-color: #F10000; }

/* section label */
.label { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: #6a6058; text-align: center; }

/* hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px clamp(24px,6vw,72px) 110px; }
.hero h1 { margin: 0; line-height: 0; }
.hero__logo { height: clamp(100px, 15vh, 140px); width: auto; display: block; opacity: 0; animation: atuHeroIn 1.8s cubic-bezier(.2,.7,.2,1) .6s forwards; }
.cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); transition: opacity .5s ease; }
.cue__line { position: relative; width: 1px; height: 52px; background: rgba(0,0,0,.14); overflow: hidden; }
.cue__dot { position: absolute; left: -1.5px; top: 0; width: 4px; height: 4px; border-radius: 50%; background: #F10000; animation: atuScrollDot 2.4s ease-in-out infinite; }

/* brands */
.brands { scroll-margin-top: 80px; padding: clamp(40px,6vh,70px) 0 0; }
.brands > .label { margin-bottom: clamp(50px,8vh,90px); }
.brand-intro { padding: clamp(48px,7vh,84px) clamp(24px,6vw,72px) 0; text-align: center; }
.brand-intro h3 { margin: 0; font-weight: 500; font-size: clamp(24px,3.2vw,40px); line-height: 1.7; letter-spacing: .08em; }
.brand-intro__lead { margin: clamp(18px,2.6vh,26px) 0 0; font-size: clamp(14px,1.15vw,16px); line-height: 2.1; letter-spacing: .1em; color: #3a352f; }
.brand-intro .en { margin: 12px 0 0; font-size: clamp(12px,1.05vw,14px); letter-spacing: .12em; }

.brand-kv { position: relative; max-width: 1320px; margin: 0 auto; aspect-ratio: 16/9; overflow: hidden; }
.brand-kv img, .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.feature { padding: clamp(100px,14vh,180px) clamp(24px,6vw,72px) 0; }
.feature__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(44px,6vw,96px); align-items: center; }
.feature h3 { margin: 0 0 28px; font-weight: 500; font-size: clamp(24px,3vw,38px); line-height: 1.6; letter-spacing: .04em; }
.feature .body-text { margin: 0 0 20px; }
.feature .body-text:last-of-type { margin-bottom: 0; }
.feature .en { margin: 28px 0 0; font-size: clamp(13px,1.1vw,15px); line-height: 1.9; letter-spacing: .05em; }
.media { position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; }
.media img { filter: grayscale(1); }

.partners { padding: clamp(100px,15vh,180px) clamp(24px,6vw,72px); text-align: center; }
.partners h3 { margin: 0 auto clamp(24px,3.4vh,32px); font-weight: 500; font-size: clamp(21px,2.6vw,32px); line-height: 1.62; letter-spacing: .05em; }
.partners .body-text { margin: 0 auto 14px; max-width: 600px; text-align: center; }
.partners .en { margin: 0 auto clamp(44px,6vh,68px); max-width: 560px; font-size: clamp(13px,1.1vw,15px); line-height: 1.95; letter-spacing: .05em; }
.partners__label { font-size: 12px; letter-spacing: .3em; margin-bottom: clamp(22px,3vh,30px); }
.partners__list { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(24px,4vw,48px); }
.partners__list > div { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: clamp(19px,1.9vw,25px); letter-spacing: .16em; color: #26221e; transition: opacity .5s ease; }
/* .is-shown is set after reveal so the hover dim doesn't fight the reveal transition */
.partners__list:hover > div.is-shown { opacity: .4 !important; }
.partners__list > div.is-shown:hover { opacity: 1 !important; }

.shop-cta { display: inline-flex; align-items: baseline; gap: 14px; margin-top: clamp(56px,8vh,84px); padding: 18px 30px; border: 1px solid rgba(11,11,12,.35); text-decoration: none; color: #0B0B0C; transition: border-color .4s ease, background .4s ease, color .4s ease; }
.shop-cta__jp { font-size: 14px; letter-spacing: .18em; }
.shop-cta__en { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #6b625b; transition: color .4s ease; }
.shop-cta__arrow { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 13px; transition: transform .4s ease; }
.shop-cta:hover { color: #fff; background: #0B0B0C; border-color: #0B0B0C; }
.shop-cta:hover .shop-cta__en { color: #cfc7bf; }
.shop-cta:hover .shop-cta__arrow { transform: translateX(4px); }

/* philosophy */
.philosophy { scroll-margin-top: 80px; padding: clamp(120px,20vh,240px) clamp(24px,6vw,72px); background: #000; color: #fff; }
.philosophy { position: relative; overflow: hidden; }
/* 万両の枝: desktop では左端から縦書きの手前まで伸ばす。狭い画面では詩の上に全幅で置く */
.philosophy__branch { position: absolute; left: 0; top: calc(clamp(120px,20vh,240px) + clamp(400px,48vh,500px) / 2); width: 50vw; max-width: 820px; transform: translateY(-50%); pointer-events: none; }
.philosophy__branch img { display: block; width: 100%; height: auto; opacity: .9; }
.philosophy__inner { position: relative;  max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: stretch; }
.poem { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-end; gap: clamp(30px,4vw,64px); }
.poem__jp { writing-mode: vertical-rl; text-orientation: upright; height: clamp(400px,48vh,500px); font-weight: 400; font-size: clamp(14px,1.6vw,19px); line-height: 3; letter-spacing: .2em; white-space: nowrap; }
.poem__title { margin: 0; writing-mode: vertical-rl; text-orientation: upright; font-weight: 500; font-size: clamp(22px,2.9vw,34px); line-height: 1.85; letter-spacing: .12em; white-space: nowrap; }
.poem__en { margin-top: clamp(54px,8vh,90px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.poem__en p { margin: 0; font-family: 'Helvetica Neue', Arial, sans-serif; font-style: italic; color: #fff; }
.poem__en p:first-child { font-weight: 400; font-size: clamp(13px,1.4vw,18px); letter-spacing: .14em; line-height: 1.7; }
.poem__en p:last-child { max-width: 540px; font-weight: 300; font-size: clamp(13px,1.25vw,16px); line-height: 2.1; letter-spacing: .05em; }

/* message */
.message { scroll-margin-top: 80px; padding: clamp(110px,16vh,200px) clamp(24px,6vw,72px); }
.message__inner { max-width: 820px; margin: 0 auto; }
.message .label { margin-bottom: clamp(30px,4.5vh,44px); }
.message h2 { margin: 0 0 clamp(40px,6vh,64px); font-weight: 500; font-size: clamp(23px,3vw,38px); line-height: 1.7; letter-spacing: .05em; text-align: center; }
.message .body-text { margin: 0 0 26px; line-height: 2.35; }
.message .body-text:last-of-type { margin-bottom: 0; }
.message__en { margin-top: clamp(40px,6vh,64px); padding-top: clamp(32px,4.5vh,44px); border-top: 1px solid rgba(0,0,0,.12); }
.message__en .en { margin: 0; font-size: clamp(13px,1.1vw,15px); line-height: 2.05; letter-spacing: .05em; }

/* footer */
.site-footer { background: #0B0B0C; padding: clamp(72px,11vh,120px) clamp(24px,6vw,72px) clamp(36px,5vh,52px); }
.site-footer__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.site-footer__logo { display: block; line-height: 0; margin-bottom: clamp(30px,5vh,46px); }
.site-footer__logo img { height: clamp(96px,13vh,130px); width: auto; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px,4vw,52px); margin-bottom: clamp(34px,5vh,48px); }
.fnav { text-decoration: none; color: #cfc7bf; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.fnav:hover { color: #cfc7bf; }
.fnav .dot { width: 5px; height: 5px; }
.site-footer__rule { width: 100%; max-width: 760px; height: 1px; background: rgba(255,255,255,.1); margin-bottom: clamp(30px,4vh,42px); }
.site-footer__mail { scroll-margin-top: 90px; text-decoration: none; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 13px; letter-spacing: .18em; color: #cfc7bf; }
.site-footer__mail:hover { color: #fff; }
.site-footer__copy { margin-top: clamp(30px,4vh,46px); font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 10.5px; letter-spacing: .24em; color: #8a827b; }

/* reveal (JS adds .reveal-ready to <html>) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal-ready [data-reveal].is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__logo { animation: none; opacity: 1; }
  .cue__dot { animation: none; }
}

@media (max-width: 900px) {
  .philosophy__branch { position: static; transform: none; width: auto; max-width: none; margin: 0 calc(-1 * clamp(24px,6vw,72px)) clamp(48px,7vh,72px); }
  .philosophy__branch img { width: 100%; }
}

@media (max-width: 640px) {
  .site-header { padding: 8px 18px; }
  .site-header__logo img { height: 56px; }
  .menu { gap: 12px; }
  .menu__link { font-size: 10px; letter-spacing: .1em; gap: 5px; }
  .menu__link .dot { display: none; }
  .is-open .site-header__logo { opacity: 0; pointer-events: none; }
  .site-header__logo { transition: opacity .3s ease; }
  /* SP: 日本語と英語を2段に積み、矢印は右に縦中央。横一列だと幅いっぱいに詰まって見えるため */
  .shop-cta { display: inline-grid; grid-template-columns: auto auto; column-gap: 36px; row-gap: 6px; align-items: center; padding: 18px 26px 18px 30px; text-align: left; }
  .shop-cta__jp { grid-column: 1; grid-row: 1; }
  .shop-cta__en { grid-column: 1; grid-row: 2; font-size: 10px; letter-spacing: .24em; }
  .shop-cta__arrow { grid-column: 2; grid-row: 1 / span 2; }
  .hero__logo { height: 96px; }
  .poem { gap: 22px; }
  .poem__jp { height: 340px; font-size: 15px; line-height: 2.6; }
  .poem__title { font-size: 22px; }
  .sp-only { display: inline; }
  .partners h3 { font-size: 24px; line-height: 1.6; }  /* 他の見出し (.feature h3 の SP 最小 24px) と揃える */
  .brand-kv { aspect-ratio: 4/5; }
  .brand-kv img { object-position: 49.5% center; } /* ボトル中心 (x≈831/1672) を 4:5 の枠の中央に */
  #pairing-grid > div:last-child { order: -1; }
}
