/* ============================================================
   Iry -アイリー- スタイルシート v3
   方針: 静かで上質。濃紺の地色 × アクセント1色。
         細い1px罫線・広い余白・控えめな角丸・影なし。
         主役は写真・動画・文章。
   書体: Shippori Mincho B1(見出し・数字) / Zen Kaku Gothic New(本文)
         Marcellus(ブランド・欧文ラベル)
   ============================================================ */

:root {
  --bg: #0B1320;                          /* 濃紺の地色 */
  --bg-2: #0F1828;                        /* 帯セクション */
  --text: #F3F5F7;
  --sub: #B9C3CF;
  --accent: #8EC5D6;                      /* アクセントはこの1色のみ */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.26);
  --line-green: #06c755;                  /* LINEのブランド色(LINEボタン専用) */

  /* 互換用の別名(dashboard.html・face-zones.js が参照) */
  --primary: var(--accent);
  --secondary: var(--accent);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --grad-brand: linear-gradient(var(--accent), var(--accent));
  --grad-brand-3: linear-gradient(var(--accent), var(--accent));

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Marcellus", "Shippori Mincho B1", serif;
  --font-brand: "Marcellus", serif;
  --radius: 4px;
  --radius-lg: 6px;
  --container: 1120px;
  --gutter: 24px;                         /* 左右余白は全セクションでこの値に統一 */
  --header-h: 64px;
  --cta-h: 69px;                          /* モバイル固定予約バーの高さ */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--sub);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
  font-kerning: normal;
}

/* 日本語は文字単位で自然に折り返す。keep-all は狭い幅で右はみ出しの原因に
   なるため使わない。途中で割りたくない語は .nb で個別に保護する
   (main.js が数値+単位・カタカナ語に自動付与) */
h1, h2, h3, h4, p, li, dd, figcaption, .btn, .eyebrow {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}
.nb { white-space: nowrap; }
/* 見出しは行の長さをそろえ、1文字だけ次の行に落ちるのを防ぐ(非対応ブラウザは通常の折り返し) */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

