/* WalkOn 無料AI集客診断 LP
   同じペンで、別の紙に書く。本体サイトの赤字・明朝・語り口を、明るい校正紙の上で使う。
   色・書体・余白は :root の変数から取る。赤は線と書き込みだけに使い、塗りの面にしない。 */

:root {
  color-scheme: light;
  /* 色 */
  --paper: #F5F4EF;
  --paper-2: #ECEAE3;
  --paper-card: #FBFAF7;
  --rule: #DAD7CE;
  --ink: #21201E;
  --pencil: #6E6B64;
  --red-text: #C23A2A;
  --red-line: #E8604A;
  --ink-hover: color-mix(in srgb, var(--ink) 86%, var(--paper));
  --shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 12px 32px color-mix(in srgb, var(--ink) 7%, transparent);
  /* 書体 */
  --f-min: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  /* 文字サイズ（SP→PC） */
  --fs-h1: clamp(28px, 2.2vw + 19px, 46px);
  --fs-h2: clamp(24px, 1.8vw + 17.5px, 38px);
  --fs-h3: clamp(19px, .5vw + 17px, 23px);
  --fs-body: 16px;
  --fs-note: 13px;
  /* 余白（8の倍数） */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 56px; --s8: 64px; --s10: 80px; --s11: 88px; --s12: 96px; --s17: 136px;
  /* 校正紙のレイアウト */
  --wrap: 1200px;
  --gutter: 16px;
  --margin-col: 288px;
  --col-gap: 56px;
  --header-h: 56px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) {
  :root { --gutter: 40px; --fs-body: 17px; --fs-note: 14px; --header-h: 64px; --margin-col: clamp(248px, 22vw, 288px); --col-gap: clamp(40px, 4.4vw, 64px); }
}

@view-transition { navigation: auto; }

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s2)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: var(--fs-body); font-weight: 400; line-height: 1.875; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  /* 文節の境目（<wbr>）でだけ折り返す。一文節が入りきらないときだけ途中で折る */
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
}
input, textarea, select, button { font: inherit; letter-spacing: inherit; color: inherit; }
input, textarea, select { word-break: normal; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-min); font-weight: 600; font-feature-settings: "palt"; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.5; letter-spacing: .03em; }
h2 { font-size: var(--fs-h2); line-height: 1.45; letter-spacing: .03em; }
h3 { font-size: var(--fs-h3); line-height: 1.55; letter-spacing: .03em; }
h4 { font-size: 18px; line-height: 1.6; letter-spacing: .03em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
blockquote { margin: 0; }
figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s2); top: -100px; z-index: 100; padding: var(--s1) var(--s2); background: var(--ink); color: var(--paper); }
.skip:focus { top: var(--s1); }
br.pc { display: none; }
@media (min-width: 1024px) { br.pc { display: inline; } br.sp { display: none; } }
.arrow { font-family: var(--f-sans); font-weight: 400; letter-spacing: 0; }
.num, .price-num, .fee-value { font-variant-numeric: tabular-nums; }

/* ---------- レイアウト：本文欄と欄外 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.ln { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s2); }
.ln > .mg { min-width: 0; }
@media (min-width: 1024px) {
  .ln { grid-template-columns: minmax(0, 1fr) var(--margin-col); column-gap: var(--col-gap); }
  .ln > :not(.mg) { grid-column: 1; grid-row: 1; min-width: 0; }
  .ln > .mg { grid-column: 2; grid-row: 1; }
}
.section { padding-block: var(--s11); border-top: 1px solid var(--rule); }
@media (min-width: 1024px) { .section { padding-block: var(--s17); } }
.section-head { margin-bottom: var(--s6); }
.section-head h2 + .lead, .section-head h2 + p { margin-top: var(--s3); }
.block { margin-top: var(--s8); }
.block-title { margin-bottom: var(--s2); }
.lead { max-width: 38em; }
.ln p:not(.note):not(.redmark):not(.label) { max-width: 40em; }

/* ---------- 文字の部品 ---------- */
.label { font-size: var(--fs-note); line-height: 1.7; letter-spacing: .06em; color: var(--pencil); font-variant-numeric: tabular-nums; margin-bottom: var(--s2); }
.note { font-size: var(--fs-note); line-height: 1.7; letter-spacing: .02em; color: var(--pencil); }
.note + .note { margin-top: var(--s1); }
.note a { color: inherit; }
.pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; line-height: 1.7; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.redmark { display: inline-block; font-family: var(--f-min); font-weight: 600; font-size: 15px; line-height: 1.6; letter-spacing: .04em; color: var(--red-text); transform: rotate(-1.5deg); transform-origin: left center; }
.text-link-strong { font-weight: 500; text-decoration: underline; text-underline-offset: .3em; }
.text-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 15px; text-decoration: underline; text-underline-offset: .3em; }
.text-button.text-link-strong { font-weight: 500; }

