/* =========================================================
   GAMU Landing v2 — Warm Editorial Consultancy
   色板：#FAF8F5 暖米白 / #1C1917 深炭黑 / #D96B43 赤陶橙 / 香槟金点缀
   ========================================================= */

:root {
  --cream: #FAF8F5;
  --paper: #F3EEE7;
  --paper-2: #ECE5DB;
  --ink: #1C1917;
  --ink-2: #44403C;
  --muted: #78716C;
  --line: #E4DCD1;
  --line-strong: #CFC4B5;
  --terra: #D96B43;
  --terra-deep: #B8532E;
  --terra-soft: #F6E3D9;
  --gold: #C9A96E;
  --gold-soft: #E8D9B8;
  --night: #141110;

  --serif-num: "Playfair Display", "Times New Roman", serif;
  --serif-sub: "Instrument Serif", "Playfair Display", Georgia, serif;
  --sans-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans-jp);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: .03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
sup { font-size: .6em; vertical-align: super; line-height: 0; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-only { display: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.serif-num { font-family: var(--serif-num); font-weight: 500; letter-spacing: 0; font-variant-numeric: lining-nums; }
.serif-num em { font-style: italic; font-weight: 400; }
.footnote { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  line-height: 1.4; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-lg small { margin-left: .2em; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); box-shadow: 0 10px 24px -12px rgba(185, 83, 46, .7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-soft); }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.hero-cta .btn-primary { flex-direction: column; gap: 0; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(250, 248, 245, .86); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand-word { font-family: var(--serif-num); font-size: 22px; font-weight: 600; letter-spacing: .14em; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-size: 13.5px; text-decoration: none; color: var(--ink-2); position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.is-current { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang-switch button { background: none; border: 0; font-family: var(--serif-num); font-size: 11.5px; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang-switch button.is-active { background: var(--ink); color: var(--cream); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 99; inset: var(--header-h) 0 0 0; background: var(--cream); padding: 24px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; }
.mobile-menu .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.hero-tag { font-family: var(--serif-sub); font-style: italic; font-size: 17px; letter-spacing: .02em; color: var(--terra-deep); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero-tag::before { content: ""; width: 32px; height: 1px; background: var(--terra); }
.hero-title { font-size: clamp(30px, 3.7vw, 52px); line-height: 1.45; letter-spacing: .02em; font-weight: 700; }
.hero-title span { display: inline-block; }
.hero-lead { margin-top: 26px; max-width: 34em; color: var(--ink-2); font-size: 15.5px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-stats > div { display: flex; align-items: flex-end; gap: 10px; padding-right: 30px; margin-right: 30px; border-right: 1px solid var(--line); }
.hero-stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats dt { font-size: 46px; line-height: .9; color: var(--ink); }
.hero-stats dt em { font-size: .55em; color: var(--terra); margin-left: 2px; }
.hero-stats dd { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.hero .footnote { margin-top: 12px; }

.hero-visual { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / .95; }
.plate { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plate:hover img { transform: scale(1.04); }
.plate-main { grid-row: 1 / 3; }
.plate-main img { object-position: 40% center; }
.plate figcaption, .craft figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(250, 248, 245, .9); font-family: var(--serif-sub); font-style: italic; font-size: 14px; letter-spacing: .01em; color: var(--ink);
}
.fig { font-family: var(--serif-num); font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-deep); margin-right: 6px; }
.hero-stamp { position: absolute; left: -46px; bottom: 34px; width: 112px; height: 112px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; box-shadow: 0 18px 30px -18px rgba(28, 25, 23, .6); }
.hero-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.hero-stamp text { fill: #fff; font-family: var(--serif-num); font-size: 9.6px; letter-spacing: .22em; }
.hero-stamp > span { font-size: 13px; font-weight: 700; line-height: 1.35; text-align: center; letter-spacing: .1em; }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--cream); }
.ticker-track { display: flex; width: max-content; gap: 28px; padding: 14px 0; animation: ticker 42s linear infinite; }
.ticker span { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ticker i { font-style: normal; color: var(--terra); font-size: 11px; align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- セクション共通 ---------- */
.section { padding: 120px 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; margin-bottom: 64px; align-items: start; }
.section-num { font-family: var(--serif-num); font-size: 76px; font-weight: 400; line-height: .9; color: var(--terra); letter-spacing: -.02em; font-style: italic; }
.section-num-light { color: var(--gold); }
.section-head h2, .contact-intro h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.5; text-wrap: balance; }
.section-sub { margin-top: 10px; font-family: var(--serif-sub); font-style: italic; font-size: 20px; color: var(--muted); letter-spacing: .01em; }
.section-lead { margin-top: 20px; max-width: 40em; color: var(--ink-2); font-size: 15px; }

/* ---------- 症状診断カード ---------- */
.diag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diag-card {
  position: relative; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 14px;
  padding: 26px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), background .3s;
  min-height: 190px;
}
.diag-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 16px 36px -26px rgba(28, 25, 23, .45); }
.diag-no { font-family: var(--serif-sub); font-style: italic; font-size: 15px; color: var(--muted); }
.diag-no b { font-family: var(--serif-num); font-style: normal; font-weight: 500; font-size: 22px; color: var(--ink); margin-left: 4px; }
.diag-check { position: absolute; top: 24px; right: 24px; width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 50%; transition: background .25s, border-color .25s; }
.diag-check::after { content: ""; position: absolute; left: 6.5px; top: 3px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.diag-symptom { font-size: 17px; line-height: 1.65; font-weight: 700; padding-right: 22px; }
.diag-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.diag-body-inner { display: block; overflow: hidden; min-height: 0; }
.diag-row { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.diag-row:first-child { padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.diag-row + .diag-row { margin-top: 8px; }
.diag-row em { font-style: normal; display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; margin-right: 8px; border-radius: 3px; background: var(--paper); color: var(--ink-2); }
.diag-row:last-child em { background: var(--terra); color: #fff; }
.diag-row b { color: var(--terra-deep); }
.diag-card[aria-pressed="true"] { border-color: var(--terra); background: #FFFCFA; box-shadow: 0 0 0 1px var(--terra) inset; }
.diag-card[aria-pressed="true"] .diag-check { background: var(--terra); border-color: var(--terra); }
.diag-card[aria-pressed="true"] .diag-check::after { transform: rotate(45deg) scale(1); }
.diag-card[aria-pressed="true"] .diag-body { grid-template-rows: 1fr; }

.diag-result { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.diag-result-text { font-size: 15px; color: var(--ink-2); }
.diag-result-text b { color: var(--terra-deep); font-size: 17px; }
.diag-result-text .serif-num { font-size: 22px; color: var(--ink); margin: 0 2px; }

/* ---------- 3つのスタートライン ---------- */
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.start-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: 36px 30px 30px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: color .5s var(--ease), border-color .5s var(--ease), transform .35s var(--ease); }
.start-card:hover { transform: translateY(-4px); }
.start-card header { display: flex; flex-direction: column; gap: 6px; }
.start-en { font-family: var(--serif-sub); font-style: italic; font-size: 40px; line-height: 1; color: var(--terra); }
.start-en i { font-size: 18px; color: var(--muted); }
.start-card h3 { font-size: 22px; line-height: 1.5; }
.start-card h3 small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.start-for { font-size: 14px; color: var(--ink-2); line-height: 1.8; padding: 14px 16px; background: var(--paper); border-radius: var(--radius); }
.start-for em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--terra-deep); margin-bottom: 2px; }
.start-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.start-list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.75; }
.start-list li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 8px; height: 1px; background: var(--terra); }
.start-fee { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.start-fee .serif-num { font-size: 64px; line-height: .9; color: var(--terra); }
.start-fee .serif-num em { font-size: .5em; }
.start-fee .serif-word { font-style: italic; font-size: 52px; }
.start-fee > span:last-child { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.start-card .btn { width: 100%; }
.start-card-featured { border-color: var(--ink); box-shadow: 0 30px 60px -40px rgba(28, 25, 23, .5); }
.badge { position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); letter-spacing: .1em; }

/* Master Make：黒金への拡散 */
.master-bloom { position: absolute; z-index: -1; right: 30px; bottom: 30px; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at center, #1d1916 0%, var(--night) 70%); transform: scale(0); transition: transform .8s var(--ease); pointer-events: none; }
.start-card-master:hover .master-bloom, .start-card-master:focus-within .master-bloom { transform: scale(48); }
.start-card-master:hover, .start-card-master:focus-within { color: var(--cream); border-color: var(--gold); }
.start-card-master:hover .start-en, .start-card-master:focus-within .start-en,
.start-card-master:hover .start-fee .serif-num, .start-card-master:focus-within .start-fee .serif-num { color: var(--gold); }
.start-card-master:hover .start-for, .start-card-master:focus-within .start-for { background: rgba(201, 169, 110, .1); color: var(--gold-soft); }
.start-card-master:hover .start-for em, .start-card-master:focus-within .start-for em { color: var(--gold); }
.start-card-master:hover h3 small, .start-card-master:hover .start-en i, .start-card-master:hover .start-fee > span:last-child,
.start-card-master:focus-within h3 small, .start-card-master:focus-within .start-en i, .start-card-master:focus-within .start-fee > span:last-child { color: #CFC6BA; }
.start-card-master:hover .start-list li::before, .start-card-master:focus-within .start-list li::before { background: var(--gold); }
.start-card-master:hover .start-fee, .start-card-master:focus-within .start-fee { border-color: rgba(201, 169, 110, .35); }
.start-card-master * { transition: color .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease); }

/* ---------- 比較：スピードチャート＋マトリクス ---------- */
.speed-chart { padding: 34px 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-bottom: 28px; }
.speed-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.speed-head h3 { font-size: 17px; }
.speed-row { display: grid; grid-template-columns: 170px 1fr 110px; align-items: center; gap: 18px; padding: 10px 0; }
.speed-label { font-size: 14px; color: var(--ink-2); }
.speed-bar { height: 14px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.bar { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1.4s var(--ease); }
.speed-chart.is-in .bar { width: var(--w); }
.bar-muted { background: var(--line-strong); }
.bar-terra { background: var(--terra); }
.speed-val { text-align: right; font-size: 13px; color: var(--muted); }
.speed-val .serif-num { font-size: 30px; color: var(--ink); margin-right: 3px; }
.speed-row:nth-of-type(3) .speed-val .serif-num { color: var(--terra); }
.speed-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.matrix { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.matrix th, .matrix td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; line-height: 1.6; }
.matrix thead th { font-size: 13px; font-weight: 500; color: var(--muted); background: var(--cream); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix tbody th { font-weight: 700; width: 20%; position: sticky; left: 0; background: #fff; z-index: 1; }
.matrix tbody th small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.matrix td { color: var(--ink-2); }
.matrix .col-gamu { background: #FFF7F2; color: var(--ink); font-weight: 500; }
.matrix thead .col-gamu { background: var(--ink); color: var(--cream); }
.matrix thead .col-gamu span { font-family: var(--serif-num); font-size: 18px; letter-spacing: .14em; display: block; }
.matrix thead .col-gamu small { font-size: 11px; color: var(--gold); }
.matrix tbody tr { transition: background .2s; }
.matrix tbody tr:hover td:not(.col-gamu), .matrix tbody tr:hover th { background: var(--cream); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; flex: none; }
.dot-high { background: var(--terra); }
.dot-mid { background: transparent; border: 1.5px solid var(--terra); }
.dot-low { background: var(--line-strong); }
.matrix-legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.matrix-legend span { display: inline-flex; align-items: center; }
.matrix-legend .dot { margin-right: 6px; }
.matrix-legend .footnote { margin-left: auto; }

/* ---------- 進め方 ---------- */
.wf-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-strong); margin-bottom: 40px; }
.wf-tabs button { background: none; border: 0; padding: 16px 8px 18px; cursor: pointer; text-align: left; font-size: 18px; font-weight: 700; color: var(--muted); position: relative; transition: color .25s; }
.wf-tabs button small { display: block; font-size: 12px; font-weight: 400; margin-top: 2px; }
.wf-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.wf-tabs button[aria-selected="true"] { color: var(--ink); }
.wf-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.wf-nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: wf; position: relative; }
.wf-nodes::before { content: ""; position: absolute; left: 24px; right: 24px; top: 33px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.wf-node { position: relative; }
.wf-node button { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px 20px; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); height: 100%; }
.wf-node button:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.wf-node .wf-step { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif-sub); font-style: italic; font-size: 14px; color: var(--muted); }
.wf-node .wf-step b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); font-family: var(--serif-num); font-style: normal; font-weight: 500; font-size: 14px; line-height: 1; font-variant-numeric: lining-nums; color: var(--ink); }
.wf-node .wf-name { display: block; margin-top: 12px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.wf-node .wf-out { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.wf-node button[aria-expanded="true"] { border-color: var(--terra); background: #fff; }
.wf-node button[aria-expanded="true"] .wf-step b { background: var(--terra); border-color: var(--terra); color: #fff; }
.wf-detail { margin-top: 20px; padding: 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; animation: fadeUp .45s var(--ease); }
.wf-detail h3 { font-size: 19px; line-height: 1.55; margin-bottom: 10px; }
.wf-detail p { font-size: 14.5px; color: var(--ink-2); }
.wf-deliver { padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border-left: 2px solid var(--terra); }
.wf-deliver span { display: block; font-family: var(--serif-sub); font-style: italic; font-size: 15px; color: var(--terra-deep); }
.wf-deliver strong { display: block; margin-top: 4px; font-size: 15px; line-height: 1.6; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 事例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.case-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.case-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case-card:hover figure img { transform: scale(1.04); }
.case-type { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: var(--ink) !important; color: var(--cream); }
.case-type .serif-num { font-size: 56px; font-style: italic; color: var(--gold); letter-spacing: .04em; }
.case-type span:last-child { font-family: var(--serif-sub); font-style: italic; font-size: 16px; color: #CFC6BA; }
.case-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--terra-deep); }
.case-meta .serif-num { font-size: 20px; color: var(--ink); font-style: italic; }
.case-body h3 { font-size: 17px; line-height: 1.6; }
.case-body > p:not(.case-meta):not(.case-kpi) { font-size: 13.5px; color: var(--ink-2); }
.case-kpi { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.case-kpi b { font-size: 40px; line-height: 1; color: var(--terra); flex: none; }
.case-kpi b em { font-size: .5em; }
.case-more { align-self: flex-start; margin-top: 6px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--ink); }
.case-more:hover { color: var(--terra-deep); border-color: var(--terra-deep); }

/* ---------- 双轨料金 ---------- */
.track-grid { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.track { display: flex; flex-direction: column; gap: 18px; padding: 40px 38px 36px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.track-a { background: var(--cream); }
.track-b { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.track-label { display: flex; align-items: baseline; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.track-label .serif-num { font-style: italic; font-size: 22px; color: var(--terra); letter-spacing: .02em; }
.track-b .track-label .serif-num { color: var(--gold); }
.track h3 { font-size: 20px; line-height: 1.6; }
.track h3 .serif-num { display: block; margin-top: 10px; font-size: 64px; line-height: 1; color: var(--terra); }
.track-b h3 .serif-num { color: var(--gold); }
.track h3 small { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 400; color: #BDB3A6; }
.track-desc { font-size: 14.5px; color: var(--ink-2); }
.track-b .track-desc { color: #D6CEC3; }
.rate-list { border-top: 1px solid var(--line); }
.rate-list li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); column-gap: 16px; }
.rate-list li span { font-weight: 700; font-size: 15px; }
.rate-list li b { font-size: 34px; line-height: 1; color: var(--ink); }
.rate-list li b em { font-size: .55em; color: var(--terra); }
.rate-list li .rate-text { font-family: var(--sans-jp); font-size: 16px; font-weight: 700; }
.rate-list li small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.check-list { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.check-list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.7; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--terra-soft); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: calc(.45em + 3px); width: 4px; height: 7px; border: solid var(--terra-deep); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.check-list-gold li::before { background: rgba(201, 169, 110, .18); }
.check-list-gold li::after { border-color: var(--gold); }
.track-bridge { font-size: 13.5px; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed rgba(201, 169, 110, .55); color: var(--gold-soft); }
.track-exclude { font-size: 12px; color: #A8A096; margin-top: -8px; }
.track-or { display: grid; place-items: center; position: relative; }
.track-or::before { content: ""; position: absolute; top: 12%; bottom: 12%; width: 1px; background: var(--line-strong); }
.track-or span { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-strong); font-family: var(--serif-sub); font-style: italic; font-size: 20px; color: var(--muted); }
.pricing-note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- 企業理念＋実写 ---------- */
.mvv { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.mvv-item { padding: 32px 30px 36px 0; }
.mvv-item + .mvv-item { padding-left: 30px; border-left: 1px solid var(--line); }
.mvv-key { font-family: var(--serif-num); font-size: 34px; font-style: italic; line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.mvv-key span { font-family: var(--sans-jp); font-style: normal; font-size: 12px; color: var(--terra-deep); font-weight: 700; letter-spacing: .1em; }
.mvv-text { font-size: 15.5px; line-height: 1.95; }
.mvv-values { display: flex; flex-direction: column; gap: 12px; counter-reset: v; }
.mvv-values li { counter-increment: v; position: relative; padding-left: 34px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.mvv-values li::before { content: counter(v, decimal-leading-zero); position: absolute; left: 0; top: -1px; font-family: var(--serif-num); font-style: italic; color: var(--terra); font-size: 15px; }
.mvv-values b { display: block; color: var(--ink); font-size: 15px; }
.craft-gallery { margin-top: 56px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
.craft { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3.4; background: var(--paper); }
.craft-wide { aspect-ratio: auto; }
.craft img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transition: transform 1.2s var(--ease), filter .6s; }
.craft:hover img { transform: scale(1.04); filter: none; }
.craft figcaption { font-family: var(--sans-jp); font-style: normal; font-size: 12.5px; }
.about-cta { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- 分流式予約フォーム ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.contact-intro h2 { margin-top: 20px; color: var(--cream); }
.section-ink .section-sub { color: #A8A096; }
.ease-list { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.ease-list li { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(250, 248, 245, .12); }
.ease-list b { min-width: 64px; font-size: 44px; line-height: 1; color: var(--gold); font-style: italic; font-weight: 400; }
.ease-list span { font-size: 14.5px; color: #E2DBD1; }

.seg-form { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 36px 34px 30px; }
.seg-switch { border: 0; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.seg-switch label { grid-column: span 2; }
.seg-switch label:nth-of-type(n+4) { grid-column: span 3; }
.seg-switch legend { font-weight: 700; font-size: 16px; margin-bottom: 14px; padding: 0; }
.seg-switch label { position: relative; cursor: pointer; }
.seg-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-switch label > span { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 12px 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .2s, background .2s, color .2s; text-align: center; }
.seg-switch b { font-size: 13px; line-height: 1.45; }
.seg-switch small { font-size: 11px; color: var(--muted); margin-top: 2px; }
.seg-switch input:checked + span { border-color: var(--terra); background: var(--terra); color: #fff; }
.seg-switch input:checked + span small { color: rgba(255, 255, 255, .85); }
.seg-switch input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.seg-hint { font-size: 13px; color: var(--ink-2); padding: 12px 14px; margin: 14px 0 6px; background: var(--paper); border-radius: var(--radius); }
.seg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 18px 0 24px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-half { grid-column: span 1; }
.field[hidden] { display: none; }
.field > label, .field .label, .field legend { font-size: 13.5px; font-weight: 700; padding: 0; }
.req, .opt { margin-left: 8px; font-size: 10.5px; font-weight: 500; padding: 1px 7px; border-radius: 3px; vertical-align: 1px; }
.req { background: var(--terra-soft); color: var(--terra-deep); }
.opt { background: var(--paper); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; font: inherit; font-size: 15px; color: var(--ink); line-height: 1.6; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(217, 107, 67, .14); }
.field.has-error input, .field.has-error textarea { border-color: #C2410C; }
.field-error { font-size: 12px; color: #B42318; min-height: 0; }
.field-error:empty { display: none; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; padding: 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--terra); background: #FFFAF7; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-text { font-size: 13px; color: var(--muted); }
.drop-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.drop-files span { font-size: 11.5px; padding: 2px 8px; background: var(--paper); border-radius: 999px; }
.chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips label span { display: inline-block; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; background: #fff; transition: all .2s; }
.chips label input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.pdf-opt { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; }
.pdf-opt input { width: 18px; height: 18px; accent-color: var(--terra); }
.form-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 980px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 16px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--serif-num); font-size: 26px; font-weight: 400; color: var(--terra); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--night); color: #D6CEC3; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.brand-light img { filter: invert(1); }
.brand-light .brand-word { color: var(--cream); }
.footer-slogan { margin-top: 16px; font-size: 15px; color: var(--gold); letter-spacing: .12em; }
.footer-info p { font-size: 13px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(250, 248, 245, .1); font-family: var(--serif-num); color: #8E867C; }

/* ---------- Master Make オーバーレイ ---------- */
.master { position: fixed; inset: 0; z-index: 300; background: var(--night); color: var(--cream); overflow-y: auto; clip-path: circle(0 at var(--mx, 80%) var(--my, 80%)); transition: clip-path .9s var(--ease); }
.master.is-open { clip-path: circle(150% at var(--mx, 80%) var(--my, 80%)); }
.master[hidden] { display: none; }
.master::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(201, 169, 110, .16), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(201, 169, 110, .08), transparent 50%); pointer-events: none; }
.master-inner { position: relative; width: min(100% - 48px, 960px); margin: 0 auto; padding: 110px 0 90px; }
.master-close { position: fixed; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(201, 169, 110, .5); background: transparent; color: var(--gold); font-size: 22px; cursor: pointer; z-index: 2; }
.master-close:hover { background: rgba(201, 169, 110, .12); }
.master-kicker { font-family: var(--serif-sub); font-style: italic; font-size: 26px; color: var(--gold); }
.master h2 { margin-top: 14px; font-size: clamp(30px, 4vw, 50px); line-height: 1.45; }
.master-lead { margin-top: 22px; max-width: 38em; color: #CFC6BA; font-size: 15.5px; }
.master-phases { margin: 54px 0 48px; border-top: 1px solid rgba(201, 169, 110, .35); }
.master-phases li { display: grid; grid-template-columns: 90px 1fr; column-gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(201, 169, 110, .2); opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.master.is-open .master-phases li { opacity: 1; transform: none; }
.master.is-open .master-phases li:nth-child(1) { transition-delay: .45s; }
.master.is-open .master-phases li:nth-child(2) { transition-delay: .55s; }
.master.is-open .master-phases li:nth-child(3) { transition-delay: .65s; }
.master.is-open .master-phases li:nth-child(4) { transition-delay: .75s; }
.master-phases .serif-num { grid-row: 1 / 3; font-size: 40px; font-style: italic; color: var(--gold); line-height: 1; }
.master-phases b { font-size: 17px; }
.master-phases small { font-size: 13px; color: #A8A096; }

/* ---------- モーダル ---------- */
.modal { width: min(100% - 32px, 640px); max-height: calc(100vh - 48px); border: 0; border-radius: 14px; padding: 40px 38px 34px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(20, 17, 16, .5); }
.modal::backdrop { background: rgba(20, 17, 16, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: fadeUp .35s var(--ease); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; }
.modal h2 { font-size: 21px; line-height: 1.55; margin-bottom: 18px; padding-right: 40px; }
.case-modal-meta { font-family: var(--serif-sub); font-style: italic; color: var(--terra-deep); font-size: 16px; margin-bottom: 6px; }
.case-steps { margin: 8px 0 18px; border-top: 1px solid var(--line); }
.case-steps li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.case-steps li b { font-size: 12.5px; color: var(--terra-deep); }
.case-qc { padding: 14px 16px; background: var(--paper); border-radius: var(--radius); font-size: 13.5px; }
.case-qc strong { display: block; font-size: 12px; color: var(--terra-deep); margin-bottom: 4px; }
.confirm-list { margin: 0 0 18px; border-top: 1px solid var(--line); }
.confirm-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.confirm-list dt { color: var(--muted); font-size: 13px; }
.confirm-list dd { margin: 0; white-space: pre-wrap; word-break: break-all; }
.demo-note { font-size: 12.5px; color: var(--terra-deep); background: var(--terra-soft); padding: 10px 14px; border-radius: var(--radius); }
.confirm-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 12px; }

/* ---------- トースト ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--cream); font-size: 14px; padding: 12px 22px; border-radius: 999px; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- スクロール出現 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 12.5px; }
}
@media (max-width: 1060px) {
  .main-nav, .lang-switch { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 720px; }
  .hero-stamp { left: auto; right: -10px; bottom: -30px; }
  .diag-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .start-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-intro { position: static; }
  .mvv { grid-template-columns: 1fr; }
  .mvv-item, .mvv-item + .mvv-item { padding: 28px 0; border-left: 0; }
  .mvv-item + .mvv-item { border-top: 1px solid var(--line); }
  .wf-nodes { grid-template-columns: 1fr 1fr; }
  .wf-nodes::before { display: none; }
}
@media (max-width: 860px) {
  .track-grid { grid-template-columns: 1fr; gap: 0; }
  .track-or { height: 64px; }
  .track-or::before { top: 0; bottom: 0; }
  .wf-detail { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  body { font-size: 15px; }
  .container { width: min(100% - 36px, var(--container)); }
  .sp-only { display: inline; }
  .header-actions .btn-sm { display: none; }
  .hero { padding-top: 32px; }
  .hero-grid { padding-bottom: 56px; }
  .hero-title { font-size: 28px; }
  .hero-lead { font-size: 14.5px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats > div { flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 12px; margin-right: 12px; }
  .hero-stats dt { font-size: 34px; }
  .hero-visual { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; gap: 10px; }
  .plate-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .plate-sub1, .plate-sub2 { aspect-ratio: 1 / 1; }
  .plate figcaption { font-size: 12px; left: 8px; bottom: 8px; }
  .hero-stamp { width: 88px; height: 88px; right: 8px; bottom: auto; top: -36px; }
  .hero-stamp text { font-size: 9.2px; }
  .hero-stamp > span { font-size: 11px; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 40px; }
  .section-num { font-size: 52px; }
  .section-sub { font-size: 17px; }
  .diag-grid, .case-grid { grid-template-columns: 1fr; }
  .diag-card { min-height: 0; padding: 22px; }
  .diag-result { flex-direction: column; align-items: stretch; padding: 20px; position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 14px 30px -18px rgba(28, 25, 23, .5); background: var(--cream); }
  .diag-result .btn { width: 100%; }
  .start-card { padding: 30px 22px 24px; }
  .speed-chart { padding: 24px 20px; }
  .speed-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .speed-bar { grid-column: 1 / -1; grid-row: 2; }
  .matrix-legend .footnote { margin-left: 0; }
  .wf-tabs button { font-size: 14px; padding: 12px 4px 14px; }
  .wf-tabs button small { font-size: 10.5px; }
  .wf-nodes { grid-template-columns: 1fr; gap: 10px; }
  .wf-detail { padding: 22px 20px; }
  .track { padding: 30px 22px 26px; }
  .track h3 .serif-num { font-size: 46px; }
  .craft-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .craft-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .seg-form { padding: 26px 18px 22px; }
  .seg-switch { grid-template-columns: 1fr 1fr; }
  .seg-switch label, .seg-switch label:nth-of-type(n+4) { grid-column: span 1; }
  .seg-switch label:last-child { grid-column: 1 / -1; }
  .seg-fields { grid-template-columns: 1fr; }
  .field-half { grid-column: 1 / -1; }
  .modal { padding: 32px 22px 24px; }
  .case-steps li, .confirm-list > div { grid-template-columns: 1fr; gap: 2px; }
  .confirm-actions { flex-direction: column-reverse; }
  .confirm-actions .btn { width: 100%; }
  .ease-list b { min-width: 52px; font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .craft figcaption { white-space: nowrap; font-size: 11.5px; }
  .craft figcaption .fig { display: none; }
}
.track-b .check-list { flex: 0 0 auto; }
.track-b .track-bridge { margin-top: auto; }
