/* ==========================================================================
   EMERI AZABU — common.css
   全ページ共通スタイル（デザイントークンは LP 版 emeri-azabu-plan1 に準拠）

   実装方針：JavaScript なしで成立させる。
   - ドロワーメニュー  … Popover API（ブラウザがフォーカス管理・Escape・外側クリックを担当）
   - スクロール演出    … CSS スクロール駆動アニメーション（@supports 内でのみ適用）
   - ヘッダーの影      … scroll() タイムライン
   いずれも非対応ブラウザでは「演出が付かないだけ」で、コンテンツは常に表示される。
   ========================================================================== */

/* ---- Fonts (self-hosted, subset) -------------------------------------- */
@font-face{
  font-family:'Noto Sans JP';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/noto-sans-jp-400-jp.woff2') format('woff2');
  unicode-range:U+3000-303F,U+3041-3096,U+30A0-30FF,U+FF00-FFEF,U+4E00-9FFF,U+2018,U+2019,U+201C,U+201D,U+2025,U+2026,U+3001-3002,U+30FB,U+2460-24FF;
}
@font-face{
  font-family:'Noto Sans JP';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/noto-sans-jp-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Noto Sans JP';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/noto-sans-jp-500-jp.woff2') format('woff2');
  unicode-range:U+3000-303F,U+3041-3096,U+30A0-30FF,U+FF00-FFEF,U+4E00-9FFF,U+2018,U+2019,U+201C,U+201D,U+2025,U+2026,U+3001-3002,U+30FB,U+2460-24FF;
}
@font-face{
  font-family:'Noto Sans JP';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/noto-sans-jp-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Noto Sans JP';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/noto-sans-jp-700-jp.woff2') format('woff2');
  unicode-range:U+3000-303F,U+3041-3096,U+30A0-30FF,U+FF00-FFEF,U+4E00-9FFF,U+2018,U+2019,U+201C,U+201D,U+2025,U+2026,U+3001-3002,U+30FB,U+2460-24FF;
}
@font-face{
  font-family:'Noto Sans JP';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/noto-sans-jp-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Noto Serif JP';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/noto-serif-jp-400-jp.woff2') format('woff2');
  unicode-range:U+3000-303F,U+3041-3096,U+30A0-30FF,U+FF00-FFEF,U+4E00-9FFF,U+2018,U+2019,U+201C,U+201D,U+2025,U+2026,U+3001-3002,U+30FB,U+2460-24FF;
}
@font-face{
  font-family:'Noto Serif JP';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/noto-serif-jp-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Noto Serif JP';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/noto-serif-jp-500-jp.woff2') format('woff2');
  unicode-range:U+3000-303F,U+3041-3096,U+30A0-30FF,U+FF00-FFEF,U+4E00-9FFF,U+2018,U+2019,U+201C,U+201D,U+2025,U+2026,U+3001-3002,U+30FB,U+2460-24FF;
}
@font-face{
  font-family:'Noto Serif JP';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/noto-serif-jp-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Noto Serif JP';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/noto-serif-jp-600-jp.woff2') format('woff2');
  unicode-range:U+3000-303F,U+3041-3096,U+30A0-30FF,U+FF00-FFEF,U+4E00-9FFF,U+2018,U+2019,U+201C,U+201D,U+2025,U+2026,U+3001-3002,U+30FB,U+2460-24FF;
}
@font-face{
  font-family:'Noto Serif JP';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/noto-serif-jp-600-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;
  src:url('../fonts/cormorant-garamond-300.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/cormorant-garamond-400.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}
@font-face{
  font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/cormorant-garamond-500.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+2010-2027,U+2030-205E;
}

/* ---- Tokens --------------------------------------------------------------
   --gold は装飾専用（線・アイコン・小さい英字ラベル）。白/クリーム背景で
   コントラスト比3:1前後しかなく本文用途では基準未達のため、リンク文字や
   ホバー時の見出し等「文字として読ませる」箇所には必ず --gold-d を使うこと。
   ---------------------------------------------------------------------- */
:root{
  --cream:#FBF8F4;  --cream-2:#F5EEE6;  --white:#FFFFFF;
  --ink:#3B3229;    --ink-2:#6E6157;    --ink-3:#9A8E84;
  --line:#E7DED2;
  --gold:#B08D57;   --gold-2:#D8C39B;   --gold-3:#F0E5D2;
  --gold-d:#826840;
  --pink:#E2568C;   --pink-d:#C93E74;   --pink-2:#FBEEF3;  --pink-3:#F6DDE7;
  --line-g:#06C755; --line-gd:#05A948;

  --shadow-s:0 2px 8px rgba(59,50,41,.05);
  --shadow-m:0 8px 28px rgba(59,50,41,.08);
  --shadow-l:0 18px 50px rgba(59,50,41,.12);

  --r-s:8px;  --r-m:14px;  --r-l:22px;
  --hdr-h:74px;

  --ease:cubic-bezier(.22,.61,.36,1);

  /* 英字書体は日本語グリフを持たないため、和文フォントを必ず後ろに繋ぐ。
     （繋がないと表内の和文見出し等がOS既定の明朝にすり替わる） */
  --font-sans:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  --font-serif:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;
  --font-en:'Cormorant Garamond','Noto Serif JP','Hiragino Mincho ProN',serif;
}

/* ---- Reset ---------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;}
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--hdr-h) + 16px);
}
body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:var(--font-sans);
  font-weight:400;
  font-size:16px;
  line-height:1.9;
  letter-spacing:.02em;
  -webkit-font-smoothing:antialiased;
  /* 和文の禁則処理を厳格に。auto-phrase は非対応ブラウザでは無視される */
  line-break:strict;
  overflow-wrap:break-word;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,p,figure,dl,dd{margin:0;}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer;padding:0;}
svg{display:block;}

::selection{background:var(--pink-3);color:var(--ink);}

a:focus-visible,
button:focus-visible,
[popover]:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--pink);
  outline-offset:2px;
}

