/*
 * web/hakuba-whitening/css/style.css — ホワイトニングステーションHAKUBA 提案LP
 *
 * デザイン言語（web/CLAUDE.md ステップ2.5 ゼロベース）:
 *   アンカー = refero:2.AG（clinical apothecary）の骨格 + Pinterest 事例の「大写真 × 大きな明朝見出し」。
 *   配色は先方コーポレートカラーの白 × ティファニーブルーのみ。ブルーは大きな面で使い、細部に散らさない。
 *   男女どちらにも寄せない（花・イラスト・バッジ類は使わない）。
 * ビルド不要の手書き CSS。モバイルファースト（768 / 1024 ブレークポイント）。
 */

:root {
  --tiffany: #69c2c8;
  --tiffany-50: #f4fbfb;
  --tiffany-100: #e8f6f7;
  --tiffany-200: #cfebed;
  --teal: #227177;      /* 白地の小さい文字用（コントラスト確保） */
  --teal-soft: #308b91;
  --ink: #122e30;       /* 見出し */
  --deep: #0e2f31;      /* 濃色セクション */
  --deep-2: #174245;
  --body: #45595a;
  --muted: #5d6f6e;    /* 注記・補足（白地で 5.3:1。以前の #7a8b8a は 3.6:1 で基準未満だった） */
  --line: #d9e9e7;
  --white: #fff;

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --en: "Montserrat", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;   /* ロゴの英字（細身の幾何学ゴシック）に合わせる */
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;

  /* 文字サイズの段（役割で割り当てる）: 注記12／補足13／狭い段の本文14／本文 SP14・PC15／導入・一覧 SP15・PC16 */
  --fs-note: 12px;
  --fs-small: 13px;
  --fs-card: 14px;
  --fs-body: 14px;
  --fs-lead: 15px;

  --header-h: 60px;
  --gutter: 20px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  font-feature-settings: "palt";
  line-break: strict;   /* 長音「ー」や小さい仮名が行頭に来ないようにする（日本語の禁則） */
  word-break: keep-all;          /* 改行は HTML に入れた文節の区切り（<wbr>）だけで。npm run phrase-break -- <slug> で全文に入れる（§5-13） */
  overflow-wrap: break-word;     /* 1文節が行より長いときだけ文節の途中で折る */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.num { font-variant-numeric: lining-nums tabular-nums; }
/* 折り返し: .nw のまとまりは途中で折らない。段落は最後の行に「す。」だけが残らないようにする */
.nw { display: inline-block; text-indent: 0; }
.pn { display: inline-block; max-width: 100%; text-indent: 0; }   /* 長い名前（＋直後の助詞）は入る幅では1行に。入らない狭い幅では中の区切りで折る（npm run phrase-break が付ける） */   /* 字下げした箇条書きの中で文字が重ならないよう text-indent を戻す */
.kt { letter-spacing: -0.08em; }   /* 明朝の見出し内のカタカナ・中黒。Shippori Mincho は仮名を詰める palt が効かず間延びするため手で詰める */
.sp-br { display: inline; }
.pc-br { display: none; }
p { text-wrap: pretty; }   /* 段落は最後の行に「す。」だけが残らないように */
/* 見出し・短い項目・ボタンは行の長さをそろえ、最後の行に「方」「予約」だけが残らないようにする。
   body が keep-all なので、そろえるときも文節の区切り（<wbr>）の中から改行位置を選ぶ（§5-13） */
h1, h2, h3, h4, li, dt, dd, th, td, summary, figcaption, cite, small, label, .btn,
.price-info, .menu-for { text-wrap: balance; }
/* 長い注記と、医療提携クリスタルホワイトニングの名前で始まる小見出しは、そろえずに詰めて組む（そろえると名前の途中で折れる） */
.notes li, .faq-a-head, .flow-crystal-title { text-wrap: wrap; }
/* 長い名前（.pn）を含む見出し・項目もそろえない（Safari で、そろえる処理と .pn の組み合わせが不安定なため。名前が1行を占めるので、そろえる必要も小さい） */
:is(h1, h2, h3, h4, li, dt, dd, th, td, summary, figcaption, cite, small, label, .btn, .price-info, .menu-for, .voice-title):has(.pn) { text-wrap: wrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }

.eyebrow {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
/* 英字小見出しの飾りはロゴのリング（assets/motif/ring-full.svg をマスクにして文字色で塗る）。中央寄せの見出しでは上に置く */
.eyebrow::after, .sec-head.center .eyebrow::before, .hero-eyebrow::before {
  background: currentColor;
  -webkit-mask: url(../assets/motif/ring-full.svg) no-repeat center / contain; mask: url(../assets/motif/ring-full.svg) no-repeat center / contain;
}
.eyebrow::after { content: ""; display: inline-block; width: 30px; height: 17px; margin-left: 10px; vertical-align: -3px; }
.sec-title {
  word-break: keep-all;          /* 改行は HTML に入れた文節の区切り（<wbr>）だけで。Safari は auto-phrase 非対応のため */
  overflow-wrap: break-word;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 6.6vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow::after { display: none; }
.sec-head.center .eyebrow::before { content: ""; display: block; width: 36px; height: 20px; margin: 0 auto 12px; }
.sec-lead { margin-top: 20px; max-width: 640px; }
/* 文節の区切り（<wbr>）でだけ改行する要素。区切りは npm run phrase-break -- hakuba-whitening で入れる（HP_QUALITY_RULES §5-13） */
[data-phrase] { word-break: keep-all; overflow-wrap: break-word; }
/* セクション背景の大きな英字（ごく薄く・端で切れる）。data-word の文字を出し、読み上げには含めない。
   右寄せ・左寄せを交互にし、使うのは主要な6セクションまで（全部に入れると型どおりに見える） */
.has-word { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.has-word::before {
  content: attr(data-word); content: attr(data-word) / "";
  position: absolute; z-index: -1; top: 10px; right: -0.06em;
  font-family: var(--en); font-weight: 300; font-size: clamp(64px, 19vw, 76px); line-height: .8; letter-spacing: -0.01em;
  color: rgba(105, 194, 200, .13); white-space: nowrap; pointer-events: none;
}
.menu.has-word::before { color: rgba(255, 255, 255, .22); }
.voice.has-word::before, .about.has-word::before { right: auto; left: -0.06em; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-decoration: none;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-label { min-width: 0; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease-out); }
/* 触ったときの反応: 色が左から満ち、矢印が少し進む（離すと右へ抜ける）*/
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, transparent); transform: scaleX(0); transform-origin: right; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.btn-primary { --fill: var(--teal); }
.btn-ghost { --fill: var(--tiffany-100); }   /* 文字色は変えない（満ちる途中で白文字が薄い地に乗って読めなくなるのを防ぐ）*/
.btn-tiffany { --fill: #8fd3d7; }
.btn-line-white { --fill: rgba(255, 255, 255, .1); }
@media (hover: hover) {
  .voice-btn:not(:disabled):hover { background: var(--teal); color: var(--white); }
  .btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
  .btn:hover svg { transform: translateX(4px); }
}
.btn-primary { background: var(--deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-tiffany { background: var(--tiffany); color: var(--deep); }
.btn-line-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
/* Instagram のボタン: 公式のロゴを文字と同じ1色で（1色への色変えは決まりで可）。30px（最小29px）で、
   周りにロゴの半分の余白が取れるよう、この段のボタンは高さ60px。矢印のように動かさない */
.btn-ig { gap: 16px; }
.btn .ig-glyph { width: 30px; height: 30px; }
.btn:hover .ig-glyph { transform: none; }
.voice .section-cta .btn { min-height: 60px; }
@media (max-width: 374px) { .btn-ig { padding: 0 12px; letter-spacing: 0.04em; } }   /* 幅320pxでも1行に収める */

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20,48,46,.06);
}
.header-inner { height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { display: block; height: 34px; width: auto; }
.header-nav { display: none; }
.header-cta { flex: none; }

/* ── hero ── */
.hero { position: relative; background: var(--white); }
.hero-visual { position: relative; overflow: hidden; background: #cfe3e8; aspect-ratio: 944 / 1680; max-height: calc(100svh - var(--header-h)); width: 100%; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 35%; }
/* SP〜タブレット: 見出しは縦長写真の上部の余白に重ね、予約ボタンは写真の下に通常フローで置く（§7-3 重なり事故の回避） */
.hero-copy { position: absolute; top: 0; left: 0; right: 0; z-index: 1; padding: 32px var(--gutter) 0; }
/* 見出し: 全セクション共通の明朝（Shippori Mincho）で統一し、効果はかけず「大きさと余白」だけで押す */
.hero-title { position: relative; isolation: isolate; font-family: var(--serif); color: var(--ink); line-height: 1.2; }
/* ロゴでリングが歯を抱えるように、大見出しをリングが抱える。大きさは大見出しの文字サイズ（em）基準 */
.hero-ring { position: absolute; z-index: -1; left: -0.45em; bottom: -0.42em; width: 8.3em; height: 3.3em; font-size: clamp(34px, 11.4vw, 64px); color: var(--tiffany); pointer-events: none; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--teal); }
.hero-eyebrow::before { content: ""; width: 28px; height: 16px; flex: none; }
/* 幅 360px 未満（iPhone SE 初代など）: 「専門店」の「店」だけが次の行に落ちないよう少し詰める */
@media (max-width: 359px) {
  .voice-track { grid-auto-columns: 92%; }   /* 小さなスマホでは口コミのカードを広げ、1行に入る字数を確保する */
  .voice-track > .voice-card { padding-left: 18px; padding-right: 18px; }
  .hero-eyebrow { gap: 8px; font-size: 12px; letter-spacing: 0.1em; }
  .hero-eyebrow::before { width: 22px; height: 13px; }
}
.hero-l1 { display: block; font-weight: 600; font-size: clamp(24px, 7vw, 38px); letter-spacing: 0.06em; }
.hero-l2 { display: block; margin-top: 4px; font-weight: 700; font-size: clamp(34px, 11.4vw, 64px); letter-spacing: 0.02em; line-height: 1.15; white-space: nowrap; }
.hero-lead { margin-top: 26px; font-size: 14px; line-height: 1.9; color: var(--ink); letter-spacing: 0.06em; }
.hero-offer-sp { display: inline-block; margin-top: 16px; padding: 6px 12px; background: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.06em; }
.hero-action { padding: 24px var(--gutter) 34px; background: var(--white); }
.hero-points { margin-bottom: 16px; font-size: 13px; color: var(--body); letter-spacing: 0.06em; }
.hero-offer { margin-bottom: 4px; font-size: 13px; color: var(--ink); letter-spacing: 0.06em; }
.hero-offer-name { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.hero-offer .num { font-family: var(--en); font-size: 20px; font-weight: 400; margin: 0 2px 0 4px; }
.hero-continue { margin-bottom: 20px; font-size: 12px; font-weight: 500; color: var(--teal); letter-spacing: 0.04em; }   /* 初回体験の金額の下の小さな一言 */
.hero-buttons { display: grid; gap: 14px; justify-items: center; }
.hero-buttons .btn { width: 100%; }
/* 下線のある文字リンク: 触ると下線が右へ抜けて、左から引き直される */
.causes-guide a { background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1px; }
@media (hover: hover) {
  .causes-guide a:hover { animation: line-redraw .8s cubic-bezier(.65, 0, .35, 1); }
}
@keyframes line-redraw {
  0% { background-size: 100% 1px; background-position: right bottom; }
  50% { background-size: 0 1px; background-position: right bottom; }
  50.1% { background-size: 0 1px; background-position: left bottom; }
  100% { background-size: 100% 1px; background-position: left bottom; }
}


/* ── concerns ── */
.concerns-photo { margin: 0 18px 62px 0; max-width: 420px; }
.concerns-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.concern-list { border-top: 1px solid var(--line); }
.concern-list li { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-lead); color: var(--ink); line-height: 1.7; }
.concern-list li > span:last-child { word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
.concerns-bridge { text-wrap: balance; }   /* 「スタッフが手順を／ひとつずつご案内するので」のように行の長さをそろえる */   /* 文節（<wbr>）で折り返し、2行目に「った」だけが落ちないようにする */
.concern-num { font-family: var(--en); font-size: 14px; font-weight: 500; color: var(--teal-soft); flex: none; width: 28px; }
.concerns-bridge { margin-top: 36px; font-family: var(--serif); font-size: clamp(18px, 4.6vw, 22px); font-weight: 600; line-height: 1.8; color: var(--ink); letter-spacing: 0.06em; }
.concerns-bridge em { font-style: normal; background: linear-gradient(transparent 62%, var(--tiffany-200) 62%); }

/* ── about ── */
.about { background: var(--white); }
.about-head { display: grid; gap: 24px; margin-bottom: 44px; }
.about-head .sec-lead { margin-top: 0; }
.photo-offset { position: relative; }
.photo-offset::before { content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); background: var(--tiffany); }
.photo-offset .ph { position: relative; display: block; overflow: hidden; }
.photo-offset img { width: 100%; }
.about-photo { margin-right: 18px; }
.about-photo img { aspect-ratio: 16 / 9; object-fit: cover; }
.photo-cap { margin-top: 30px; font-size: var(--fs-note); color: var(--muted); }
.features { display: grid; gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.about-photo + .features { margin-top: 88px; }   /* 写真の後ろの色面（18px ずらし）の分だけ余白を足す */
.feature { position: relative; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.feature-num { display: block; margin-bottom: 10px; font-family: var(--en); font-size: 46px; font-weight: 300; line-height: 1; color: var(--tiffany); }
.feature h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.6; letter-spacing: 0.05em; margin-bottom: 10px; }
.feature p { font-size: var(--fs-card); }

/* ── causes（歯が黄ばんで見える理由）── */
.causes { background: var(--tiffany-50); }
.causes-list { display: grid; gap: 12px; }
.cause { background: var(--white); padding: 26px 22px 24px; border: 1px solid var(--line); }
.cause-num { display: block; font-family: var(--en); font-size: 38px; font-weight: 300; line-height: 1; color: var(--tiffany); margin-bottom: 12px; }
.cause h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: 0.05em; line-height: 1.6; margin-bottom: 8px; }
.cause p { font-size: var(--fs-card); }
.causes-guide { margin-top: 28px; display: grid; gap: 10px; }
.causes-guide p { padding: 16px 20px; background: var(--white); border-left: 3px solid var(--tiffany); font-size: 14px; color: var(--ink); }
.causes-guide p > span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--body); }
.causes-guide a { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--teal); text-decoration: none; padding-bottom: 1px; }

/* ── methods（ほかの方法とのちがい）── */
.methods { background: var(--tiffany-50); }
/* ほかの方法との比較表。スマホは方法ごとのカード（項目名は左に小さく）、PC（≥1024px）は1枚の表 */
.compare-table { width: 100%; border-collapse: collapse; color: var(--ink); }
.compare-table thead { display: none; }
.compare-table tr { display: block; background: var(--white); border: 1px solid var(--line); }
.compare-table tr + tr { margin-top: 12px; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; }
.compare-table tbody th { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: 0.04em; }
.compare-table tbody th small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); }
.compare-table td { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); column-gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.compare-table td::before { content: attr(data-label); grid-row: 1 / span 9; font-size: 12px; line-height: 2; color: var(--muted); }
.compare-table td:last-child { border-bottom: 0; }
.compare-table td p { grid-column: 2; }
.compare-table td p + p { margin-top: 8px; }
.compare-table td small { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); }
.compare-price { display: block; font-family: var(--en); font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: 0.02em; }
.compare-table tr.is-hakuba { border: 2px solid var(--teal); }
.compare-table tr.is-hakuba th { background: var(--deep); border-bottom: 0; font-family: var(--en); font-size: 20px; font-weight: 500; letter-spacing: 0.12em; color: var(--white); }
.compare-table tr.is-hakuba th small { color: var(--tiffany); letter-spacing: 0.1em; }
.notes.methods-note { margin-top: 16px; max-width: none; }   /* 表と同じ幅まで使い、PCでは注記を1行ずつに収める */