/* ---------- ボタン（主：墨の塗り／副：墨の枠） ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 2px; font-family: var(--f-sans); font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: .06em; text-decoration: none; text-align: center; transition: background-color .15s; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-hover); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--paper-2); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], button[disabled] { opacity: .5; cursor: progress; }
@media (max-width: 767px) { .btn-primary { min-height: 56px; } .btn-primary.btn-small { min-height: 48px; } }

/* ---------- 赤字（SVGの線） ---------- */
.ink-host { position: relative; }
.ink { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 1; grid-column: auto !important; grid-row: auto !important; }
.ink path { fill: none; stroke: var(--red-line); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.ink path.ink-rule { stroke-width: 2; }

/* ---------- 鉛筆（確かめたいこと） ---------- */
.pencil-q { display: flex; gap: 10px; align-items: flex-start; color: var(--pencil); }
.pencil-mark { flex: none; display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-top: .2em; border: 1px solid var(--pencil); border-radius: 50%; font-size: 13px; line-height: 1; font-feature-settings: "palt"; }
.next-move { color: var(--red-text); font-weight: 500; }
.next-move-term { display: inline-block; margin-right: .75em; padding-right: .75em; border-right: 1px solid currentColor; font-family: var(--f-min); font-weight: 600; line-height: 1.2; }

/* ---------- ヘッダー ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-in { display: flex; align-items: center; gap: 14px; max-width: var(--wrap); height: var(--header-h); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.brand { display: block; flex: none; }
.brand img { width: 72px; height: auto; }
.brand-sep { width: 1px; height: 22px; background: var(--ink); opacity: .35; flex: none; }
.brand-product { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.header-nav { display: none; margin-left: auto; align-items: center; gap: var(--s3); }
.header-link { font-size: 14px; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
.menu-button { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 8px; border: 0; background: none; font-size: 13px; }
.menu-lines { position: relative; width: 18px; height: 10px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.menu-button[aria-expanded="true"] .menu-lines { border-color: transparent; }
.menu-button[aria-expanded="true"] .menu-lines::before, .menu-button[aria-expanded="true"] .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -1px; background: var(--ink); transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg); }
.sp-menu { border-top: 1px solid var(--rule); background: var(--paper); }
.sp-menu ul { padding: var(--s1) var(--gutter) var(--s2); }
.sp-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); font-size: 15px; text-decoration: none; }
@media (min-width: 1024px) {
  .brand img { width: 84px; }
  .brand-product { font-size: 15px; }
  .header-nav { display: flex; }
  .menu-button, .sp-menu { display: none !important; }
}

/* ---------- ファーストビュー ---------- */
.hero { padding-block: var(--s4) var(--s11); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s4); }
.hero-grid > * { min-width: 0; }
.hero-title { padding-bottom: .1em; }
.red-word { color: var(--red-text); }
.hero-lead { margin-top: var(--s2); }
.hero-start { margin-top: 10px; font-size: 14px; max-width: 100%; flex-wrap: wrap; justify-content: flex-start; text-align: left; }
@media (min-width: 768px) { .hero { padding-top: var(--s7); } .hero-lead { margin-top: var(--s3); } }
@media (min-width: 1024px) {
  .hero { padding-block: var(--s10) var(--s17); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; column-gap: var(--s7); align-items: start; }
  .hero-copy { padding-top: var(--s2); }
}

/* AIへの相談と、答えの空欄 */
.demo { margin-top: var(--s3); max-width: 600px; }
.demo-chat { padding: var(--s2) var(--s2) 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper-card); }
.demo-row { display: flex; gap: 12px; align-items: baseline; }
.demo-row + .demo-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rule); }
.demo-who { flex: none; width: 3.6em; font-size: 12px; line-height: 1.6; letter-spacing: .04em; color: var(--pencil); }
.demo-q { font-family: var(--f-min); font-weight: 600; font-size: 17px; line-height: 1.7; letter-spacing: .03em; font-feature-settings: "palt"; min-height: 3.4em; }
.demo-type::after { content: ""; display: inline-block; width: 0; height: 1em; margin-left: 2px; vertical-align: -.12em; border-left: 2px solid var(--red-line); animation: caret 1s steps(2) infinite; }
.demo.is-still .demo-type::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.demo-a { font-size: 15px; line-height: 1.8; }
.demo-blank { display: inline-block; width: 5.5em; height: 1.2em; vertical-align: -.25em; }
.demo-note { margin: 14px 0 0 var(--s6); padding-left: 4px; font-size: 14px; }
.demo { position: relative; }
.demo-caption { position: absolute; top: -.85em; right: 14px; margin: 0; padding: 0 6px; background: var(--paper); font-size: 13px; line-height: 1.7; }
@media (max-width: 767px) {
  .hero { padding-top: 20px; }
  .hero-grid { row-gap: var(--s3); }
  .demo { margin-top: var(--s2); }
  .demo-chat { padding: 12px 14px 10px; }
  .demo-row { display: block; }
  .demo-row-q { min-height: calc(17px * 1.7 * 2); }
  .demo-who { display: none; }
  .demo-q { min-height: 0; }
  .demo-row + .demo-row { margin-top: 8px; padding-top: 8px; }
  .demo-blank { width: 4em; }
  .demo { margin-top: var(--s3); }
  .demo-note { display: table; margin: 14px 2px 0 auto; font-size: 13px; letter-spacing: .02em; }
  .dx-card { padding: 16px 18px 20px; }
  .dx-steps { margin: 8px 0 16px; }
}
@media (min-width: 768px) {
  .demo-q { font-size: 19px; min-height: 0; }
  .demo-a { font-size: 16px; }
  .demo-note { max-width: 13em; margin-left: 34%; font-size: 15px; }
}