/* ---- Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---- Cross-document view transitions ---------------------------------------- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto;}
}
.site-header{view-transition-name:site-header;}
.site-footer{view-transition-name:site-footer;}

/* ---- Layout helpers -------------------------------------------------------- */
.wrap{
  width:100%;
  max-width:1120px;
  margin-inline:auto;
  padding-inline:24px;
}
@media (max-width:640px){
  .wrap{padding-inline:20px;}
}

.section{padding-block:96px;}
.section--cream{background:var(--cream);}
.section--tight{padding-block:8px 96px;}
@media (max-width:900px){
  .section{padding-block:64px;}
  .section--tight{padding-block:8px 64px;}
}

/* 章区切り：白地とクリーム地の境目にだけ髪の毛一本の線を引く */
.section + .section--cream,
.section--cream + .section{border-top:1px solid var(--line);}

/* WINBACK専用ページ等、ゴールド系トーンを強めたい章にのみ使う面色。
   面として塗るのは薄い --gold-3 のみというルール（3章）の範囲内。 */
.section--gold{background:var(--gold-3);}
.section + .section--gold,
.section--gold + .section,
.section--gold + .section--cream,
.section--cream + .section--gold{border-top:1px solid var(--line);}

/* 縦方向のリズム。連続する要素にだけ余白を足す */
.flow > * + *{margin-top:var(--flow-gap,16px);}
.flow > .btn--ghost{margin-top:28px;}
.center{text-align:center;}
.section-foot{margin-top:40px;text-align:center;}
.block-top{margin-top:56px;}

/* ---- Typography ------------------------------------------------------------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family:var(--font-en);
  font-weight:500;
  font-size:14px;
  letter-spacing:.34em;
  color:var(--gold);
  text-transform:uppercase;
}
.eyebrow::before{
  content:'';
  width:28px;height:1px;
  background:currentColor;
  display:inline-block;
}

h1,h2,h3{
  font-family:var(--font-serif);
  font-weight:600;
  color:var(--ink);
  letter-spacing:.03em;
  /* 和文のプロポーショナルメトリクスで詰める（見出しの品を出す要） */
  font-feature-settings:'palt' 1;
  text-wrap:balance;
  word-break:auto-phrase;
}
h2{font-size:clamp(26px,3.4vw,38px);line-height:1.5;margin-top:14px;}
h3{font-size:clamp(19px,2.2vw,23px);line-height:1.6;font-weight:500;}

.page-title{
  font-size:clamp(28px,4.2vw,42px);
  line-height:1.5;
  margin-top:14px;
}

.lede{
  color:var(--ink-2);
  font-size:16px;
  line-height:1.95;
  /* 和文の可読行長は40字前後が上限。56em では長すぎる */
  max-width:44em;
  word-break:auto-phrase;
}

.note{
  font-size:13px;
  line-height:1.9;
  color:var(--ink-2);
}
.note--top{margin-top:32px;}

.section-head{margin-bottom:48px;}
.section-head--center{text-align:center;}
.section-head--center .eyebrow{justify-content:center;}
.section-head--center .lede{margin-inline:auto;}

.check-list{display:flex;flex-direction:column;gap:10px;}
.check-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--ink-2);
  font-size:14.5px;
}
.check-list svg{width:18px;height:18px;flex:none;margin-top:6px;color:var(--gold);}