img, video { max-width: 100%; }
img { display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 800px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(142, 197, 214, 0.3); color: #fff; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #0B1320; font-weight: 700; }
.btn-primary:hover { opacity: 0.86; }
.btn-ghost:hover, .btn-ghost-dark:hover { border-color: var(--text); }
.btn-line { border-color: rgba(6, 199, 85, 0.6); }
.btn-line::before { content: ""; width: 18px; height: 18px; flex: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2306c755"><path d="M12 2C6.48 2 2 5.64 2 10.13c0 4.03 3.58 7.4 8.42 8.04.33.07.77.22.89.5.1.26.07.66.03.92l-.14.86c-.04.26-.2 1.02.89.56 1.1-.47 5.91-3.48 8.07-5.96C21.74 13.31 22 11.79 22 10.13 22 5.64 17.52 2 12 2z"/></svg>') center/contain no-repeat; }
.btn-line:hover { border-color: var(--line-green); }
.btn-large { min-height: 56px; padding: 14px 40px; font-size: 16px; }

/* ---------- お知らせバー ---------- */
.notice-bar {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  padding: 9px var(--gutter);
}

/* ---------- スクロール進捗(細い1px線) ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; line-height: 1.3; flex: none; }
.brand-en { font-family: var(--font-brand); font-size: 24px; letter-spacing: 0.3em; color: var(--text); }
.brand-ja { font-size: 10px; letter-spacing: 0.12em; color: var(--sub); }

.global-nav { display: flex; gap: 26px; margin-left: auto; }
.global-nav a {
  color: var(--sub);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.2s;
}
.global-nav a:hover { color: var(--text); }
.header-cta { min-height: 44px; padding: 8px 22px; font-size: 13px; flex: none; }

.lang-switch { display: flex; align-items: center; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.05em; flex: none; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  color: var(--sub);
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.is-visible { opacity: 1; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 19, 32, 0.5) 0%, rgba(11, 19, 32, 0.25) 35%, rgba(11, 19, 32, 0.6) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 19, 32, 0.6) 0%, rgba(11, 19, 32, 0.1) 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter) 120px;
  display: flex;
}
.hero-copy { max-width: 640px; min-width: 0; }

/* シグネチャ: 縦書き見出し。高さは内容なりに決まる(固定しない) */
.hero-title {
  font-family: var(--font-display);
  writing-mode: vertical-rl;
  font-size: clamp(48px, 7.2vw, 84px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 40px;
  text-shadow: 0 2px 24px rgba(11, 19, 32, 0.55);
}
/* nowrap でフレーズが2列に割れるのを防ぐ。span は block のまま
   (vertical-rl では各 block が右→左に別々の列として並ぶ)。flex にしない */
.hero-title span { display: block; white-space: nowrap; opacity: 0; animation: fadeIn 1.2s ease forwards; }
.hero-title span:nth-child(1) { animation-delay: 0.2s; }
.hero-title span:nth-child(2) { animation-delay: 0.6s; margin-left: 0.35em; }
/* 英語版など横書きが必要な言語用 */
.hero-title.hero-title-horizontal {
  writing-mode: horizontal-tb;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.2s forwards;
}

.hero-lead {
  font-size: 16px;
  color: var(--text);
  text-shadow: 0 1px 10px rgba(11, 19, 32, 0.7);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.9s forwards;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeIn 1.2s ease 1.1s forwards; }
.hero-actions .btn-ghost { background: rgba(11, 19, 32, 0.45); }

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--sub);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll > span { width: 1px; height: 48px; background: var(--line-strong); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 証拠動画 ---------- */
.video-chip {
  margin: 0;
  position: relative;
  width: min(280px, 100%);
  min-width: 0; /* flexアイテムの初期値 min-width:auto は<video>の実サイズを下限にして
                   右はみ出しの原因になるため 0 にする */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-chip video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-2);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.video-chip video.is-loaded { opacity: 1; }
.video-chip figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px 16px;
  background: linear-gradient(0deg, rgba(11, 19, 32, 0.9) 0%, rgba(11, 19, 32, 0) 55%);
  color: var(--text);
}
.video-chip .vc-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.5; }
.video-chip .vc-text { font-size: 13px; color: var(--sub); line-height: 1.6; }

.proof-strip { display: flex; justify-content: center; gap: 20px; margin-top: 64px; flex-wrap: wrap; }
.proof-strip .video-chip { width: min(260px, 100%); }
#chip-gallery { display: flex; justify-content: center; margin-bottom: 40px; }
#chip-gallery .video-chip { width: min(320px, 100%); }

/* ---------- 注目プラン(ヒーロー直後) ---------- */
.hero-offer { border-bottom: 1px solid var(--line); }
.hero-offer-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  text-decoration: none;
}
.hero-offer-label {
  font-size: 12px; letter-spacing: 0.14em; line-height: 1.6; white-space: nowrap;
  color: var(--accent); border: 1px solid var(--accent); padding: 2px 10px; border-radius: var(--radius);
}
.hero-offer-text { color: var(--text); font-size: 15px; }
.hero-offer-text strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0 2px; white-space: nowrap; }
.hero-offer-text small { color: var(--sub); font-size: 12px; margin-left: 4px; white-space: nowrap; }
.hero-offer-arrow { color: var(--accent); font-size: 13px; white-space: nowrap; }
.hero-offer-inner:hover .hero-offer-arrow { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 初回限定クーポン(campaign.html 横スクロール) ---------- */
.campaign-group-title {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text);
  margin: 56px 0 20px;
}
.campaign-group-title:first-of-type { margin-top: 8px; }
.campaign-group-title small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--sub); }
.campaign-sub-lead { margin: 0 0 8px; font-size: 14px; }
.coupon-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  padding: 4px var(--gutter) 24px;
  margin: 0 calc(-1 * var(--gutter));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.coupon-carousel::-webkit-scrollbar { display: none; }
