/* =========================================================
   シマ デモサイト 共通スタイル
   配色は 13_Web構成.md 第5章。色相は変えず、文字用のみ明度を下げた版を追加
   ========================================================= */
:root {
  --ivory: #FBF6EF;
  --coral: #E8918A;
  --coral-deep: #B8544D;      /* ボタン地（白文字 4.76:1） */
  --coral-text: #9E4640;      /* 淡いコーラル面の上の小さな文字用（5.0:1）※明度のみ調整 */
  --yellow: #F3D27B;
  --yellow-text: #806219;     /* イエロー面の上の小見出し文字（#8A6A1E から明度のみ調整） */
  --sage: #A9C4A0;
  --brown: #5B4B45;
  --coral-pale: #F8E3DF;
  --yellow-pale: #FBF0D2;
  --white: #FFFFFF;

  --route-color: var(--coral);
  --route-pale: var(--coral-pale);
  --route-text: var(--coral-text);

  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "Quicksand", "Noto Sans JP", sans-serif;

  --radius: 24px;
  --header-h: 72px;
  --section-y: clamp(72px, 10vw, 112px);
  --gutter: clamp(20px, 5vw, 40px);
  --shadow-soft: 0 6px 20px rgba(91, 75, 69, .08);
  --shadow-strong: 0 14px 34px rgba(91, 75, 69, .18);
}
body[data-route="salon"] { --route-color: var(--coral); --route-pale: var(--coral-pale); --route-text: var(--coral-text); }
body[data-route="visit"] { --route-color: var(--yellow); --route-pale: var(--yellow-pale); --route-text: var(--yellow-text); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .03em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  text-wrap: balance;
  word-break: auto-phrase;
}
p { margin: 0; }
/* 短い文の改行を文節単位に（対応ブラウザのみ。非対応は word-break: normal のまま） */
p, li, figcaption, .btn, .btn-line, .tab, .faq-q { word-break: auto-phrase; }
.nb { display: inline-block; }   /* 語のまとまり（意味の切れ目で改行させる） */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { max-width: 40em; }       /* 1行 全角約40文字 */

/* ---------- ルート帯（ページ上部） ---------- */
.route-band { height: 6px; background: linear-gradient(90deg, var(--coral) 0 50%, var(--yellow) 50% 100%); }
body[data-route="salon"] .route-band,
body[data-route="visit"] .route-band { background: var(--route-color); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 239, .96);
  transition: background-color .18s ease-out, box-shadow .18s ease-out;
}
.site-header .inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: height .18s ease-out;
}
.site-header.is-scrolled { background: rgba(251, 246, 239, .82); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(91,75,69,.08); }
.site-header.is-scrolled .inner { height: 56px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-decoration: none; letter-spacing: .12em; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.logo .ribbon { font-size: .95rem; color: var(--coral); letter-spacing: 0; }
.gnav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.gnav a { display: block; padding: 8px 12px; text-decoration: none; font-size: .92rem; font-weight: 500; border-radius: 999px; white-space: nowrap; }
.gnav a[aria-current="page"] { background: var(--route-pale); }
.gnav a[data-nav="salon"][aria-current="page"] { background: var(--coral-pale); }
.gnav a[data-nav="visit"][aria-current="page"] { background: var(--yellow-pale); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--coral-pale); color: var(--brown); cursor: pointer;
  }
  .gnav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); box-shadow: 0 10px 20px rgba(91,75,69,.1);
    display: none;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; padding: 8px var(--gutter) 20px; }
  .gnav a { padding: 12px 16px; font-size: 1rem; }
}
@media (max-width: 400px) {
  .logo { font-size: 1.3rem; }
  .site-header .btn-line { padding: 0 14px; font-size: .85rem; }
}