/* ---- Buttons ---------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:52px;
  padding-inline:30px;
  border-radius:99px;
  font-size:14px;
  font-weight:500;
  letter-spacing:.08em;
  white-space:nowrap;
  transition:background-color .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease),box-shadow .3s var(--ease),translate .3s var(--ease);
}
.btn svg{width:16px;height:16px;flex:none;}
.btn:active{translate:0 1px;}

.btn--ink{background:var(--ink);color:var(--white);}
.btn--ink:hover{background:#2b241d;}

.btn--pink{background:var(--pink);color:var(--white);box-shadow:var(--shadow-s);}
.btn--pink:hover{background:var(--pink-d);}

.btn--line{background:var(--line-g);color:var(--white);}
.btn--line:hover{background:var(--line-gd);}

.btn--outline{background:transparent;color:var(--ink);border:1px solid var(--line);}
.btn--outline:hover{border-color:var(--ink-3);background:var(--cream);}

.btn--ghost{background:transparent;color:var(--ink-2);height:auto;padding:0;border-radius:0;}
.btn--ghost svg{transition:translate .3s var(--ease);}
.btn--ghost:hover{color:var(--ink);}
.btn--ghost:hover svg{translate:3px 0;}

.btn--sm{height:40px;padding-inline:20px;font-size:13px;}
.btn--block{width:100%;}

.actions{display:flex;gap:14px;flex-wrap:wrap;}
.actions--center{justify-content:center;}

/* ---- Header ---------------------------------------------------------------- */
.site-header{
  position:sticky;top:0;
  z-index:100;
  height:var(--hdr-h);
  background:rgba(251,248,244,.92);
  backdrop-filter:saturate(160%) blur(10px);
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

/* スクロール量に連動して影を付ける（JS不使用） */
@supports (animation-timeline:scroll()){
  .site-header{
    animation:hdr-shadow linear both;
    animation-timeline:scroll(root);
    animation-range:0 120px;
  }
  @keyframes hdr-shadow{
    from{box-shadow:0 0 0 rgba(59,50,41,0);}
    to{box-shadow:var(--shadow-s);}
  }
}

.brand{display:flex;align-items:center;gap:10px;flex:none;}
.brand__mark{height:32px;width:auto;flex:none;}
.brand__type{
  font-family:var(--font-en);
  font-weight:500;
  font-size:19px;
  letter-spacing:.16em;
  color:var(--ink);
  white-space:nowrap;
}

.gnav{display:flex;align-items:center;gap:40px;}
.gnav__list{display:flex;align-items:center;gap:32px;}
.gnav__link{
  position:relative;
  font-size:14px;
  letter-spacing:.06em;
  color:var(--ink-2);
  padding-block:6px;
  white-space:nowrap;
}
.gnav__link::after{
  content:'';
  position:absolute;left:0;right:0;bottom:0;
  height:1px;background:var(--gold);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}
.gnav__link:hover{color:var(--ink);}
.gnav__link:hover::after,
.gnav__link[aria-current="page"]::after{transform:scaleX(1);}
.gnav__link[aria-current="page"]{color:var(--ink);}

.header__actions{display:flex;align-items:center;gap:16px;flex:none;}

.nav-toggle{
  display:none;
  flex:none;
  width:40px;height:40px;
  align-items:center;justify-content:center;
  border-radius:99px;
  color:var(--ink);
  transition:color .3s var(--ease),background-color .3s var(--ease),border-color .3s var(--ease),box-shadow .3s var(--ease);
}
.nav-toggle svg{width:20px;height:20px;}

@media (max-width:1024px){
  .gnav__list{display:none;}
  .nav-toggle{display:inline-flex;}
}

/* ---- Glass accent ------------------------------------------------------------
   トレンド要素としてグラスモーフィズムを取り入れる箇所は、本文のカード・CTAではなく
   「UIの外側」にあたる小さな操作ボタン（ハンバーガー／閉じる／SNSアイコン／戻る）
   に限定する。地色ルール（面で塗らない・ゴールドは細線とホバーのみ）はここでも維持。 ---- */
.nav-toggle,
.drawer__close,
.footer__social a,
.to-top{
  background:rgba(255,255,255,.5);
  backdrop-filter:blur(12px) saturate(180%);
  -webkit-backdrop-filter:blur(12px) saturate(180%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 2px 10px rgba(59,50,41,.06),inset 0 1px 0 rgba(255,255,255,.6);
}
.nav-toggle:hover,
.drawer__close:hover,
.footer__social a:hover,
.to-top:hover{
  color:var(--gold);
  background:rgba(255,255,255,.8);
  border-color:rgba(176,141,87,.4);
}
@supports not (backdrop-filter:blur(1px)){
  .nav-toggle,.drawer__close,.footer__social a,.to-top{
    background:var(--white);
    border-color:var(--line);
    box-shadow:var(--shadow-s);
  }
}

/* ---- Drawer (Popover API — JSなし) -------------------------------------------- */
.drawer{
  position:fixed;
  inset:0 0 0 auto;
  width:min(320px,84vw);
  height:100dvh;
  max-height:none;
  max-width:none;
  margin:0;
  padding:22px 28px calc(32px + env(safe-area-inset-bottom,0px));
  border:0;
  border-radius:0;
  background:var(--white);
  box-shadow:var(--shadow-l);
  color:var(--ink);
  overflow-y:auto;
  overscroll-behavior:contain;
  display:flex;
  flex-direction:column;
  gap:28px;
  translate:100% 0;
  transition:translate .4s var(--ease),overlay .4s allow-discrete,display .4s allow-discrete;
}
.drawer:popover-open{translate:0 0;}
@starting-style{
  .drawer:popover-open{translate:100% 0;}
}
.drawer::backdrop{
  background:rgba(59,50,41,0);
  transition:background .4s var(--ease),overlay .4s allow-discrete,display .4s allow-discrete;
}
.drawer:popover-open::backdrop{background:rgba(59,50,41,.35);}
@starting-style{
  .drawer:popover-open::backdrop{background:rgba(59,50,41,0);}
}
/* ドロワーを開いている間は背面をスクロールさせない */
html:has(.drawer:popover-open){overflow:hidden;}
/* Popover 非対応ブラウザでは素の div が本文に露出してしまうため隠す
   （その場合もフッターに全ページへのナビゲーションがあるので回遊は可能） */
@supports not selector(:popover-open){
  .drawer{display:none;}
}

.drawer__top{display:flex;align-items:center;justify-content:space-between;height:52px;}
.drawer__label{
  font-family:var(--font-en);
  font-size:16px;
  letter-spacing:.24em;
  color:var(--ink-2);
}
.drawer__close{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink);margin-right:-8px;}
.drawer__close svg{width:18px;height:18px;}
.drawer__list{display:flex;flex-direction:column;}
.drawer__list a{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 2px;
  border-bottom:1px solid var(--line);
  font-family:var(--font-serif);
  font-size:16px;
  color:var(--ink);
}
.drawer__list a svg{width:14px;height:14px;color:var(--gold-2);}
.drawer__foot{margin-top:auto;display:flex;flex-direction:column;gap:12px;}

/* ---- Footer ------------------------------------------------------------------ */
.site-footer{background:var(--cream-2);border-top:1px solid var(--line);}
.site-footer .wrap{padding-block:72px 32px;}
.footer__top{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:48px;
  padding-bottom:48px;
}
.footer__brand .brand{margin-bottom:16px;}
.footer__brand p{color:var(--ink-2);font-size:14px;line-height:1.9;max-width:32em;}
.footer__heading{
  font-family:var(--font-en);
  font-size:12px;
  letter-spacing:.28em;
  color:var(--gold);
  text-transform:uppercase;
  margin-bottom:18px;
}
.footer__list{display:flex;flex-direction:column;gap:12px;}
.footer__list a{font-size:14px;color:var(--ink-2);}
.footer__list a:hover{color:var(--ink);}
.footer__note{font-size:13px;color:var(--ink-2);line-height:1.9;margin-top:18px;}
.footer__social{display:flex;gap:12px;margin-top:18px;}
.footer__social a{
  width:38px;height:38px;border-radius:99px;
  display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2);
}
.footer__social svg{width:16px;height:16px;}