.coupon-card {
  position: relative;
  flex: 0 0 auto;
  width: min(260px, 70vw);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.coupon-card:hover { border-color: var(--line-strong); }
.coupon-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--bg-2); }
.coupon-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong);
  font-size: 12px; letter-spacing: 0.04em; line-height: 1.6;
  padding: 2px 10px; border-radius: var(--radius);
}
.coupon-info { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 16px; }
.coupon-title { font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.5; }
.coupon-price { font-family: var(--font-display); font-size: 20px; color: var(--text); font-weight: 600; white-space: nowrap; }
.coupon-price .yen { font-size: 12px; margin-right: 1px; color: var(--sub); }
.coupon-price small { font-family: var(--font-body); font-size: 11px; color: var(--sub); font-weight: 400; margin-left: 2px; }
.coupon-hint { text-align: center; color: var(--sub); font-size: 13px; letter-spacing: 0.06em; margin: -4px 0 36px; }

/* ---------- 信頼バー ---------- */
.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.trust-strip li { padding: 28px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.trust-strip li:first-child { border-left: 0; }
.trust-strip strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: 0.08em; line-height: 1.6; }
.trust-strip li > span { font-size: 13px; color: var(--sub); letter-spacing: 0.04em; line-height: 1.6; }

/* ---------- セクション共通 ---------- */
.section { padding: clamp(96px, 12vw, 168px) 0; position: relative; }
.section-tint, .flow { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow, .cta-eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 56px;
  line-height: 1.5;
}
.section-lead { color: var(--sub); margin: -32px 0 52px; max-width: 640px; }
.voices-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: -24px 0 16px; }
.voices-stat strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text); white-space: nowrap; }
.voices-stat > span { color: var(--sub); font-size: 14px; }
.section-cta { text-align: center; margin-top: 64px; }

/* ---------- コンセプト ---------- */
.concept-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.concept-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.75;
  color: var(--text);
}
.concept-body p { margin-bottom: 1.6em; color: var(--sub); }
.concept-body p:first-child { color: var(--text); }
.concept-body p:last-child { margin-bottom: 0; }

/* ---------- 選ばれる理由 ---------- */
.reason-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.reason-card { border-top: 1px solid var(--line-strong); padding-top: 32px; }
.reason-kanji { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--accent); margin-bottom: 24px; }
.reason-kanji.reason-kanji-word { font-family: var(--font-en); font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase; }
.reason-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; margin-bottom: 14px; line-height: 1.6; }
.reason-card p:last-child { font-size: 15px; color: var(--sub); }

/* ---------- 料金(パーツ制) ---------- */
.section-lead-sm { color: var(--sub); font-size: 14px; margin: -8px 0 32px; max-width: 640px; }
.section-lead-sm strong { color: var(--text); font-weight: 500; }
.subhead { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: 0.08em; line-height: 1.6; margin: 80px 0 24px; }

.size-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-bottom: 56px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.size-legend li { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 19px; color: var(--text); white-space: nowrap; }
.size-legend small { font-size: 12px; color: var(--sub); font-family: var(--font-body); }

/* サイズバッジ: 色は1色。S=線のみ / L=淡い面 / X=塗り で区別 */
.size-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 13px;
  line-height: 1;
  flex: none;
  align-self: center;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.size-badge.size-L { background: rgba(142, 197, 214, 0.22); color: var(--text); }
.size-badge.size-X { background: var(--accent); color: #0B1320; }

.parts-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 20px; }

/* 人体図 */
.parts-figure {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 20px 20px;
}
.figure-block { margin: 0; text-align: center; min-width: 0; }
.figure-svg { width: 100%; height: auto; max-height: 320px; display: block; margin: 0 auto; }