/* ---------- 診断カード ---------- */
.dx { scroll-margin-top: calc(var(--header-h) + var(--s2)); }
.dx-card { position: relative; padding: var(--s3) 20px; background: var(--paper-card); border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .dx-card { max-width: 560px; padding: var(--s4); } }
@media (min-width: 1024px) { .dx-card { max-width: none; } }
.dx-meta { display: flex; justify-content: space-between; gap: var(--s2); font-size: 13px; line-height: 1.7; color: var(--pencil); }
.quota { color: var(--ink); white-space: nowrap; }
.quota-dot { font-size: 10px; vertical-align: 1px; }
.quota-closed { margin-top: var(--s2); padding: 12px var(--s2); border-left: 2px solid var(--ink); background: var(--paper-2); font-size: 14px; }
.dx-title { margin-top: 4px; font-size: 24px; line-height: 1.4; }
.dx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: var(--s2) 0 var(--s3); font-size: 12px; line-height: 1.5; letter-spacing: .02em; color: var(--pencil); }
.dx-steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; white-space: nowrap; }
.dx-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--rule); border-radius: 50%; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--pencil); }
.dx-check { display: none; width: 14px; height: 14px; }
.dx-check path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dx-steps li.is-current { color: var(--ink); font-weight: 500; }
.dx-steps li.is-current .dx-dot { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dx-steps li.is-done { color: var(--ink); }
.dx-steps li.is-done .dx-dot { border-color: var(--ink); color: var(--ink); }
.dx-steps li.is-done .dx-num { display: none; }
.dx-steps li.is-done .dx-check { display: block; }
.dx-label { display: block; font-size: 14px; font-weight: 500; }
.bk { display: flex; align-items: flex-end; gap: 2px; margin-top: 4px; font-family: var(--f-min); font-weight: 600; font-size: 28px; line-height: 1.3; }
.bk .br { flex: none; color: var(--red-text); }
.bk input { flex: 1; min-width: 0; height: 48px; margin: 0 0 4px; padding: 6px 6px 4px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; font-family: var(--f-sans); font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: .02em; -webkit-appearance: none; appearance: none; }
.bk input::placeholder { color: var(--pencil); opacity: 1; }
.bk input[aria-invalid="true"] { border-bottom-color: var(--red-line); }
#url-format { margin-top: 4px; }
.form-error { color: var(--red-text); font-size: 14px; line-height: 1.7; font-weight: 500; }
.form-error:empty { display: none; }
.form-error:not(:empty) { margin-block: var(--s1); }
#url-next { margin-top: var(--s2); }
.dx-save { margin-top: 12px; }
.dx-save a { text-decoration: underline; text-underline-offset: .25em; }
.dx-sample { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: var(--s2); padding: 12px 0 0; border: 0; border-top: 1px solid var(--rule); background: none; font-size: 14px; text-align: left; }
.dx-sample > span { text-decoration: underline; text-underline-offset: .25em; }
.dx-sample-thumb { flex: none; width: 64px; height: auto; }
.dx-sample-thumb rect { fill: var(--paper); stroke: var(--rule); }
.dx-sample-thumb .t-line { stroke: var(--rule); stroke-width: 2.4; stroke-linecap: round; }
.dx-sample-thumb .t-rule { stroke: var(--red-line); stroke-width: 1.5; stroke-linecap: round; }
.dx-sample-thumb .t-red { fill: none; stroke: var(--red-line); stroke-width: 1.5; stroke-linecap: round; }
.personal-results { margin-top: 12px; font-size: 14px; }
.personal-results summary { cursor: pointer; min-height: 32px; }
.dx-step-title { font-size: 19px; line-height: 1.55; margin-bottom: 4px; }
.site-summary { margin-top: 12px; padding: 12px var(--s2); border-left: 2px solid var(--rule); font-size: 14px; line-height: 1.75; color: var(--ink); }
.source-details { margin-top: 12px; font-size: 14px; }
.source-details summary { cursor: pointer; min-height: 32px; }
.source-details ul { margin-top: 4px; padding-left: 1.2em; list-style: disc; }
.source-details li { margin-top: 4px; }
.source-details a { overflow-wrap: anywhere; }
.offering-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.offering-options .note { width: 100%; }
.offering-choice { min-height: 40px; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; font-size: 14px; }
.fields { display: grid; gap: 14px; margin-top: var(--s2); }
.field { display: grid; gap: 4px; }
.field label { font-size: 14px; font-weight: 500; }
.optional { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--pencil); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); font-size: 16px; line-height: 1.5; letter-spacing: .02em; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-line); }
.choices { margin: var(--s3) 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.choices legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice > span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px var(--s2); border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); }
.choice b { font-weight: 500; font-size: 15px; line-height: 1.5; }
.choice small { font-size: 13px; line-height: 1.6; color: var(--pencil); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:checked + span small { color: color-mix(in srgb, var(--paper) 82%, var(--ink)); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
#processing-note { margin-top: var(--s2); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.form-actions .btn { min-width: 9em; }
.noscript { margin-top: var(--s2); }

/* 診断の待機：読み込んだ断片に赤字が入る */
.dx-wait { padding-top: var(--s1); }
.dx-wait-stage { font-size: 14px; font-weight: 500; }
.dx-wait-stage::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--ink); vertical-align: 2px; animation: caret 1s steps(2) infinite; }
.dx-wait-sheet { margin-top: var(--s2); padding: var(--s2) var(--s2) var(--s2) var(--s3); border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); min-height: 200px; }
.frag { font-size: 14px; line-height: 1.8; color: var(--ink); }
.frag + .frag { margin-top: 12px; }
.frag-title { font-family: var(--f-min); font-weight: 600; font-size: 17px; line-height: 1.6; }
.frag-pencil { color: var(--pencil); }
.frag-bar { display: block; height: 8px; margin-top: 10px; border-radius: 4px; background: var(--paper-2); }
.frag-bar.short { width: 62%; }
.dx-wait-note { margin-top: var(--s2); }
@media (prefers-reduced-motion: reduce) { .dx-wait-stage::before, .demo-type::after { animation: none; } }