/* ── band（写真の帯）── */
/* SP: 口元に文字が重ならないよう写真→コピーの縦積み。768px 以上で写真の上に重ねる */
.band { position: relative; overflow: hidden; background: var(--tiffany-50); }
.band-media { overflow: hidden; }
.band-img { width: 100%; height: 240px; object-fit: cover; object-position: 80% 50%; }
.band-body { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 26px var(--gutter) 30px; }
.band-copy { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 4.4vw, 50px); line-height: 1.6; letter-spacing: 0.05em; color: var(--ink); }
.band-sub { margin-top: 10px; font-size: 14px; line-height: 1.9; letter-spacing: 0.06em; color: var(--body); }

/* ── menu（トーン反転: ティファニーの面）── */
.menu { background: var(--tiffany); }
.menu .eyebrow { color: var(--deep); }
.menu .sec-title { color: var(--deep); }
.menu-cards { display: grid; gap: 16px; }
.menu-card { background: var(--white); padding: 32px 24px; display: flex; flex-direction: column; }
.menu-photo { margin: -32px -24px 26px; overflow: hidden; }
.menu-photo picture { display: block; }
.menu-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.menu-card-dark { background: var(--deep); color: #cfe1e2; }
.menu-tag { font-family: var(--en); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.menu-card-dark .menu-tag { color: var(--tiffany); }
/* 2つのメニューの違いを一言で示すラベル（名前の上） */
.menu-label { display: inline-block; align-self: flex-start; margin-top: 14px; padding: 2px 10px 3px; border: 1px solid currentColor; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.7; color: var(--teal); }
.menu-card-dark .menu-label { color: var(--tiffany); }
.menu-card-main .menu-label { justify-self: start; }
.menu-label + h3 { margin-top: 10px; }
.menu-card h3 { margin-top: 8px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.5; color: var(--ink); letter-spacing: 0.05em; }
.menu-card-dark h3 { color: var(--white); }
.menu-desc { margin-top: 16px; font-size: var(--fs-body); }
.menu-price { margin-top: 22px; border-top: 1px solid var(--line); }
.menu-card-dark .menu-price { border-color: rgba(255,255,255,.16); }
.menu-price div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-card-dark .menu-price div { border-color: rgba(255,255,255,.16); }
.menu-price dt { font-size: 13px; }
.menu-price dt small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.menu-card-dark .menu-price dt small { color: #a9c4c6; }
.menu-price dd { font-family: var(--en); font-size: 25px; font-weight: 400; line-height: 1; color: var(--ink); white-space: nowrap; }
.menu-card-dark .menu-price dd { color: var(--white); }
.menu-price dd .yen { font-family: var(--serif); font-size: 14px; margin-left: 2px; }
.menu-for { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--teal); }
.menu-card-dark .menu-for { color: var(--tiffany); }
.menu-cta { margin-top: 22px; width: 100%; white-space: normal; text-align: center; line-height: 1.5; padding-top: 12px; padding-bottom: 12px; }
.menu-steps { margin-top: 20px; padding: 14px 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.menu-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 13px; color: #e2edee; line-height: 1.6; }
/* クリスタルの主なリスクと、HAKUBA が医療機関でないことの断り書き */
.menu-price-note { margin-top: 10px; font-size: var(--fs-note); line-height: 1.7; color: #a9c4c6; }
/* 美容ホワイトニングは小さなカードで添える（スマホは見出しの横に小さな写真、文字は一回り小さく）*/
/* スマホ: 写真は「BEAUTY」とラベルの横に小さく、名前は幅いっぱいに（幅 320px でも名前を途中で折り返さない）*/
.menu-card-sub { display: grid; grid-template-columns: minmax(0, 1fr) 76px; column-gap: 16px; padding: 28px 22px; }
.menu-sub-head { display: contents; }
.menu-card-sub > .menu-photo { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 0; }
.menu-card-sub .menu-photo img { aspect-ratio: 1 / 1; object-position: 40% 30%; }
.menu-card-sub .menu-tag { grid-column: 1; grid-row: 1; }
.menu-card-sub .menu-label { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; }
.menu-card-sub h3, .menu-card-sub > .menu-desc, .menu-card-sub > .menu-sub-side { grid-column: 1 / -1; }
.menu-card-sub h3 { font-size: 20px; }
.menu-card-sub .menu-desc { margin-top: 14px; }
.menu-card-sub .menu-price { margin-top: 18px; }
.menu-card-sub .menu-price div { padding: 11px 0; }
.menu-card-sub .menu-price dd { font-size: 22px; }
.menu-card-sub .menu-for { padding-top: 14px; }
.menu-card-sub .menu-cta { margin-top: 18px; }
.menu-steps li > .num { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--tiffany); color: var(--deep); font-size: 12px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; margin-top: calc((1.6 * 13px - 20px) / 2 - 1.3px); }   /* 丸を文字の1行目の見た目の真ん中にそろえる。行の高さ（13px×1.6）と丸（20px）の差の半分から、文字が行の中で上寄りに描かれる分（約1.3px。Chrome と Safari の画素で測定）を引く */


/* ── price ── */
.price-groups { display: grid; gap: 48px; }
.price-group h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: 0.05em; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.price-group h3 .pg-tag { font-family: var(--en); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; color: var(--teal); text-transform: uppercase; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.price-info { grid-column: 1 / 2; font-size: 12px; color: var(--muted); line-height: 1.7; }
.price-val { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-family: var(--en); font-size: 22px; font-weight: 400; color: var(--ink); line-height: 1; white-space: nowrap; }
.price-val .yen { font-family: var(--serif); font-size: 13px; margin-left: 2px; }
.price-val .pre { font-family: var(--sans); font-size: var(--fs-note); font-weight: 400; color: var(--muted); margin-right: 4px; }
.price-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--teal); }
.price-more summary::-webkit-details-marker { display: none; }
.price-more-toggle { position: relative; width: 14px; height: 14px; flex: none; }
.price-more-toggle::before, .price-more-toggle::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .25s; }
.price-more-toggle::after { transform: rotate(90deg); }
.price-more[open]:not(.is-closing) .price-more-toggle::after { transform: rotate(0); }
.price-more .price-row { background: var(--tiffany-50); padding-left: 14px; padding-right: 14px; }
.price-more .price-val { font-size: 19px; }
.notes { margin-top: 28px; font-size: var(--fs-note); color: var(--muted); line-height: 1.9; max-width: 46em; }
.notes li { padding-left: 1em; text-indent: -1em; }
.section-cta { margin-top: 40px; display: grid; gap: 10px; }

/* ── men ── */
.men { background: var(--tiffany-50); }
.men-grid { display: grid; gap: 44px; }
.men-photo { max-width: 520px; overflow: hidden; }
.men-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.men-points { margin-top: 26px; border-top: 1px solid var(--line); }
.men-points li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: var(--fs-lead); line-height: 1.7; }
.men-points li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--tiffany); margin-top: calc((1.7em - 8px) / 2 - 1px); }   /* 印を1行目の見た目の真ん中に（文字が行の中で上寄りに描かれる分を引く） */