.fig-skin { fill: #18263A; stroke: rgba(185, 195, 207, 0.5); stroke-width: 2; }
.fig-hair { fill: #0B1320; }
.fig-shade { fill: #000; opacity: 0.15; }
.fig-limb { fill: none; stroke: #18263A; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.fig-limb-leg { stroke-width: 19; }
.fig-limb-outline { fill: none; stroke: rgba(185, 195, 207, 0.28); stroke-width: 15; stroke-linecap: round; opacity: 0.9; }
.fig-limb-outline-leg { stroke-width: 19; }
.figure-block figcaption { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.3em; color: var(--sub); margin-top: 8px; }
.figure-hint { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--sub); margin-top: 12px; }

/* 部位ゾーン(main.js が size-S/L/X と is-hit を付与) */
.part-dot {
  fill: var(--accent);
  fill-opacity: 0.16;
  stroke: var(--accent);
  stroke-opacity: 0.5;
  stroke-width: 1.5;
  transition: fill-opacity 0.2s ease, stroke-opacity 0.2s ease;
}
.part-dot.is-band { fill: none; stroke-width: 15; stroke-linecap: round; stroke-opacity: 0.22; }
.part-dot.is-hit { fill-opacity: 0.75; stroke-opacity: 1; }
.part-dot.is-band.is-hit { stroke-opacity: 0.8; }

.parts-tables { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.parts-group h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}
.menu-row { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-row .name { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.menu-row .dots { display: none; }
.menu-row .price { font-family: var(--font-display); font-size: 18px; color: var(--text); white-space: nowrap; min-width: 64px; text-align: right; }
.menu-row .price::before { content: "¥"; font-size: 12px; margin-right: 1px; color: var(--sub); }
.menu-note { margin-top: 36px; font-size: 13px; color: var(--sub); }

/* 組み合わせ例 */
.combo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.combo-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.combo-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: 0.04em; margin-bottom: 12px; line-height: 1.6; }
.combo-card.is-set h4 { padding-right: 52px; }
.combo-calc { font-size: 13px; color: var(--sub); letter-spacing: 0.04em; margin-bottom: 10px; }
.combo-badge {
  position: absolute; top: 28px; right: 24px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; line-height: 1.6;
  color: var(--accent); border: 1px solid var(--accent); padding: 1px 8px; border-radius: var(--radius);
}
.combo-total { font-family: var(--font-display); font-size: 30px; line-height: 1.3; color: var(--text); }
.combo-total .yen { font-size: 16px; margin-right: 2px; }
.combo-total small { font-size: 13px; margin-left: 4px; color: var(--sub); }
.combo-total .old-price { font-size: 18px; text-decoration: line-through; margin-right: 10px; color: var(--sub); white-space: nowrap; }
.combo-total .old-price .yen { font-size: 12px; }

.value-sets { display: grid; gap: 20px; }
.value-set { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.value-set h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.value-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: none; }
.vs-label { font-size: 14px; color: var(--sub); display: flex; flex-direction: column; gap: 2px; }
.vs-label small { font-size: 12px; }
.vs-price { font-family: var(--font-display); font-size: 18px; color: var(--sub); white-space: nowrap; }
.vs-price::before { content: "¥"; font-size: 12px; margin-right: 1px; }
.vs-price small { font-size: 12px; margin-left: 2px; }
.vs-muted { text-decoration: line-through; opacity: 0.6; }
.vs-na { font-family: var(--font-body); font-size: 14px; }
.vs-na::before { content: none; }
.value-row.is-best .vs-label { color: var(--text); font-weight: 500; }
.value-row.is-best .vs-price { color: var(--text); font-size: 24px; font-weight: 600; }

/* ---------- 施術の流れ ---------- */
.flow-steps { list-style: none; counter-reset: flow; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.flow-steps li { counter-increment: flow; border-top: 1px solid var(--line-strong); padding-top: 24px; }
.flow-steps li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-en);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.flow-steps h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: 0.04em; line-height: 1.6; }
.flow-steps p { font-size: 14px; color: var(--sub); line-height: 1.85; }

/* ---------- お客様の声 ---------- */
.voice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.voice-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; background: var(--bg); }
.voice-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 14px; letter-spacing: 0.04em; line-height: 1.6; }
.voice-card p { font-size: 15px; color: var(--sub); margin-bottom: 18px; }
.voice-card .meta { font-size: 13px; color: var(--sub); padding-top: 14px; border-top: 1px solid var(--line); margin: 0; }

/* ---------- ビフォーアフター ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.gallery-item a { display: block; text-decoration: none; }
.gallery-item figure { margin: 0; position: relative; }
.gallery-item .ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--sub);
}
.gallery-item figcaption { font-size: 13px; color: var(--sub); padding: 10px 14px 12px; line-height: 1.6; border-top: 1px solid var(--line); }
.gallery-more { display: flex; width: fit-content; max-width: 100%; margin: 44px auto 0; }

/* ---------- スタッフ ---------- */
.staff-list { display: grid; gap: 40px; max-width: 900px; }
.staff-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 44px; align-items: center; border-top: 1px solid var(--line-strong); padding-top: 40px; }
.staff-card .ph {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--sub);
}
.staff-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: 0.08em; margin-bottom: 14px; }
.staff-card p { font-size: 15px; color: var(--sub); }