/* ---------- 診断結果（校正紙） ---------- */
.result { padding-block: var(--s6) var(--s11); scroll-margin-top: var(--header-h); }
.result:focus { outline: none; }
@media (min-width: 1024px) { .result { padding-block: var(--s8) var(--s17); } }
.result-head h2 { font-size: clamp(24px, 1.2vw + 20px, 34px); }
.result-context { margin-top: var(--s1); }
.result-context #result-basis { display: block; }
.example-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: var(--s2); font-size: 14px; }
.example-switch select { min-height: 44px; max-width: 100%; padding: 8px 28px 8px 12px; background: var(--paper-card); border: 1px solid var(--rule); border-radius: 2px; }
.site-review { margin-bottom: var(--s5); }
.site-review h3 { font-size: 19px; margin-bottom: var(--s1); }
.site-confirmed { display: grid; gap: 8px; margin-top: var(--s2); }
.site-confirmed li { min-width: 0; border-bottom: 1px solid var(--rule); }
.site-confirmed summary { cursor: pointer; min-height: 44px; padding-block: 8px; font-size: 14px; font-weight: 500; }
.site-confirmed blockquote { font-size: 14px; padding: 8px 12px; background: var(--paper-card); }
.site-confirmed a { display: inline-block; font-size: 13px; padding-block: 8px; }
@media (min-width: 768px) { .site-confirmed { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s2); align-items: start; } }
.proof { margin-top: var(--s5); padding-left: var(--s3); }
@media (max-width: 767px) { .proof { margin-left: calc(var(--gutter) * -1); padding-left: calc(var(--gutter) + 6px); } }
@media (min-width: 1024px) { .proof { margin-left: calc(var(--s4) * -1); padding-left: var(--s4); } }
.verdict-line { font-family: var(--f-min); font-weight: 600; font-size: clamp(24px, 1.6vw + 18px, 36px); line-height: 1.6; letter-spacing: .03em; font-feature-settings: "palt"; text-wrap: balance; }
.verdict-word { display: inline-block; padding-inline: .2em; }
.verdict-next { margin-top: var(--s2); font-size: 17px; font-weight: 500; }
.verdict-route { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; font-size: 14px; }
.route-term { color: var(--pencil); font-size: 13px; }
.reason { margin-top: var(--s2); }
.reason summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: .3em; }
.reason p { margin-top: 4px; font-size: 15px; color: var(--ink); max-width: 38em; }
.action-plan h3 { font-size: clamp(24px, 1.2vw + 20px, 32px); line-height: 1.6; }
.plan-reason { margin-top: var(--s2); }
.plan-subtitle { margin-top: var(--s3); margin-bottom: var(--s2); }
.plan-steps { display: grid; gap: var(--s2); list-style: decimal; padding-left: 1.6em; }
.plan-steps li { padding-left: 4px; }
.plan-steps li::marker { font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-after { padding: var(--s3); border: 1px solid var(--rule); background: var(--paper-card); border-radius: 4px; font-size: 15px; line-height: 1.8; }
.plan-after h4 { font-size: 17px; margin-bottom: var(--s1); }
.plan-after h4:not(:first-child) { margin-top: var(--s3); }
.plan-after li + li { margin-top: var(--s2); }
.plan-after li b { display: block; font-weight: 500; }
.plan-after li p { margin-top: 4px; }
.ai-materials { margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.ai-materials .verdict-line { font-size: clamp(20px, 1vw + 16px, 26px); }
.ai-materials .verdict-next { font-size: 15px; font-weight: 400; }
.ai-input { font-size: 14px; }
.ai-input summary { cursor: pointer; min-height: 44px; padding-block: 8px; }
.ai-input .field { margin-top: var(--s2); }
.check-status { margin-block: 12px 4px; }
.proof-mark { margin-top: var(--s1); }
@media (min-width: 1024px) { .proof-mark { margin-top: var(--s5); } }
.scene-map { margin-top: var(--s8); }
.scene-map-title { font-size: 20px; }
.scene-map-hint { margin-top: 4px; }
.scene-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s3); border-bottom: 1px solid var(--rule); }
.scene-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 64px; padding: 10px 14px 12px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; text-align: left; color: var(--pencil); }
.scene-tab + .scene-tab { padding-left: 14px; }
.scene-tab-phase { font-family: var(--f-min); font-weight: 600; font-size: 17px; line-height: 1.5; letter-spacing: .03em; }
.scene-tab-when { font-size: 13px; line-height: 1.6; }
.scene-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.scene-track { margin-top: var(--s4); }
/* 読み上げ用の絶対配置テキストも、各スワイプカード内に収める。 */
.scene { position: relative; padding-bottom: var(--s1); }
.scene:focus-visible { outline-offset: 8px; }
.scene-row + .scene-row { margin-top: var(--s4); }
.scene-question { font-family: var(--f-min); font-weight: 600; font-size: var(--fs-h2); line-height: 1.5; letter-spacing: .03em; font-feature-settings: "palt"; text-wrap: balance; }
.scene-wsw { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--pencil); }
.scene-wsw .sep { margin-inline: .35em; color: var(--rule); }
.scene-wsw .term { margin-right: .35em; font-size: 12px; }
.scene-label, .sheet-label { font-size: 13px; color: var(--pencil); margin-bottom: 4px; }
.scene-quote, .sheet-quote { font-size: 17px; line-height: 2; }
.scene-quote + .scene-quote { margin-top: var(--s2); }
.ink-under { padding-bottom: 2px; }
.scene-source { margin-top: 4px; font-size: 13px; }
.scene-rule { border: 0; border-top: 1px solid var(--rule); margin: var(--s4) 0 0; }
.scene .redmark { margin-top: 4px; }
@media (min-width: 1024px) { .scene-row.ink-host > .mg { padding-top: 30px; } .ln > .scene-sources.scene-sources { grid-column: 1; grid-row: 2; } }
.scene-sources a + a { margin-left: 1em; }
@media (max-width: 1023px) {
  .scene .mg .redmark, .sheet .mg .redmark { margin-left: var(--s5); }
}
.result-actions { margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-row + .note { margin-top: 12px; }
.copy-status:empty { display: none; }
.copy-status textarea { display: block; width: 100%; margin-top: 10px; padding: 12px; font-size: 13px; border: 1px solid var(--rule); background: var(--paper-card); }
.text-links { display: flex; flex-wrap: wrap; gap: 4px var(--s3); margin-top: var(--s2); font-size: 15px; }
.text-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 767px) {
  .button-row .btn { flex: 1 1 100%; }
  /* 3つの場面を、横にスワイプする校正紙に */
  .scene-tabs { margin-top: var(--s2); }
  .scene-tab { min-height: 52px; padding: 8px 8px 10px 0; }
  .scene-tab + .scene-tab { padding-left: 8px; }
  .scene-tab-phase { font-size: 14px; }
  .scene-tab-when { display: none; }
  .scene-track { display: flex; gap: var(--s2); margin-top: var(--s3); margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .scene-track::-webkit-scrollbar { display: none; }
  .scene { flex: 0 0 88%; scroll-snap-align: start; padding: var(--s3) var(--s2); border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-card); }
  .scene-question { font-size: 22px; }
  .scene-quote { font-size: 16px; }
}