.footer__bottom{
  border-top:1px solid var(--line);
  padding-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.footer__copy{font-size:12px;color:var(--ink-2);letter-spacing:.04em;}
.footer__legal{display:flex;gap:20px;}
.footer__legal a{font-size:12px;color:var(--ink-2);}
.footer__legal a:hover{color:var(--ink);}

@media (max-width:820px){
  .footer__top{grid-template-columns:1fr 1fr;row-gap:36px;}
  .footer__brand{grid-column:1/-1;}
}
@media (max-width:520px){
  .footer__top{grid-template-columns:1fr;}
  .footer__bottom{flex-direction:column;align-items:flex-start;}
}

/* ---- Hero --------------------------------------------------------------------- */
/* LPのHero（写真を背景にテキストを重ねる構成）にデザインを合わせる。
   ヘッダーはLPと違いsticky・常時不透明のままとし、ヘッダーだけを別途
   固定透過にするJS実装（LPの.is-stuck切り替え）は導入しない。 */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:min(88svh,760px);
  display:flex;
  align-items:center;
  padding-block:88px;
}
.hero__bg{position:absolute;inset:0;z-index:-2;}
.hero__bg img{width:100%;height:100%;object-fit:cover;object-position:58% 42%;}
.hero::after{
  content:'';
  position:absolute;inset:0;z-index:-1;
  /* オーバーレイは黒ではなく --ink 系の茶色で（3章の影の色ルールに合わせる） */
  background:
    linear-gradient(100deg, rgba(59,50,41,.74) 0%, rgba(59,50,41,.5) 38%, rgba(59,50,41,.16) 66%, rgba(59,50,41,.06) 100%),
    linear-gradient(180deg, rgba(59,50,41,.32) 0%, transparent 30%);
}
.hero__inner{max-width:720px;}
.hero .eyebrow{color:var(--gold-2);}
.hero h1{
  font-size:clamp(32px,5vw,52px);
  line-height:1.45;
  margin-top:18px;
  color:var(--white);
  text-shadow:0 2px 24px rgba(0,0,0,.3);
}
.hero .lede{
  margin-top:22px;
  font-size:17px;
  color:rgba(255,255,255,.92);
  text-shadow:0 1px 14px rgba(0,0,0,.3);
}
.hero .actions{margin-top:36px;}