/* ---------- ブログ(トップの最新記事) ---------- */
.blog-list { display: grid; border-top: 1px solid var(--line-strong); }
.blog-item {
  display: grid;
  grid-template-columns: 110px 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.blog-item time, .blog-card time, .article time { font-family: var(--font-en); font-size: 13px; color: var(--sub); letter-spacing: 0.08em; white-space: nowrap; }
.blog-item .cat, .blog-card .cat, .article .cat { font-size: 12px; color: var(--accent); letter-spacing: 0.06em; }
.blog-item h3 { font-size: 16px; font-weight: 500; color: var(--text); letter-spacing: 0.03em; line-height: 1.7; }
.blog-item .arrow { color: var(--sub); }
.blog-item:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ブログ一覧ページ(blog.html) */
.blog-card-list { display: grid; max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.blog-card { display: block; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.blog-card .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 10px; }
.blog-card .thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 18px; background: var(--bg-2); }
.blog-card h2 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: 0.03em; line-height: 1.6; margin-bottom: 10px; }
.blog-card .excerpt { font-size: 15px; color: var(--sub); line-height: 1.8; margin-bottom: 12px; }
.blog-card .more { font-size: 13px; color: var(--accent); letter-spacing: 0.05em; }
.blog-card:hover .more { text-decoration: underline; text-underline-offset: 4px; }

/* パンくず・前後ナビ(個別記事) */
.breadcrumb { max-width: 760px; margin: 0 auto 24px; font-size: 13px; line-height: 1.7; color: var(--sub); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--sub); text-decoration: none; }
.breadcrumb a:first-child { justify-content: flex-start; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-current] { color: var(--text); min-width: 0; }

