@charset "UTF-8";
/* 売却査定LP（シニア版・通常版）
   色は3つだけ：紙 #FAF7F0／紺 #1B2A41／朱 #A63D17 */
:root {
  --paper: #FAF7F0; --card: #FFFDF8; --band: #F1E6D3; --ink: #1B2A41; --ink-2: #474C55;
  --green: #115301; /* 会社のイメージカラー（ロゴの背景と同じ緑） */
  --shu: #A63D17; --shu-d: #8F3412; --line: #D8D0C2; --field: #8A8F96; --err: #B3261E; --err-bg: #FCEDEB;
  --sea: #E3E8DF; --land: #EEF1E8; --land-off: #E3E8DF; --land-st: #E4E8EF; --edge: #A9B1A4;
  --f-disp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  --f-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, "Noto Sans JP", sans-serif;
  color-scheme: light;
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.big { font-size: 118.75%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.75; overflow-wrap: anywhere; }
body.v-s { font-size: 1.125rem; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--shu); }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-disp); font-weight: 900; line-height: 1.4; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js-only { display: none !important; }
.js .js-only { display: flex !important; }
.js button.js-only { display: inline-flex !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- 枠 ---- */
.in { max-width: 42rem; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left, 0px)) 0 max(20px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 20px; }
.sec { padding: 40px 0; }
.bg-card { background: var(--card); }
.bg-band { background: var(--band); }
.sec h2 { font-size: 1.625rem; }
.v-n .sec h2 { font-size: 1.5625rem; }
.sub { color: var(--ink-2); font-size: .9em; line-height: 1.7; }
.v-s .sub { font-size: 1.0625rem; }
.small { color: var(--ink-2); font-size: .9375rem; line-height: 1.7; }
.v-s .small { font-size: 1.0625rem; }
/* 小さい文字の中のリンクは、押せる範囲だけ上下に広げる（見た目は変えない） */
.small a { padding: 10px 0; }
.center { text-align: center; }