/* 信頼バッジ（LPの hero__trust に相当）。半透明の角丸ピルでアイコン＋短い訴求文を横並び表示。 */
.hero__trust{
  display:flex;flex-wrap:wrap;gap:10px 8px;
  margin-top:32px;padding-top:22px;
  border-top:1px solid rgba(255,255,255,.22);
}
.hero__trust li{
  display:flex;align-items:center;gap:.5em;
  padding:.5em .95em;
  border-radius:99px;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  font-size:12.5px;letter-spacing:.03em;
  color:rgba(255,255,255,.92);
  text-shadow:0 1px 10px rgba(0,0,0,.25);
}
.hero__trust svg{width:15px;height:15px;flex:none;color:var(--gold-2);}
/* Hero内限定でoutlineボタンを白ベースに（header__actionsと同じスコープ限定の考え方） */
.hero .btn--outline{
  color:var(--white);
  border-color:rgba(255,255,255,.55);
  background:rgba(255,255,255,.08);
}
.hero .btn--outline:hover{
  background:rgba(255,255,255,.16);
  border-color:var(--white);
}
@media (max-width:640px){
  .hero{min-height:auto;padding-block:64px 72px;}
  .hero__bg img{object-position:66% 42%;}
}

/* ---- Media frame / photo placeholder ------------------------------------------- */
.media-frame{
  border-radius:var(--r-l);
  overflow:hidden;
  box-shadow:var(--shadow-m);
}
.media-frame--hero{margin-top:56px;box-shadow:var(--shadow-l);}

.photo{
  width:100%;
  height:auto;
  object-fit:cover;
  background:var(--cream-2);
}
.photo--4x3{aspect-ratio:4/3;}
.photo--3x4{aspect-ratio:3/4;}
.photo--21x9{aspect-ratio:21/9;}
@media (max-width:640px){
  .photo--21x9{aspect-ratio:3/2;}
}

/* PCでは切り抜かず、画像全体を80%幅で表示する */
@media (min-width:901px){
  .media-frame--fit-pc{width:80%;margin-inline:auto;}
  .media-frame--fit-pc .photo{aspect-ratio:auto;}
}

/* ---- Lightbox (画像クリックで拡大表示 / Popover API) ------------------------------- */
.photo-btn{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:none;
  cursor:zoom-in;
}
.photo-btn:focus-visible{outline:2px solid var(--pink);outline-offset:3px;}

.lightbox{
  max-width:92vw;
  max-height:88vh;
  padding:0;
  border:0;
  border-radius:var(--r-l);
  background:var(--ink);
  box-shadow:var(--shadow-l);
  overflow:hidden;
}
.lightbox::backdrop{background:rgba(59,50,41,.75);}
.lightbox__img{
  display:block;
  max-width:92vw;
  max-height:88vh;
  width:auto;
  height:auto;
}
.lightbox__close{
  position:absolute;
  top:12px;right:12px;
  z-index:1;
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border:0;
  border-radius:99px;
  background:var(--white);
  color:var(--ink);
  cursor:pointer;
  box-shadow:var(--shadow-s);
}
.lightbox__close:hover{color:var(--gold);}
.lightbox__close:focus-visible{outline:2px solid var(--pink);outline-offset:2px;}

/* ---- Device-only utilities (予約導線のPC/SP出し分け用) --------------------------- */
.sp-only{display:none;}
@media (max-width:640px){
  .sp-only{display:inline-flex;}
}

/* 実写真が入るまでの仮置きブロック */
.ph{
  position:relative;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--cream-2) 0%,var(--cream) 55%,var(--gold-3) 100%);
  overflow:hidden;
}
.ph::before{
  content:'';
  position:absolute;inset:0;
  background-image:repeating-linear-gradient(45deg,rgba(176,141,87,.06) 0 1px,transparent 1px 26px);
}
.ph__label{
  position:relative;
  display:flex;flex-direction:column;align-items:center;gap:6px;
  font-family:var(--font-en);
  font-size:11px;
  letter-spacing:.3em;
  text-transform:uppercase;
  text-align:center;
  color:var(--ink-3);
}
.ph__label svg{width:26px;height:26px;color:var(--gold-2);}
.ph--4x3{aspect-ratio:4/3;}
.ph--3x4{aspect-ratio:3/4;}
.ph--1x1{aspect-ratio:1/1;}
.ph--21x9{aspect-ratio:21/9;}
@media (max-width:640px){
  .ph--21x9{aspect-ratio:3/2;}
}

