@font-face {
  font-family: YakuHanJP;
  src: url('fonts/YakuHanJP-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: YakuHanJP;
  src: url('fonts/YakuHanJP-Medium.woff2') format('woff2');
  font-weight: 500 900;
  font-display: swap;
}
:root {
  --paper: #F7F6F0;
  --sand: #EFE8DC;
  --white: #FFFDF8;
  --green: #153D30;
  --cta: #AD3311;
  --cta-shadow: #7A230B;
  --marker: #E0B43A;
  --ink: #3B2B1F; /* 文字（見出し・本文）はブラウン。ロゴと同じ色（梅原 2026-12-05：黒い文字をすべてブラウンに。元は #1E150E） */
  --muted: #5C5249;
  --line: #D9D0C1;
  font-family: YakuHanJP, 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
  color: var(--ink);
  background: var(--sand);
  font-synthesis: none;
  scroll-padding-top: 72px;
}
* { box-sizing: border-box; }
/* 書体は body にも指定する。非公開Artifactは外側で body に「端末の標準の書体」を付けるため、html にだけ指定するとヒラギノなどに置き換わり、細く見える（2026-12-03）。 */
body { margin: 0; font-family: YakuHanJP, 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, Meiryo, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.85; letter-spacing: .04em; -webkit-font-smoothing: auto; }
h1, h2, p, figure, ul, ol { margin: 0; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.brand { font-family: Optima, 'Quattrocento Sans', sans-serif; }
/* 語のまとまりで折り返す（「で、」「サ／ポート」のような1〜2文字の泣き別れを防ぐ）。 */
.ph { display: inline-block; }
/* 見出しの句読点のアキを詰める。YakuHanJP でも「。」が漢字の約0.75倍の幅を取り、palt も効かないため、直接詰める（梅原 2026-12-03）。 */
.yk { letter-spacing: -.25em; }
.page { max-width: 430px; min-height: 100svh; margin-inline: auto; background: var(--paper); container-type: inline-size; } /* 案Bの帯とキャッチは、画面幅（vw）ではなくこのページの幅（cqw）を基準にする。PCのスクロールバーの分ではみ出さないため。 */
.header { position: sticky; top: 0; z-index: 5; height: 56px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid var(--line); }
/* 支給PNGの透明余白をCSSで隠す。元の画像は加工しない。 */
.logo { display: block; position: relative; overflow: hidden; width: 128px; height: 44px; flex-shrink: 0; }
.logo img { position: absolute; max-width: none; width: 190px; height: auto; left: -32.4px; top: -67px; }
/* Knotbook のロゴ（梅原 2026-12-03 に一旦確定）。Knotbook β版の画像のワードマークに合わせた太いセリフ体。 */
/* ロゴの色はブラウン #3B2B1F（新HPのブラウンのボタンと同じ色。梅原 2026-12-03）。緑はメニュー・帯など押すもの・強調するものに使い、役割を分ける。 */
.logo-text { display: flex; align-items: center; width: auto; height: 44px; overflow: visible; color: #3B2B1F; text-decoration: none; }
.logo-word { font-family: 'Source Serif 4', 'Noto Serif', Georgia, serif; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.header-cta { border: 0; border-radius: 999px; padding: 8px 16px; min-height: 40px; color: var(--white); background: var(--cta); font-size: 14px; font-weight: 900; letter-spacing: 0; box-shadow: 0 4px 0 var(--cta-shadow); transition: transform 100ms, box-shadow 100ms; }
.hero { position: relative; isolation: isolate; padding: 0 16px 24px; background: var(--sand); }
.variant { display: none; }
html[data-fv=b] .variant-b, html[data-fv=b2] .variant-b2, html[data-fv=c] .variant-c { display: block; }
.headline { color: var(--ink); font-weight: 700; letter-spacing: .02em; line-height: 1.35; }
.audience { color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.subcopy { color: var(--muted); font-size: 18px; font-weight: 400; line-height: 1.7; letter-spacing: .03em; }
.operator { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.operator svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* 写真の後ろの深緑の面は、真下に8pxだけずらす。右下にずらすと右側だけ重く見え、左右の余白がそろって見えないため（梅原 2026-12-03）。 */
.photo { position: relative; border: 6px solid var(--white); border-radius: 16px; background: var(--white); box-shadow: 0 8px 0 var(--green); }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.photo figcaption { padding: 0 8px; background: var(--white); color: var(--green); font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: 0; border-radius: 4px; }
.photo figcaption { position: absolute; right: 8px; bottom: 8px; }

/* B：深緑のフック → キャッチ → 写真と白い円。 */
/* 2026-12-03 梅原：フック（固定資産税と草むしり）を外し、キャッチを1行で最大の文字に。サブは1行で深緑の帯に。 */
/* --catch-fs：「その空き家を宿に」8文字を1行に収める大きさ。画面幅に合わせて32〜44px。FVでいちばん大きい文字。 */
.b-copy { padding-top: 24px; --catch-fs: clamp(32px, calc((100vw - 32px) / 8.2), 44px); }
/* キャッチと帯のまとまり。幅はキャッチの文字の幅になり、帯はその幅いっぱいに伸びる（梅原 2026-12-03：帯の幅をキャッチと同じに）。 */
.b-lockup { display: grid; width: fit-content; max-width: 100%; margin-inline: auto; }
:is(.variant-b, .variant-b2) .headline { font-size: var(--catch-fs); font-weight: 900; line-height: 1.25; text-align: center; letter-spacing: 0; white-space: nowrap; }
/* 帯はまとまりの幅を決めない（width: 0）うえで、まとまりの幅いっぱい（min-width: 100%）に伸ばす。これで帯の幅＝キャッチの文字の幅になる。
   帯の文字はキャッチの大きさに比例させ（.35倍）、どの幅でも帯の中に1行で収める。 */
.b-band { width: 0; min-width: 100%; margin-top: 12px; padding: 10px 8px; background: var(--green); color: var(--white); text-align: center; white-space: nowrap; font-size: calc(var(--catch-fs) * .35); font-weight: 700; line-height: 1.5; letter-spacing: 0; }
/* 中央揃え。家のアイコンは外した（梅原 2026-12-03）。 */
:is(.variant-b, .variant-b2) .operator { display: block; margin-top: 16px; text-align: center; }
/* 案B2（文字だけ差し替え。梅原 2026-12-03）。見た目は案Bと同じ部品を使い、文字量に合わせて大きさだけ変える。
   キャッチは2行（“宿にできたらいいな”で／止まっているあなたへ。）。長い方の行が画面幅に収まる大きさにし、FVでいちばん大きい文字のままにする。
   帯の幅は案Bと同じく、キャッチの文字の幅にそろう。 */
/* 案B（2026-12-03 文字差し替え後）：「その空き家を価値に」9文字を1行で、左右の余白16px（指示は約15px）まで大きくする。
   帯の文字（開業までの道のりと数字を見る・14文字）は、帯がすかすかに見えないよう、キャッチの0.5倍（14〜20px）にする。 */
.variant-b .b-copy { --catch-fs: calc((100cqw - 32px) / 9.05); }
/* 帯の幅は、キャッチ「その空き家を価値に」の文字の幅と同じ（梅原 2026-12-03 訂正：画面の端までは広げない）。
   帯の文字（開業までの道のりと数字を見る・14文字）は、帯の左右に8pxずつ余白を残して、ほぼいっぱいの大きさにする。
   帯の幅＝9 × キャッチの大きさ なので、文字の大きさ＝(帯の幅 − 16px) ÷ 14.2（少しだけ余裕を見る）。画面が小さくなっても帯の中に収まる。 */
.variant-b .b-band { padding-inline: 8px; font-size: calc((9 * var(--catch-fs) - 16px) / 14.2); }
/* 3つの円のキーワードは、どれもテラコッタ（梅原 2026-12-03）：左「¥0」、真ん中「プラス」、右「経営スキル」。 */
.circle-skill { flex-direction: column; }
.skill-word { color: var(--cta); font-size: 16px; font-weight: 900; line-height: 1.25; }
.skill-tail { font-size: 14px; }
/* 案B：リード文をキャッチ・帯と同じ幅に（梅原 2026-12-03）。まとまりの幅を決めず（width: 0）、幅いっぱい（min-width: 100%）に伸ばす。
   1行目「「宿にできたらいいな」で止まっているあなたへ、」が幅いっぱいになるよう、キャッチの大きさに比例させる。
   2026-12-05 梅原：“ ” を「」に。2行の行頭（「 と 運）を左でそろえる（text-align: left と .kg-open）。 */
.variant-b .b-lead { width: 0; min-width: 100%; margin-top: 16px; white-space: nowrap; font-size: calc(var(--catch-fs) * .414); line-height: 1.7; letter-spacing: 0; text-align: left; }
/* 案B：写真を案Cの改装前・改装後の比較に差し替え。高さは案Cより抑える。丸はカードのすぐ下（深緑の影の位置）に置き、ラベルを隠さない。 */
.b-visual.b-visual-compare { height: auto; }
.variant-b .b-comparison { height: 184px; margin: 0; }
.b-visual-compare .circle-badges { position: relative; bottom: auto; margin-top: 0; }
.variant-b2 .b-copy { --catch-fs: clamp(22px, calc((100vw - 32px) / 11.6), 32px); }
.variant-b2 .b-band { font-size: clamp(14px, calc(var(--catch-fs) * .55), 17px); }
.yk-open { margin-left: -.3em; }
/* 行頭の「 は字の左にアキがあり、下の行の頭より右にずれて見える。その分だけ左へ出して、墨の左端をそろえる（梅原 2026-12-05。実測で決める） */
.kg-open { margin-left: -.18em; }
/* 左の円：「今すぐ／プラス／価値に」。案Bの「¥0」と同じく、強調する語（プラス）だけテラコッタ。 */
.circle-plus { flex-direction: column; }
.plus-word { color: var(--cta); font-size: 22px; font-weight: 900; line-height: 1.15; }
.plus-tail { font-size: 14px; }
.b-visual { position: relative; height: 240px; margin-top: 16px; }
.b-photo { height: 208px; }
.b-photo figcaption { top: 8px; bottom: auto; }
.circle-badges { position: absolute; bottom: 0; inset-inline: 0; padding: 0; list-style: none; display: flex; justify-content: center; gap: 8px; }
.circle-badge { flex: 0 0 104px; width: 104px; height: 104px; border: 2px solid var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--white); color: var(--green); text-align: center; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
/* 左の円：「マイナスの／固定資産税を／¥0に／できるか」。3つの円は同じ大きさ（梅原 2026-12-03）。
   価格の表記と同じく、数字「0」を大きく、記号「¥」を小さく。色はテラコッタ。結果を約束しないよう「できるか」で結ぶ。 */
.circle-tax { flex-direction: column; }
.circle-label { font-size: 12px; line-height: 1.3; }
.tax-price { display: flex; align-items: baseline; justify-content: center; line-height: 1; }
.tax-price .yen { color: var(--cta); font-size: 14px; font-weight: 700; margin-right: 1px; }
.tax-price strong { color: var(--cta); font-size: 28px; font-weight: 900; line-height: 1; }
.tax-price .ni { font-size: 12px; margin-left: 2px; }

/* C：水平の見出しの帯と、大きな改装前後の横並び（帯の傾きは梅原 2026-12-03 の指示で外した）。 */
.c-copy { padding-top: 16px; text-align: center; }
.variant-c .headline { margin-top: 16px; }
.c-preface { display: block; font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.c-preface > span { text-emphasis: filled dot; text-emphasis-position: over; }
.c-ribbon { display: block; width: fit-content; max-width: 100%; margin: 8px auto 0; padding: 8px 16px; background: var(--green); color: var(--white); font-size: 44px; font-weight: 900; line-height: 1.2; letter-spacing: 0; }
.variant-c .subcopy { margin-top: 16px; font-weight: 500; letter-spacing: 0; }
.variant-c .operator { margin-top: 8px; text-align: left; }
.c-comparison { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; height: 336px; margin: 16px 0 0; }
.c-comparison .photo { min-width: 0; height: 100%; }
.c-comparison .photo img { object-position: 62% center; }
.placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 10px; border: 1px solid #b9b9b4; background: #dededb; color: #53534f; text-align: center; font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: 0; }
.comparison-arrow { position: absolute; z-index: 1; top: calc(50% - 20px); left: calc(50% - 20px); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; background: var(--white); color: var(--green); font-size: 24px; line-height: 1; }
.c-comparison .photo figcaption { left: 0; right: 0; bottom: 8px; padding-inline: 0; text-align: center; }
.step-labels { list-style: none; padding: 0; margin-top: 16px; display: flex; justify-content: center; gap: 8px; }
.step-labels li { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 32px; padding: 0 8px; border: 1px solid var(--green); border-radius: 999px; background: var(--white); color: var(--green); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0; white-space: nowrap; }

/* 共通の導線。ボタンと情報バッジは別の形にする。 */
.hero-actions { margin-top: 16px; }
.primary { width: 100%; min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 999px; padding: 8px 24px; background: var(--cta); color: var(--white); font-size: 20px; font-weight: 900; line-height: 1.4; letter-spacing: .04em; box-shadow: 0 4px 0 var(--cta-shadow); transition: transform 100ms, box-shadow 100ms; }
.primary:active, .header-cta:active { transform: translateY(4px); box-shadow: 0 0 0 var(--cta-shadow); }
.free { padding: 8px; background: var(--white); color: var(--cta); border-radius: 8px; font-size: 16px; font-weight: 900; letter-spacing: 0; }
.arrow { font-size: 28px; line-height: 1; margin-left: auto; }
.note { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: .02em; }
.secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; margin-top: 12px; padding: 0 24px; border: 2px solid var(--green); border-radius: 999px; background: var(--white); color: var(--green); font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.secondary > span:first-child { flex: 1; }
.beta-note { margin-top: 8px; text-align: center; letter-spacing: 0; }
/* FVの2つのボタン（梅原 2026-12-03）。
   主ボタン：「無料」の白枠をやめ、「無料見積もりの依頼」を1つの文字列でボタンの真ん中に置く。矢印は右端に固定し、文字の中央を動かさない。
   高さ：主ボタンは本体72px＋押し込みの影4px＝見た目76px。副ボタンは影がないので、本体を76pxにして見た目の高さをそろえる。 */
.hero-actions .primary, .hero-actions .secondary { position: relative; padding-inline: 48px; }
.hero-actions .arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin: 0; }
.hero-actions .btn-label { text-align: center; }
.hero-actions .secondary { min-height: 76px; line-height: 1.35; }
.hero-actions .secondary > span:first-child { text-align: center; }
.desktop-scene, .desktop-action { display: none; }
.preview-switch { position: fixed; z-index: 10; bottom: 8px; right: 8px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--green); border-radius: 8px; padding: 8px; background: var(--white); color: var(--green); }
.preview-switch > span { font-size: 14px; font-weight: 700; }
.preview-switch a { display: grid; place-items: center; min-width: 44px; min-height: 44px; text-decoration: none; border: 1px solid var(--green); border-radius: 4px; font-size: 16px; font-weight: 700; }
.preview-switch a[aria-current=page] { background: var(--green); color: var(--white); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 16px; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
dialog { max-width: 398px; width: calc(100% - 32px); max-height: calc(100svh - 48px); padding: 24px; border: 1px solid var(--green); border-radius: 16px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(30 21 14 / .5); }
.dialog-heading { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 20px; font-weight: 700; line-height: 1.5; }
.close-dialog { margin-left: auto; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--green); border-radius: 50%; background: var(--white); color: var(--green); font-size: 28px; line-height: 1; }
dialog p + p { margin-top: 16px; }
/* 幅359px以下（iPhone SE 初代など）：円・帯・横並びの写真を縮め、横のはみ出しを防ぎ、主ボタンを760px以内に保つ。 */
@media (max-width: 359px) {
  .circle-badge { flex-basis: 88px; width: 88px; height: 88px; font-size: 12px; }
  .hero-actions .primary, .hero-actions .secondary { padding-inline: 40px; }
  .hero-actions .arrow { right: 18px; }
  .hero-actions .secondary { font-size: 16px; }
  .circle-badge { flex-basis: 92px; width: 92px; height: 92px; }
  .circle-badges { gap: 4px; }
  .circle-label { font-size: 11px; line-height: 1.2; }
  .tax-price .yen { font-size: 12px; }
  .tax-price strong { font-size: 24px; }
  .tax-price .ni { font-size: 11px; }
  .plus-word { font-size: 18px; }
  .plus-tail { font-size: 12px; }
  .skill-word { font-size: 14px; }
  .skill-tail { font-size: 12px; }
  .b-visual { height: 224px; }
  .c-preface { font-size: 24px; }
  .c-ribbon { font-size: 36px; padding: 8px 12px; }
  .c-comparison { height: 264px; gap: 8px; }
  .variant-b .b-comparison { height: 152px; }
  .step-labels { flex-wrap: wrap; gap: 8px; }
  .step-labels li { font-size: 12px; }
}
@media (min-width: 640px) { .page { border-inline: 1px solid var(--line); } }
@media (max-width: 1023px) {
  html[data-preview=true] .header-cta { display: none; }
  .preview-switch { top: 4px; bottom: auto; padding: 0 8px; gap: 8px; min-height: 48px; }
}
@media (min-width: 1024px) {
  .desktop-scene { position: fixed; display: block; top: 0; left: 0; width: calc((100vw - 430px) / 2); height: 100svh; padding: 64px 32px; overflow: hidden; }
  .desktop-copy { position: relative; z-index: 1; max-width: 400px; font-size: 48px; font-weight: 900; line-height: 1.3; letter-spacing: .02em; color: var(--green); }
  .desktop-copy .side-small { display: block; margin-top: 24px; font-size: 24px; font-weight: 500; line-height: 1.6; }
  .desktop-photo { position: absolute; left: 32px; right: 32px; bottom: 64px; height: 34vh; max-height: 320px; margin: 0; }
  .desktop-action { display: flex; flex-direction: column; justify-content: center; position: fixed; right: 0; top: 0; width: calc((100vw - 430px) / 2); height: 100svh; padding: 32px; gap: 24px; }
  .side-caption { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.7; }
  .side-lead { font-size: 28px; font-weight: 700; line-height: 1.5; }
  .desktop-action .primary, .desktop-action .note { max-width: 358px; }
  .header-cta { display: none; }
  .preview-switch { right: 24px; bottom: 24px; }
}
@media (min-width: 1024px) and (max-width: 1250px) {
  .desktop-scene, .desktop-action { padding-inline: 24px; }
  .desktop-copy { font-size: 40px; }
  .desktop-copy .side-small { font-size: 20px; }
  .desktop-action .primary { padding-inline: 16px; gap: 8px; font-size: 18px; }
  .side-lead { font-size: 24px; }
}
/* ===== 案B：どの端末でも、ヘッダーから注釈文まで1画面に収める（梅原 2026-12-03） =====
   画面の高さ（dvh。古い端末は vh）に合わせて、キャッチ・写真・丸・ボタン・余白を伸び縮みさせる。
   ・キャッチは「横幅で決まる大きさ」と「高さの5.2%」の小さい方。帯とリード文はキャッチに比例するので一緒に縮む
   ・写真の高さは画面の高さの21.8%（96〜184px）、丸は12.3%（88〜104px。中の文字は丸に比例）
   ・ボタンは画面の高さの8.5%（52〜72px）。副ボタンは主ボタン＋4px（押し込みの影の分）で、見た目の高さをそろえたまま
   ・ラベル（改装前・改装後）は写真の上部に移し、丸を写真の下半分に重ねて、縦を詰める */
html { --vh: 1vh; }
@supports (height: 1dvh) { html { --vh: 1dvh; } }
html[data-fv=b] {
  --fv-gap: clamp(8px, calc(var(--vh) * 1.9), 16px);
  --fv-band-pad: clamp(6px, calc(var(--vh) * 1.4), 12px);
  --fv-compare: clamp(96px, calc(var(--vh) * 21.8), 184px);
  --fv-circle: clamp(88px, calc(var(--vh) * 12.3), 104px);
  --fv-btn: clamp(52px, calc(var(--vh) * 8.5), 72px);
}
@media (max-width: 359px) { html[data-fv=b] { --fv-circle: min(92px, clamp(88px, calc(var(--vh) * 12.3), 104px)); } }
@media (max-height: 699px) { html[data-fv=b] .header { height: 48px; } }
html[data-fv=b] .hero { padding-bottom: var(--fv-gap); }
.variant-b .b-copy { padding-top: clamp(8px, calc(var(--vh) * 2.4), 24px); --catch-fs: min(calc((100cqw - 32px) / 9.05), calc(var(--vh) * 5.2)); }
.variant-b .b-band { margin-top: calc(var(--fv-gap) * .75); padding-block: var(--fv-band-pad); }
.variant-b .b-lead { margin-top: var(--fv-gap); }
.b-visual.b-visual-compare { position: relative; margin-top: var(--fv-gap); padding-bottom: calc(var(--fv-circle) / 2); }
.variant-b .b-comparison { height: var(--fv-compare); }
.variant-b .b-comparison .photo figcaption { top: 8px; bottom: auto; }
.variant-b .comparison-arrow { top: calc(38% - 20px); }
.variant-b .c-before .placeholder { align-items: flex-start; padding-top: 40px; }
.b-visual-compare .circle-badges { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
.variant-b .circle-badge { flex-basis: var(--fv-circle); width: var(--fv-circle); height: var(--fv-circle); }
.variant-b .circle-label { font-size: calc(var(--fv-circle) * .115); line-height: 1.25; }
.variant-b .tax-price .yen { font-size: calc(var(--fv-circle) * .135); }
.variant-b .tax-price strong { font-size: calc(var(--fv-circle) * .27); }
.variant-b .tax-price .ni { font-size: calc(var(--fv-circle) * .115); }
.variant-b .plus-word { font-size: calc(var(--fv-circle) * .21); }
.variant-b .plus-tail, .variant-b .skill-tail { font-size: calc(var(--fv-circle) * .135); }
.variant-b .skill-word { font-size: calc(var(--fv-circle) * .154); }
html[data-fv=b] .hero-actions { margin-top: var(--fv-gap); }
html[data-fv=b] .hero-actions .primary { min-height: var(--fv-btn); }
html[data-fv=b] .hero-actions .secondary { min-height: calc(var(--fv-btn) + 4px); margin-top: calc(var(--fv-gap) * .75); }
html[data-fv=b] .beta-note { margin-top: calc(var(--fv-gap) * .5); white-space: nowrap; font-size: min(14px, calc((100cqw - 32px) / 22.5)); }
/* 改装前の仮の文字は1行にして、写真の上部に寄せる（丸に隠れないように）。写真が届けば不要。 */
.variant-b .c-before .placeholder { padding-top: 40px; }
.variant-b .c-before .placeholder br { display: none; }

/* 案B：改装前・改装後のラベルは、半透明の深緑の帯に白い文字（梅原 2026-12-03）。帯の後ろに写真が透けて見える。
   design.md §7 の「半透明は使わない」の例外。深緑72%の帯と白い文字で、明るい写真の上でも読める。 */
.variant-b .b-comparison .photo figcaption { background: rgb(21 61 48 / .72); color: #FFFDF8; font-weight: 700; }

/* 案B3（?fv=b3）・案B4（?fv=b4）：丸の色だけを変えた版（梅原 2026-12-03）。どちらもLocal Knotのブランドの色。
   ・B3 焦げ茶 #1E150E：文字は生成り、キーワードはマスタード（テラコッタは焦げ茶の上で 2.8:1 と読みにくいため。マスタードは 9.2:1）
   ・B4 ブラウン #3B2B1F（新HPのブラウンのボタンと同じ色。梅原 2026-12-03）：文字は生成り、キーワードはマスタード（テラコッタはこの色の上で 2.1:1 と読みにくいため。マスタードは 6.9:1）
   ・どちらも丸の縁は生成りの線にして、写真の上でも形が分かるようにする */
html[data-tone=dark] .variant-b .circle-badge { background: #1E150E; border-color: #F7F6F0; color: #E8E1D3; }
html[data-tone=dark] .variant-b :is(.tax-price .yen, .tax-price strong, .plus-word, .skill-word, .asset-word) { color: #E0B43A; }
html[data-tone=brown] .variant-b .circle-badge { background: #3B2B1F; border-color: #F7F6F0; color: #E8E1D3; }
html[data-tone=brown] .variant-b :is(.tax-price .yen, .tax-price strong, .plus-word, .skill-word, .asset-word) { color: #E0B43A; }

/* ===== 案B：ヘッダー右上のメニュー（梅原 2026-12-03） =====
   「無料見積もり」の小さなボタンの代わりに、三本線＋「メニュー」の文字のボタンを置く。深緑の四角に白。
   押すと、右からメニューが開く（PCではスマホ幅の列の中で開く）。案B2・案Cは今までどおり「無料見積もり」のボタン。 */
.menu-btn { display: none; }
html[data-fv=b] .header-cta { display: none; }
/* 2026-12-03 梅原：塗り（深緑の四角）をやめ、線と文字だけを深緑に。文字は英字「MENU」。
   三本線の横幅は「MENU」の文字の幅にそろえる（ボタンの幅＝文字の幅、線は幅100%）。押せる範囲は44px四方以上を保つ。 */
html[data-fv=b] .menu-btn { display: inline-grid; justify-items: stretch; align-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 4px 6px; border: 0; background: transparent; color: var(--green); }
.menu-icon { display: grid; gap: 5px; width: 100%; }
.menu-icon i { display: block; height: 2px; border-radius: 1px; background: currentColor; }
.menu-label { font-family: Optima, 'Quattrocento Sans', sans-serif; font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .1em; margin-right: -.1em; }
html[data-fv=b] .menu-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

#menu-dialog { position: fixed; inset: 0 max(0px, calc((100vw - 430px) / 2)) 0 auto; margin: 0; width: min(320px, 86vw); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
#menu-dialog[open] { display: flex; flex-direction: column; animation: menu-in 200ms ease-out; }
@keyframes menu-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.menu-title { font-size: 16px; font-weight: 700; color: var(--green); }
.menu-list { list-style: none; margin: 0; padding: 8px 16px; }
.menu-list a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 700; }
.menu-list a span { color: var(--green); font-size: 22px; }
.menu-ctas { margin-top: 8px; padding: 16px; display: grid; gap: 12px; }
.menu-ctas .primary, .menu-ctas .secondary { position: relative; margin: 0; padding-inline: 40px; }
.menu-ctas .primary { min-height: 64px; font-size: 18px; }
.menu-ctas .secondary { min-height: 68px; font-size: 16px; line-height: 1.35; }
.menu-ctas .secondary > span:first-child { text-align: center; }
.menu-ctas .arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); margin: 0; }
.menu-ctas .note { text-align: center; font-size: 13px; }

/* ===== 案BのPC表示（画面幅1024px以上だけ。梅原 2026-12-03） =====
   真ん中のスマホ幅の列はそのまま。左右の余白に、看板（左）と案内（右）を固定で置く（スクロールしても動かない）。
   背景はサンド色の無地（design.md §7：柄・グラデーションは使わない）。スマホとタブレット（1023px以下）では出さない。 */
.pc-left, .pc-right { display: none; }
@media (min-width: 1024px) {
  html[data-fv=b] .desktop-scene, html[data-fv=b] .desktop-action { display: none; }
  html[data-fv=b] .pc-left, html[data-fv=b] .pc-right { display: flex; align-items: center; justify-content: center; position: fixed; top: 0; width: calc((100vw - 430px) / 2); height: 100dvh; padding: 32px clamp(24px, 3vw, 56px); overflow-y: auto; background: var(--sand); }
  .pc-left { left: 0; }
  .pc-right { right: 0; }
  /* 左：看板。ロゴ・キャッチ・緑の帯を中央に積む。 */
  .pc-left-inner { display: grid; justify-items: center; gap: 24px; width: min(100%, 440px); text-align: center; }
  .pc-logo { font-family: 'Source Serif 4', 'Noto Serif', Georgia, serif; font-size: 32px; font-weight: 700; line-height: 1; color: #3B2B1F; }
  .pc-catch { font-size: clamp(36px, 3.4vw, 56px); font-weight: 900; line-height: 1.25; letter-spacing: 0; color: var(--ink); }
  .pc-band { padding: 10px 12px; background: var(--green); color: #FFFDF8; font-size: clamp(14px, 1.3vw, 22px); font-weight: 700; line-height: 1.5; letter-spacing: 0; white-space: nowrap; }
  /* 右：目次・ボタン・関連サービスの枠。 */
  .pc-right-inner { display: grid; gap: 24px; width: min(100%, 320px); }
  .pc-heading { margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--green); }
  .pc-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .pc-toc a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 700; }
  .pc-toc a span { color: var(--green); font-size: 20px; }
  .pc-ctas { display: grid; gap: 12px; }
  .pc-ctas .primary, .pc-ctas .secondary { position: relative; margin: 0; padding-inline: 36px; }
  .pc-ctas .primary { min-height: 60px; font-size: 17px; }
  .pc-ctas .secondary { min-height: 64px; font-size: 15px; line-height: 1.35; }
  .pc-ctas .secondary > span:first-child { text-align: center; }
  .pc-ctas .arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); margin: 0; }
  .pc-related { display: grid; gap: 8px; }
  .pc-card { display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; }
  .pc-card-title { font-size: 15px; font-weight: 700; }
  .pc-card-text { font-size: 13px; color: var(--muted); }
}

/* ===== 案B：改装前・改装後を大きく見せる（梅原 2026-12-03） =====
   白い枠を6px→3pxに細く、2枚の間を16px→4pxに詰めて、写真の見える面積を広げる。 */
.variant-b .b-comparison { gap: 4px; }
.variant-b .b-comparison .photo { border-width: 3px; border-radius: 12px; }
.variant-b .b-comparison .photo img, .variant-b .b-comparison .placeholder { border-radius: 9px; }
/* 矢印：丸囲みをやめ、小さめで太い右向きの矢印（角に丸み）。深緑に白い縁取り（ぼかしの影は使わない）。
   視線を「改装前→改装後」へ送るため、右へ小さく動いて戻る（1.6秒で繰り返し）。動きを減らす設定の人には動かさない。
   design.md「動きは原則なし」の例外（梅原の指示）。 */
.variant-b .b-arrow { top: calc(38% - 14px); left: calc(50% - 14px); width: 28px; height: 28px; border: 0; border-radius: 0; background: none; display: block; animation: b-arrow-nudge 1.6s ease-in-out infinite; }
.variant-b .b-arrow svg { display: block; overflow: visible; }
.b-arrow-edge { fill: #FFFDF8; stroke: #FFFDF8; stroke-width: 4; stroke-linejoin: round; }
.b-arrow-body { fill: var(--green); stroke: var(--green); stroke-width: 1.6; stroke-linejoin: round; }
@keyframes b-arrow-nudge { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .variant-b .b-arrow { animation: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ===== 下層：v3（梅原 2026-12-05）。既存FVの規則は変更しない ===== */
/* 下層追加で縦スクロールが生じても、スクロールバー分だけFVの幅を狭めない。 */
html:has(.lower-section) { scrollbar-width: none; }
.lower-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.lower-section { padding: 48px 16px; background: var(--paper); color: var(--ink); }
.lower-sand { background: var(--sand); }
.lower-section h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.lower-heading { --heading-fs: min(32px, calc((100cqw - 32px) / 11.1)); width: fit-content; max-width: 100%; margin: 0 auto 24px; }
.lower-heading h2 { font-size: var(--heading-fs); font-weight: 900; line-height: 1.35; letter-spacing: 0; text-align: center; }
.lower-heading em { color: var(--green); font-style: normal; }
.lower-band { width: 0; min-width: 100%; margin-top: 12px; padding: 12px 8px; background: var(--green); color: var(--white); font-size: min(20px, calc((7 * var(--heading-fs) - 16px) / 9.2)); font-weight: 700; line-height: 1.5; letter-spacing: 0; text-align: center; white-space: nowrap; }
.lower-body { font-size: 16px; font-weight: 500; line-height: 1.85; letter-spacing: .04em; text-align: left; }
.lower-note { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: 0; text-align: center; }
.lower-section h3 + .lower-body, .lower-section .card-fee, .card-fee + .lower-body { margin-top: 8px; }
.lower-section .lower-centered { text-align: center; }
.lower-stack { display: grid; gap: 16px; }
.lower-section .lower-after { margin-top: 16px; }
.lower-section .lower-near { margin-top: 8px; }
.lower-card, .lower-bubble { padding: 16px; border: 2px solid var(--green); border-radius: 12px; background: var(--white); }
.lower-card .card-fee { text-align: left; }
.lower-section .icon { display: block; flex: 0 0 auto; width: 104px; height: 104px; margin-inline: auto; color: var(--green); fill: none; stroke: currentColor; stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; }
.lower-section .icon-small { width: 48px; height: 48px; }
.lower-card > .icon { margin-top: 16px; }
.lower-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.record-item { flex: 0 0 240px; min-width: 0; }
.record-item > .lower-photo { height: 160px; }
.record-item > .lower-note { margin-top: 16px; }
.lower-section .lower-photo { border-width: 3px; border-radius: 12px; box-shadow: 0 8px 0 var(--green); }
.lower-section .lower-photo img, .lower-section .lower-photo .placeholder { border-radius: 9px; }
.lower-section .lower-photo figcaption { top: 8px; bottom: auto; left: 0; right: 0; padding: 0 8px; background: color-mix(in srgb, var(--green) 72%, transparent); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; text-align: center; }
.lower-bubble { position: relative; }
.lower-bubble::after { content: ''; position: absolute; left: 24px; width: 12px; height: 12px; background: var(--white); transform: rotate(45deg); }
.tail-down::after { bottom: -7px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); }
.tail-up::after { top: -7px; border-left: 2px solid var(--green); border-top: 2px solid var(--green); }
.worry-bubble { width: calc(100% - 32px); display: flex; gap: 12px; align-items: center; }
.worry-bubble p { font-size: 16px; font-weight: 500; line-height: 1.7; letter-spacing: 0; text-align: left; }
.worry-bubble .icon { margin: 0; }
.bubble-right { margin-left: auto; }
.bubble-right::after { left: auto; right: 24px; }
.people-placeholder { height: 240px; }
.field-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 4px; }
.field-photos .lower-photo { height: 160px; }
.field-team img { object-position: 50% 35%; }
.field-front img { object-position: 50% 65%; }
.field-service img { object-position: 50% 0%; }
.field-nagano img { object-position: 50% 20%; }
.lower-section .primary, .lower-section .secondary, .lower-sticky .primary { position: relative; padding-inline: 24px; }
.lower-section .primary { min-height: 72px; }
.lower-section .secondary { min-height: 56px; margin-top: 16px; font-size: 16px; }
.lower-section :is(.primary, .secondary) .arrow, .lower-sticky .arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin: 0; }
.lower-section .primary .btn-label { text-align: center; }
.lower-section .lower-cta, .lower-cta { background: var(--green); color: var(--white); }
.lower-cta > .icon, .lower-cta > .lower-note { color: var(--white); }
.lower-cta .cta-message { margin-top: 8px; color: var(--white); font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: 0; text-align: center; }
.lower-cta > .primary { margin-top: 16px; }
.lower-cta > .lower-note { margin-top: 8px; }
.lower-section .lower-comparison { height: 240px; gap: 4px; margin: 0; }
.lower-comparison .b-arrow { top: calc(38% - 14px); left: calc(50% - 14px); width: 28px; height: 28px; border: 0; border-radius: 0; background: none; display: block; }
.lower-comparison .b-arrow svg { display: block; overflow: visible; }
.lower-section .b-arrow-edge { fill: var(--white); stroke: var(--white); }
.lower-label { display: inline-block; padding: 0 8px; border-radius: 4px; background: var(--green); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.flow-list { padding-top: 20px; }
.flow-card { position: relative; padding-top: 32px; }
.flow-number { position: absolute; top: -22px; left: 16px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--green); color: var(--white); font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: 0; }
.flow-arrow { display: flex; justify-content: center; margin: 16px 0 36px; }
.flow-arrow svg { display: block; transform: rotate(90deg); }
.screen-placeholder { flex: 0 0 240px; height: 240px; }
.faq-item + .faq-item { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.faq-question { display: flex; align-items: flex-start; gap: 12px; }
.faq-question > span { color: var(--green); font-size: 20px; font-weight: 900; line-height: 1.5; letter-spacing: 0; }
.faq-item > .lower-body { margin-top: 8px; }
.portrait { width: 100%; aspect-ratio: 4 / 5; }
.portrait img { object-position: 50% 40%; }
.person-quote { margin-top: 12px; }
.person-quote::after { left: calc(50% - 6px); }
.person-quote .lower-body { text-align: center; }
.contact-form { margin-top: 24px; color: var(--ink); }
.form-field { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.form-field > label, .form-field legend { display: block; padding: 0; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.form-field :is(label, legend) > :is(.lower-label, .optional) { margin-left: 12px; }
.optional { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: 0; }
.form-field > input, .form-field textarea { display: block; width: 100%; height: 56px; margin-top: 8px; padding: 0 16px; border: 2px solid var(--green); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.form-field textarea { height: 160px; padding: 16px; resize: vertical; }
.radio-options { display: grid; gap: 8px; margin-top: 8px; }
.radio-option { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border: 2px solid var(--green); border-radius: 12px; background: var(--white); font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: 0; cursor: pointer; }
.radio-option input { flex-shrink: 0; margin: 0; accent-color: var(--green); }
.field-error { margin-top: 8px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.contact-form > .primary { margin-top: 16px; }
.contact-form > .lower-note { margin-top: 8px; text-align: left; }
.lower-section :is(button, a, input, textarea, [tabindex]):focus-visible, .lower-sticky button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.lower-footer { padding: 24px 16px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: 0; text-align: center; }
.lower-sticky { position: fixed; z-index: 4; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 430px); padding: 8px 16px; border-top: 1px solid var(--line); background: var(--white); }
.lower-sticky .primary { min-height: 56px; font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .lower-sticky:not([hidden]) { animation: lower-sticky-in 200ms ease-out; }
  @keyframes lower-sticky-in { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
}

/* ===== 下層の直し 1（梅原 2026-12-05）=====
   ・文字は基本、中央揃え（左揃えの羅列は AI っぽく見えるため）。フォームの入力欄だけ左
   ・ジャンプ率を上げる：カードの見出し 20→24px・900、進め方の段の名前 28px・900、番号 56px
   ・アイコンは下に置かない（カードの下に空きができ、余白が AI っぽく見えるため）。できることは見出しの横、約束と理由は見出しの上、進め方は番号だけ
   ・写真は横スクロールにせず縦に並べる。当て込んだ写真には「仮・差し替え予定」 */
.lower-section { --card-h3: min(24px, calc((100cqw - 68px) / 14.2)); text-align: center; }
.lower-section .lower-body, .lower-card .card-fee, .worry-bubble + .lower-after .lower-body { text-align: center; }
.lower-section h3 { font-size: var(--card-h3); font-weight: 900; line-height: 1.45; }
.lower-card .icon-top { width: 64px; height: 64px; margin: 0 auto 8px; }
.card-head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.card-head .icon { margin: 0; }
.card-head h3 { font-size: min(24px, calc((100cqw - 128px) / 10)); }
.lower-section .card-fee { margin-top: 4px; color: var(--green); font-size: 16px; font-weight: 700; line-height: 1.5; }
.card-fee + .lower-body { margin-top: 8px; }
.record-list { display: grid; gap: 24px; }
.record-item > .lower-photo { height: 200px; }
.screens-list { display: grid; gap: 24px; }
.screens-list .screen-placeholder { height: 200px; }
.temp-tag { position: absolute; z-index: 1; right: 8px; bottom: 8px; padding: 0 8px; border-radius: 4px; background: var(--white); color: var(--green); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.flow-list { padding-top: 28px; }
.flow-card { padding-top: 44px; }
.flow-number { top: -28px; left: calc(50% - 28px); width: 56px; height: 56px; font-size: 32px; }
.flow-card h3 { font-size: min(28px, calc((100cqw - 68px) / 10.2)); line-height: 1.35; }
.flow-arrow { margin: 12px 0 40px; }
.faq-item + .faq-item { margin-top: 24px; padding-top: 24px; }
.faq-question { display: block; }
.faq-question > span { display: block; font-size: 32px; line-height: 1.2; }
.faq-question h3 { margin-top: 4px; font-size: 20px; }
.lower-cta .cta-message { font-size: min(24px, calc((100cqw - 32px) / 14)); font-weight: 900; }
.contact-form { text-align: left; }
.contact-form > h3, .contact-form > .lower-note { text-align: center; }

/* ===== 下層の直し 2（梅原 2026-12-05）=====
   ・実績のセクションを外した。お悩みの小見出しは帯にせず、ふつうの文字
   ・できることの見出し：文字を真ん中に置き、アイコン（小さめ）は文字の左にぶら下げる（アイコンごと中央にすると文字がずれて見えるため）
   ・進め方の番号：緑の丸・小さめ（段の名前のほうを目立たせる）
   ・よくある質問：Q1〜Q5、右の＋で答えを開く。ここだけ左揃え */
.lower-lead { margin-top: 12px; color: var(--muted); font-size: 16px; font-weight: 700; line-height: 1.7; letter-spacing: 0; text-align: center; }
.card-head { display: block; text-align: center; }
.card-head h3 { position: relative; display: inline-block; font-size: min(24px, calc((100cqw - 156px) / 10)); }
.card-head .icon-hang { position: absolute; top: 50%; right: calc(100% + 8px); width: 36px; height: 36px; margin: 0; transform: translateY(-50%); }
.flow-list { padding-top: 20px; }
.flow-card { padding-top: 32px; }
.flow-number { top: -20px; left: calc(50% - 20px); width: 40px; height: 40px; border-radius: 50%; font-size: 20px; }
.flow-arrow { margin: 12px 0 32px; }
#faq .faq-list { border-top: 1px solid var(--line); text-align: left; }
#faq .faq-item { margin: 0; padding: 0; border-top: 0; border-bottom: 1px solid var(--line); }
.faq-q { display: grid; grid-template-columns: 32px 1fr 32px; gap: 12px; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-num { color: var(--green); font-size: 20px; font-weight: 900; line-height: 1.35; letter-spacing: 0; }
#faq .faq-q h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: 0; text-align: left; }
.faq-toggle { position: relative; width: 32px; height: 32px; border: 2px solid var(--green); border-radius: 50%; background: var(--white); }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--green); transform: translate(-50%, -50%); }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { display: none; }
.faq-a { margin: 0; padding: 0 0 16px 44px; font-size: 16px; font-weight: 500; line-height: 1.85; letter-spacing: .04em; text-align: left; }
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* メニュー：ボタンを画面の下に押しやらず、項目のすぐ下に置く（項目との間が空きすぎるため。梅原 2026-12-05） */
/* お悩みの見出しの右（2行の真ん中の高さ）に、緑の丸の吹き出し「空き家を持つ方の声」をさりげなく置く。しっぽは左下（梅原 2026-12-05） */
#worries .lower-heading { position: relative; }
.voice-badge { position: absolute; top: calc(50% - 38px); left: calc(100% + 4px); display: grid; place-items: center; width: 76px; height: 76px; margin: 0; border-radius: 50%; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: 0; text-align: center; }
.voice-badge::after { content: ''; position: absolute; left: 2px; bottom: 4px; width: 18px; height: 16px; background: var(--green); clip-path: polygon(0 100%, 30% 0, 100% 45%); }
/* 幅が狭く、見出しの右に丸が入らないときだけ、右上に逃がす */
@media (max-width: 359px) { .voice-badge { top: -36px; left: calc(100% - 2px); width: 68px; height: 68px; font-size: 11px; } .voice-badge::after { top: 30px; bottom: auto; left: -8px; width: 14px; height: 14px; clip-path: polygon(0 70%, 100% 0, 100% 100%); } }

/* 運営者（梅原 2026-12-05）：写真は正方形、名前は写真の下、その下にメッセージ（4〜5行） */
.people-list { display: grid; gap: 40px; }
.person-photo { width: 100%; aspect-ratio: 1 / 1; }
.person-photo img { object-position: 35% 40%; }
.person-role { margin-top: 16px; color: var(--green); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.lower-section .person-name { margin-top: 0; font-size: 24px; font-weight: 900; line-height: 1.4; }
.lower-section .person-message { margin-top: 12px; }
.person-draft { margin-top: 8px; }

/* ===== 下層の直し 3（梅原 2026-12-05）=====
   ・代表のメッセージは左揃え（読みやすさ）
   ・約束の写真は2段のスライド（上は左へ、下は右へ、ゆっくり）。写真は8枚、すべて「仮・差し替え予定」
   ・下層は、スクロールで下からフェードイン（静止画だけだとつまらないため）。動きを減らす設定の人には出さない */
.lower-section .person-message { text-align: left; }
.field-marquee { display: grid; gap: 8px; margin-inline: -16px; }
.marquee-row { overflow: hidden; padding-bottom: 8px; }
.marquee-track { display: flex; width: max-content; }
.marquee-track .lower-photo { flex: 0 0 auto; width: 200px; height: 150px; margin-right: 8px; }
.marquee-track .temp-tag { right: 6px; bottom: 6px; padding: 0 6px; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-left .marquee-track { animation: marquee-left 48s linear infinite; }
  .marquee-right .marquee-track { animation: marquee-right 48s linear infinite; }
  .js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* PCの右の目次：左に縦のゲージ。スクロールに合わせて深緑が伸び、今いる項目に印が付く。ゲージと丸はさりげなく（線2px・丸6px）、主役は文字（梅原 2026-12-05） */
.pc-toc { position: relative; padding-left: 20px; border-top: 0; }
.pc-toc::before, .pc-toc::after { content: ''; position: absolute; z-index: 0; top: 0; left: 4px; width: 2px; border-radius: 1px; }
.pc-toc::before { bottom: 0; background: var(--line); }
.pc-toc::after { height: var(--gauge, 0px); background: var(--green); transition: height 120ms linear; }
.pc-toc a { position: relative; }
.pc-toc a::before { content: ''; position: absolute; z-index: 1; top: calc(50% - 3px); left: -19px; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.pc-toc a.is-passed::before, .pc-toc a.is-current::before { background: var(--green); }
.pc-toc a.is-current { color: var(--green); font-weight: 900; }

/* お悩みの「考え込む2人」のイラスト：Codex の画像生成（案B・ちゃぶ台）。梅原が選んだ（2026-12-05）。背景は透過 */
.people-illust { margin: 0; }
.people-illust img { display: block; width: 100%; height: auto; }

/* Knotbook β版の画面（梅原が支給した実際の画面。2026-12-05）：切り取らずに全体を見せる。名前は写真の上部のラベル */
.screens-list .screen-shot { height: auto; }
.screens-list .screen-shot img { display: block; width: 100%; height: auto; }
/* 画面の名前は、画面の上に重ねず、画面の上の帯として置く（画面の中の文字に重なって読めなくなるため。梅原 2026-12-05） */
.lower-section .screens-list .screen-shot figcaption { position: static; display: block; order: -1; border-radius: 9px 9px 0 0; }
.screens-list .screen-shot { display: flex; flex-direction: column; }
.screens-list .screen-shot img { border-radius: 0 0 9px 9px; }

/* β版の「noteで詳しく見る」は目立たせない所なので、追従の帯の主ボタンと同じ高さ（56px）にする（梅原 2026-12-05） */

/* フッター：Local Knot のロゴ＋会社名＋所在地（梅原 2026-12-05）。コピーライトの表記は法律上なくてよいので入れない */
.footer-logo { display: block; width: 120px; height: auto; margin: 0 auto 12px; }
.lower-footer .footer-links { margin-top: 8px; }
.lower-footer a, .contact-form .lower-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Netlify Forms のボット除け（見えない欄） */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* フッター：特商法のリンクとコピーライト（梅原 2026-12-05） */
.footer-sep { margin-inline: 8px; }
.lower-footer .footer-copy { margin-top: 12px; font-size: 14px; }
.lower-footer .footer-copy small { font-size: inherit; }

/* フォントのちらつき対策（梅原 2026-12-05）：fv-init.js が書体の読み込み中に html へ fonts-loading を付ける。
   その間は本文を隠し、読み込みが終わったら0.16秒でふわっと出す（最長1.5秒）。JSが動かないときは隠さない */
html.fonts-loading body { opacity: 0; }
body { transition: opacity 160ms ease-out; }

/* フッター：ブラウンの地に白抜き（ロゴも白）（梅原 2026-12-05） */
.lower-footer { border-top: 0; background: #3B2B1F; color: var(--white); }
.lower-footer a { color: var(--white); }
.lower-footer a:focus-visible { outline-color: var(--white); }

/* フッター：ロゴと「運営会社：Local Knot株式会社」から Local Knot の公式ホームページへ（梅原 2026-12-05） */
.footer-logo-link { display: block; width: fit-content; margin: 0 auto 12px; }
.footer-logo-link .footer-logo { margin: 0; }
.footer-logo-link:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* フッター：ロゴから下を縦一列・中央揃えに。リンクは1行ずつ（下線が並んで読みにくいため）。
   「運営会社：」のコロンは約物を詰めない全角にして、行の真ん中がずれて見えないようにする（梅原 2026-12-05） */
.footer-list { display: grid; justify-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-colon { font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif; }
.lower-footer .footer-copy { margin-top: 16px; }

/* Knotbook β版の画面から note の販売ページへ（2026-12-05） */
a.secondary { text-decoration: none; }
dialog .dialog-link { margin-top: 24px; }

/* FV 左の丸：「維持費ばかりの／マイナスを／収益資産に」。キーワードはほかの丸と同じテラコッタ900。4文字が丸に収まる大きさ（梅原 2026-12-05） */
.tax-price .asset-word { color: var(--cta); font-weight: 900; line-height: 1; letter-spacing: 0; font-size: 18px; }
.variant-b .tax-price .asset-word { font-size: calc(var(--fv-circle) * .175); }

/* LP内の画面：特定商取引法に基づく表記・プライバシーポリシー（#tokushoho・#privacy）。開いている間は本編を隠す（入力したフォームの中身は残る）（梅原 2026-12-05） */
.subview { padding: 40px 16px 64px; background: var(--paper); color: var(--ink); text-align: left; }
.subview[hidden], main[hidden] { display: none; }
.sv-logo { margin: 0; text-align: center; font-family: 'Source Serif 4', 'Noto Serif', Georgia, serif; font-size: 28px; font-weight: 700; line-height: 1.2; color: #3B2B1F; letter-spacing: 0; }
.sv-title { margin: 16px 0 0; text-align: center; font-size: 24px; font-weight: 900; line-height: 1.35; letter-spacing: 0; }
.sv-heading { margin: 32px 0 8px; font-size: 18px; font-weight: 900; line-height: 1.5; color: var(--green); letter-spacing: 0; }
.sv-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; letter-spacing: 0; }
.sv-table th, .sv-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.sv-table tr:first-child th, .sv-table tr:first-child td { border-top: 1px solid var(--line); }
.sv-table th { width: 34%; padding-right: 12px; font-weight: 700; color: var(--green); }
.sv-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; letter-spacing: 0; }
.sv-text p { margin: 8px 0 0; font-size: 15px; line-height: 1.85; letter-spacing: 0; }
.sv-end { margin-top: 32px; text-align: right; }
.subview a:not(.primary) { color: var(--green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.subview .sv-back { margin-top: 40px; text-decoration: none; }
html.subview-open .lower-sticky { display: none !important; }
.subview .sv-back { position: relative; justify-content: center; padding-inline: 24px; }
.subview .sv-back .arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin: 0; }
/* 特商法の画面：題の下の「（Knotbook／Knot Inndesk／Knot Twin）」（梅原 2026-12-05、藤澤さんの表記に差し替え） */
.subview .sv-sub { margin: 4px 0 16px; text-align: center; }