/* ── voice ── */
.voice-head { display: grid; gap: 28px; margin-bottom: 44px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 26px 18px; }   /* 幅が足りない端末では出典を数字の下へ回す */
.rating-num { position: relative; isolation: isolate; font-family: var(--en); font-size: 60px; font-weight: 300; line-height: .9; color: var(--ink); }
.rating-num::before { content: ""; position: absolute; z-index: -1; left: -14%; right: -20%; top: 18%; bottom: -34%; background: var(--tiffany);
  -webkit-mask: url(../assets/motif/ring-mid.svg) no-repeat center / 100% 100%; mask: url(../assets/motif/ring-mid.svg) no-repeat center / 100% 100%; }
.rating-stars { display: flex; gap: 3px; color: var(--tiffany); }
.rating-stars svg { width: 18px; height: 18px; }
.rating-src { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
/* お客様の声のスライド。スマホは1枚＋次のカードを少しのぞかせ（画面の端まで）、指で送る。PCは2〜3枚ずつ矢印で送る */
.voice-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; scrollbar-width: none; }
.voice-track::-webkit-scrollbar { display: none; }
.voice-track > .voice-card { scroll-snap-align: start; display: flex; flex-direction: column; }   /* カードの高さはそろえ（いちばん長い口コミに合わせる）、メニュー名と年代はカードの下端にそろえる */
.voice-track > .voice-card figcaption { margin-top: auto; }
.voice-track:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.voice-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.voice-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--teal); border-radius: 50%; background: var(--white); color: var(--teal); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.voice-btn svg { width: 18px; height: 18px; }
.voice-btn:disabled { opacity: .35; cursor: default; }
.voice-count { min-width: 5.5em; text-align: center; font-family: var(--en); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.voice-card { position: relative; padding: 34px 24px 24px; border: 1px solid var(--line); overflow: hidden; }
.voice-card::before { content: "\201C"; position: absolute; top: -18px; left: 14px; font-family: Georgia, "Times New Roman", serif; font-size: 110px; line-height: 1; color: var(--tiffany-200); pointer-events: none; }
.voice-title { position: relative; margin-bottom: 10px; font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: 0.03em; color: var(--ink); text-wrap: balance; }   /* 口コミの要点。拾い読みできるように */
.voice-card blockquote p { position: relative; font-size: 14px; color: var(--ink); line-height: 1.95; }
.voice-card cite { display: block; margin-top: 14px; font-size: 12px; font-style: normal; color: var(--muted); }
.voice-menu { display: block; margin-bottom: 2px; font-weight: 600; letter-spacing: 0.04em; color: var(--teal); }

/* ── flow ── */
.flow { background: var(--white); }
/* ── shade（白さの確かめ方）── */
.shade { background: var(--tiffany-50); }
.shade-grid { display: grid; gap: 8px; }
.shade-figure { background: var(--white); padding: 24px 16px 16px; border: 1px solid var(--line); }
.shade-svg { display: block; width: 100%; height: auto; }
.shade-scale-labels { display: flex; justify-content: space-between; margin: 4px 2% 0; font-size: 12px; color: var(--teal); letter-spacing: 0.08em; }
.shade-figure figcaption { margin-top: 10px; text-align: center; font-size: var(--fs-note); color: var(--muted); }
.shade-steps { margin-top: 22px; border-top: 1px solid var(--line); }
.shade-steps li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-lead); color: var(--ink); line-height: 1.7; }
.shade-step-label { flex: none; min-width: 64px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--teal); }
.shade-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
/* クリスタルの方向けの短い流れ（メニューのカードの3段と同じ並び。明るい地なので色を合わせる）*/
.flow-crystal { margin-bottom: 32px; padding: 18px 20px 14px; background: var(--tiffany-50); border: 1px solid var(--tiffany-200); }
.flow-crystal-title { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--teal); }
.flow-crystal .menu-steps { margin-top: 8px; padding: 0; background: none; border: 0; }
.flow-crystal .menu-steps li { color: var(--ink); }
.flow-list { display: grid; gap: 30px; counter-reset: none; }
.flow-step { display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: start; align-content: start; }
/* スマホは写真と見出しを横に並べ、説明文は幅いっぱいに（写真の横の狭い段だと1行12字ほどで折り返しが不ぞろいになる） */
.flow-step > div { display: contents; }
.flow-step img { grid-column: 1; grid-row: 1 / span 2; }
.flow-step .flow-num { grid-column: 2; grid-row: 1; align-self: end; }
.flow-step h3 { grid-column: 2; grid-row: 2; }
.flow-step > div > p:not(.flow-num) { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
.flow-step img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.flow-num { font-family: var(--en); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.flow-step h3 { margin-top: 2px; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.6; letter-spacing: 0.04em; word-break: keep-all; overflow-wrap: break-word; }
.flow-step p { margin-top: 6px; font-size: var(--fs-card); line-height: 1.85; word-break: keep-all; overflow-wrap: break-word; }

/* ── faq ── */
.faq { background: var(--tiffany-50); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: baseline; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--en); font-size: 16px; font-weight: 500; color: var(--teal-soft); flex: none; }
.faq-item h3 { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.7; }
.faq-toggle { flex: none; width: 18px; height: 18px; position: relative; align-self: center; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .25s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-toggle::after { transform: rotate(0); }
.faq-a { padding: 0 0 22px 34px; font-size: var(--fs-body); transition: opacity .3s; max-width: 46em; }
.faq-item.is-opening .faq-a { animation: faq-in .6s var(--ease-out) both; }
.faq-item.is-closing .faq-a { opacity: 0; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
/* 受けられない人などの答え: 見出し＋箇条書き。折り返しても「・」の右にそろえ、理由は次の行に小さく */
.faq-a-head { font-weight: 600; color: var(--ink); }
.faq-a-head + ul { margin-top: 4px; }
.faq-a-list ul + .faq-a-head, .faq-a-note + .faq-a-head { margin-top: 16px; }
.faq-a-list li { position: relative; padding-left: 1em; line-height: 1.8; }
.faq-a-list li::before { content: "・"; position: absolute; left: 0; }
.faq-a-why { display: block; font-size: 13px; line-height: 1.7; color: var(--muted); }
.faq-a-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.faq-a-lead { margin-bottom: 4px; color: var(--ink); }   /* 箇条書きの答えの結論の1文 */
.faq-a-list ul + .faq-a-note { margin-top: 8px; }
.faq-a-list li b { font-weight: 600; color: var(--ink); }
.faq-a-list li a { color: var(--teal); }

/* ── access ── */
.access-grid { display: grid; gap: 36px; }
.shop-dl div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-body); line-height: 1.8; }
.shop-dl div:first-child { border-top: 1px solid var(--line); }
.shop-dl dt { color: var(--muted); font-size: 13px; }
.shop-dl dd { color: var(--ink); }
.shop-dl a { color: var(--teal); }
.map { position: relative; background: var(--tiffany-100); aspect-ratio: 4 / 3; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { margin-top: 10px; text-align: right; font-size: 13px; }
.map-link a { color: var(--teal); }

/* ── final cta ── */
.cta-final { position: relative; background: var(--tiffany-50); overflow: hidden; }
.cta-visual { overflow: hidden; }
.cta-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 62% 50%; }
.cta-body { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 72px; }
.cta-final p.lead { margin-top: 30px; font-size: var(--fs-body); color: var(--ink); }
/* 最初の画面と同じく見出しをリングが抱え、ページの最初と最後をリングでつなぐ（小見出し横の小さいリングは重なるので出さない）*/
.cta-title { position: relative; isolation: isolate; font-size: clamp(26px, 6.6vw, 40px); }
.cta-ring { position: absolute; z-index: -1; left: -0.45em; bottom: -0.5em; width: 10.8em; height: 3.2em; color: var(--tiffany); pointer-events: none; }
.cta-inner .eyebrow::after { display: none; }
/* 予約の前に知っておきたい条件（§6-6 バッジで示す） */
.cta-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cta-badges li { padding: 3px 12px 4px; border: 1px solid var(--teal); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.7; color: var(--teal); background: rgba(255, 255, 255, .6); }
.cta-final .cta-buttons { margin-top: 30px; display: grid; gap: 10px; }
.cta-badges + .cta-buttons { margin-top: 16px; }
.cta-line-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.cta-tel { margin-top: 16px; font-size: 13px; color: var(--ink); }
.cta-tel a { color: var(--teal); font-size: 15px; margin-left: 6px; }

/* ── footer ── */
.site-footer { background: #0b2122; color: #a6c7c9; padding: 56px 0 120px; font-size: 13px; line-height: 1.9; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { display: block; width: 140px; height: auto; }
.footer-name { margin-top: 10px; color: var(--white); font-size: 14px; }
.footer-tagline { margin-top: 6px; font-size: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
/* 文字はアイコンに負けない大きさに。下線はなし（アイコンで押せる場所と分かる）で、マウスをのせたときだけ出す */
.footer-links a { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; letter-spacing: 0.04em; color: var(--tiffany); text-decoration: none; }
@media (hover: hover) { .footer-links a:hover span { text-decoration: underline; text-underline-offset: 4px; } }
/* SNSのロゴ（公式の決まり）: Instagram は29px以上・周りにロゴの半分の余白、LINE はスマホで高さ40px以上（PCは20px以上）。
   LINE は塗りの四角で大きく見えるので、Instagram を少し大きくして見た目をそろえる */
.footer-sns-icon { flex: none; display: block; }
.footer-sns-ig { width: 36px; height: 36px; margin: 2px; }
.footer-sns-line { width: 40px; height: 40px; }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-note); color: #80afb2; }
.footer-note p + p { margin-top: 2px; }

/* ── SP 下部固定 CTA ── */
.sp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 64px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.sp-bar.is-visible { transform: none; }
.sp-bar .btn { min-height: 50px; }
.sp-bar .btn-tel { padding: 0; background: var(--white); border: 1px solid var(--ink); color: var(--ink); margin-left: 8px; }
.sp-bar .btn-tel svg { width: 20px; height: 20px; }

/* ── motion（スクロールと登場の演出）──
   見出しは1行ずつマスクからせり上がり、写真は幕が開くように左から現れて寄りがゆっくり戻る。細い線は左から引かれる。
   隠す状態は JS 実行時だけ付く .js / .ln / .reveal に限定（JS が無い環境や「視差効果を減らす」設定では最初から表示）。
   同時に画面に入った要素は JS が --d に 0.1 秒ずつの遅れを入れて順番に出す */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.77, 0, .18, 1); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.has-lines { transform: none; }
/* 見出しの行: 下端だけを切るマスクの中から、1行ずつせり上がる */
.ln { display: block; clip-path: inset(-0.5em -1em 0 -1em); }
.ln > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease-out) calc(var(--d, 0s) + var(--li, 0) * .12s + .05s); }
.is-visible .ln > span { transform: none; }
/* 細い線は左から引く */
.js .eyebrow::after, .js .sec-head.center .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.65, 0, .35, 1) calc(var(--d, 0s) + .2s); }
.is-visible .eyebrow::after, .is-visible .sec-head.center .eyebrow::before { transform: none; }
/* 大きなリング: 中心線に沿って左端から描く（ローダーでリングが描かれる動きの続き）*/
.js .ring-draw { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1) .55s; }
.hero-in .hero-ring .ring-draw, .cta-inner.is-visible .cta-ring .ring-draw { stroke-dashoffset: 0; }
/* 写真: 幕が開くように左から現れ、少し寄った状態からゆっくり戻る。
   clip-path で全部隠すと Chrome が「画面外」と判定して表示の合図も画像の遅延読み込みも止まるため、マスクの幅で開く */