/* ---------- 01 診断で分かること ---------- */
.outcomes { display: grid; gap: var(--s4); }
.outcomes h3 { font-size: 20px; margin-bottom: var(--s1); }
@media (min-width: 768px) { .outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s4); } .outcomes li { padding-top: var(--s2); border-top: 1px solid var(--ink); } }
.specimen { margin-top: var(--s8); }
.specimen-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: 13px; color: var(--pencil); }
.sheet { padding: var(--s3) var(--s2) var(--s3) var(--s4); background: var(--paper-card); border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--shadow); }
.sheet-row { display: grid; row-gap: var(--s1); }
.sheet-row + .sheet-row { margin-top: var(--s3); }
.sheet-question { font-family: var(--f-min); font-weight: 600; font-size: 20px; line-height: 1.6; letter-spacing: .03em; font-feature-settings: "palt"; }
.sheet-wsw { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--pencil); }
.sheet-quote { font-size: 15px; line-height: 2; }
.sheet .pencil-q, .sheet .next-move { font-size: 15px; }
@media (min-width: 1024px) {
  .specimen { max-width: calc(100% - var(--margin-col) - var(--col-gap) + 240px); }
  .sheet { padding: var(--s4) var(--s4) var(--s4) var(--s6); }
  .sheet-row { grid-template-columns: minmax(0, 1fr) 200px; column-gap: var(--s4); }
  .sheet-row > :not(.mg) { grid-column: 1; grid-row: 1; }
  .sheet-row > .mg { grid-column: 2; grid-row: 1; padding-top: 26px; }
  .sheet-question { font-size: 22px; }
}
.specimen + .ln { margin-top: var(--s2); }
.work-example { margin-block: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.work-example h3 { margin-bottom: var(--s2); }
.work-example > div > p { max-width: 42em; }
.deliverable-flow { display: grid; gap: var(--s3); margin-block: var(--s3); counter-reset: deliverable; }
.deliverable-flow li { padding-left: 40px; position: relative; counter-increment: deliverable; min-width: 0; }
.deliverable-flow li::before { content: counter(deliverable); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.deliverable-flow b { font-weight: 500; }
.deliverable-flow p { margin-top: 4px; font-size: 15px; }
@media (min-width: 768px) { .deliverable-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.light-scope { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.light-scope h4 { font-size: 22px; }
.minimum-fee { margin-top: var(--s2); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.scope-definitions { display: grid; gap: var(--s3); margin-top: var(--s3); }
.scope-definitions > div { min-width: 0; }
.scope-definitions dt { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.scope-definitions dd { font-size: 14px; line-height: 1.85; }
.scope-example { margin-top: var(--s3); font-size: 14px; }
.scope-example summary { cursor: pointer; min-height: 48px; padding-block: 10px; text-decoration: underline; text-underline-offset: .25em; }
.scope-example > div { max-width: 46em; padding-top: 8px; }
.consult-context { padding: var(--s2); margin-bottom: var(--s2); border-left: 2px solid var(--red-line); background: var(--paper); font-size: 14px; }
@media (min-width: 768px) { .scope-definitions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); } }

/* ---------- 02 診断の、その先へ ---------- */
.route { position: relative; display: grid; gap: var(--s3); counter-reset: none; }
.route li { position: relative; padding-left: var(--s4); }
.route li::before { content: ""; position: absolute; left: 5px; top: .7em; width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); z-index: 1; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 9.5px; top: calc(.7em + 9px); bottom: calc(var(--s3) * -1 - .7em); width: 1px; background: var(--ink); }
.route-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.route-head b { font-family: var(--f-min); font-weight: 600; font-size: 22px; letter-spacing: .04em; }
.route-head span { font-size: 12px; letter-spacing: .06em; color: var(--pencil); }
@media (min-width: 768px) {
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s4); }
  .route li { padding-left: 0; padding-top: var(--s3); }
  .route li::before { left: 0; top: 0; }
  .route li:not(:last-child)::after { left: 10px; right: calc(var(--s4) * -1); top: 4.5px; bottom: auto; width: auto; height: 1px; }
}
.block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: var(--s3); }
.process { display: grid; gap: var(--s4); counter-reset: step; }
.process li { position: relative; padding-left: 48px; counter-increment: step; }
.process li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.process h4 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px; }
.process h4 span { font-family: var(--f-sans); font-weight: 400; font-size: 13px; letter-spacing: .04em; color: var(--pencil); }
.case-pages { display: flex; gap: 12px; margin: var(--s3) 0 var(--s2); }
.case-page { position: relative; display: block; width: 30%; max-width: 150px; aspect-ratio: 210 / 297; padding: 10% 9%; background: var(--paper-card); border: 1px solid var(--rule); border-radius: 2px; box-shadow: var(--shadow); filter: blur(1.4px); }
.case-page i { display: block; margin-bottom: 9%; background: var(--rule); border-radius: 2px; }
.cp-title { height: 7%; width: 70%; background: var(--pencil) !important; opacity: .55; }
.cp-line { height: 4%; }
.cp-line.short { width: 60%; }
.cp-bars { height: 34%; background: repeating-linear-gradient(90deg, var(--pencil) 0 12%, transparent 12% 20%) !important; opacity: .35; -webkit-mask: linear-gradient(0deg, #000 0 100%); mask: linear-gradient(0deg, #000 0 100%); }
.cp-table { height: 44%; background: repeating-linear-gradient(0deg, var(--rule) 0 1px, transparent 1px 16%), repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 33%) !important; border: 1px solid var(--rule); background-color: transparent !important; }
.cp-map { height: 38%; border-radius: 50% !important; background: radial-gradient(circle at 35% 40%, var(--pencil) 0 12%, transparent 13%), radial-gradient(circle at 65% 60%, var(--pencil) 0 9%, transparent 10%), var(--paper-2) !important; opacity: .6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s2); }
.nw { white-space: nowrap; }
.tags li { padding: 2px 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; }