/* ---------- ボタン ---------- */
.btn-line, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px;
  border-radius: 999px; text-decoration: none; font-weight: 700;
  font-family: var(--font-body); font-size: 1rem; letter-spacing: .04em;
  white-space: nowrap; cursor: pointer;
}
.btn-line {
  background: var(--coral-deep); color: var(--white);
  border: 3px solid var(--route-color);
  box-shadow: 0 4px 12px rgba(184, 84, 77, .25);
}
.btn-line svg { width: 20px; height: 20px; flex: none; }
.btn-line.is-small { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.btn-line.is-large { min-height: 60px; padding: 0 40px; font-size: 1.1rem; }
.btn {
  background: var(--white); color: var(--brown);
  border: 2px solid var(--brown);
}
.btn.is-route { border-color: var(--route-color); }
.cta-note { font-size: .88rem; margin-top: 12px; }

/* テキストリンクの下線（コーラルが左から右へ） */
.text-link {
  font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--coral), var(--coral)) left bottom / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .18s ease-out;
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 2px; }
.text-link::after { content: " →"; }
.prose a:not(.btn):not(.btn-line) {
  text-decoration: none;
  background: linear-gradient(var(--coral), var(--coral)) left bottom / 0 2px no-repeat;
  transition: background-size .18s ease-out;
  border-bottom: 1px solid rgba(91,75,69,.3);
}
.prose a:not(.btn):not(.btn-line):hover { background-size: 100% 2px; }

:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; }

/* ---------- セクション共通 ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .narrow { margin-inline: auto; }
.eyebrow {
  display: block; font-family: var(--font-en); font-weight: 600;
  font-size: .85rem; letter-spacing: .18em; text-transform: lowercase;
  color: var(--coral-text); margin-bottom: 8px;
}
body[data-route="visit"] .eyebrow { color: var(--yellow-text); }
.h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); display: inline-flex; align-items: center; gap: 12px; }
.h2 > span:last-child { min-width: 0; }
.section-head.center .h2 { justify-content: center; }
.ribbon { white-space: nowrap; flex: none; }
.h2 .ribbon { font-family: var(--font-body); font-size: .9em; color: var(--route-color); font-weight: 400; letter-spacing: 0; }
.h2 + .lead { margin-top: 16px; }
.lead { font-size: 1.02rem; }
.section-foot { margin-top: 40px; text-align: center; }

/* 波線の区切り（セージ） */
.wave {
  height: 14px; width: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='14' viewBox='0 0 80 14'%3E%3Cpath d='M0 7 Q20 0 40 7 T80 7' fill='none' stroke='%23A9C4A0' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 80px 14px;
  opacity: .9;
}

/* 光のにじみ */
.glow { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(243,210,123,.2) 0%, rgba(243,210,123,0) 70%); pointer-events: none; z-index: 0; }