.js .wipe {
  -webkit-mask-image: linear-gradient(#000, #000); mask-image: linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  -webkit-mask-size: 0% 100%; mask-size: 0% 100%;
  transition: -webkit-mask-size 1.4s var(--ease-io) calc(var(--d, 0s) + .1s), mask-size 1.4s var(--ease-io) calc(var(--d, 0s) + .1s);
}
.js .wipe img { transform: scale(1.12); transition: transform 2.4s var(--ease-out) calc(var(--d, 0s) + .1s); }
.js .wipe.is-visible { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.js .wipe.is-visible img { transform: none; }
.js .wipe.is-done img { transition: transform 1.4s var(--ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .menu-card:hover .wipe.is-done img, .photo-offset:hover .wipe.is-done img, .men-photo.wipe.is-done:hover img { transform: scale(1.04); }
}
/* ずらした色の面は写真より先に左から伸びる */
.js .photo-offset::before { transform: translate(18px, 18px) scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-io) var(--d, 0s); }
.js .photo-offset.is-visible::before { transform: translate(18px, 18px) scaleX(1); }
/* ヒーロー: ローダーが上がるのに合わせて、写真の寄りが戻り、見出しが1行ずつせり上がる */
.hero-eyebrow, .hero-l1, .hero-l2 { clip-path: inset(-0.5em -1em 0 -1em); }
.hero-ln { display: block; }
.js .hero-ln { transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.js .hero-l1 .hero-ln { transition-delay: .12s; }
.js .hero-l2 .hero-ln { transition-delay: .24s; }
.js .hero-eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.65, 0, .35, 1) .1s; }
.js .hero-lead, .js .hero-offer-sp, .js .hero-action { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out) .45s, transform 1s var(--ease-out) .45s; }
.js .hero-action { transition-delay: .6s; }
.js .hero-media img { transform: scale(1.08); transition: transform 2.8s var(--ease-out); }
.hero-in .hero-ln, .hero-in .hero-eyebrow::before, .hero-in .hero-lead, .hero-in .hero-offer-sp, .hero-in .hero-action, .hero-in .hero-media img { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .ln > span, .js .eyebrow::after, .js .sec-head.center .eyebrow::before, .js .wipe img,
  .js .hero-ln, .js .hero-eyebrow::before, .js .hero-lead, .js .hero-offer-sp, .js .hero-action, .js .hero-media img { opacity: 1; transform: none; transition: none; }
  .js .wipe { -webkit-mask: none; mask: none; }
  .js .ring-draw { stroke-dashoffset: 0; transition: none; }
  .btn::before, .btn svg { transition: none; }
  .faq-item.is-opening .faq-a { animation: none; }
  .js .photo-offset::before { transform: translate(18px, 18px); transition: none; }
}