/* ---- ヘッダー ---- */
.hd { background: var(--paper); border-bottom: 1px solid var(--line); }
.hd-in { max-width: 42rem; margin: 0 auto; min-height: 64px; padding: 6px 14px 6px 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.logo { display: flex; flex-direction: column; line-height: 1.25; }
.logo-1 { font-family: var(--f-disp); font-weight: 900; font-size: 22px; white-space: nowrap; }
.logo-2 { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.hd-r { display: flex; gap: 8px; align-items: center; }
.bigbtn { min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; align-items: center; white-space: nowrap; }
.v-s .bigbtn { font-size: 15px; }
.bigbtn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hd-tel { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.hd-tel:hover { color: #fff; background: #2A3B57; }

/* ---- ボタン ---- */
.btn { min-height: 56px; padding: 10px 16px; border-radius: 14px; border: 2px solid transparent; font: inherit; font-size: 1.1875rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; width: 100%; }
.btn-main { background: var(--shu); color: #fff; }
.btn-main:hover { background: var(--shu-d); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A3B57; color: #fff; }
.btn-line { background: var(--card); border-color: var(--ink); color: var(--ink); min-height: 48px; font-size: 1rem; }
.btn-xl { min-height: 62px; font-size: 1.3125rem; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* ---- 電話カード ---- */
.telcard { text-decoration: none; background: var(--ink); color: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 1rem; }
.telcard:hover { color: #fff; background: #22334F; }
.telcard-no { font-family: var(--f-disp); font-weight: 900; font-size: 2.125rem; line-height: 1.3; letter-spacing: .02em; }
.telcard-note { font-size: .9375rem; color: var(--band); line-height: 1.6; }
.v-s .telcard { font-size: 1.125rem; }
.v-s .telcard-note { font-size: 1.0625rem; }

/* ---- シニア版 ---- */
.hero-s { padding: 28px 0 36px; }
.hero-s h1 { font-size: 1.875rem; }
.lead { font-size: 1.125rem; color: var(--ink-2); }
.illust { display: block; width: min(100%, 252px); height: auto; border-radius: 16px; }
/* 一番上：小さめのイラスト＋ひとこと（電話番号を最初の画面に残すため） */
.hero-face { display: flex; align-items: center; gap: 16px; }
.hero-face img { flex: none; width: 104px; height: auto; border-radius: 14px; }
.hero-face p { position: relative; flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 1.0625rem; line-height: 1.6; }
.hero-face p::before { content: ""; position: absolute; left: -8px; top: 50%; width: 14px; height: 14px; background: var(--card); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.checks div, .flow div { display: flex; flex-direction: column; gap: 4px; }
.checks span, .flow div span { font-size: .9em; line-height: 1.7; color: var(--ink-2); }
.v-s .checks span, .v-s .flow div span, .v-s .quals { font-size: 1.0625rem; }
.ic { width: 30px; height: 30px; flex: none; margin-top: 2px; color: var(--shu); }
.ticks .ic { width: 24px; height: 24px; margin-top: 3px; }
.daihyo-name { font-family: var(--f-disp); font-weight: 700; font-size: 1.375rem; }
.quals { font-size: .9em; line-height: 1.7; color: var(--ink-2); }
.msg { padding-left: 14px; border-left: 4px solid var(--shu); }
.flow { display: flex; flex-direction: column; gap: 16px; }
.flow li { display: flex; gap: 14px; align-items: flex-start; }
.no { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---- 実績 ---- */
.count-h { display: flex; flex-direction: column; }
.count-h > span:first-child { font-weight: 700; font-size: 1.25rem; }
.big-n { font-size: 2.5rem; line-height: 1.3; }
.big-n b { color: var(--shu); font-variant-numeric: tabular-nums; }
.cities { font-size: 1rem; line-height: 1.7; }
.v-s .cities { font-size: 1.125rem; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bars li { display: grid; grid-template-columns: 6em minmax(0, 1fr) 3.6em; gap: 10px; align-items: center; font-size: 1rem; }
.bar { height: 12px; border-radius: 6px; background: var(--land-off); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 6px; }
.bv { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.map { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--sea); }
.m-map { display: block; width: 100%; height: auto; font-family: var(--f-body); }
.m-sea { fill: var(--sea); }
.m-city { fill: var(--land-off); stroke: var(--edge); stroke-width: 2.4; stroke-linejoin: round; }
.m-city.m-on { fill: var(--land); }
.m-city.m-st { fill: var(--land-st); }
.m-pref-halo { fill: none; stroke: var(--paper); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.m-pref { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-dasharray: 14 8; stroke-linecap: round; stroke-linejoin: round; }
.m-t { fill: var(--shu); fill-opacity: .8; stroke: var(--paper); stroke-width: 2.5; cursor: pointer; transition: fill-opacity .15s; }
.m-t:hover { fill-opacity: 1; }
.m-t.m-sel { fill-opacity: 1; stroke: var(--ink); stroke-width: 5; }
.m-cl { font-size: 30px; font-weight: 700; fill: var(--ink-2); paint-order: stroke; stroke: var(--land); stroke-width: 6px; pointer-events: none; }
.m-cn { font-size: 28px; font-weight: 700; fill: var(--ink); }
.m-pl { font-family: var(--f-disp); font-size: 36px; font-weight: 900; letter-spacing: .3em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 7px; pointer-events: none; }
.m-office rect { fill: var(--ink); stroke: var(--paper); stroke-width: 3; }
.m-office text { font-size: 28px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.m-pick { font-family: var(--f-disp); font-size: 36px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 8px; pointer-events: none; }
figcaption { font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.v-s figcaption { font-size: 1.0625rem; }
.v-s .outside { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; margin-bottom: 4px; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; border-radius: 50%; background: var(--shu); opacity: .85; }
.dia { width: 11px; height: 11px; background: var(--ink); transform: rotate(45deg); display: inline-block; margin: 0 2px; }
.pline { display: inline-block; width: 28px; border-top: 3px dashed var(--ink); }
.pickbox { display: flex; flex-direction: column; gap: 10px; }
.pickbox label { font-weight: 700; }
.result { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 1.0625rem; line-height: 1.6; }
.v-s .result { font-size: 1.125rem; }
.bg-card .result { background: var(--paper); }
.result b { font-family: var(--f-disp); font-size: 1.8em; line-height: 1.2; color: var(--shu); font-variant-numeric: tabular-nums; margin: 0 4px; white-space: nowrap; }
.result .bd { display: block; font-size: .9rem; color: var(--ink-2); margin-top: 6px; line-height: 1.7; }

/* ---- 通常版 ---- */
.hero-n { background: var(--ink); padding: 32px 0 36px; }
/* 「東大和・武蔵村山・立川の」（12文字）が、狭いスマホでも1行に収まる大きさにする */
.hero-n h1 { font-size: min(1.75rem, calc((100vw - 44px) / 12)); color: #fff; }
.hero-n .lead { color: var(--band); font-size: 1.0625rem; line-height: 1.7; }
.hero-copy { display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--paper); border-radius: 16px; padding: 20px; }
.stepno { font-size: .9375rem; font-weight: 700; color: var(--shu); }
.prog { height: 8px; border-radius: 4px; background: #E3DED4; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--ink); }
.step { display: flex; flex-direction: column; gap: 16px; }
.step + .step { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--line); }
.step-h { font-size: 1.5rem; }
.step-h:focus { outline: none; }
.nav { flex-direction: column; gap: 10px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.two:has(> [hidden]) { grid-template-columns: minmax(0, 1fr); }
.cases { display: flex; flex-direction: column; gap: 10px; }
/* 枠のどこを押しても開くように、余白は summary 側に持たせる */
.cases details, .faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 0; }
.faq details { background: var(--paper); }
.cases summary, .faq summary { font-weight: 700; cursor: pointer; min-height: 48px; padding: 12px 16px; }
.cases p, .faq p { margin-top: -4px; padding: 0 16px 14px; font-size: .95em; color: var(--ink-2); }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.sample { display: block; border: 1px solid var(--line); border-radius: 12px; }
.cards { display: flex; flex-direction: column; gap: 12px; }
.cards li { padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cards li b { font-weight: 700; }
.cards li span { font-size: .9em; color: var(--ink-2); }
.daihyo-s { padding: 32px 0; }
.row { flex-direction: row; align-items: center; gap: 16px; }
.face { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--band); }
.daihyo-s .daihyo-name { font-size: 1.125rem; }
.souba { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.souba-t { font-size: 1rem; color: var(--ink-2); }
.souba-n { font-family: var(--f-disp); font-weight: 900; font-size: 1.125rem; }
.souba-n b { font-size: 1.75em; }

/* JS が動くときは、ステップを1つずつ見せる */
.js .sform[data-step] .step { display: none; }
.js .sform[data-step="1"] .step-1, .js .sform[data-step="2"] .step-2, .js .sform[data-step="3"] .step-3 { display: flex; }
.js .sform[data-step] .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
/* 2・3ステップ目は入力に集中できるよう、ほかの欄を隠す */
body.focus main > section:not(.hero-n), body.focus .ft, body.focus .sticky, body.focus .hero-copy { display: none; }
body.focus .hero-n { background: var(--paper); padding-top: 24px; }
body.focus .card { padding: 0; background: none; }

/* ---- フォーム ---- */
.sform { display: flex; flex-direction: column; gap: 20px; }
.fld { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fld > label, .fld > legend { font-weight: 700; padding: 0; }
.fld > legend { margin-bottom: 8px; }
.opt-note { font-weight: 400; font-size: .9375rem; color: var(--ink-2); }
input[type="text"], input[type="tel"], input[type="email"], select {
  width: 100%; min-height: 56px; padding: 0 14px; border: 2px solid var(--field); border-radius: 12px; background: #fff;
  color: var(--ink); font: inherit; font-size: 1.125rem; -webkit-appearance: none; appearance: none;
}
.v-s input[type="text"], .v-s input[type="tel"] { font-size: 1.25rem; }
select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%231B2A41' stroke-width='2.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
#town-pick { border-color: var(--ink); background-color: var(--card); }
input::placeholder { color: #6B7079; }
input:focus, select:focus { border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--err) !important; background-color: var(--err-bg) !important; }
.err { color: var(--err); font-weight: 700; font-size: .9375rem; line-height: 1.6; }
.err::before { content: "！ "; }
.errsum { background: var(--err-bg); border: 2px solid var(--err); border-radius: 12px; padding: 12px 16px; color: var(--err); font-weight: 700; line-height: 1.6; }
.errsum:focus { outline: none; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opts-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { min-height: 52px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 10px; line-height: 1.4; cursor: pointer; font-weight: 400; }
.opt:has(input:checked) { border-color: var(--ink); background: #F4EFE4; font-weight: 700; }
.opt input { flex: none; margin: 0; width: 20px; height: 20px; accent-color: var(--shu); }
.opts-big .opt { min-height: 58px; border-color: var(--ink); background: var(--paper); font-size: 1.25rem; }
.opts-big .opt input { width: 24px; height: 24px; }
/* 3つ並びはボタンの形（選ぶと紺色）。ラジオの丸は見えないだけで、キーボードでも選べる */
.tog { position: relative; display: flex; cursor: pointer; }
.tog input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tog span { flex: 1; min-height: 52px; padding: 8px 4px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.3; }
.tog input:checked + span { background: var(--ink); color: #fff; }
.tog input:focus-visible + span { outline: 3px solid var(--shu); outline-offset: 2px; }
.opts-2 .opt { font-size: 1rem; padding: 6px 12px; }
[data-kinds][hidden], span[data-kinds][hidden] { display: none !important; }

/* ---- フッター・下の固定ボタン ---- */
.ft { background: var(--green); color: #E3DED4; padding: 32px 0 calc(110px + env(safe-area-inset-bottom, 0px)); font-size: .9375rem; line-height: 1.7; }
.v-s .ft { font-size: 1rem; }
.ft .in { gap: 8px; }
.ft a { color: #fff; }
.ft p a { padding: 10px 0; }
.ft-logo { margin: 0 0 6px; }
.ft-logo img { display: block; width: 260px; max-width: 100%; height: auto; }
.ft-name { color: #fff; font-weight: 700; font-size: 1rem; }
.v-s .ft-name { font-size: 1.0625rem; }
.ft-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.ft-links a { padding: 10px 0; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 12px max(14px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); background: var(--paper); border-top: 1px solid var(--line); transition: transform .2s; }
.sticky .btn { min-height: 56px; padding: 8px; font-size: 16px; white-space: nowrap; }
.v-s .sticky .btn { font-size: 19px; }
.sticky-wide { flex: 2; }
.sticky .btn-dark { flex: 1; }
.v-s .sticky .btn { flex: 1; }
.sticky.off { transform: translateY(110%); }
@media (min-width: 720px) {
  .sticky { justify-content: center; }
  .sticky .btn { max-width: 20rem; }
}

/* ---- パソコン（マウス操作）のとき：電話ボタンは押せないので、番号を見せる ---- */
.pc-only { display: none; }
@media (hover: hover) and (pointer: fine) {
  .sp-only { display: none; }
  .pc-only { display: inline; }
  .hd-tel { width: auto; padding: 0 16px; gap: 8px; text-decoration: none; font-family: var(--f-disp); font-weight: 900; font-size: 20px; letter-spacing: .02em; white-space: nowrap; }
  .sticky .btn-dark .pc-only { font-family: var(--f-disp); font-weight: 900; font-size: 1.1875rem; letter-spacing: .02em; }
  /* パソコンで押すと「アプリを選ぶ」画面が出て、電話の成果も誤って数えてしまうため、押せないようにする */
  a[href^="tel:"] { pointer-events: none; cursor: default; }
}

/* ---- 完了ページ ---- */
.done .sec .in { gap: 18px; }
.done h1 { font-size: 1.6875rem; }
.done .ft { padding-bottom: 40px; }
.nw { white-space: nowrap; }
.done-ic { width: 64px; height: 64px; color: var(--shu); }