/* 写真 */
.photo { border-radius: var(--radius); overflow: hidden; background: var(--coral-pale); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.arch { border-radius: 999px 999px var(--radius) var(--radius); }
.ai-note { font-size: .75rem; margin-top: 6px; color: var(--brown); opacity: .85; }
figure { margin: 0; }

/* ---------- FV（ふたつの入口） ---------- */
.fv { position: relative; padding-bottom: 56px; overflow: hidden; }
.fv-hero {
  position: relative; height: clamp(300px, 42vw, 460px);
  border-radius: 0 0 48px 48px; overflow: hidden;
}
.fv-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.fv-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,246,239,.92) 0%, rgba(251,246,239,.75) 40%, rgba(251,246,239,0) 70%);
}
.fv-copy { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.fv-copy .container { padding-bottom: 72px; }
.fv-catch { font-size: clamp(1.7rem, 4.2vw, 2.9rem); line-height: 1.45; letter-spacing: .06em; }
.fv-sub { margin-top: 16px; max-width: 26em; font-size: clamp(.95rem, 1.6vw, 1.05rem); }
.doors {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px);
  margin-top: -88px;
}
.door-wrap { display: flex; }
.door {
  flex: 1; display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 24px;
  padding: 20px 28px 20px 20px; border-radius: 32px;
  text-decoration: none; color: var(--brown);
  box-shadow: var(--shadow-soft);
  border: 3px solid transparent;
  will-change: transform;
}
.door.is-salon { background: var(--coral-pale); border-color: var(--coral); }
.door.is-visit { background: var(--yellow-pale); border-color: var(--yellow); }
.door .photo { aspect-ratio: 4 / 5; }
.door-en { font-family: var(--font-en); font-weight: 600; letter-spacing: .2em; font-size: .9rem; }
.door.is-salon .door-en { color: var(--coral-text); }
.door.is-visit .door-en { color: var(--yellow-text); }
.door-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 10px; display: flex; align-items: center; gap: 10px; }
.door-title .ribbon { font-family: var(--font-body); font-size: .6em; font-weight: 400; }
.door.is-salon .ribbon { color: var(--coral); }
.door.is-visit .ribbon { color: #D9A92E; }
.door-text { font-size: .98rem; }
.door-go {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem;
}
.door-go .go-short { display: none; }
.door-go .arrow {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-grid; place-items: center; color: var(--white);
}
.door.is-salon .door-go .arrow { background: var(--coral-deep); }
.door.is-visit .door-go .arrow { background: var(--yellow-text); }
.fv-help { text-align: center; margin-top: 28px; }
.fv-help p { font-size: .98rem; }
.fv-help .text-link { display: inline-block; margin-top: 8px; }
.scroll-cue { display: block; width: 36px; margin: 20px auto 0; color: var(--coral); }

@media (max-width: 767px) {
  .fv-hero { height: 320px; border-radius: 0 0 32px 32px; }
  .fv-hero img { object-position: 78% 50%; }
  .fv-hero::after { background: linear-gradient(180deg, rgba(251,246,239,.9) 0%, rgba(251,246,239,.78) 55%, rgba(251,246,239,.2) 100%); }
  .fv-copy { align-items: flex-start; padding-top: 36px; }
  .doors { grid-template-columns: 1fr; margin-top: -64px; }
  .door { grid-template-columns: 38% 1fr; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 26px; }
  .door-title { font-size: 1.5rem; margin-bottom: 6px; }
  .door-text { font-size: .86rem; line-height: 1.7; }
  .door-go { margin-top: 10px; font-size: .9rem; }
  .door-go .go-long { display: none; }
  .door-go .go-short { display: inline; }
  .door-go .arrow { width: 32px; height: 32px; }
  .door .ai-note { font-size: .68rem; line-height: 1.5; }
}

/* ---------- 汎用レイアウト ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .photo { aspect-ratio: 4 / 3; }
.split .body > * + * { margin-top: 16px; }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* 2つの道のカード */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.route-card { border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.route-card.is-salon { background: var(--coral-pale); }
.route-card.is-visit { background: var(--yellow-pale); }
.route-card .icon { width: 72px; height: 72px; background: var(--white); border-radius: 50%; padding: 10px; margin-bottom: 16px; }
.route-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.route-card ul { margin: 0 0 20px; padding-left: 1.2em; flex: 1; }
.route-card li + li { margin-top: 4px; }
.route-card .en { font-family: var(--font-en); font-weight: 600; letter-spacing: .18em; font-size: .85rem; }
.route-card.is-salon .en { color: var(--coral-text); }
.route-card.is-visit .en { color: var(--yellow-text); }
@media (max-width: 767px) { .routes { grid-template-columns: 1fr; } .route-card { padding: 24px; } }

/* スタイル格子 */
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.style-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.style-item .photo { aspect-ratio: 4 / 5; }
.style-item .cap { font-size: .9rem; font-weight: 500; margin-top: 8px; }
.gallery .photo { position: relative; }
.gallery .photo img { will-change: transform; }
@media (max-width: 900px) { .style-grid, .style-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* 3つの理由（背景写真） */
.reasons { position: relative; overflow: hidden; }
.reasons .bg { position: absolute; inset: 0; z-index: 0; }
.reasons .bg img { width: 100%; height: 100%; object-fit: cover; }
.reasons .bg::after { content: ""; position: absolute; inset: 0; background: rgba(251,246,239,.72); }
.reasons .container { position: relative; z-index: 1; }
.reason-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.reason { background: rgba(255,255,255,.88); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-soft); }
.reason .icon { width: 80px; height: 80px; margin: 0 auto 12px; }
.reason h3 { font-size: 1.15rem; margin-bottom: 8px; }
.reason .num { font-family: var(--font-en); font-weight: 600; color: var(--coral-text); letter-spacing: .1em; font-size: .85rem; display: block; }
@media (max-width: 767px) { .reason-list { grid-template-columns: 1fr; } }

/* 流れ（静的） */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-soft); position: relative; }
.step .icon { width: 56px; height: 56px; margin-bottom: 8px; }
.step .no { font-family: var(--font-en); font-weight: 600; font-size: .85rem; letter-spacing: .12em; color: var(--coral-text); }
.step h3 { font-size: 1.08rem; margin: 2px 0 6px; }
.step p { font-size: .92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; } .step .icon { grid-row: span 3; margin: 0; } }
.notice-box { margin-top: 24px; background: var(--white); border-left: 6px solid var(--route-color); border-radius: 12px; padding: 16px 20px; font-weight: 500; }