.post-nav { max-width: 760px; margin: 0 auto 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-nav-link { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.6; transition: border-color 0.2s ease; }
.post-nav-link:hover { border-color: var(--line-strong); }
.post-nav-link > span { display: block; font-size: 12px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 6px; }
.post-nav-next { text-align: right; }

/* ---------- ブログ記事ページ ---------- */
.article-page { padding: 72px var(--gutter) 120px; }
.article-page > .page-hero { margin: -72px calc(-1 * var(--gutter)) 56px; }
.article { max-width: 760px; margin: 0 auto 56px; }
.article header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line-strong); }
/* 日付・カテゴリ・執筆者は右側に間隔を持たせる(折り返した行の頭がずれないように) */
.article header time, .article header .cat, .article header .byline { display: inline-block; margin-right: 14px; white-space: nowrap; }
.article .byline { font-size: 12px; color: var(--sub); letter-spacing: 0.06em; }
.article h1 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); font-weight: 600; color: var(--text); letter-spacing: 0.05em; line-height: 1.7; margin-top: 12px; }
.article .post-photo { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.article .post-photo img, .article .post-photo video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 480px; object-fit: cover; background: var(--bg-2); }
.article .post-photo figcaption { padding: 10px 16px; font-size: 13px; color: var(--sub); line-height: 1.6; border-top: 1px solid var(--line); }
.article .body { font-size: 16px; line-height: 2; }
.article .body p { margin-bottom: 1.6em; color: var(--sub); }
.article .body h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: 0.04em; line-height: 1.7; margin: 2.4em 0 0.8em; }
.article .body h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.7; margin: 2em 0 0.6em; }
.article .body a { color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.article .body strong { color: var(--text); font-weight: 700; }
.article .body img, .article .body video, .article .body iframe { max-width: 100%; }
.article .body img { height: auto; }
.article .body ul, .article .body ol { margin: -0.4em 0 1.6em; padding-left: 1.4em; }
.article .body li { margin-bottom: 0.5em; padding-left: 0.2em; }
.article .body li::marker { color: var(--accent); }

/* 著者欄(記事末尾) */
.author-box {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.author-box .author-photo { grid-row: 1 / span 3; width: 72px; height: 72px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; background: var(--bg-2); }
.author-box > :not(.author-photo) { grid-column: 2; min-width: 0; }
.author-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: 0.06em; line-height: 1.6; }
.author-role { font-size: 13px; color: var(--accent); letter-spacing: 0.04em; line-height: 1.6; margin-bottom: 8px; }
.author-bio { font-size: 14px; color: var(--sub); line-height: 1.85; }

/* Instagram埋め込み枠(中央・最大540px・スマホは幅100%)
   iframe は縦長動画(9:16)+投稿者欄・説明文ぶんの高さを先に確保し、
   読み込みでガタつかないようにする。画面の高さは超えない(超える分は枠内でスクロール) */
.post-embed { width: 100%; max-width: 540px; margin: 40px auto; }
.post-embed iframe, .post-embed > blockquote, .post-embed .instagram-media {
  display: block;
  width: 100% !important;
  min-width: 0 !important;   /* Instagram の埋め込みは min-width:326px を直書きするため打ち消す */
  max-width: 540px !important;
  margin: 0 auto !important;
  border: 0;
}
.post-embed iframe {
  height: auto;
  aspect-ratio: 9 / 19;
  max-height: calc(100vh - 150px);
  max-height: calc(100svh - 150px);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
}
.post-embed p, .article .body .post-embed p { margin: 4px 0 0; text-align: center; font-size: 14px; }
.post-embed p a { display: inline-flex; align-items: center; min-height: 44px; }

/* 対談記事(h2=質問 / p=答え) */
.talk-qa { margin: 40px 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--line-strong); }
.talk-qa h2, .article .body .talk-qa h2 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: 0.04em; line-height: 1.7; margin: 0 0 12px; }
.talk-qa h2::before { content: "Q"; font-family: var(--font-en); color: var(--accent); margin-right: 10px; }
.talk-qa p, .article .body .talk-qa p { color: var(--sub); margin-bottom: 1em; }
.talk-qa p:last-child, .article .body .talk-qa p:last-child { margin-bottom: 0; }

/* ---------- Instagram(トップ) ---------- */
.instagram-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; justify-items: center; }
.instagram-grid .post-embed { margin: 0; }
.instagram-empty { grid-column: 1 / -1; text-align: center; color: var(--sub); font-size: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 24px; width: 100%; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 56px;
  padding: 20px 40px 20px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-answer::before { font-family: var(--font-en); font-size: 18px; color: var(--accent); flex: none; width: 1em; }
.faq-item summary::before { content: "Q"; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--sub);
  border-bottom: 1px solid var(--sub);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq-answer { display: flex; gap: 16px; padding: 0 0 24px; color: var(--sub); font-size: 15px; }
.faq-answer::before { content: "A"; color: var(--sub); }

/* ---------- アクセス ---------- */
.access-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.access-table { display: grid; border-top: 1px solid var(--line-strong); }
.access-table > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.access-table dt { color: var(--sub); }
.access-table dd { color: var(--text); }
.access-table dd a { display: inline-block; padding: 8px 0; margin: -8px 0; color: var(--accent); text-underline-offset: 4px; }
.access-note { margin-top: 20px; font-size: 14px; color: var(--sub); }
.access-area { margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--sub); }
.access-map-link { margin-top: 24px; }
.access-map iframe { display: block; width: 100%; height: 420px; border: 1px solid var(--line); border-radius: var(--radius-lg); filter: invert(0.9) hue-rotate(185deg) saturate(0.5) contrast(0.92); }