/* ---------- 03 サービス ---------- */
.services { display: grid; gap: 0; }
.services li { padding-block: var(--s3); border-top: 1px solid var(--ink); }
.services li:last-child { border-bottom: 1px solid var(--rule); }
.service-tag { font-size: 13px; color: var(--pencil); }
.services h3 { margin: 2px 0 var(--s1); white-space: nowrap; font-size: 21px; }
.services p:not(.service-tag) { font-size: 15px; line-height: 1.85; }
.services a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 14px; }
.services-note { margin-top: var(--s3); }
.sources-title { font-size: 13px; font-weight: 500; margin-bottom: var(--s1); }
.sources { display: grid; gap: 8px; margin-bottom: 12px; }
.sources a { display: block; padding: 10px 14px; border-left: 2px solid var(--rule); text-decoration: none; }
.sources a:hover b { text-decoration: underline; }
.sources b { display: block; font-size: 14px; font-weight: 500; }
.sources span:not(.arrow) { display: block; font-size: 13px; line-height: 1.65; color: var(--pencil); }
@media (max-width: 767px) {
  .services li { padding-block: var(--s2) 12px; }
  .services h3 { font-size: 20px; margin-bottom: 4px; }
  .services p:not(.service-tag) { font-size: 15px; line-height: 1.8; }
  .services-row .mg { margin-top: var(--s3); }
}
@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s3); }
  .services li { display: flex; flex-direction: column; padding-block: var(--s2) 0; border-bottom: 0 !important; }
  .services li > p:not(.service-tag) { flex: 1; }
  .services h3 { font-size: 20px; }
}