/* 経歴 */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { background: var(--white); border-radius: 16px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.facts li::before { content: "ʚɞ"; color: var(--coral); font-size: .85rem; flex: none; }

/* 料金カード */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-card {
  background: var(--white); border-radius: 20px; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 5px solid var(--route-color); box-shadow: var(--shadow-soft);
  will-change: transform;
}
.price-card.is-salon { border-top-color: var(--coral); }
.price-card.is-visit { border-top-color: var(--yellow); }
.price-card { flex-wrap: wrap; row-gap: 4px; }
.price-card .name { font-weight: 700; word-break: keep-all; }
.price-card .price { margin-left: auto; }
.price-card .name small { display: block; font-weight: 400; font-size: .82rem; }
.price-card .price { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.price-note { margin-top: 16px; font-size: .85rem; }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* チェックリスト */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.checks li { background: var(--route-pale); border-radius: 20px; padding: 20px 20px 20px 52px; position: relative; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 20px; height: 20px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23B8544D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 767px) { .checks { grid-template-columns: 1fr; } }

/* 施術の進め方 */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.process li { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.process .photo { border-radius: 0; aspect-ratio: 4 / 3; }
.process .photo.icon-box { display: grid; place-items: center; background: var(--coral-pale); }
.process .photo.icon-box img { width: 42%; height: auto; }
.process .body { padding: 20px 22px 24px; }
.process .no { font-family: var(--font-en); font-weight: 600; color: var(--coral-text); letter-spacing: .12em; font-size: .85rem; }
.process h3 { font-size: 1.12rem; margin: 2px 0 8px; }
.process .ai-note { padding: 0 22px; }
@media (max-width: 767px) { .process { grid-template-columns: 1fr; } }

/* 場所 */
.place { display: flex; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
.place .icon { width: 72px; flex: none; }
.place h3 { font-size: 1.2rem; margin-bottom: 4px; }
@media (max-width: 520px) { .place { flex-direction: column; align-items: flex-start; } }

/* ページヒーロー（下層） */
.page-hero { padding-block: 48px 64px; position: relative; overflow: hidden; }
.page-hero .split .photo { aspect-ratio: 4 / 3; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.45; }
.page-hero .sub { margin-top: 16px; font-size: 1.02rem; }
.page-hero.text-only { text-align: center; padding-block: 64px 40px; }
.page-hero.text-only .sub { margin-inline: auto; max-width: 34em; }

/* 共有ボタン（visit） */
.share { background: var(--yellow-pale); border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; border: 2px dashed var(--yellow); }
.share-title { font-weight: 700; font-family: var(--font-head); font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.share-title .ribbon { color: #D9A92E; font-family: var(--font-body); font-weight: 400; }
.share-title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; }
.share-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.share-btns .btn { min-height: 48px; padding: 0 22px; font-size: .95rem; }
.copy-toast { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); background: var(--brown); color: var(--ivory); border-radius: 999px; padding: 6px 16px; font-size: .85rem; white-space: nowrap; opacity: 0; pointer-events: none; }
.copy-toast.is-static { opacity: 1; }
@media (max-width: 600px) { .share { padding: 20px; } .share-btns { width: 100%; } .share-btns .btn { flex: 1; padding: 0 12px; } }

/* できることカード */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.service-card .photo { border-radius: 0; aspect-ratio: 4 / 3; }
.service-card .ai-note { padding: 0 22px; }
.service-card .body { padding: 12px 22px 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.service-card p { font-size: .93rem; }
@media (max-width: 900px) { .service-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ピン留めストーリー（visit 主役層） */
.story { background: var(--yellow-pale); }
.story-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.story-dots { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.story-dots li { display: flex; align-items: center; gap: 12px; font-weight: 500; opacity: .55; transition: opacity .18s ease-out; }
.story-dots li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--yellow-text); background: transparent; transition: background-color .18s ease-out; flex: none; }
.story-dots li.is-active { opacity: 1; }
.story-dots li.is-active::before { background: var(--yellow-text); }
.story-stage { position: relative; display: grid; gap: 16px; }
.story-step { background: var(--white); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-soft); display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: center; }
.story-step .icon { width: 88px; height: 88px; background: var(--yellow-pale); border-radius: 50%; padding: 12px; }
.story-step .no { font-family: var(--font-en); font-weight: 600; color: var(--yellow-text); letter-spacing: .14em; font-size: .9rem; }
.story-step h3 { font-size: 1.3rem; margin: 2px 0 6px; }
.story.is-pinned { min-height: 100vh; display: flex; align-items: center; padding-block: 88px 40px; }
.story.is-pinned > .container { width: min(1120px, 100% - var(--gutter) * 2); }
.story.is-pinned .story-stage { min-height: 380px; }
.story.is-pinned .story-step { position: absolute; inset: 0; grid-template-columns: 1fr; text-align: center; justify-items: center; align-content: center; padding: 40px; }
.story.is-pinned .story-step .icon { width: 120px; height: 120px; padding: 18px; }
.story.is-pinned .story-step h3 { font-size: 1.6rem; }
@media (max-width: 767px) { .story-layout { grid-template-columns: 1fr; gap: 24px; } .story-dots { display: none; } .story-step { grid-template-columns: 64px 1fr; padding: 20px; gap: 16px; } .story-step .icon { width: 64px; height: 64px; padding: 8px; } .story-step h3 { font-size: 1.1rem; } }

/* アコーディオン */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 56px 20px 24px; font: inherit; font-weight: 700; color: var(--brown); cursor: pointer; position: relative; min-height: 56px; }
.faq-q::before { content: "Q."; font-family: var(--font-en); color: var(--route-text); margin-right: 8px; }
body:not([data-route]) .faq-q::before { color: var(--coral-text); }
.faq-q::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--brown); border-bottom: 2px solid var(--brown); transform: translateY(-70%) rotate(45deg); }
.faq-q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { overflow: hidden; }
.faq-a[hidden] { display: none; }
.faq-a > div { padding: 0 24px 22px; }

/* タブ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs.center { justify-content: center; }
.tab { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--brown); background: var(--white); color: var(--brown); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--brown); color: var(--ivory); }
.tab[data-color="salon"][aria-selected="true"] { background: var(--coral-deep); border-color: var(--coral-deep); color: var(--white); }
.tab[data-color="visit"][aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--brown); }
.tab-panel[hidden] { display: none; }

/* QR ダミー */
.line-box { background: var(--white); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-soft); }
.qr-dummy { width: 180px; height: 180px; border: 3px dashed var(--brown); border-radius: 16px; display: grid; place-items: center; font-weight: 700; }
.line-box .icon { width: 56px; margin-bottom: 8px; }
.line-box .body > * + * { margin-top: 12px; }
@media (max-width: 600px) { .line-box { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px; } }