/* ---- Map embed ------------------------------------------------------------------- */
.map-embed{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  border:0;
  background:var(--cream-2);
}

/* ---- Stats (大きな数字の実績表示。WINBACK専用ページの導入実績等に使う) ---------------- */
.stats{
  display:grid;gap:1px;
  grid-template-columns:repeat(2,1fr);
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--r-m);
  overflow:hidden;
}
.stats li{background:var(--white);padding:28px 16px;text-align:center;}
.stats b{
  display:block;
  font-family:var(--font-en);
  font-size:clamp(32px,5.5vw,44px);
  font-weight:500;line-height:1.1;
  color:var(--gold-d);
}
.stats b small{font-family:var(--font-sans);font-size:.34em;font-weight:500;margin-left:.3em;letter-spacing:.02em;}
.stats span{display:block;margin-top:10px;font-size:13px;color:var(--ink-2);letter-spacing:.03em;}

/* ---- Cards / grids -------------------------------------------------------------- */
.grid{display:grid;gap:28px;}
.grid--3{grid-template-columns:repeat(3,1fr);}
@media (max-width:900px){
  .grid--3{grid-template-columns:repeat(2,1fr);row-gap:24px;}
}
@media (max-width:640px){
  .grid--3{grid-template-columns:1fr;}
}

.feature{
  padding:36px 32px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-m);
}
.feature__icon{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  border-radius:99px;
  background:var(--gold-3);
  color:var(--gold);
  margin-bottom:20px;
}
.feature__icon svg{width:20px;height:20px;}
.feature h3{margin-bottom:10px;}
.feature p{color:var(--ink-2);font-size:14.5px;line-height:1.9;}

/* ---- Split (media + text) -------------------------------------------------------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.split--reverse .media-frame,
.split--reverse .photo-duo{order:2;}
@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:32px;}
  .split--reverse .media-frame,
  .split--reverse .photo-duo{order:0;}
}

/* ---- Photo duo (2枚組の画像) ------------------------------------------------------ */
.photo-duo{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media (max-width:640px){
  .photo-duo{grid-template-columns:1fr;}
}

/* ---- Page intro / breadcrumb ------------------------------------------------------ */
.page-intro{padding-block:64px 24px;}
.page-intro .lede{margin-top:20px;}
.breadcrumb ol{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  font-size:12.5px;color:var(--ink-2);
  margin-bottom:18px;
}
.breadcrumb li{display:flex;align-items:center;gap:8px;}
.breadcrumb li + li::before{
  content:'';
  width:5px;height:5px;
  border-top:1px solid var(--ink-3);
  border-right:1px solid var(--ink-3);
  rotate:45deg;
}
.breadcrumb a:hover{color:var(--gold-d);}

/* ---- CTA band ----------------------------------------------------------------------- */
.cta-band{
  padding-block:72px;
  background:var(--ink);
  color:var(--white);
  text-align:center;
}
.cta-band .eyebrow{color:var(--gold-2);justify-content:center;}
.cta-band h2{color:var(--white);}
.cta-band p{color:rgba(255,255,255,.78);margin-top:16px;}
.cta-band .actions{margin-top:34px;}
.cta-band .btn--outline{border-color:rgba(255,255,255,.35);color:var(--white);}
.cta-band .btn--outline:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.6);}

/* ---- Steps ----------------------------------------------------------------------------- */
.steps{display:flex;flex-direction:column;}
.step{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:24px;
  padding-block:32px;
  border-top:1px solid var(--line);
}
.steps .step:first-child{border-top:none;}
.step__icon{
  width:56px;height:56px;
  border-radius:99px;
  background:var(--cream-2);
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold);
}
.step__icon svg{width:22px;height:22px;}
.step h3{margin-bottom:8px;}
.step p{color:var(--ink-2);font-size:14.5px;}