/* ---------- 04 料金（面を一段変える。赤は使わない） ---------- */
.price { --pencil: #64615A; background: var(--paper-2); border-top: 0; }
.price .pill { background: var(--paper); }
.price-tax { margin-top: var(--s2); }
.fee-nav { display: flex; flex-wrap: wrap; gap: 4px var(--s3); margin-top: calc(var(--s3) * -1); font-size: 15px; }
.fee-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.offer { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--header-h) + var(--s2)); }
.offer h3 { font-size: 22px; margin-bottom: var(--s1); }
.offer-body { display: grid; gap: var(--s3); }
.offer-text p { font-size: 15px; line-height: 1.85; }
.scope { margin-top: 12px; display: grid; gap: 2px; font-size: 14px; line-height: 1.75; }
.scope li { position: relative; padding-left: 1em; }
.scope li::before { content: ""; position: absolute; left: 0; top: .85em; width: .45em; height: 1px; background: var(--ink); }
.fee { display: grid; justify-items: start; align-content: start; gap: 4px; }
.fee-caption { font-size: 13px; color: var(--pencil); }
.fee-value { font-size: 26px; font-weight: 500; line-height: 1.4; letter-spacing: .02em; }
.fee-value-text { font-family: var(--f-sans); font-size: 22px; }
.fee-value .unit { font-size: 15px; margin-left: 2px; }
.fee-terms { font-size: 13px; color: var(--pencil); }
.fee .btn { margin-top: 12px; }
@media (min-width: 768px) {
  .offer-body { grid-template-columns: minmax(0, 1fr) 260px; column-gap: var(--s5); }
  .fee { padding-left: var(--s3); border-left: 1px solid var(--rule); }
}
.plan-common { font-size: 15px; line-height: 1.85; margin-bottom: var(--s3); }
.plan-scroll { overflow-x: auto; margin-bottom: var(--s3); }
.plan-scroll:focus-visible { outline-offset: 4px; }
.plans { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; line-height: 1.65; }
.plans th, .plans td { padding: 12px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.plans thead th { padding-top: var(--s2); vertical-align: bottom; font-family: var(--f-min); font-weight: 600; font-size: 19px; letter-spacing: .03em; border-bottom: 1px solid var(--ink); }
.plans tbody th { width: 9.5em; font-weight: 500; font-size: 13px; color: var(--pencil); }
.plans-corner { width: 9.5em; border-bottom-color: var(--ink) !important; }
.plans .is-rec { border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.plans thead .is-rec { border-top: 1.5px solid var(--ink); }
.plans tbody tr:last-child .is-rec { border-bottom: 1.5px solid var(--ink); }
.plans thead .pill { margin-bottom: 6px; background: var(--paper); }
.rec-name { display: block; }
.rec-why { display: block; margin-top: 4px; font-family: var(--f-sans); font-weight: 400; font-size: 12px; line-height: 1.6; letter-spacing: .02em; color: var(--pencil); }
.price-num { font-size: 24px; font-weight: 700; letter-spacing: .01em; line-height: 1.3; }
.price-unit { margin-left: 2px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.row-main td { font-size: 17px; font-weight: 500; line-height: 1.6; }
.row-fit td { font-size: 14px; }
.row-sub th, .row-sub td { font-size: 13px; color: var(--pencil); }
.th-short { display: none; }
@media (max-width: 767px) {
  .offer { margin-top: var(--s5); padding-top: var(--s3); }
  .offer h3 { font-size: 20px; }
  .plans { font-size: 13px; line-height: 1.6; min-width: 328px; }
  .plans th, .plans td { padding: 10px 5px; }
  .plans thead th { font-size: 15px; padding-top: 12px; }
  .plans tbody th, .plans-corner { width: 5.2em; font-size: 12px; letter-spacing: 0; }
  .plans thead th { font-size: 13px; letter-spacing: 0; font-feature-settings: "palt"; }
  .th-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .th-short { display: inline; }
  .fee { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s2); }
  .fee-caption, .fee-terms { grid-column: 1 / -1; }
  .fee .btn { grid-column: 2; grid-row: 2; margin-top: 0; }
  .offer-body { gap: var(--s2); }
  .plans tbody th { position: sticky; left: 0; background: var(--paper-2); z-index: 1; }
  .rec-why { display: none; }
  .plans thead .pill { padding: 0 8px; font-size: 11px; }
  .price-num { display: block; font-size: 17px; }
  .price-unit { margin-left: 0; font-size: 11px; }
  .row-main td { font-size: 14px; }
  .row-fit td, .row-sub td { font-size: 12px; }
}

/* ---------- 05 担当者 ---------- */
.person-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.person-role { font-family: var(--f-sans); font-weight: 500; font-size: 15px; letter-spacing: .04em; }
.figures { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.figures dt { font-family: var(--f-min); font-weight: 600; font-size: 28px; line-height: 1.4; letter-spacing: .03em; }
.figures dd { margin-top: 4px; font-size: 15px; line-height: 1.85; }
@media (min-width: 768px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s4); } .figures > div { padding-top: var(--s2); border-top: 1px solid var(--ink); } }

/* ---------- 06 よくある質問 ---------- */
.faq-grid { display: grid; gap: var(--s4); }
.faq-head h2 { margin-bottom: 0; }
.faq-aside { display: none; }
.faq-group { margin: var(--s5) 0 var(--s1); font-size: 18px; }
.faq-group:first-child { margin-top: 0; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--ink); }
.faq-list summary { position: relative; display: block; padding: 16px 40px 16px 0; cursor: pointer; font-weight: 500; font-size: 16px; line-height: 1.7; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "＋"; position: absolute; right: 4px; top: 16px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 var(--s3); }
.faq-a p { font-size: 15px; line-height: 1.9; max-width: 40em; }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 264px minmax(0, 1fr); column-gap: var(--s8); align-items: start; }
  .faq-head { grid-column: 2; }
  .faq-aside { display: block; grid-column: 1; grid-row: 2; position: sticky; top: calc(var(--header-h) + var(--s3)); }
  .faq-main { grid-column: 2; grid-row: 2; }
  .faq-card { display: grid; gap: 12px; padding: var(--s3); background: var(--paper-card); border: 1px solid var(--rule); border-radius: 4px; }
  .faq-card p { font-size: 14px; line-height: 1.8; margin-bottom: 4px; }
  .faq-card .btn { min-height: 48px; font-size: 14px; padding-inline: 12px; }
}