/* ---------- 最終CTA帯 ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding-block: 88px; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: rgba(251,246,239,.55); }
.cta-band .container { position: relative; z-index: 1; }
.cta-card { background: rgba(255,255,255,.9); border-radius: 32px; padding: 32px clamp(20px, 5vw, 56px) 36px; display: inline-block; max-width: 100%; box-shadow: var(--shadow-soft); }
.cta-ribbon { width: 150px; height: 100px; margin: 0 auto 4px; }
.cta-ribbon svg { width: 100%; height: 100%; }
.cta-band h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 20px; }
.cta-band .sub-note { font-size: .9rem; margin-top: 8px; }
.cta-band .share { margin: 0 auto 32px; max-width: 760px; text-align: left; }
@media (max-width: 420px) {
  .cta-card { padding-inline: 14px; }
  .cta-band .btn-line.is-large { padding: 0 16px; font-size: .9rem; gap: 6px; letter-spacing: .02em; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--brown); color: var(--ivory); padding-block: 56px 32px; font-size: .92rem; }
.site-footer a { color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .12em; }
.footer-logo .ribbon { font-size: .9rem; color: var(--coral); margin-left: 6px; }
.footer-info { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-nav a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-nav a:hover { text-decoration: underline; }
.footer-cta p { margin-bottom: 12px; }
.footer-cta .btn-line { border-color: var(--ivory); }
.footer-cta .insta { display: table; margin-top: 16px; padding: 4px 0; }
.demo-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(251,246,239,.25); font-size: .82rem; line-height: 1.8; }
.copyright { margin-top: 12px; font-size: .78rem; opacity: .85; font-family: var(--font-en); }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 96px; }
.notfound h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 16px; }
.notfound .actions { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