/* ───────── ≥ 768px ───────── */
@media (min-width: 768px) {
  .sp-br { display: none; }
  .pc-br { display: inline; }
  :root { --gutter: 40px; --header-h: 68px; --fs-body: 15px; --fs-lead: 16px; }
  .has-word::before { top: 8px; font-size: clamp(72px, 13vw, 130px); }
  body { font-size: 16px; }
  .section { padding: 120px 0; }
  .logo-img { height: 40px; }
  .hero-copy { padding-top: 64px; }
  .hero-eyebrow { font-size: 14px; }
  .hero-lead { font-size: 16px; }
  .hero-action { max-width: 620px; }
  .hero-buttons { grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 28px; }
  .hero-buttons .btn { width: auto; }
  .menu-cards { gap: 20px; }
  .menu-card { padding: 44px 40px; }
  .menu-photo { margin: -44px -40px 30px; }
  .menu-card-main .menu-photo img { aspect-ratio: 16 / 9; }
  .menu-card-sub { grid-template-columns: minmax(0, 1fr) 140px; column-gap: 28px; padding: 36px 40px; }
  .menu-sub-head { display: block; grid-column: 1; grid-row: 1; }
  .menu-card-sub > .menu-photo { grid-row: 1; }
  .section-cta { grid-template-columns: auto auto; justify-content: center; }
  .voice-track { grid-auto-columns: calc((100% - 14px) / 2); margin: 0; padding: 4px 0 6px; scroll-padding-inline: 0; }
  .causes-guide { grid-template-columns: 1fr 1fr; }
  .band { height: clamp(300px, 40vw, 560px); background: #cfe5e7; }
  .band-media { position: absolute; inset: 0; }
  .band-img { height: 100%; object-position: 72% 50%; }
  .band-body { height: 100%; padding: 0 var(--gutter); display: flex; flex-direction: column; justify-content: center; }
  .flow-step { grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
  .flow-step > div { display: block; }
  .flow-step img { grid-row: auto; }
  .flow-step > div > p:not(.flow-num) { margin-top: 6px; }
  .flow-step h3 { font-size: 19px; }
  .site-footer { padding-bottom: 56px; }
  .sp-bar { display: none; }
}

/* ───────── ≥ 1024px ───────── */
@media (min-width: 1024px) {
  .flow-crystal { display: flex; align-items: center; gap: 28px; padding: 16px 28px; }
  .flow-crystal .menu-steps { display: flex; gap: 8px 28px; margin-top: 0; }
  .flow-crystal .menu-steps li { flex-shrink: 0; }   /* 短い手順（LINEで予約・後日ご来店・施術）は1行のまま。幅が足りないときは長い2つ目だけ折り返す */
  .flow-crystal .menu-steps li:nth-child(2) { flex-shrink: 1; }
  .band-copy { letter-spacing: 0.04em; }
  .has-word::before { top: 40px; font-size: clamp(160px, 17vw, 280px); }
  .header-nav { display: flex; gap: 28px; margin-left: auto; }
  .header-nav a { font-size: 13px; text-decoration: none; color: var(--body); letter-spacing: 0.08em; }
  .header-nav a { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px; transition: background-size .5s var(--ease-out), color .25s; }
  .header-nav a:hover { color: var(--ink); background-size: 100% 1px; background-position: left bottom; }

  .hero { height: clamp(620px, calc(100svh - var(--header-h)), 900px); overflow: hidden; }
  .hero-visual { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; height: 100%; }
  .hero-media img { object-position: 75% 50%; }
  .hero-body { position: relative; z-index: 1; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 0 0 6vw; display: flex; flex-direction: column; justify-content: center; }
  .hero-copy { position: static; padding: 0; }
  .hero-eyebrow { font-size: 15px; margin-bottom: 26px; }
  .hero-l1 { font-size: clamp(32px, 3.1vw, 46px); }
  .hero-l2 { font-size: clamp(60px, 6.2vw, 100px); margin-top: 10px; }
  .hero-lead { margin-top: 44px; font-size: 16px; }
  .hero-ring { font-size: clamp(60px, 6.2vw, 100px); width: 8.8em; }
  .hero-action { display: block; max-width: 460px; padding: 0; background: transparent; margin-top: 34px; }
  .hero-points { padding-top: 16px; border-top: 1px solid rgba(20, 48, 46, .18); margin-bottom: 18px; }

  .concerns-grid { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
  .hero-offer-sp { display: none; }
  .causes-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .shade-grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
  .shade .sec-head { margin-bottom: 0; }
  .shade-figure { padding: 32px 28px 20px; }
  .concerns-photo { margin-bottom: 18px; }
  .concerns-main { padding-top: 12px; }
  .about-head { grid-template-columns: auto 1fr; gap: 72px; align-items: end; margin-bottom: 56px; }
  .band-copy, .band-sub { padding-left: 2vw; }
  .band-sub { margin-top: 14px; font-size: 15px; }
  .cta-final { min-height: 640px; display: flex; align-items: center; }
  .cta-visual { position: absolute; inset: 0; }
  .cta-visual img { height: 100%; aspect-ratio: auto; object-position: 30% 50%; }
  .cta-body { width: 100%; padding: 96px var(--gutter); }
  .cta-inner { max-width: 420px; }
  .cta-final .cta-buttons { grid-template-columns: 1fr; }
  .men-grid { grid-template-columns: 5fr 6fr; gap: 88px; align-items: center; }
  .voice-head { grid-template-columns: 1fr auto; align-items: end; }
  .access-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .features { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 0; }
  .feature { padding: 88px 28px 8px; border-bottom: 0; border-left: 1px solid var(--line); }
  .feature:first-child { border-left: 0; padding-left: 0; }
  .feature-num { position: absolute; top: 0; left: 28px; margin: 0; font-size: 64px; }
  .feature:first-child .feature-num { left: 0; }
  .price-groups { grid-template-columns: 1fr 1fr; gap: 56px; }
  .menu-card-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-content: start; padding: 56px 56px 52px; }
  .menu-card-main > * { grid-column: 2; }
  .menu-card-main > .menu-photo { grid-column: 1; grid-row: 1 / span 12; position: relative; margin: -56px 0 -52px -56px; }
  .menu-card-main .menu-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .menu-card-main h3 { font-size: 26px; }
  /* 美容は横長の帯: 写真｜名前と説明｜料金と予約 */
  .menu-card-sub { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 300px); grid-template-rows: auto 1fr; column-gap: 48px; padding: 36px 48px 36px 0; }   /* 右の列が高いときの余白は説明文の段（下）にだけ回し、見出しと説明文を離さない */
  .menu-card-sub > .menu-photo { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; position: relative; margin: -36px 0; }
  .menu-card-sub .menu-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .menu-card-sub > .menu-sub-head, .menu-card-sub > .menu-desc { grid-column: 2; }
  .menu-card-sub > .menu-sub-side { grid-column: 3; grid-row: 1 / span 2; }
  .menu-card-sub .menu-sub-side .menu-price { margin-top: 0; }
  .voice-track { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-links a { font-size: 14px; }
  .footer-sns-ig { width: 30px; height: 30px; margin: 1px; }
  .footer-sns-line { width: 32px; height: 32px; }
}

/* ───────── ≥ 1200px: 比較を1枚の表に（それより狭いと表のマスが細く、1マスが3〜4行に折れる） ───────── */
@media (min-width: 1200px) {
  .compare-table { background: var(--white); border: 1px solid var(--line); }
  .compare-table thead { display: table-header-group; }
  .compare-table tr { display: table-row; border: 0; }
  .compare-table tr + tr { margin-top: 0; }
  .compare-table thead th, .compare-table thead td { padding: 14px 22px; background: var(--tiffany-50); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--teal); }
  .compare-table tbody th { display: table-cell; width: 25%; padding: 24px 22px; vertical-align: middle; }
  .compare-table td { display: table-cell; padding: 24px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .compare-table td::before { content: none; }
  .compare-table td:nth-of-type(1) { width: 18%; }
  .compare-table td:nth-of-type(2) { width: 19%; }
  .compare-table td:nth-of-type(4) { width: 19%; }
  .compare-table tr:not(:last-child) td:last-child { border-bottom: 1px solid var(--line); }
  .compare-table tr.is-hakuba { border: 0; }
  .compare-table tr.is-hakuba td { background: #e3f3f3; border-bottom: 0; }
}

/* ───────── ≥ 1280px: 施術の流れを5列に（1024px では1列が約170pxで、説明文が1行10字ほどになる） ───────── */
@media (min-width: 1280px) {
  .flow-list { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .flow-step { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .flow-step h3 { font-size: 16px; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


/* ── ページローダー（ロゴの線 → リングが描かれる → 上へ抜けて開く）── */
.loader { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: var(--white); }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loader-mark { display: block; width: 123px; height: auto; overflow: visible; }
.loader-path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.loader-ink, .loader-word { opacity: 0; }
.loader-word { width: 120px; height: auto; }
.loader.is-run .loader-ink { animation: ld-fade .35s ease forwards; }
.loader.is-run .loader-path { animation: ld-draw .7s .25s cubic-bezier(.65, 0, .35, 1) forwards; }
.loader.is-run .loader-word { animation: ld-fade .3s .7s ease forwards; }
.loader.is-done { animation: ld-out .45s ease forwards; }
@keyframes ld-fade { to { opacity: 1; } }
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
@keyframes ld-out { to { opacity: 0; transform: translateY(-12px); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }
