h3 i[data-i]::before { content: attr(data-i); }
/* マンションカルテ v3 — layout: 白地のレポート型。最上部に「売る（仲介）／売る（買取）／貸す」の3列の価格ボード、すぐ下に査定の入口と会社の信頼情報。
   根拠（地図・相場・診断・建物・周辺）は白とごく薄い灰色の帯で区切る。3つの選択肢は緑・橙・青で全ページ通して同じ色 */
:root {
  --bg: #ffffff; --band: #f5f7fa; --ink: #1b2430; --muted: #5c6676; --line: #e3e7ee;
  --navy: #14256f; --navy-soft: #eef1fa;
  --sell: #0b8a5f; --sell-soft: #e6f5ee; --buy: #dc6a17; --buy-soft: #fdf0e5; --rent: #1c72bd; --rent-soft: #e8f1fa;
  --up: #d23f2a; --warn: #a87400; --warn-soft: #fbf4df; --stamp: #c8352a;
  --font-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-num: "Roboto Condensed", "BIZ UDPGothic", "Meiryo", sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #10151f; --band: #161d2a; --ink: #e7eaf1; --muted: #a4adbf; --line: #2a3344; --navy: #9fb0ff; --navy-soft: #1c2440;
  --sell: #4cc995; --sell-soft: #13302a; --buy: #ff9d5a; --buy-soft: #3a2616; --rent: #6bb2f0; --rent-soft: #172a40;
  --up: #ff8a72; --warn: #e8c060; --warn-soft: #33290f; --stamp: #ff7a6b; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #10151f; --band: #161d2a; --ink: #e7eaf1; --muted: #a4adbf; --line: #2a3344; --navy: #9fb0ff; --navy-soft: #1c2440;
  --sell: #4cc995; --sell-soft: #13302a; --buy: #ff9d5a; --buy-soft: #3a2616; --rent: #6bb2f0; --rent-soft: #172a40;
  --up: #ff8a72; --warn: #e8c060; --warn-soft: #33290f; --stamp: #ff7a6b; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.85; padding-bottom: 70px; }
a { color: var(--rent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--buy); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.4; text-wrap: balance; margin: 0; font-weight: 900; }
h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { background: var(--band); }
.sec { padding-block: 48px; }
.sec .wrap { display: grid; gap: 20px; }
.hd { display: grid; gap: 4px; }
.hd .ey { font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .12em; }
.lead { font-size: .98rem; max-width: 48em; }
.note { font-size: .78rem; color: var(--muted); }
.mark { background: linear-gradient(transparent 62%, var(--warn-soft) 62%); font-weight: 700; }

/* ヘッダー */
header.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
header.top .wrap { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.logo { text-decoration: none; color: var(--ink); display: grid; line-height: 1.2; margin-right: auto; }
.logo b { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--navy); }
.logo small { font-size: .68rem; color: var(--muted); }
.hd-tel { display: grid; text-align: right; line-height: 1.2; font-size: .68rem; color: var(--muted); }
.hd-tel b { font-family: var(--font-num); font-size: 1.3rem; color: var(--ink); }
.hd-btn { background: var(--buy); color: #fff; text-decoration: none; font-weight: 700; padding: 9px 16px; border-radius: 8px; font-size: .9rem; white-space: nowrap; }
@media (max-width: 640px) { .hd-tel { display: none; } }
.mock { background: var(--warn-soft); font-size: .78rem; text-align: center; padding-block: 4px; }

/* 1. 先頭 */
.hero { padding-block: 18px 34px; }
.hero .wrap { display: grid; gap: 18px; }
.crumb { font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumb a { color: var(--muted); }
.title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: end; }
@media (max-width: 760px) { .title { grid-template-columns: minmax(0, 1fr); } }
.title h1 { font-size: clamp(1.55rem, 4.2vw, 2.35rem); }
.title h1 em { font-style: normal; display: block; font-size: .5em; font-weight: 700; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.facts li { border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; font-size: .82rem; background: var(--bg); }
.updated { font-size: .78rem; color: var(--muted); text-align: right; }

.board { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(20,37,111,.08); background: var(--bg); }
.board-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; padding: 14px 18px; background: var(--navy); color: #fff; }
@media (max-width: 760px) { .board-top { grid-template-columns: minmax(0, 1fr); } }
.board-top label { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.area-in { display: flex; align-items: center; gap: 10px; }
.area-in input[type=number] { width: 92px; font: inherit; font-family: var(--font-num); font-size: 1.5rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; border: 0; background: #fff; color: #14256f; }
.area-in span { font-weight: 700; }
.area-in input[type=range] { flex: 1; min-width: 0; accent-color: #ffb27a; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: inherit; font-size: .78rem; border-radius: 999px; padding: 3px 10px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; }
.chips button[aria-pressed="true"] { background: #fff; color: #14256f; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.col { padding: 18px 20px 20px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); }
.col:last-child { border-right: 0; }
@media (max-width: 760px) { .col { border-right: 0; border-bottom: 1px solid var(--line); } .col:last-child { border-bottom: 0; } }
.col .lbl { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.col .lbl b { font-family: var(--font-display); font-size: 1.05rem; }
.col .pill { font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: #fff; }
.col.s .lbl b { color: var(--sell); } .col.s .pill { background: var(--sell); }
.col.b .lbl b { color: var(--buy); } .col.b .pill { background: var(--buy); }
.col.r .lbl b { color: var(--rent); } .col.r .pill { background: var(--rent); }
.col .big { font-family: var(--font-num); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.2rem); line-height: 1.15; }
.col .big small { font-family: var(--font-body); font-size: .9rem; font-weight: 700; margin-left: 2px; }
.col .sub { font-size: .82rem; color: var(--muted); }
.col .sub b { color: var(--ink); }
.trend { display: inline-flex; gap: 4px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--up); }
.col ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: .84rem; }
.col li::before { content: "・"; color: var(--muted); }
.col.s { background: linear-gradient(var(--sell-soft), var(--bg) 70%); }
.col.b { background: linear-gradient(var(--buy-soft), var(--bg) 70%); }
.col.r { background: linear-gradient(var(--rent-soft), var(--bg) 70%); }
.board-go { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--band); align-items: center; }
@media (max-width: 640px) { .board-go { grid-template-columns: minmax(0, 1fr); } }
.board-go label { display: grid; gap: 2px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.board-go input { font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; padding: 13px 22px; cursor: pointer; text-align: center; }
.btn-o { background: var(--buy); color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.16); }
.btn-o:hover { filter: brightness(1.06); }
.btn-g { background: var(--sell); color: #fff; } .btn-b { background: var(--rent); color: #fff; }
.trust { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 0; font-size: .76rem; color: var(--muted); }
.trust b { font-size: .95rem; color: var(--ink); font-family: var(--font-display); }
.trust b.num { font-family: var(--font-num); font-size: 1.25rem; }

/* 比較表 */
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: .78rem; color: var(--muted); font-weight: 700; background: var(--band); white-space: nowrap; }
td.r, th.r { text-align: right; white-space: nowrap; }
table.cmp th.s { color: var(--sell); } table.cmp th.b { color: var(--buy); } table.cmp th.rr { color: var(--rent); }
table.cmp td:first-child { font-weight: 700; white-space: nowrap; color: var(--muted); font-size: .82rem; }
table.cmp td { min-width: 150px; }
tr.hl td { background: var(--navy-soft); font-weight: 700; }
.k { font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 4px; white-space: nowrap; }
.k.s { background: var(--sell-soft); color: var(--sell); } .k.t { border: 1px solid var(--line); color: var(--muted); }

/* 地図 */
.map { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 860px) { .map { grid-template-columns: minmax(0, 1fr); } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tabs button { font: inherit; font-size: .84rem; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.stage { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 960 / 560; max-width: 100%; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; transform: translate(-50%, -100%); display: grid; justify-items: center; pointer-events: none; }
.pin b { background: var(--buy); color: #fff; font-size: .74rem; padding: 2px 8px; border-radius: 6px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.pin i { width: 14px; height: 14px; background: var(--buy); border: 3px solid #fff; border-radius: 50%; margin-top: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.4); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220,106,23,.6); } 100% { box-shadow: 0 0 0 16px rgba(220,106,23,0); } }
@media (prefers-reduced-motion: reduce) { .pin i { animation: none; } }
.spin { position: absolute; transform: translate(-50%, -50%); font-size: .68rem; font-weight: 700; background: rgba(255,255,255,.92); color: #14256f; border: 1px solid #14256f; border-radius: 4px; padding: 0 5px; white-space: nowrap; pointer-events: none; }
.legend-hz { display: none; gap: 4px; flex-wrap: wrap; font-size: .72rem; margin-top: 8px; color: var(--muted); }
.legend-hz.on { display: flex; }
.legend-hz span { display: inline-flex; align-items: center; gap: 4px; }
.legend-hz i { width: 14px; height: 10px; display: inline-block; border: 1px solid rgba(0,0,0,.15); }
.side-list { display: grid; gap: 10px; }
.stl { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.stl li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; font-size: .88rem; border-bottom: 1px solid var(--line); padding-block: 7px; }
.stl small { display: block; color: var(--muted); font-size: .72rem; }
.hzbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hzbox div { border-radius: 8px; padding: 8px 10px; font-size: .78rem; display: grid; background: var(--band); }
.hzbox b { font-size: .92rem; }
.hzbox .ok b { color: var(--sell); } .hzbox .ng b { color: var(--up); }

/* グラフ */
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); }
.chart .ax { fill: var(--muted); font-size: 12px; font-family: var(--font-num); }
.chart .l-kita { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 4; }
.chart .l-era { stroke: var(--navy); stroke-width: 3; }
.chart .p-f { fill: var(--sell); stroke: var(--bg); stroke-width: 2; }
.chart .p-c { fill: var(--buy); stroke: var(--bg); stroke-width: 2; }
.chart .lb-k { fill: var(--muted); font-size: 12px; }
.chart .lb-e { fill: var(--navy); font-size: 12px; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 5px; }
.legend i.ln { width: 18px; height: 3px; border-radius: 0; vertical-align: middle; }
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { font: inherit; font-size: .8rem; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.scroll { max-height: 430px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.scroll th { position: sticky; top: 0; }

/* 診断書 */
.karte { border: 2px solid var(--ink); border-radius: 4px; padding: 22px; display: grid; gap: 16px; position: relative; background: var(--bg); }
.karte-hd { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.karte-hd b { font-family: var(--font-display); font-weight: 900; letter-spacing: .3em; font-size: 1.25rem; }
.meter { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; }
@media (max-width: 600px) { .meter { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }
.gauge .bg { stroke: var(--line); } .gauge .fg { stroke: var(--sell); }
.gauge .needle { stroke: var(--ink); stroke-width: 3; transform-origin: 100px 100px; animation: swing 1.4s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes swing { from { transform: rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .gauge .needle { animation: none; } }
.gauge text { fill: var(--muted); font-size: 11px; }
.verdict { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--sell); }
.findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .findings { grid-template-columns: minmax(0, 1fr); } }
.findings li { border-left: 4px solid var(--sell); background: var(--band); padding: 10px 12px; font-size: .88rem; display: grid; }
.findings li.w { border-left-color: var(--warn); background: var(--warn-soft); }
.findings b { font-size: .8rem; }
.up { color: var(--up); }
.rx { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; background: var(--sell-soft); padding: 12px 14px; border-radius: 6px; font-size: .92rem; }
.rx b { font-family: var(--font-display); color: var(--sell); font-size: 1.1rem; }
.stamp { position: absolute; right: 22px; top: 62px; width: 82px; height: 82px; border: 3px solid var(--stamp); color: var(--stamp); border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: .68rem; line-height: 1.25; transform: rotate(-12deg); opacity: .85; animation: stampin .5s .9s both; }
@keyframes stampin { from { transform: rotate(-12deg) scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stamp { animation: none; } }
@media (max-width: 720px) { .stamp { display: none; } }

/* 建物・周辺 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; align-content: start; background: var(--bg); min-width: 0; }
.card h3 { display: flex; gap: 8px; align-items: center; }
.card h3 i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-size: .78rem; font-weight: 900; }
dl.spec { display: grid; grid-template-columns: 110px minmax(0, 1fr); margin: 0; }
dl.spec dt, dl.spec dd { margin: 0; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
dl.spec dt { color: var(--muted); font-size: .8rem; font-weight: 700; }
.alert { border: 1px solid var(--warn); background: var(--warn-soft); border-radius: 12px; padding: 16px; display: grid; gap: 8px; }
.alert h3 { color: var(--warn); }
.alert ul { margin: 0; padding-left: 1.1em; font-size: .9rem; }
.popbar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 74px; gap: 6px; align-items: center; font-size: .76rem; }
.popbar .tr { height: 12px; background: var(--band); border-radius: 3px; overflow: hidden; }
.popbar .a { height: 100%; background: var(--line); } .popbar .b { height: 100%; background: var(--sell); }
.cards ul { margin: 0; padding-left: 1.1em; font-size: .88rem; }

/* 会社 */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .company { grid-template-columns: minmax(0, 1fr); } }
.promise { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: p; }
.promise li { counter-increment: p; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.promise li::before { content: counter(p); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-num); font-weight: 700; font-size: 1.1rem; }
.promise b { display: block; font-family: var(--font-display); }
.promise span { font-size: .88rem; color: var(--muted); }
.person { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .78rem; text-align: center; line-height: 1.25; }
.person p { font-size: .9rem; margin-bottom: 6px; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: f; }
@media (max-width: 760px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.flow li { counter-increment: f; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: .84rem; display: grid; gap: 2px; }
.flow li::before { content: "STEP " counter(f); font-family: var(--font-num); font-weight: 700; color: var(--buy); font-size: .8rem; }

/* フォーム */
.formbox { border: 2px solid var(--navy); border-radius: 16px; padding: 22px; display: grid; gap: 16px; background: var(--bg); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }
.form label, .form fieldset { display: grid; gap: 4px; font-size: .84rem; font-weight: 700; min-width: 0; }
.form fieldset { border: 0; padding: 0; margin: 0; grid-column: 1 / -1; }
.form legend { padding: 0; margin-bottom: 6px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.req { font-size: .66rem; color: #fff; background: var(--up); border-radius: 3px; padding: 0 5px; margin-left: 4px; vertical-align: 1px; }
.choice { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 760px) { .choice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.choice label { border: 2px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; font-weight: 400; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; align-items: start; }
.choice input { width: auto; margin-top: 6px; }
.choice b { display: block; font-size: .9rem; }
.choice small { color: var(--muted); font-size: .72rem; }
.choice label:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.estline { background: var(--band); border-radius: 8px; padding: 8px 12px; font-size: .86rem; }
.sent { background: var(--sell-soft); border-radius: 8px; padding: 12px 14px; }
.alt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .alt { grid-template-columns: minmax(0, 1fr); } }
.alt div { background: var(--band); border-radius: 10px; padding: 12px 14px; display: grid; font-size: .82rem; }
.alt b { font-family: var(--font-num); font-size: 1.45rem; color: var(--navy); user-select: all; }
details { border-bottom: 1px solid var(--line); padding-block: 12px; }
summary { font-weight: 700; cursor: pointer; font-family: var(--font-display); }
details p { margin-top: 8px; font-size: .93rem; }
footer { background: #0e1a52; color: #dfe4f5; font-size: .78rem; }
footer .wrap { padding-block: 28px 30px; display: grid; gap: 6px; }
footer b { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bg); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.dock .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; padding-block: 8px; }
.dock .btn { padding: 10px; font-size: .9rem; }
@media (min-width: 861px) { .dock { display: none; } body { padding-bottom: 0; } }
.dock .tel { background: var(--navy-soft); color: var(--navy); display: grid; line-height: 1.2; white-space: nowrap; font-family: var(--font-num); font-weight: 700; }
.dock .tel small { font-size: .68rem; font-family: var(--font-body); }
.reveal { animation: up .6s ease-out both; }
@keyframes up { from { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }

/* ---- 4案に共通の追加 ---- */
.hd .en { display: none; }
.chal { font-size: .84rem; background: var(--bg); border: 1px dashed var(--sell); border-radius: 8px; padding: 4px 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; color: var(--ink); }
.chal b { color: var(--sell); font-size: 1.05rem; }
.chal b.num { font-size: 1.25rem; }
.chal small { color: var(--muted); font-size: .72rem; }
table .chal { display: inline-flex; margin-top: 4px; }
.trend.tb { color: var(--buy); } .trend.tr { color: var(--rent); }
.facts-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.skip { position: absolute; left: -999px; }
.navband a { text-decoration: none; }

/* 比較：手に入るお金の帯グラフ */
.money { border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 10px; display: grid; gap: 14px; background: var(--bg); }
.mrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px; gap: 12px; align-items: center; }
@media (max-width: 640px) { .mrow { grid-template-columns: 76px minmax(0, 1fr); } .mrow .mval { grid-column: 2; } }
.mlab { font-weight: 700; font-size: .88rem; }
.mrow.b .mlab { color: var(--buy); } .mrow.s .mlab { color: var(--sell); } .mrow.r .mlab { color: var(--rent); }
.mtrack { position: relative; height: 26px; background: var(--band); border-radius: 6px; }
.mbar { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.mrow.b .mbar { background: var(--buy); } .mrow.s .mbar { background: var(--sell); } .mrow.r .mbar { background: repeating-linear-gradient(45deg, var(--rent), var(--rent) 6px, color-mix(in srgb, var(--rent) 70%, #fff) 6px, color-mix(in srgb, var(--rent) 70%, #fff) 12px); }
.mch { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px dashed var(--sell); }
.mch em { position: absolute; right: 4px; top: -16px; font-style: normal; font-size: .7rem; font-weight: 700; color: var(--sell); white-space: nowrap; }
.mval { font-weight: 700; font-size: 1rem; }
.mval small { display: block; font-size: .72rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.mscale { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-left: 108px; margin-right: 162px; }
@media (max-width: 640px) { .mscale { margin-left: 88px; margin-right: 0; } }
/* 比較：3枚のカード */
.ways3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .ways3 { grid-template-columns: minmax(0, 1fr); } }
.w3 { border: 2px solid; border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto auto auto 1fr auto auto; background: var(--bg); }
.w3.b { border-color: var(--buy); } .w3.s { border-color: var(--sell); } .w3.r { border-color: var(--rent); }
.w3 header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; color: #fff; }
.w3.b header { background: var(--buy); } .w3.s header { background: var(--sell); } .w3.r header { background: var(--rent); }
.w3 header b { font-family: var(--font-display); font-size: 1.15rem; }
.w3 header span { font-size: .74rem; font-weight: 700; background: rgba(255,255,255,.22); border-radius: 999px; padding: 1px 10px; }
.w3m { font-weight: 700; font-size: 1.55rem; padding: 12px 16px 4px; }
.w3.b .w3m { color: var(--buy); } .w3.s .w3m { color: var(--sell); } .w3.r .w3m { color: var(--rent); }
.rate { margin: 0; padding: 6px 16px 10px; list-style: none; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.rate li { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--line); }
.w3.b .dots i.on { background: var(--buy); } .w3.s .dots i.on { background: var(--sell); } .w3.r .dots i.on { background: var(--rent); }
.w3 dl { margin: 0; padding: 8px 16px; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 8px; font-size: .84rem; align-content: start; }
.w3 dt { color: var(--muted); font-weight: 700; font-size: .78rem; }
.w3 dd { margin: 0; }
.w3 .fit { margin: 0 16px; background: var(--band); border-radius: 8px; padding: 8px 10px; font-size: .82rem; }
.w3 .fit b { display: block; font-size: .74rem; color: var(--muted); }
.w3 .btn { margin: 12px 16px 16px; color: #fff; }
.w3.b .btn { background: var(--buy); } .w3.s .btn { background: var(--sell); } .w3.r .btn { background: var(--rent); }
.more summary { color: var(--muted); font-size: .9rem; }
.more .tbl { margin-top: 10px; }
/* 会社の写真 */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery figure { margin: 0; display: grid; gap: 6px; }
.gallery .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--band); }
.gallery .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .ph.slot { border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .85rem; }
.gallery figcaption { font-size: .8rem; color: var(--muted); }

/* ---- ミックス案に共通の部品（空き家パス由来：メダル・箱のキーワード・極太・大きな相談ボタン／倉庫マート由来：メニュー帯・線つき見出し） ---- */
.medal { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #1a1a1a; font-family: "Noto Serif JP", serif; font-weight: 900; line-height: 1.15;
  background: radial-gradient(circle at 50% 45%, #fffef6 0 58%, #f3e3a1 59% 61%, #d7b45a 62% 64%, #fff3c4 65% 67%, #b88a2c 68% 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,.28); position: relative; flex: none; }
.medal::before { content: "♛"; position: absolute; top: 12px; font-size: .95rem; color: #c9a243; left: 50%; transform: translateX(-50%); }
.medal span { font-size: .8rem; display: block; } .medal b { display: block; font-size: 2.1rem; font-family: "Roboto", serif; }
.medal b small { font-size: .8rem; }
.medal .tiny { font-size: .6rem; }
@media (max-width: 640px) { .medal { width: 100px; height: 100px; } .medal b { font-size: 1.35rem; } .medal span { font-size: .62rem; } .medal::before { top: 5px; font-size: .7rem; } }
.kw { display: flex; flex-wrap: wrap; gap: 6px; border: 1px solid currentColor; padding: 6px; margin: 0; width: fit-content; max-width: 100%; }
.kw span { font-weight: 800; font-size: 1.15rem; }
.kw span.k { background: #22275f; color: #fff; padding: 0 8px; }
.yl { font-weight: 900; background: linear-gradient(transparent 58%, #f5c518 58%); padding-inline: 6px; justify-self: start; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 800; margin: 0; padding: 0; list-style: none; }
.checks li::before { content: "✓ "; }
.cta-strip { border-top: 3px solid #1d9a7f; background: #fff; }
.cta-strip .wrap { display: grid; justify-items: center; gap: 10px; padding-block: 14px 20px; }
.cta-strip .lead2 { color: #1d9a7f; font-weight: 800; font-size: 1.15rem; text-align: center; }
.bigbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); gap: 36px; }
@media (max-width: 640px) { .bigbtns { grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; } }
.bigbtns a { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #888; border-radius: 6px; box-shadow: 4px 4px 0 #9a9a9a; padding: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; line-height: 1.2; background: #fff; }
.bigbtns a small { display: block; font-size: .78rem; }
.bigbtns .tel { color: #d64545; } .bigbtns .web { color: #2a78b9; }
.bigbtns a:hover { transform: translate(1px, 1px); box-shadow: 3px 3px 0 #9a9a9a; }
.navband { background: #1b2a8c; box-shadow: 0 3px 6px rgba(0,0,0,.15); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.navband .wrap { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding-inline: 0; }
.navband a { color: #fff; font-weight: 700; font-size: .88rem; text-align: center; padding-block: 13px; border-left: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
.navband a:last-child { border-right: 1px solid rgba(255,255,255,.18); }
@media (max-width: 760px) { .navband .wrap { display: flex; overflow-x: auto; } .navband a { padding-inline: 14px; } }
.dock { border-top: 3px solid #1d9a7f; }
.dock .btn-o { background: #d64545; }
/* ==== C'案：半々。倉庫マートのヘッダーとメニュー帯、全面の航空写真に斜めに切った白い板（空き家パスの極太・箱のキーワード）、右にメダル。見出しは線＋黄色マーカー ==== */
:root { --bg: #ffffff; --band: #f6f7f9; --navy: #1f2a7a; --navy-soft: #eceef8;
  --font-display: "M PLUS Rounded 1c", "Meiryo", sans-serif; --font-body: "BIZ UDPGothic", "Meiryo", sans-serif; --font-num: "Roboto", "Meiryo", sans-serif; }
.sec.band { background: #fffdf0; }
.a-head { background: #fff; } .a-head .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
.a-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.a-logo b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #1f2a7a; line-height: 1.05; }
.a-logo b small { display: block; font-family: var(--font-num); font-size: .62rem; letter-spacing: .14em; color: #2a78b9; }
.a-right { display: flex; align-items: center; gap: 14px; }
.a-tel { font-family: var(--font-num); font-weight: 700; font-size: 1.6rem; color: #1f2a7a; line-height: 1.1; text-align: right; }
.a-tel small { display: block; font-size: .7rem; color: #444; font-family: var(--font-body); }
.a-btn { background: #d64545; color: #fff; text-decoration: none; font-weight: 800; padding: 12px 18px; border-radius: 6px; box-shadow: 3px 3px 0 rgba(0,0,0,.2); }
@media (max-width: 760px) { .a-tel { display: none; } .a-logo b { font-size: 1.25rem; } }
.y-hero { position: relative; overflow: hidden; min-height: 540px; display: grid; }
.y-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.y-panel { position: relative; z-index: 2; width: min(640px, 62%); background: rgba(255,255,255,.95); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  padding: 30px 90px 34px max(24px, calc((100vw - 1100px) / 2 + 16px)); display: grid; gap: 14px; align-content: center; color: #1f2a7a; }
@media (max-width: 860px) { .y-panel { width: 100%; clip-path: none; padding: 24px 16px; } }
.y-panel .yl { color: #1f2a7a; font-size: 1.25rem; font-family: var(--font-display); }
.y-panel .kw { color: #1f2a7a; font-family: var(--font-display); }
.y-big { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3.9vw, 3.1rem); line-height: 1.22; text-shadow: 3px 3px 0 rgba(31,42,122,.15); }
.y-panel .checks { font-family: var(--font-display); }
.y-medals { position: absolute; right: max(16px, calc((100vw - 1100px) / 2)); top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 10px; }
@media (max-width: 860px) { .y-medals { position: static; transform: none; display: flex; padding: 12px 16px; background: rgba(255,255,255,.9); z-index: 2; } }
.y-band { position: relative; z-index: 3; background: #2a78b9; color: #fff; }
.y-band .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-block: 12px; font-weight: 700; }
.y-band b { background: #1f2a7a; padding: 2px 10px; font-family: var(--font-display); font-size: 1.1rem; }
.y-band b em { font-style: normal; background: #fff; color: #1f2a7a; padding: 2px 8px; margin-left: 4px; }
.y-band b em i { font-style: normal; color: #c8325a; }
.cta-strip h1 { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: #1f2a7a; text-align: center; }
.board-top { background: #1f2a7a; }
.btn-o { background: #d64545; }
.y-board { background: var(--band); } .y-board .wrap { display: grid; gap: 16px; padding-block: 26px 30px; }
.hd { justify-items: center; text-align: center; }
.hd .ey { background: linear-gradient(transparent 55%, #f3ec68 55%); color: #1f2a7a; font-weight: 800; padding-inline: 6px; letter-spacing: .04em; }
.hd h2 { color: #1f2a7a; font-family: var(--font-display); font-weight: 900; display: grid; grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr); gap: 16px; align-items: center; width: 100%; }
.hd h2::before, .hd h2::after { content: ""; height: 5px; background: #e3e6ee; border-radius: 3px; }
.board, .w3, .card, .formbox, .karte { box-shadow: 4px 4px 0 rgba(0,0,0,.08); }

.y-name { display: block; font-size: .62em; line-height: 1.35; margin-bottom: 4px; border-bottom: 3px solid #1f2a7a; width: fit-content; max-width: 100%; }
/* ==== C'案＋先頭の写真（斜めから見た航空写真に建物を立体で立てる） ==== */
.y-photo { position: absolute; inset: 0; overflow: hidden; }
.y-photo .hv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.y-tag { position: absolute; z-index: 3; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.bub { background: #fff; color: #1f2a7a; border: 3px solid #1f2a7a; border-radius: 8px; padding: 4px 12px 5px; text-align: center; line-height: 1.3; box-shadow: 0 4px 12px rgba(0,0,0,.35); white-space: nowrap; }
.bub b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; }
.bub small { display: block; font-size: .72rem; color: #d64545; font-weight: 800; }
.stem { width: 3px; height: 26px; background: #fff; box-shadow: 0 0 0 1px #1f2a7a; }
@media (prefers-reduced-motion: no-preference) {
  .y-tag { animation: tagin .6s .25s cubic-bezier(.3,1.5,.5,1) both; }
  @keyframes tagin { from { opacity: 0; transform: translate(-50%, -80%); } to { opacity: 1; transform: translate(-50%, -100%); } }
}
.y-credit { position: absolute; right: 8px; bottom: 4px; z-index: 3; margin: 0; font-size: .62rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
/* PC：白い板の斜めの辺に沿って黄色の細い帯を入れ、写真との境目を締める */
@media (min-width: 861px) {
  .y-hero::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: calc(min(640px, 62%) + 16px); background: #f5c518; clip-path: polygon(0 0, 100% 0, calc(84% + 2px) 100%, 0 100%); }
  .y-panel { background: linear-gradient(105deg, #fff 55%, rgba(255,255,255,.93)); }
}
/* スマホ：見出し → 写真 → メダルの順。白い板の下を斜めに切り、写真を下に潜り込ませる。境目に黄色の帯、写真の上部に影 */
@media (max-width: 860px) {
  .y-hero { min-height: 0; background: #fff; }
  .y-panel { z-index: 2; padding: 22px 16px 58px; background: linear-gradient(180deg, #fff 0%, #f3f5fb 100%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%); gap: 12px; }
  .y-photo { position: relative; inset: auto; height: 300px; order: 1; margin-top: -48px; z-index: 1; }
  .y-photo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 60px; z-index: 2; background: #f5c518; clip-path: polygon(0 48px, 100% 2px, 100% 10px, 0 56px); }
  .y-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(31,42,122,.38) 0, rgba(31,42,122,0) 34%), linear-gradient(0deg, rgba(10,16,40,.45) 0, rgba(10,16,40,0) 30%); }
  .y-medals { order: 2; position: relative; inset: auto; transform: none; z-index: 3; margin-top: -58px; background: transparent; justify-content: center; gap: 10px; padding: 0 12px 6px; }
  .y-credit { order: 3; position: static; padding: 0 12px 10px; text-align: right; color: #6b7280; text-shadow: none; font-size: .6rem; background: #fff; }
  .bub b { font-size: .92rem; }
}

/* ==== 会社紹介（圧倒的な信頼＋小さな会社の顔が見える） ==== */
.co5 .wrap { gap: 26px; }
.co5-lead { text-align: center; max-width: 46em; margin-inline: auto; font-size: 1rem; }
.co5-proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .co5-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.co5-proof li { background: #fff; border: 2px solid #1f2a7a; border-radius: 10px; padding: 14px 10px; text-align: center; display: grid; gap: 2px; box-shadow: 4px 4px 0 rgba(31,42,122,.12); }
.co5-proof span { font-size: .8rem; font-weight: 700; color: #1f2a7a; }
.co5-proof b { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: #1f2a7a; line-height: 1.2; }
.co5-proof b small { font-size: .9rem; } .co5-proof > li > small { font-size: .72rem; color: #5c6676; }
.co5-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; background: #fff; border: 1px solid #e3e6ee; border-radius: 12px; padding: 18px; }
@media (max-width: 760px) { .co5-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px; } }
.co5-logos figure { margin: 0; display: grid; gap: 6px; justify-items: center; text-align: center; }
.co5-logos .lg { height: 72px; display: grid; place-items: center; }
.co5-logos img { max-height: 72px; max-width: 100%; object-fit: contain; }
.co5-logos figcaption { font-size: .72rem; line-height: 1.4; color: #1b2430; font-weight: 700; }
.co5-logos .txt { width: 72px; height: 72px; border-radius: 50%; border: 3px solid #1f2a7a; color: #1f2a7a; display: grid; place-items: center; font-weight: 900; font-size: .78rem; line-height: 1.2; }
.co5-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.co5-gallery figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: #ddd; }
.co5-gallery figure.big { grid-row: span 2; }
.co5-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.co5-gallery figure.big img { aspect-ratio: auto; min-height: 100%; }
.co5-gallery .ph { position: relative; height: 100%; }
.co5-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; font-size: .76rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
@media (max-width: 760px) { .co5-gallery { grid-template-columns: 1fr 1fr; } .co5-gallery figure.big { grid-column: span 2; grid-row: auto; } .co5-gallery figure.big img { aspect-ratio: 4 / 3; } }
.co5-person { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; background: #fffdf0; border: 2px solid #f3e3a1; border-radius: 14px; padding: 22px; }
@media (max-width: 640px) { .co5-person { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: left; padding: 16px; } }
.co5-person .face img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); display: block; }
.co5-person .tag { display: inline-block; background: #d64545; color: #fff; font-weight: 800; font-size: .78rem; padding: 2px 10px; border-radius: 999px; }
.co5-person .nm { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: #1f2a7a; margin: 4px 0 6px; }
.co5-person .nm small { font-size: .8rem; color: #5c6676; margin-left: 10px; font-weight: 700; }
.co5-person .lic { margin: 0 0 10px; display: grid; gap: 2px; font-size: .84rem; }
.co5-person .lic div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px; border-bottom: 1px dashed #e3d9a8; padding-block: 3px; }
.co5-person .lic dt { font-weight: 800; color: #1f2a7a; } .co5-person .lic dd { margin: 0; }
.co5-person .msg { font-size: .95rem; background: #fff; border-radius: 10px; padding: 12px 14px; position: relative; }
.co5-home { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .co5-home { grid-template-columns: minmax(0, 1fr); } }
.co5-home li { border-top: 4px solid #1d9a7f; background: #fff; border-radius: 0 0 10px 10px; padding: 12px 14px; display: grid; gap: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.co5-home b { font-family: var(--font-display); color: #1d9a7f; font-size: 1.05rem; } .co5-home span { font-size: .86rem; }
.co5-rv { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .co5-rv { grid-template-columns: minmax(0, 1fr); } }
.co5-rv .sc { background: #1f2a7a; color: #fff; border-radius: 12px; padding: 16px; text-align: center; display: grid; gap: 2px; }
.co5-rv .n { font-family: var(--font-num); font-size: 2.6rem; font-weight: 900; line-height: 1; } .co5-rv .n small { font-size: 1rem; }
.co5-rv .st { color: #f5c518; font-size: 1.3rem; letter-spacing: .1em; }
.co5-rv .ls { display: grid; gap: 8px; }
.co5-rv blockquote { margin: 0; background: #fff; border: 1px solid #e3e6ee; border-left: 4px solid #f5c518; border-radius: 8px; padding: 10px 14px; }
.co5-rv blockquote p { font-size: .92rem; } .co5-rv cite { font-size: .74rem; color: #5c6676; font-style: normal; }
.co5-rv .note { grid-column: 1 / -1; }
.co5-tbl { width: 100%; border-collapse: collapse; font-size: .86rem; background: #fff; }
.co5-tbl th, .co5-tbl td { border: 1px solid #e3e6ee; padding: 7px 10px; text-align: left; vertical-align: top; }
.co5-tbl th { background: #eceef8; color: #1f2a7a; width: 8.5em; white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .co5-proof li, :root:not([data-theme="light"]) .co5-logos, :root:not([data-theme="light"]) .co5-home li, :root:not([data-theme="light"]) .co5-rv blockquote, :root:not([data-theme="light"]) .co5-tbl, :root:not([data-theme="light"]) .co5-person .msg, :root:not([data-theme="light"]) .co5-person .who { color: #1b2430; } }
.tmini { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; text-decoration: none; color: #1b2430; border: 1px solid #e3e6ee; border-radius: 999px; padding: 6px 18px 6px 6px; background: #fff; margin-top: 4px; }
.tmini .fc { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #f3e3a1; }
.tmini .who { display: grid; line-height: 1.35; } .tmini .who b { font-size: .88rem; color: #1f2a7a; } .tmini .who small { font-size: .7rem; color: #5c6676; }
.tmini .lgs { display: flex; gap: 10px; align-items: center; } .tmini .lgs img { height: 34px; width: auto; }
@media (max-width: 640px) { .tmini { border-radius: 14px; padding: 8px; } .tmini .who { flex: 1; min-width: 0; } }
.ib { display: inline-block; }
.a-tel { text-decoration: none; }
/* 小さいスマホ（〜400px）：ヘッダーを1行に収め、見出しを少し詰めて写真をファーストビューに入れる */
@media (max-width: 400px) {
  .a-head .wrap { flex-wrap: nowrap; gap: 8px; }
  .a-logo svg { width: 40px; height: 40px; } .a-logo b { font-size: 1.08rem; } .a-logo b small { font-size: .52rem; }
  .a-btn { padding: 9px 12px; font-size: .88rem; white-space: nowrap; }
}
@media (max-width: 860px) {
  .y-panel .yl { font-size: 1.05rem; }
  .y-panel .kw span { font-size: 1rem; }
  .y-big { font-size: clamp(1.75rem, 8.4vw, 2.3rem); }
  .y-panel .checks { font-size: .9rem; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .y-panel { padding-top: 16px; gap: 8px; }
  .y-photo { height: 250px; }
}
@media (max-width: 640px) { .medal b { font-size: 1.22rem; } .medal b small { font-size: .62rem; } }
h1, h2, h3, .lead2, .y-band span { word-break: auto-phrase; } .y-band b em { white-space: nowrap; display: inline-block; }
.cta-strip h1, .cta-strip .lead2 { word-break: keep-all; overflow-wrap: anywhere; }
/* 口コミ：右から左へ流れる帯。端は白くぼかす。触れている間・動きを減らす設定では止める */
.co5-rv { grid-template-columns: 200px minmax(0, 1fr); }
.rvm { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); min-width: 0; }
.rvtrack { list-style: none; margin: 0; padding: 6px 0 10px; display: flex; gap: 14px; width: max-content; animation: rvflow 38s linear infinite; }
.rvm:hover .rvtrack, .rvm:focus-within .rvtrack { animation-play-state: paused; }
@keyframes rvflow { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .rvtrack { animation: none; } .rvm { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } }
.rvc { width: 290px; flex: none; background: #fff; border: 1px solid #e3e6ee; border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 12px rgba(31,42,122,.08); display: grid; gap: 8px; align-content: start; color: #1b2430; }
.rvh { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-num); font-weight: 900; font-size: 1.1rem; color: #fff; }
.av0 { background: #2a78b9; } .av1 { background: #1d9a7f; } .av2 { background: #d68a2a; } .av3 { background: #8a5bd6; }
.rvn { display: grid; line-height: 1.3; } .rvn b { font-size: .88rem; } .rvn small { font-size: .68rem; color: #5c6676; }
.rvt { font-size: .68rem; font-weight: 800; color: #1f2a7a; background: #eceef8; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.rvc p { font-size: .9rem; line-height: 1.75; }
@media (max-width: 760px) { .co5-rv { grid-template-columns: minmax(0, 1fr); } .rvc { width: 250px; } }
.upd { font-size: .72rem; color: #5c6676; }
.rvh { grid-template-columns: 40px minmax(0, 1fr); }
.rvn b { white-space: nowrap; }
.rvt { justify-self: start; }
/* 指で押すボタンは高さ40px以上 */
@media (pointer: coarse), (max-width: 760px) {
  .chips button { min-height: 40px; padding: 6px 14px; font-size: .84rem; }
  .filters button { min-height: 40px; padding-inline: 14px; }
}
.nb { display: inline-block; }
.popbar { grid-template-columns: 58px minmax(0, 1fr) 80px; } .popbar > span:first-child { white-space: nowrap; }
@media (max-width: 640px) {
  .chart .ax { font-size: 22px; }
  .chart text[class^="lb"] { font-size: 22px; }
  /* 早見表：スマホでは広さごとのカードにする */
  .sizetbl { overflow: visible; }
  .sizetbl thead { display: none; }
  .sizetbl table, .sizetbl tbody { display: block; width: 100%; }
  .sizetbl tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 12px; border: 1px solid #e3e6ee; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }
  .sizetbl tr.hl { border: 2px solid #1f2a7a; }
  .sizetbl td { display: grid; border: 0; padding: 2px 0; text-align: left; white-space: nowrap; font-size: .9rem; }
  .sizetbl td::before { content: attr(data-l); font-size: .68rem; color: #5c6676; font-family: var(--font-body); }
  .sizetbl td.sz { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: #1f2a7a; }
}
@media (max-width: 640px) {
  .chart .ax { font-size: 19px; }
  .sizetbl tr.hl { background: #eceef8; } .sizetbl tr.hl td { background: transparent; }
}
/* 買取：お部屋の状態ごとの目安 */
.cond { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 4px; }
.cond li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; align-items: baseline; background: rgba(255,255,255,.7); border: 1px solid #f3d3b8; border-radius: 8px; padding: 4px 10px; font-size: .78rem; }
.cond .cl { font-weight: 700; } .cond b { font-size: 1rem; color: #c55a12; } .cond small { font-size: .7rem; color: #5c6676; }
/* 売却の流れ */
.fl-lead { text-align: center; max-width: 44em; margin-inline: auto; }
.fl-common { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.fs { background: #fff; border: 2px solid #1f2a7a; border-radius: 12px; padding: 14px 14px 12px 56px; position: relative; display: grid; gap: 2px; min-height: 100px; }
.fs i { position: absolute; left: 12px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: #1f2a7a; color: #fff; font-style: normal; font-family: var(--font-num); font-weight: 900; display: grid; place-items: center; }
.fs b { font-family: var(--font-display); color: #1f2a7a; font-size: 1.05rem; } .fs span { font-size: .84rem; }
.fs em, .lane em { font-style: normal; font-size: .72rem; font-weight: 800; color: #1f2a7a; background: #f5c518; border-radius: 999px; padding: 1px 10px; justify-self: start; margin-top: 4px; }
.fs.pick { background: #fffdf0; }
.fl-common .fs:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 12px; height: 12px; background: #1f2a7a; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(-50%); }
.fl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; height: 54px; }
.fl-split::before { content: ""; position: absolute; left: 25%; right: 25%; top: 0; height: 22px; border: 3px solid #1f2a7a; border-bottom: 0; border-radius: 14px 14px 0 0; }
.fl-split::after { content: ""; position: absolute; left: 50%; top: -12px; width: 3px; height: 12px; background: #1f2a7a; }
.fl-split span { align-self: end; justify-self: center; font-weight: 900; font-size: .82rem; color: #fff; border-radius: 999px; padding: 3px 14px; position: relative; z-index: 1; }
.fl-split .b { background: #dc6a17; } .fl-split .s { background: #0b8a5f; }
.fl-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.lane { background: #fff; border-radius: 14px; border-top: 8px solid; padding: 14px 16px 16px; box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.lane.b { border-color: #dc6a17; } .lane.s { border-color: #0b8a5f; }
.lh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.lh b { font-family: var(--font-display); font-size: 1.3rem; } .lane.b .lh b { color: #dc6a17; } .lane.s .lh b { color: #0b8a5f; }
.lh span { font-size: .82rem; font-weight: 800; }
.lane ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st 3; }
.lane li { counter-increment: st; position: relative; padding: 0 0 16px 50px; display: grid; gap: 2px; }
.lane li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-family: var(--font-num); font-weight: 900; display: grid; place-items: center; z-index: 1; }
.lane li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 3px; }
.lane.b li::before { background: #dc6a17; } .lane.b li::after { background: #f6c9a6; }
.lane.s li::before { background: #0b8a5f; } .lane.s li::after { background: #a9dcc6; }
.lane li b { font-family: var(--font-display); font-size: 1rem; } .lane li span { font-size: .84rem; }
.lane li.goal::before { content: "✓"; }
.lane.b em { background: #fdf0e5; color: #c55a12; } .lane.s em { background: #e6f5ee; color: #0b8a5f; }
.lane li.goal em { background: #f5c518; color: #1f2a7a; }
.lf { font-size: .82rem; font-weight: 700; border-radius: 8px; padding: 8px 12px; }
.lane.b .lf { background: #fdf0e5; } .lane.s .lf { background: #e6f5ee; }
@media (max-width: 760px) {
  .fl-common { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fl-common .fs:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%) rotate(90deg); }
  .fl-lanes { grid-template-columns: minmax(0, 1fr); }
  .fl-split { height: 48px; }
}
.col ul.cond { gap: 4px; margin: 8px 0 6px; }
.col .cond li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px; text-align: left; }
.col .cond li::before { content: none; }
.col .cond .cl { font-size: .78rem; }
/* 比べるグラフ：目盛りを金額の位置に置く。仲介は売り出し価格（太）と実際に売れた価格（細）の2本 */
.mtrack.two { height: 34px; }
.mtrack.two .mbar { top: 0; bottom: auto; height: 22px; }
.mtrack.two .mbar.ok { top: 26px; height: 7px; background: color-mix(in srgb, var(--sell) 45%, #fff); border-radius: 4px; }
.mrow.mx { align-items: start; }
.mticks { position: relative; height: 18px; border-top: 1px solid var(--line); font-size: .7rem; color: var(--muted); }
.mticks span { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; }
.mticks span:first-child { transform: none; } .mticks span:last-child { transform: translateX(-100%); }
.mu { font-size: .7rem; color: var(--muted); }
.mscale { display: none; }
@media (max-width: 640px) {
  .mrow.mx { grid-template-columns: 76px minmax(0, 1fr); } .mrow.mx .mu { display: none; }
  .mticks span.odd { display: none; }
  .mval small { font-size: .7rem; }
}
/* ==== 本番：スマホのファーストビューは中央そろえ・建物名と「買取・売却 専門窓口」を大きく ==== */
.y-big .y-name { display: block; }
.y-big .y-what { display: block; }
@media (max-width: 860px) {
  .y-panel { justify-items: center; text-align: center; }
  .y-panel .yl { justify-self: center; }
  .y-panel .kw { margin-inline: auto; justify-content: center; }
  .y-panel .checks { justify-content: center; }
  .y-big { display: grid; justify-items: center; gap: 4px; }
  .y-big .y-name { font-size: clamp(1.45rem, 7.4vw, 2.1rem); line-height: 1.25; border-bottom: 4px solid #1f2a7a; padding-bottom: 2px; margin: 0 auto 2px; width: fit-content; max-width: 100%; }
  .y-big .y-name .no { font-size: .7em; }
  .y-big .y-what { font-size: clamp(2.2rem, 11vw, 3rem); line-height: 1.15; }
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert.ok { background: #e6f5ee; border-color: #0b8a5f; } .alert.ok h3 { color: #0b8a5f; }
/* 内部リンク */
.lk-h { font-family: var(--font-display); color: #1f2a7a; font-size: 1.1rem; }
.lk-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .lk-cards { grid-template-columns: minmax(0, 1fr); } }
.lk-cards a { display: grid; gap: 2px; background: #fff; border: 1px solid #e3e6ee; border-left: 5px solid #1f2a7a; border-radius: 10px; padding: 10px 12px; text-decoration: none; color: #1b2430; min-height: 44px; }
.lk-cards a:hover { border-color: #2a78b9; }
.lk-cards b { color: #1f2a7a; font-family: var(--font-display); } .lk-cards span { font-size: .8rem; color: #5c6676; }
.lk-n { display: flex; gap: 10px; align-items: baseline; } .lk-n em { font-style: normal; font-weight: 800; color: #0b8a5f; font-size: .95rem; }
.lk-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .lk-rank { grid-template-columns: minmax(0, 1fr); } }
.rk { background: #fff; border: 1px solid #e3e6ee; border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; color: #1b2430; }
.rk h3 { font-family: var(--font-display); color: #1f2a7a; font-size: 1.02rem; display: flex; gap: 8px; align-items: center; }
.rk-ic { width: 30px; height: 30px; border-radius: 50%; background: #f5c518; display: grid; place-items: center; font-size: .95rem; }
.rk ol { list-style: none; margin: 0; padding: 0; display: grid; }
.rk li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px dashed #e3e6ee; min-height: 40px; }
.rk-no { width: 24px; height: 24px; border-radius: 50%; background: #eceef8; color: #1f2a7a; font-weight: 900; font-size: .8rem; display: grid; place-items: center; }
.rk li:nth-child(1) .rk-no { background: #d7b45a; color: #fff; } .rk li:nth-child(2) .rk-no { background: #a9b1bf; color: #fff; } .rk li:nth-child(3) .rk-no { background: #c58a5a; color: #fff; }
.rk li a { color: #1f2a7a; font-weight: 700; font-size: .9rem; } .rk-v { font-weight: 800; font-size: .88rem; color: #0b8a5f; white-space: nowrap; }
.lk-all { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; }
.lk-all a { display: inline-block; padding: 8px 0; }
/* ==== 区・トップのページ ==== */
.w-hero { background: linear-gradient(160deg, #fff 0%, #f3f5fb 100%); border-bottom: 6px solid #f5c518; }
.w-hero .wrap { display: grid; gap: 14px; padding-block: 26px 30px; justify-items: center; text-align: center; }
.w-hero h1 { font-family: var(--font-display); font-weight: 900; color: #1f2a7a; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.3; }
.w-hero h1 .big { font-size: 1.35em; }
.w-lead { max-width: 46em; }
.w-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
@media (max-width: 760px) { .w-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.w-stats li { background: #fff; border: 2px solid #1f2a7a; border-radius: 10px; padding: 10px 8px; display: grid; gap: 2px; }
.w-stats span { font-size: .74rem; font-weight: 700; color: #1f2a7a; } .w-stats b { font-family: var(--font-display); font-size: 1.6rem; color: #1f2a7a; } .w-stats b small { font-size: .8rem; }
.w-stats b.up { color: #d23f2a; }
.w-towns { display: flex; flex-wrap: wrap; gap: 6px; }
.w-towns a { border: 1px solid #c9cfe0; border-radius: 999px; padding: 6px 12px; font-size: .84rem; text-decoration: none; color: #1f2a7a; background: #fff; min-height: 36px; display: inline-flex; align-items: center; }
.w-town { scroll-margin-top: 60px; display: grid; gap: 6px; }
.w-town h3 { font-family: var(--font-display); color: #1f2a7a; font-size: 1.1rem; border-left: 5px solid #f5c518; padding-left: 10px; }
.w-town h3 small { font-size: .74rem; color: #5c6676; margin-left: 10px; font-weight: 700; }
.w-tbl { width: 100%; border-collapse: collapse; font-size: .86rem; background: #fff; }
.w-tbl th, .w-tbl td { border-bottom: 1px solid #e3e6ee; padding: 7px 8px; text-align: left; white-space: nowrap; }
.w-tbl th { background: #eceef8; color: #1f2a7a; font-size: .76rem; } .w-tbl .r { text-align: right; }
.w-tbl td:first-child { white-space: normal; min-width: 9em; } .w-tbl a { font-weight: 800; }
.t-wards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .t-wards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.t-wards a { display: grid; gap: 2px; background: #fff; border: 1px solid #e3e6ee; border-top: 4px solid #1f2a7a; border-radius: 10px; padding: 10px 12px; text-decoration: none; color: #1b2430; }
.t-wards b { font-family: var(--font-display); color: #1f2a7a; font-size: 1.1rem; } .t-wards span { font-weight: 800; color: #0b8a5f; } .t-wards small { font-size: .74rem; color: #5c6676; }
.t-wards em { font-style: normal; color: #d23f2a; font-weight: 800; }
.t-hero .bigbtns, .w-hero .bigbtns { width: 100%; justify-content: center; }
/* ==== かんたんオンライン査定（メールだけで申し込める） ==== */
.quick { background: linear-gradient(135deg, #1f2a7a, #2a78b9); padding-block: 22px; }
.qk { background: #fff; border-radius: 16px; padding: 18px 20px 20px; display: grid; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); color: #1b2430; position: relative; }
.qk-hd { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; }
.qk-badge { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: #d64545; color: #fff; display: grid; place-items: center; font-weight: 900; font-family: var(--font-display); transform: rotate(-8deg); }
.qk-hd h2 { font-family: var(--font-display); color: #1f2a7a; font-size: clamp(1.3rem, 4vw, 1.7rem); }
.qk-hd p { font-size: .86rem; }
.qk-steps { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 12px; }
@media (max-width: 860px) { .qk-steps { grid-template-columns: minmax(0, 1fr); } }
.qk-s { border: 1px solid #e3e6ee; border-radius: 12px; padding: 10px 12px 12px; margin: 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.qk-s legend, .qk-l { font-weight: 800; color: #1f2a7a; font-size: .92rem; padding: 0 4px; display: flex; align-items: center; gap: 6px; margin: 0; }
.qk-s legend i, .qk-l i { width: 24px; height: 24px; border-radius: 50%; background: #f5c518; color: #1f2a7a; font-style: normal; display: grid; place-items: center; font-size: .8rem; font-weight: 900; }
.qk-ch { display: flex; flex-wrap: wrap; gap: 6px; }
.qk-ch label { position: relative; }
.qk-ch input { position: absolute; opacity: 0; inset: 0; }
.qk-ch span { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 14px; border: 2px solid #c9cfe0; border-radius: 999px; font-weight: 700; font-size: .88rem; cursor: pointer; background: #fff; transition: background .15s, border-color .15s, color .15s; }
.qk-ch input:checked + span { background: #1f2a7a; border-color: #1f2a7a; color: #fff; }
.qk-ch input:focus-visible + span { outline: 3px solid #f5c518; outline-offset: 2px; }
.qk-in { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; }
.qk-in input { font: inherit; font-size: 1rem; padding: 10px 12px; border: 2px solid #c9cfe0; border-radius: 10px; min-height: 44px; }
.qk-go { justify-self: center; width: min(520px, 100%); font-size: 1.15rem; padding: 14px 18px; display: grid; gap: 2px; text-align: center; border: 0; cursor: pointer; }
.qk-go small { font-size: .72rem; font-weight: 700; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .qk-go { animation: qkpulse 2.4s ease-in-out infinite; }
  @keyframes qkpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(214,69,69,.45); } 50% { box-shadow: 0 0 0 12px rgba(214,69,69,0); } }
  /* スクロールでふわっと出す（JSが .in を付ける。JSが無いときは最初から表示） */
  .js .mbar { transform-origin: left center; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
  .js .money.in .mbar { transform: scaleX(1); }
  .y-tag { animation: tagin .7s .3s cubic-bezier(.3,1.5,.5,1) both; }
  .medal { animation: medalin .6s both; } .medal:nth-child(2) { animation-delay: .12s; } .medal:nth-child(3) { animation-delay: .24s; }
  @keyframes medalin { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
}
.qk-in .req { display: inline-block; width: auto; margin-left: 6px; vertical-align: middle; }
.qk-in .req { justify-self: start; }
/* 建物名の長さで大見出しの文字を調整（改行は「・」や空白の位置で） */
.y-name { word-break: keep-all; overflow-wrap: anywhere; }
.y-big .y-name.n-l { font-size: .52em; } .y-big .y-name.n-xl { font-size: .44em; }
@media (max-width: 860px) {
  .y-big .y-name.n-l { font-size: clamp(1.25rem, 6.2vw, 1.7rem); }
  .y-big .y-name.n-xl { font-size: clamp(1.1rem, 5.3vw, 1.45rem); }
}
/* Leaflet の地図 */
#lmap { height: auto; min-height: 320px; background: #dfe5ec; z-index: 0; }
.lpin { position: relative; } .lpin b { position: absolute; left: 0; bottom: 14px; transform: translateX(-50%); background: #d64545; color: #fff; font-size: .76rem; padding: 3px 8px; border-radius: 6px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.35); font-family: var(--font-body); }
.lpin i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #d64545; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.lst { background: rgba(255,255,255,.92); color: #1f2a7a; font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; white-space: nowrap; border: 1px solid #1f2a7a; display: inline-block; }
.ltip { background: #d64545; color: #fff; border: 0; font-weight: 700; }
/* 相場解説・短い会社紹介・短い流れ */
.an-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .an-grid { grid-template-columns: minmax(0, 1fr); } }
.an-item { background: #fff; border: 1px solid #e3e6ee; border-left: 5px solid #f5c518; border-radius: 10px; padding: 12px 14px; display: grid; gap: 4px; }
.an-item h3 { font-family: var(--font-display); color: #1f2a7a; font-size: 1rem; } .an-item p { font-size: .92rem; }
.cm-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 760px) { .cm-grid { grid-template-columns: minmax(0, 1fr); } }
.cm-ph { margin: 0; border-radius: 12px; overflow: hidden; position: relative; } .cm-ph img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.cm-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 6px; font-size: .74rem; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.cm-body { display: grid; gap: 12px; } .cm-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .cm-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .cm-proof li { padding: 8px 4px; } .cm-proof b { font-size: 1.1rem; } }
.cm-who { display: flex; gap: 10px; align-items: center; font-size: .88rem; background: #fffdf0; border-radius: 10px; padding: 8px 12px; }
.cm-who img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.cm-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; } .cm-links a { padding: 6px 0; display: inline-block; }
.fm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: fm; }
@media (max-width: 760px) { .fm-steps { grid-template-columns: minmax(0, 1fr); } }
.fm-steps li { counter-increment: fm; background: #fff; border: 2px solid #1f2a7a; border-radius: 12px; padding: 12px 12px 12px 50px; position: relative; display: grid; gap: 2px; }
.fm-steps li::before { content: counter(fm); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: #1f2a7a; color: #fff; display: grid; place-items: center; font-weight: 900; }
.fm-steps b { font-family: var(--font-display); color: #1f2a7a; } .fm-steps span { font-size: .84rem; }
.cta-end { background: #fff; border: 2px solid #1f2a7a; border-radius: 16px; padding: 22px 18px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.cta-end h2 { font-family: var(--font-display); color: #1f2a7a; font-size: clamp(1.3rem, 4vw, 1.7rem); }
.w3 .fit { font-size: .9rem; }
/* 坪単価と相場カード */
.ts-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .ts-grid { grid-template-columns: minmax(0, 1fr); } }
.ts-card { margin: 0; } .ts-card img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 6px 18px rgba(31,42,122,.15); background: #fff; }
.ts-card figcaption { font-size: .72rem; color: #5c6676; margin-top: 6px; }
.ts-tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .92rem; }
.ts-tbl th, .ts-tbl td { padding: 10px 12px; border-bottom: 1px solid #e3e6ee; text-align: left; } .ts-tbl th { color: #1f2a7a; font-weight: 700; width: 55%; } .ts-tbl td { text-align: right; }
.ts-tbl b { color: #0b8a5f; font-size: 1.15rem; }
@media (max-width: 860px) { .bub { white-space: normal; max-width: 60vw; } .bub b { font-size: .86rem; line-height: 1.3; } }
.hz-ng { color: #c8352a; font-weight: 700; }
/* 最後の査定ボタン：PCは2つ並べて十分な幅、スマホは縦に並べる */
.cta-end .bigbtns { width: min(720px, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cta-end .bigbtns a { font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 640px) { .cta-end .bigbtns { grid-template-columns: minmax(0, 1fr); } .cta-end .bigbtns a { font-size: 1.05rem; } }
/* コラム */
.col-body { display: grid; gap: 22px; padding-block: 26px 40px; max-width: 820px; }
.col-body h2 { font-family: var(--font-display); color: #1f2a7a; font-size: clamp(1.25rem, 3.4vw, 1.5rem); border-left: 6px solid #f5c518; padding-left: 12px; margin: 10px 0 8px; }
.col-body h3 { font-family: var(--font-display); color: #1f2a7a; font-size: 1.08rem; margin: 14px 0 4px; }
.col-body p { margin: 0 0 10px; font-size: 1rem; line-height: 1.95; }
.col-body ul { padding-left: 1.3em; } .col-body li { margin: 4px 0; line-height: 1.8; }
.col-body table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 8px 0 12px; background: #fff; }
.col-body th, .col-body td { border: 1px solid #e3e6ee; padding: 8px 10px; text-align: left; vertical-align: top; } .col-body th { background: #eceef8; color: #1f2a7a; }
@media (max-width: 640px) { .col-body table { display: block; overflow-x: auto; } }
.col-toc { background: #f6f7fb; border: 1px solid #e3e6ee; border-radius: 12px; padding: 14px 18px; } .col-toc p { font-weight: 800; color: #1f2a7a; margin: 0 0 6px; } .col-toc ol { margin: 0; padding-left: 1.4em; } .col-toc a { line-height: 2; }
.col-cta { background: #fffdf0; border: 2px solid #f5c518; border-radius: 14px; padding: 16px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.col-cta .bigbtns { width: min(620px, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } @media (max-width: 640px) { .col-cta .bigbtns { grid-template-columns: minmax(0, 1fr); } }
.col-src li { font-size: .88rem; }