/* ---------- 予約CTA ---------- */
.cta-band { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--text); padding: clamp(96px, 12vw, 160px) 0; text-align: center; }
.cta-title { font-family: var(--font-display); font-size: clamp(25px, 4vw, 40px); font-weight: 600; letter-spacing: 0.1em; line-height: 1.6; margin-bottom: 20px; }
.cta-lead { color: var(--sub); margin-bottom: 44px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 24px; font-size: 13px; color: var(--sub); }
.cta-note + .cta-note { margin-top: 6px; }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); color: var(--sub); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand .brand-en { font-size: 28px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; }
.footer-partner { font-size: 13px; letter-spacing: 0.06em; }
.footer-partner a, .footer-nav a { display: flex; align-items: center; min-height: 44px; color: var(--sub); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; line-height: 1.5; transition: color 0.2s; }
.footer-partner a { display: inline-flex; font-size: 13px; }
.footer-partner a:hover, .footer-nav a:hover { color: var(--text); }
.footer-nav { display: grid; align-content: start; }
.footer-copy { text-align: center; font-size: 12px; color: var(--sub); opacity: 0.7; padding: 28px var(--gutter) 0; letter-spacing: 0.1em; }
.sa-badge { display: inline-block; background: #fff; border-radius: var(--radius-lg); padding: 8px; margin-top: 16px; line-height: 0; }
.sa-badge img { display: block; height: 72px; width: auto; }
.legal-page .sa-badge img { height: 96px; }

/* ---------- 固定予約バー(モバイル) ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { width: 100%; padding: 8px 10px; white-space: nowrap; font-size: clamp(13px, 3.9vw, 15px); letter-spacing: 0.02em; }

/* ドロワー展開中は背面をスクロールロック */
body.nav-open { overflow: hidden; }

/* ---------- 下層ページ ---------- */
.ba-page-main .section { padding-top: 72px; }
.ba-back, .back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--sub); font-size: 14px; text-decoration: none; letter-spacing: 0.04em; }
.ba-back { margin-top: 32px; }
.back-link { margin-bottom: 28px; }
.ba-back:hover, .back-link:hover { color: var(--text); }

.legal-page { padding: 72px 0 120px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--text); letter-spacing: 0.1em; line-height: 1.6; margin-bottom: 40px; }
.legal-page h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: 0.08em; line-height: 1.6; margin: 72px 0 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.legal-subhead { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: 0.06em; margin: 36px 0 14px; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 1px solid var(--line); }
.legal-page th, .legal-page td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.legal-page th { width: 200px; padding-right: 16px; color: var(--sub); font-weight: 500; }
.legal-page td { color: var(--text); }
.legal-page p, .legal-page li { font-size: 15px; color: var(--sub); margin-bottom: 1em; }
.legal-page strong { color: var(--text); }
.legal-page ul, .legal-page ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.legal-page a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-note { font-size: 13px; color: var(--sub); }

.page-hero { border-bottom: 1px solid var(--line); color: var(--text); padding: 80px 0 56px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; letter-spacing: 0.1em; line-height: 1.5; }

/* ---------- スクロール出現(ぼかし無しの控えめなフェード) ----------
   main.js が動いたときだけ html.reveal-on が付く。JSが止まっても本文は消えない */
.reveal-on .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
  .global-nav { gap: 18px; }
  .brand-ja { display: none; }
}