/* ---- Price table -------------------------------------------------------------------------- */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.price-table{
  width:100%;
  border-collapse:collapse;
  background:var(--white);
}
.price-table caption{
  text-align:left;
  font-family:var(--font-serif);
  font-size:18px;
  padding-bottom:16px;
  color:var(--ink);
}
.price-table th,.price-table td{
  text-align:left;
  padding:18px 16px;
  border-bottom:1px solid var(--line);
  font-size:14.5px;
  font-weight:400;
}
.price-table thead th{
  font-size:12.5px;
  letter-spacing:.08em;
  color:var(--ink-2);
  font-weight:500;
  border-bottom:1px solid var(--ink-3);
}
.price-table td:last-child,
.price-table thead th:last-child{text-align:right;white-space:nowrap;}
/* 時間列も改行させない（狭い画面で「60 / 分」のように割れるのを防ぐ） */
.price-table td:not(:last-child){white-space:nowrap;}
/* 料金は英字書体（Cormorant Garamond）で x ハイトが小さく、同じ px 数でも本文より
   小さく見える。時間（14.5px）よりはっきり大きく読ませるため、サイズと字面を上げる。 */
.price-table td:last-child{
  font-family:var(--font-en);
  font-size:22px;
  font-weight:500;
  line-height:1.25;
  color:var(--ink);
}
@media (max-width:640px){
  .price-table td:last-child{font-size:20px;}
}
.price-table__note{
  display:flex;gap:10px;
  padding:20px 16px;
  background:var(--cream-2);
  border-radius:var(--r-s);
  color:var(--ink-2);
  font-size:13.5px;
  margin-top:16px;
}
.price-table__note svg{width:16px;height:16px;flex:none;margin-top:5px;color:var(--gold);}

/* ---- Owner profile ---------------------------------------------------------------------- */
.profile{
  display:grid;
  grid-template-columns:minmax(260px,380px) 1fr;
  gap:64px;
  align-items:start;
}
.profile__role{
  font-family:var(--font-en);
  font-size:13px;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--gold);
}
.profile__name{
  font-size:clamp(26px,3vw,34px);
  line-height:1.4;
  margin-top:6px;
}
@media (max-width:900px){
  .profile{grid-template-columns:1fr;gap:32px;}
  .profile .media-frame{max-width:380px;}
}

/* ---- Access ------------------------------------------------------------------------------------ */
.notice{
  display:flex;gap:14px;
  padding:22px 24px;
  border-radius:var(--r-m);
  background:var(--pink-2);
  border:1px solid var(--pink-3);
  color:var(--ink);
  font-size:14px;
  line-height:1.85;
}
.notice svg{width:20px;height:20px;flex:none;color:var(--pink-d);margin-top:6px;}
.notice strong{font-weight:700;}

.info-list{display:flex;flex-direction:column;margin-top:28px;}
.info-list__row{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:20px;
  padding-block:20px;
  border-top:1px solid var(--line);
  font-size:14.5px;
}
.info-list__row:first-child{border-top:none;}
.info-list dt{
  font-family:var(--font-en);
  font-size:12px;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--ink-2);
  padding-top:2px;
}
.info-list dd{color:var(--ink-2);}
.info-list dd .note{margin-top:2px;}
@media (max-width:560px){
  .info-list__row{grid-template-columns:1fr;gap:6px;}
}

/* ---- Tag badge (post-card meta / article meta 共通) ----------------------------------------------- */
.tag{
  display:inline-flex;
  align-items:center;
  padding:4px 12px;
  border-radius:99px;
  background:var(--gold-3);
  color:var(--ink-2);
  font-size:11.5px;
  letter-spacing:.04em;
  white-space:nowrap;
}

/* ---- Post card (column 一覧) ----------------------------------------------------------------------- */
.post-card{
  display:flex;
  flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-m);
  overflow:hidden;
  transition:border-color .3s var(--ease);
}
.post-card:hover{border-color:var(--gold-2);}
.post-card__thumb{aspect-ratio:4/3;overflow:hidden;background:var(--cream-2);}
.post-card__thumb img{width:100%;height:100%;object-fit:cover;transition:scale .5s var(--ease);}
.post-card:hover .post-card__thumb img{scale:1.04;}
.post-card__body{
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
  padding:24px 24px 28px;
}
.post-card__meta{display:flex;align-items:center;gap:10px;}
.post-card__date{
  font-family:var(--font-en);
  font-size:12.5px;
  letter-spacing:.06em;
  color:var(--ink-3);
}
.post-card__title{
  font-size:17px;
  line-height:1.6;
  transition:color .3s var(--ease);
}
.post-card:hover .post-card__title{color:var(--gold-d);}
.post-card__excerpt{
  color:var(--ink-2);
  font-size:14px;
  line-height:1.9;
  margin-top:auto;
  padding-top:2px;
}