/* ---------- 無料30分相談 ---------- */
.consult-grid { display: grid; gap: var(--s5); }
.consult-title { font-size: clamp(22px, 1.8vw + 15.5px, 38px); }
.consult-copy > p { margin-top: var(--s3); max-width: 32em; }
.consult-points { margin-top: var(--s3); display: grid; gap: 6px; font-size: 15px; }
.consult-points li { position: relative; padding-left: 1.4em; }
.consult-points li::before { content: ""; position: absolute; left: 0; top: .9em; width: .8em; height: 1px; background: var(--ink); }
.consult-card { display: grid; gap: 12px; align-content: start; padding: var(--s3) 20px; background: var(--paper-card); border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--shadow); }
.consult-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.consult-card-head h3 { font-size: 22px; }
.consult-card .field { margin-top: 4px; }
.consult-card .btn { margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.7; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.consult-card .text-button { justify-self: start; font-size: 14px; }
@media (min-width: 1024px) {
  .consult-grid { grid-template-columns: minmax(0, 1fr) 400px; column-gap: var(--s7); align-items: start; }
  .consult-card { padding: var(--s4); }
}

/* ---------- フッター ---------- */
.footer { padding-block: var(--s8) calc(var(--s8) + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); }
.footer-in { display: grid; gap: var(--s3); }
.footer-brand img { width: 96px; height: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 30em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--s3); font-size: 14px; }
.footer-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
@media (min-width: 1024px) {
  .footer-in { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s8); }
  .footer-links { grid-column: 2; grid-row: 1; align-self: start; }
  .footer-note, .footer-copy { grid-column: 1 / -1; }
}

/* ---------- 画面下の追従バー（SP） ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(var(--gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); background: color-mix(in srgb, var(--paper) 94%, transparent); border-top: 1px solid var(--rule); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 767px) { body.has-sticky .footer { padding-bottom: calc(var(--s8) + 80px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .sticky-bar { display: none !important; } }