@media (max-width: 960px) {
  .site-header { gap: 8px; }
  .lang-switch { margin-left: auto; }
  /* ドロワー: ヘッダー直下に全幅で開く。画面外へ translate して隠すと横はみ出しの
     原因になるため、display の切り替えだけで出し入れする */
  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 95;
    flex-direction: column;
    gap: 0;
    margin: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 8px var(--gutter) calc(var(--cta-h) + 40px);
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); white-space: normal; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    margin-right: -11px;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1px; background: var(--text); transition: transform 0.2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .concept-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .reason-cards, .voice-cards { grid-template-columns: minmax(0, 1fr); }
  .reason-cards { gap: 48px; }
  .parts-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .parts-figure { position: static; width: 100%; max-width: 440px; margin: 0 auto; }
  .figure-svg { max-height: 240px; }
  .figure-hint { display: none; }
  .combo-cards { grid-template-columns: minmax(0, 1fr); }
  .flow-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-card { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
  .staff-card .ph { max-width: 180px; margin: 0 auto; }
  .staff-card p { text-align: left; }
  .access-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .blog-item { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 20px 0; }
  .blog-item .arrow { display: none; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav-next { text-align: left; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip li:nth-child(odd) { border-left: 0; }
  .trust-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 60px; }
  .section { padding: 80px 0; }
  .section-title { margin-bottom: 44px; letter-spacing: 0.06em; }
  .section-lead { margin: -24px 0 40px; }
  .voices-stat { margin: -20px 0 12px; }
  .subhead { margin-top: 64px; }
  .hero-inner { padding: 56px var(--gutter) 72px; }
  .hero-lead br { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  /* 長いボタン文言が1文字だけ次の行に落ちないよう、狭い画面では字を少し詰める */
  .hero-actions .btn, .cta-actions .btn, .section-cta .btn, .gallery-more, .access-map-link { padding-left: 10px; padding-right: 10px; font-size: clamp(13px, 3.9vw, 15px); letter-spacing: 0.02em; }
  .cta-actions { flex-direction: column; }
  .btn-large { padding: 14px 20px; }
  .hero-scroll { display: none; }
  .hero-offer-inner { flex-direction: column; gap: 6px; text-align: center; }
  .header-cta { display: none; }
  .mobile-cta { display: block; }
  /* 固定予約バーが本文・フッターを隠さないよう、同じ高さぶん下に余白を取る */
  body { padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px)); }
  .size-legend { flex-direction: column; gap: 10px; }
  .trust-strip li { padding: 22px 8px; }
  .trust-strip strong { font-size: 16px; letter-spacing: 0.04em; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .combo-card { padding: 26px 22px; }
  .voice-card { padding: 28px 22px; }
  .cta-title { letter-spacing: 0.04em; }
  .legal-page th, .legal-page td { display: block; width: 100%; }
  .legal-page th { padding: 14px 0 0; border-bottom: 0; font-size: 13px; }
  .legal-page td { padding: 4px 0 14px; }
  .article-page { padding-top: 48px; padding-bottom: 96px; }
  .article-page > .page-hero { margin-top: -48px; }
  .author-box { grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .author-box .author-photo { width: 56px; height: 56px; }
  .talk-qa { padding-left: 16px; }
}

/* ---------- モーション設定を尊重 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-lead, .hero-actions, .hero-title span, .hero-title.hero-title-horizontal { opacity: 1; animation: none; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* 見出しは文節の切れ目で折り返す(「悩/み」「回/数」のような語の途中改行を防ぐ)。
   未対応ブラウザ(Safari等)では通常の折り返しになるだけで、はみ出しは起きない */
h1, h2, h3, h4, .blog-card h2, .post-nav-link, .hero-lead, .section-lead, .btn { word-break: auto-phrase; }

/* iPhone Safari は body の overflow-x:hidden だけでは横スクロールを止めないことがある。
   ページ全体で横方向をクリップし、画面が左右にずれる状態を原理的に起こさない */
html, body { overflow-x: clip; max-width: 100%; }