/* ---- Article (column 記事詳細) --------------------------------------------------------------------- */
.article-meta{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:22px;
}
.article-meta time{
  font-family:var(--font-en);
  font-size:13px;
  letter-spacing:.08em;
  color:var(--ink-2);
}
.article-hero{margin-top:40px;}
.article-body{max-width:44em;margin-inline:auto;}
.article-body > * + *{margin-top:28px;}
.article-body h2{
  font-size:clamp(21px,2.6vw,26px);
  margin-top:56px;
}
.article-body h3{margin-top:8px;}
.article-body p{color:var(--ink-2);font-size:16px;line-height:1.95;}
.article-body ul{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-left:1.4em;
}
.article-body ul li{list-style:disc;color:var(--ink-2);font-size:15px;line-height:1.9;}
.article-body strong{color:var(--ink);font-weight:700;}
.article-foot{
  max-width:44em;
  margin-inline:auto;
  margin-top:56px;
  padding-top:32px;
  border-top:1px solid var(--line);
}

/* ---- Before / After (メニュー項目に紐づく施術前後の写真) ---------------------------------------
   独立したギャラリーではなく、各メニューの直下に置く前提のコンポーネント。
   景表法の打消し表示の作法にしたがい、注釈は写真と同じまとまりの中（＝同一画面内）に置き、
   本文と大きく変わらない文字サイズ・十分なコントラスト比（--ink / --cream-2 で約10.9:1）で表示する。
   注釈だけを別の場所へ移したり、文字を小さくしたりしないこと。 */
.ba{
  margin-top:40px;
  padding:28px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-m);
}
.ba__head{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-bottom:20px;
}
.ba__title{font-family:var(--font-serif);font-size:17px;color:var(--ink);}
.ba__for{
  font-family:var(--font-en);
  font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-d);
}
.ba__pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.ba__item{position:relative;}
.ba__item .ph,
.ba__item .photo{border-radius:var(--r-s);}
.ba__tag{
  position:absolute;left:12px;top:12px;
  display:inline-flex;align-items:center;
  padding:5px 14px;
  border-radius:99px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  font-family:var(--font-en);
  font-size:12px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--ink);
}
@media (max-width:640px){
  .ba{padding:20px;}
  .ba__pair{gap:12px;}
  .ba__tag{left:8px;top:8px;padding:4px 10px;font-size:11px;letter-spacing:.14em;}
}

/* 打消し表示。写真の直下・同一ブロック内に固定する。 */
.ba__note{
  display:flex;gap:10px;
  margin-top:20px;
  padding:16px 18px;
  background:var(--cream-2);
  border-radius:var(--r-s);
  color:var(--ink);
  font-size:13.5px;
  line-height:1.85;
}
.ba__note svg{width:16px;height:16px;flex:none;margin-top:5px;color:var(--gold-d);}

/* ---- Payment（お支払い方法） ------------------------------------------------------------------- */
.pay{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--r-m);
  overflow:hidden;
}
.pay li{
  background:var(--white);
  padding:28px 20px;
  text-align:center;
}
.pay svg{width:26px;height:26px;color:var(--gold);}
.pay b{display:block;margin-top:12px;font-family:var(--font-serif);font-size:16px;font-weight:500;color:var(--ink);}
.pay span{display:block;margin-top:8px;font-size:13px;color:var(--ink-2);line-height:1.8;}
@media (max-width:640px){
  .pay{grid-template-columns:1fr;}
  .pay li{padding:22px 20px;}
}

/* ---- Scroll reveal ------------------------------------------------------------------------------ */
/* スクロール駆動アニメーションに対応し、かつユーザーが動きを許容している場合にのみ
   フェードインを適用する。非対応・reduce 指定時は最初から表示されたままになる。 */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .reveal{
      animation:reveal-in linear both;
      animation-timeline:view();
      animation-range:entry 5% cover 20%;
    }
    @keyframes reveal-in{
      from{opacity:0;translate:0 16px;}
      to{opacity:1;translate:0 0;}
    }
  }
}

/* ---- Back to top ---------------------------------------------------------------------------------- */
/* 200〜400px スクロールした間にフェードイン。非対応ブラウザでは常時表示。 */
.to-top{
  position:fixed;
  right:20px;
  bottom:calc(20px + env(safe-area-inset-bottom,0px));
  z-index:90;
  width:48px;height:48px;
  border-radius:99px;
  color:var(--ink-2);
  display:flex;align-items:center;justify-content:center;
}
.to-top svg{width:18px;height:18px;}
@supports (animation-timeline:scroll()){
  .to-top{
    animation:to-top-in linear both;
    animation-timeline:scroll(root);
    animation-range:200px 400px;
  }
  @keyframes to-top-in{
    from{opacity:0;visibility:hidden;translate:0 12px;}
    to{opacity:1;visibility:visible;translate:0 0;}
  }
}

/* ---- Skip link ----------------------------------------------------------------------------------- */
.skip-link{
  position:absolute;left:12px;top:-60px;
  background:var(--ink);color:var(--white);
  padding:10px 18px;border-radius:var(--r-s);
  font-size:13px;
  transition:top .25s var(--ease);
  z-index:1000;
}
.skip-link:focus{top:12px;}
