/* 不動産売却サポート沖縄 */
:root {
  --c-navy: #123a52;
  --c-navy-deep: #0b2638;
  --c-sea: #14898e;
  --c-sea-dark: #0f6f74;
  --c-sea-50: #e7f4f3;
  --c-sand: #f7f3ea;
  --c-sand-2: #efe7d6;
  --c-coral: #c8553a;
  --c-coral-dark: #a9442d;
  --c-line-green: #06c755;
  --c-ink: #1c2731;
  --c-muted: #5b6a76;
  --c-rule: #dbe2e7;
  --c-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11, 38, 56, .06), 0 6px 20px rgba(11, 38, 56, .06);
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", var(--font);
  --fs-0: .8125rem; --fs-1: .875rem; --fs-2: 1rem; --fs-3: 1.125rem; --fs-4: 1.375rem; --fs-5: 1.75rem; --fs-6: 2.375rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--font); font-size: var(--fs-2); line-height: 1.8; font-feature-settings: "palt"; }
img, svg { max-width: 100%; }
a { color: var(--c-sea-dark); text-underline-offset: 3px; }
a:hover { color: var(--c-navy); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.4; margin: 0; letter-spacing: .02em; }
p { margin: 0 0 1em; }
small { font-size: .8em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 680px; }
.sp-only { display: none; }
.muted { color: var(--c-muted); }

.proto-bar { background: #fff6d6; color: #6b5300; font-size: var(--fs-0); text-align: center; padding: 4px 12px; border-bottom: 1px solid #f0e2a8; }

/* ── ヘッダー ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--c-rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-navy); flex-shrink: 0; }
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-sub { font-size: .6875rem; color: var(--c-sea-dark); font-weight: 700; letter-spacing: .08em; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.125rem; letter-spacing: .04em; }
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-tel { display: flex; flex-direction: column; text-decoration: none; color: var(--c-navy); line-height: 1.2; text-align: right; }
.header-tel span { font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.header-tel small { font-size: .6875rem; color: var(--c-muted); }

/* ── ボタン ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: var(--fs-1); text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.4; transition: background .15s, color .15s; }
.btn-primary { background: var(--c-coral); color: #fff; }
.btn-primary:hover { background: var(--c-coral-dark); color: #fff; }
.btn-line { background: var(--c-line-green); color: #fff; }
.btn-line:hover { background: #05a647; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: var(--fs-2); }
.btn-block { display: flex; width: 100%; }

/* ── ヒーロー ── */
.hero { position: relative; background: linear-gradient(100deg, rgba(11, 38, 56, .86) 0%, rgba(11, 38, 56, .55) 45%, rgba(11, 38, 56, .05) 100%), var(--bg) center 60%/cover no-repeat, var(--c-navy); color: #fff; padding: 80px 0; overflow: hidden; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.875rem, 4.2vw, 3rem); font-weight: 900; line-height: 1.35; margin-bottom: 20px; }
.hero-lead { color: #d6e6ec; font-size: var(--fs-3); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-search { background: #fff; color: var(--c-ink); border-radius: 16px; padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; border-top: 1px solid var(--c-rule); padding-top: 16px; text-align: center; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--c-navy); font-variant-numeric: tabular-nums; line-height: 1.2; }
.hero-stats span { font-size: .75rem; color: var(--c-muted); }
.hero-asof { font-size: .75rem; color: var(--c-muted); text-align: center; margin: 10px 0 0; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--c-bg); }
.eyebrow { font-size: var(--fs-0); font-weight: 700; color: var(--c-sea-dark); letter-spacing: .12em; margin: 0 0 8px; }
.eyebrow-light { color: #8fd3d0; }

/* ── 検索 ── */
.msearch { position: relative; }
.msearch-label { display: block; font-weight: 700; font-size: var(--fs-1); margin-bottom: 8px; color: var(--c-navy); }
.msearch-field { position: relative; }
.msearch-field input { width: 100%; font: inherit; font-size: var(--fs-2); padding: 13px 44px 13px 16px; border: 2px solid var(--c-rule); border-radius: 10px; background: #fff; color: var(--c-ink); }
.msearch-field input:focus { outline: none; border-color: var(--c-sea); box-shadow: 0 0 0 4px rgba(20, 137, 142, .15); }
.msearch-field svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--c-muted); stroke-width: 2; stroke-linecap: round; }
.msearch-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--c-rule); border-radius: 10px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; max-height: 360px; overflow: auto; z-index: 30; }
.msearch-results a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--c-ink); line-height: 1.4; }
.msearch-results a:hover { background: var(--c-sea-50); }
.r-name { font-weight: 700; }
.r-meta { font-size: .75rem; color: var(--c-muted); }
.r-none { padding: 10px; font-size: var(--fs-1); color: var(--c-muted); }
.page-head .msearch { max-width: 560px; margin-top: 24px; }

/* ── セクション ── */
.sec { padding: 64px 0; }
.sec-alt { background: var(--c-sand); }
.h2 { font-size: var(--fs-4); color: var(--c-navy); margin: 40px 0 16px; }
.sec .wrap > .h2:first-child, .sec .wrap > .eyebrow + .h2 { margin-top: 0; }
.h2-lg { font-size: var(--fs-5); margin-bottom: 28px; }
.h3 { font-size: var(--fs-3); color: var(--c-navy); margin: 28px 0 12px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.sec-head-row .h2 { margin: 0; }
.more { font-weight: 700; font-size: var(--fs-1); white-space: nowrap; }
.more::after, .worry-link::after, .case-link::after { content: " →"; }
.note { font-size: var(--fs-0); color: var(--c-muted); margin-top: 8px; }
.callout { background: var(--c-sea-50); border-left: 4px solid var(--c-sea); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 24px 0; }

.page-head { background: linear-gradient(180deg, var(--c-sea-50), #fff); padding: 40px 0 36px; border-bottom: 1px solid var(--c-rule); }
.page-head h1 { font-size: var(--fs-6); color: var(--c-navy); font-weight: 900; }
.page-head .lead { color: var(--c-muted); font-size: var(--fs-3); max-width: 46em; margin: 14px 0 0; }
.h1-sub { font-size: .55em; font-weight: 700; color: var(--c-muted); margin-left: .3em; }
.head-actions { margin-top: 20px; }

.crumbs { border-bottom: 1px solid var(--c-rule); background: #fff; }
.crumbs ol { max-width: 1160px; margin: 0 auto; padding: 8px 20px; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: .75rem; color: var(--c-muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--c-muted); }

/* ── 統計 ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 8px; }
.stat { background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 18px 20px; }
.stat-label { font-size: var(--fs-0); color: var(--c-muted); font-weight: 500; }
.stat-value { font-size: 1.625rem; font-weight: 700; color: var(--c-navy); font-variant-numeric: tabular-nums; line-height: 1.4; margin-top: 4px; }
.stat-value small { font-size: .55em; margin-left: 2px; }
.stat-note { font-size: .75rem; color: var(--c-muted); margin-top: 2px; }

/* ── 表 ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-rule); border-radius: var(--radius); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.tbl th, .tbl td { padding: 11px 14px; border-bottom: 1px solid var(--c-rule); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--c-navy); color: #fff; font-weight: 500; font-size: var(--fs-0); white-space: nowrap; line-height: 1.4; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody th { font-weight: 700; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tbody tr:hover { background: #fafcfc; }
.tbl-spec { background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); overflow: hidden; }
.tbl-spec th { width: 8em; background: var(--c-sand); color: var(--c-navy); font-weight: 500; white-space: nowrap; }

/* ── グラフ ── */
.chart { margin: 8px 0 0; background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 12px 8px 4px; }
.chart svg { display: block; width: 100%; height: auto; }
.ch-grid { stroke: var(--c-rule); stroke-width: 1; }
.ch-tick { font-size: 12px; fill: var(--c-muted); font-family: var(--font); }
.ch-line { fill: none; stroke: var(--c-sea); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ch-area { fill: var(--c-sea); opacity: .08; }
.ch-dot { fill: #fff; stroke: var(--c-sea); stroke-width: 2.5; }
.ch-last { font-size: 14px; font-weight: 700; fill: var(--c-navy); font-family: var(--font); }
.bars { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 16px; }
.bar-row { display: grid; grid-template-columns: 7.5em 1fr 9.5em; gap: 10px; align-items: center; font-size: var(--fs-1); }
.bar-label { color: var(--c-ink); }
.bar-track { height: 12px; background: var(--c-sea-50); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--c-sea); border-radius: 99px; }
.bar-value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.bar-note { display: block; font-weight: 400; font-size: .6875rem; color: var(--c-muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-col > div > .h2:first-child { margin-top: 40px; }
.trend-box { margin-top: 40px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 24px; align-items: center; }

/* ── カード ── */
.mcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mcard { display: block; background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--c-ink); transition: border-color .15s, box-shadow .15s; }
.mcard:hover { border-color: var(--c-sea); box-shadow: var(--shadow); color: var(--c-ink); }
.mcard-name { font-weight: 700; color: var(--c-navy); line-height: 1.45; }
.mcard-meta { font-size: .75rem; color: var(--c-muted); margin-top: 2px; }
.mcard-price { font-size: var(--fs-1); margin-top: 8px; }
.mcard-price strong { color: var(--c-coral-dark); font-size: 1.0625rem; }
.more-note { margin-top: 16px; font-size: var(--fs-1); color: var(--c-muted); }
.more-link { margin-top: 20px; font-weight: 700; }

.city-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.city-card { display: block; background: #fff; border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--c-ink); box-shadow: var(--shadow); border: 1px solid transparent; transition: border-color .15s; }
.city-card:hover { border-color: var(--c-sea); color: var(--c-ink); }
.city-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.city-name { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-3); color: var(--c-navy); }
.city-area { font-size: .6875rem; color: var(--c-sea-dark); background: var(--c-sea-50); padding: 1px 8px; border-radius: 99px; font-weight: 700; }
.city-card-price { font-size: 1.5rem; font-weight: 700; color: var(--c-navy); margin-top: 6px; font-variant-numeric: tabular-nums; line-height: 1.3; }
.city-card-price small { display: block; font-size: .6875rem; color: var(--c-muted); font-weight: 400; }
.city-card-meta { font-size: .75rem; color: var(--c-muted); margin-top: 6px; }

.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.worry { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-rule); border-radius: 16px; padding: 28px 24px; text-decoration: none; color: var(--c-ink); position: relative; transition: border-color .15s, transform .15s; }
.worry:hover { border-color: var(--c-sea); transform: translateY(-2px); color: var(--c-ink); }
.worry-no { font-family: var(--font-head); font-weight: 900; font-size: 2.25rem; color: var(--c-sea-50); -webkit-text-stroke: 1.5px var(--c-sea); line-height: 1; }
.worry h3 { font-size: var(--fs-4); color: var(--c-navy); margin: 14px 0 12px; }
.worry p { font-size: var(--fs-1); color: var(--c-muted); flex: 1; }
.worry-link { font-weight: 700; color: var(--c-sea-dark); font-size: var(--fs-1); }

.situations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.situation { display: block; background: var(--c-sea-50); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--c-ink); border-top: 4px solid var(--c-sea); }
.situation:hover { background: #dbefed; color: var(--c-ink); }
.situation h3 { font-size: var(--fs-3); color: var(--c-navy); margin-bottom: 8px; }
.situation p { font-size: var(--fs-1); margin: 0; color: var(--c-muted); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cases-full { grid-template-columns: repeat(2, 1fr); }
.case { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { font-size: .6875rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--c-sand-2); color: var(--c-navy); }
.tag-remote { background: var(--c-navy); color: #fff; }
.tag-local { background: var(--c-sea-50); color: var(--c-sea-dark); }
.tag-draft { background: #fff1c2; color: #6b5300; margin-left: 6px; }
.case-title { font-size: var(--fs-2); color: var(--c-navy); margin-bottom: 8px; }
.case p { font-size: var(--fs-1); color: var(--c-muted); }
.case-link { font-size: var(--fs-1); font-weight: 700; }

.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.reason { border-top: 3px solid var(--c-navy); padding-top: 16px; }
.reason h3 { font-size: var(--fs-3); color: var(--c-navy); margin-bottom: 8px; }
.reason p { font-size: var(--fs-1); color: var(--c-muted); }

/* ── 手順 ── */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step { display: grid; grid-template-columns: 48px 1fr 10em; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 18px 20px; }
.steps-simple .step { grid-template-columns: 48px 1fr; }
.step-no { width: 44px; height: 44px; border-radius: 50%; background: var(--c-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.125rem; }
.step-body h3 { font-size: var(--fs-3); color: var(--c-navy); margin-bottom: 4px; }
.step-body p { margin: 0; font-size: var(--fs-1); color: var(--c-muted); }
.step-visit { text-align: center; font-size: var(--fs-0); font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--c-sand-2); color: var(--c-navy); }
.step-visit-none { background: var(--c-sea-50); color: var(--c-sea-dark); }

.qa details { background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
.qa summary { cursor: pointer; font-weight: 700; color: var(--c-navy); padding: 16px 0; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; display: inline-block; width: 1.6em; color: var(--c-sea); font-weight: 900; }
.qa details p { color: var(--c-muted); font-size: var(--fs-1); padding-left: 1.6em; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.point { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--c-rule); }
.point h3 { font-size: var(--fs-3); color: var(--c-navy); margin-bottom: 10px; }
.point p { font-size: var(--fs-1); color: var(--c-muted); margin: 0; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col { background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 24px; }
.compare-col:first-child { border-top: 4px solid var(--c-navy); }
.compare-col:last-child { border-top: 4px solid var(--c-sea); }
.compare-col h2 { font-size: var(--fs-4); color: var(--c-navy); margin-bottom: 12px; }
.compare-col h2 small { display: block; font-size: var(--fs-1); color: var(--c-muted); font-weight: 500; }
.compare-col ul { margin: 0; padding-left: 1.2em; font-size: var(--fs-1); }

/* ── 棟ページ ── */
.page-head-m h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fees > div { background: var(--c-sand); border-radius: var(--radius); padding: 16px; }
.fees span { display: block; font-size: var(--fs-0); color: var(--c-muted); }
.fees strong { font-size: 1.375rem; color: var(--c-navy); font-variant-numeric: tabular-nums; }
.map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-rule); background: var(--c-sea-50); padding: 16px; text-align: center; }
.map-live { height: 280px; padding: 0; }
.sell-note { margin-top: 40px; background: var(--c-navy); color: #e3edf2; border-radius: 16px; padding: 28px 32px; }
.sell-note h2 { color: #fff; font-size: var(--fs-4); margin-bottom: 14px; }
.sell-note ul { margin: 0 0 20px; padding-left: 1.2em; font-size: var(--fs-1); }
.sell-note li { margin-bottom: 6px; }
.sell-note a:not(.btn) { color: #8fd3d0; }
.data-stamp { margin-top: 28px; font-size: .75rem; color: var(--c-muted); border-top: 1px dashed var(--c-rule); padding-top: 12px; }

/* ── CTA ── */
.cta-block { background: linear-gradient(135deg, var(--c-navy) 0%, #145d6c 100%); color: #fff; padding: 56px 0; text-align: center; }
.cta-block h2 { font-size: var(--fs-5); margin-bottom: 10px; }
.cta-block p { color: #d6e6ec; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.cta-tel { display: flex; flex-direction: column; color: #fff; text-decoration: none; line-height: 1.3; padding: 0 8px; }
.cta-tel-num { font-size: 1.625rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cta-tel-note { font-size: .75rem; color: #b8d0da; }

/* ── フォーム ── */
.form { background: #fff; border: 1px solid var(--c-rule); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.req, .opt { font-size: .6875rem; padding: 1px 8px; border-radius: 99px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.req { background: var(--c-coral); color: #fff; }
.opt { background: var(--c-sand-2); color: var(--c-muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--c-rule); border-radius: 10px; background: #fff; color: var(--c-ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-sea); box-shadow: 0 0 0 4px rgba(20, 137, 142, .15); }
.field-error input, .field-error select, .field-error textarea { border-color: var(--c-coral); background: #fff7f5; }
.field-msg { margin: 6px 0 0; color: var(--c-coral-dark); font-size: var(--fs-1); font-weight: 500; }
.hint { font-size: .75rem; color: var(--c-muted); margin: 6px 0 0; }
.form-demo-msg { margin-top: 16px; background: #fff6d6; border-radius: 10px; padding: 12px 16px; font-size: var(--fs-1); }
.alt-contact { margin-top: 24px; display: grid; gap: 12px; text-align: center; }
.alt-tel { color: var(--c-navy); font-weight: 700; text-decoration: none; display: flex; flex-direction: column; }
.alt-tel small { font-weight: 400; color: var(--c-muted); }

/* ── フッター ── */
.site-footer { background: var(--c-navy-deep); color: #b8c9d3; padding: 48px 0 24px; font-size: var(--fs-1); }
.site-footer a { color: #d6e6ec; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-4); color: #fff; margin-bottom: 4px; }
.footer-tag { font-size: var(--fs-0); }
.footer-co { display: grid; grid-template-columns: 5em 1fr; gap: 4px 12px; margin: 16px 0 0; }
.footer-co dt { color: #8aa2b0; }
.footer-co dd { margin: 0; }
.footer-h { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links li { margin-bottom: 6px; }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .75rem; color: #8aa2b0; }
.copy { margin: 0; }

/* ── レスポンシブ ── */
@media (max-width: 1080px) {
  .situations { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner, .two-col, .trend-box, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 80px; }
  .worries, .cases, .points, .city-cards, .compare, .cases-full { grid-template-columns: 1fr; }
  .city-cards { grid-template-columns: repeat(2, 1fr); }
  .header-tel { display: none; }
  .step { grid-template-columns: 40px 1fr; }
  .step-visit { grid-column: 2; justify-self: start; }
  .step-no { width: 36px; height: 36px; font-size: 1rem; }
}
@media (max-width: 560px) {
  :root { --fs-4: 1.25rem; --fs-5: 1.5rem; --fs-6: 1.75rem; }
  .wrap { padding: 0 16px; }
  .sp-only { display: inline; }
  .sec { padding: 44px 0; }
  .brand-name { font-size: 1rem; }
  .city-cards, .situations { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 6em 1fr 7.5em; font-size: var(--fs-0); }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .sell-note { padding: 22px 20px; }
  .hero-actions .btn { width: 100%; }
  .form { padding: 20px; }
  .tbl th, .tbl td { padding: 9px 10px; }
}

/* ── 第2版：ハンバーガー・写真・図解 ── */
.site-header .wrap { position: static; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1.5px solid var(--c-rule); color: var(--c-navy); font-weight: 700; font-size: var(--fs-1); background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--c-sea); }
.menu-icon { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.menu-icon span { display: block; height: 2px; background: var(--c-navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu[open] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon span:nth-child(2) { opacity: 0; }
.menu[open] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--c-rule); box-shadow: 0 24px 40px rgba(11, 38, 56, .12); max-height: calc(100vh - 100px); overflow-y: auto; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 32px; padding-top: 28px; padding-bottom: 32px; }
.menu-h { font-size: var(--fs-0); font-weight: 700; color: var(--c-sea-dark); letter-spacing: .1em; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--c-sea-50); }
.menu-col ul { list-style: none; margin: 0; padding: 0; }
.menu-col li a { display: flex; flex-direction: column; padding: 8px 6px; border-radius: 8px; color: var(--c-ink); text-decoration: none; line-height: 1.45; }
.menu-col li a span { font-weight: 700; }
.menu-col li a small { color: var(--c-muted); font-size: .75rem; }
.menu-col li a:hover, .menu-col li a[aria-current] { background: var(--c-sea-50); color: var(--c-sea-dark); }
.menu-cta { display: flex; flex-direction: column; gap: 10px; background: var(--c-sand); border-radius: 14px; padding: 18px; align-self: start; }
.menu-tel { display: flex; flex-direction: column; text-align: center; font-weight: 700; font-size: 1.25rem; color: var(--c-navy); text-decoration: none; line-height: 1.3; }
.menu-tel small { font-size: .6875rem; color: var(--c-muted); font-weight: 400; }

.page-head-img { position: relative; background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .92) 45%, rgba(255, 255, 255, .35) 75%, rgba(255, 255, 255, 0) 100%), var(--bg) right center/cover no-repeat; padding: 64px 0 60px; }
.page-head-img .lead { color: #3b4a56; }
.head-badge { display: inline-block; background: var(--c-navy); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin: 12px 0 0; }

.situation { padding: 0; overflow: hidden; border-top: 0; background: #fff; box-shadow: var(--shadow); }
.situation:hover { background: #fff; }
.situation-img { aspect-ratio: 16 / 10; background: center/cover no-repeat var(--c-sea-50); transition: transform .3s; }
.situation:hover .situation-img { transform: scale(1.04); }
.situation-body { padding: 16px 18px 18px; border-top: 4px solid var(--c-sea); position: relative; background: #fff; }

.case { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-img { aspect-ratio: 3 / 2; background: center/cover no-repeat var(--c-sea-50); }
.case-body { padding: 18px 20px 20px; }
.case-title small { display: block; font-size: .75rem; color: var(--c-muted); font-weight: 500; margin-top: 2px; }
.cases-full { grid-template-columns: repeat(3, 1fr); }

.message { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.message-photo img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: var(--shadow); }
.message-body p { color: #3b4a56; }
.message-body .h2 { margin-top: 0; }
.message-sign { font-family: var(--font-head); font-weight: 900; color: var(--c-navy) !important; font-size: var(--fs-3); margin-top: 20px; }

.reasons-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.reasons-photo > img { width: 100%; border-radius: 16px; display: block; box-shadow: var(--shadow); }
.reasons-photo .reasons { grid-template-columns: 1fr 1fr; }

.experts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 760px; }
.expert { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; border: 1px solid var(--c-rule); }
.expert img { width: 120px; height: 120px; object-fit: cover; object-position: center 20%; border-radius: 50%; display: block; margin: 0 auto 12px; }
.expert p { margin: 0; line-height: 1.5; }
.expert-role { font-size: .75rem; color: var(--c-sea-dark); font-weight: 700; }
.expert-name { font-family: var(--font-head); font-weight: 900; color: var(--c-navy); font-size: var(--fs-3); }
.expert-firm { font-size: .75rem; color: var(--c-muted); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.split > img { width: 100%; border-radius: 16px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.split > div > .h2:first-child { margin-top: 0; }
.split-rev > img { order: 2; }
.points-1 { grid-template-columns: 1fr; }
.point-warn { border-left: 4px solid var(--c-coral); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 100%; border-radius: var(--radius); display: block; }
.photo-pair figcaption { font-size: var(--fs-0); color: var(--c-muted); margin-top: 6px; }

/* 役割分担の図 */
.lanes { border: 1px solid var(--c-rule); border-radius: 16px; overflow: hidden; background: #fff; margin-top: 16px; }
.lanes-head, .lanes-row { display: grid; grid-template-columns: 11em 1fr 1fr; }
.lanes-head > div { padding: 12px 16px; font-weight: 700; font-size: var(--fs-1); }
.lane-you { background: var(--c-sand-2); color: var(--c-navy); }
.lane-us { background: var(--c-navy); color: #fff; }
.lanes-row { border-top: 1px solid var(--c-rule); }
.lanes-row > div { padding: 14px 16px; font-size: var(--fs-1); }
.lane-step { font-weight: 700; color: var(--c-navy); display: flex; align-items: center; gap: 10px; }
.lane-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--c-sea); color: #fff; display: grid; place-items: center; font-size: .8125rem; flex-shrink: 0; }
.lane-you-c { background: #fcfaf5; color: #3b4a56; }
.lane-us-c { background: var(--c-sea-50); color: var(--c-navy); font-weight: 500; }
.visit-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.visit-summary > div { display: flex; align-items: center; gap: 16px; background: var(--c-navy); color: #d6e6ec; border-radius: var(--radius); padding: 18px 22px; }
.visit-summary strong { font-size: 2.5rem; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.visit-summary strong small { font-size: 1rem; margin-left: 2px; }
.visit-summary span { font-size: var(--fs-1); }

/* 比較 */
.compare { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.compare-vs { align-self: center; font-family: var(--font-head); font-weight: 900; color: var(--c-muted); font-size: 1.25rem; }
.compare-tag { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--c-navy); color: #fff; font-weight: 900; margin: 0 0 10px; }
.compare-tag-b { background: var(--c-sea); }
.compare-dl { display: grid; grid-template-columns: 7em 1fr; gap: 6px 10px; margin: 12px 0 14px; font-size: var(--fs-1); }
.compare-dl dt { color: var(--c-muted); }
.compare-dl dd { margin: 0; font-weight: 700; color: var(--c-navy); }
.pm { list-style: none; padding: 0 !important; margin: 0; }
.pm li { padding-left: 1.6em; position: relative; margin-bottom: 6px; }
.pm li::before { position: absolute; left: 0; font-weight: 900; }
.pm .plus::before { content: "＋"; color: var(--c-sea); }
.pm .minus::before { content: "－"; color: var(--c-coral); }
mark { background: linear-gradient(transparent 58%, #ffe08a 58%); color: inherit; padding: 0 2px; }

/* フォーム横 */
.form-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: start; max-width: 1000px; }
.form-side { background: var(--c-sand); border-radius: 16px; padding: 20px; display: grid; gap: 12px; }
.form-side img { width: 100%; border-radius: 12px; display: block; }
.form-side-h { font-weight: 700; color: var(--c-navy); margin: 4px 0 0; }
.mini-steps { margin: 0; padding-left: 1.3em; font-size: var(--fs-1); color: #3b4a56; }
.alt-tel { text-align: center; font-size: 1.125rem; }

/* コラム一覧 */
.col-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.col-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--c-ink); }
.col-card:hover { color: var(--c-ink); }
.col-card:hover h2 { color: var(--c-sea-dark); }
.col-card-img { aspect-ratio: 16 / 9; background: center/cover no-repeat var(--c-sea-50); }
.col-card-body { padding: 16px 18px 20px; }
.col-card-body h2 { font-size: var(--fs-3); color: var(--c-navy); margin: 8px 0 6px; line-height: 1.5; }
.col-card-body p { font-size: var(--fs-1); color: var(--c-muted); margin: 0; }

/* 記事 */
.wrap-article { max-width: 820px; }
.article-head { position: relative; color: #fff; padding: 72px 0 48px; background: linear-gradient(180deg, rgba(11, 38, 56, .55), rgba(11, 38, 56, .88)), var(--bg) center/cover no-repeat, var(--c-navy); }
.article-head h1 { font-size: clamp(1.625rem, 3.4vw, 2.25rem); line-height: 1.45; margin: 12px 0 14px; }
.article-lead { color: #d6e6ec; font-size: var(--fs-3); }
.article-by { font-size: var(--fs-0); color: #b8d0da; margin: 0; }
.tag-light { background: rgba(255, 255, 255, .16); color: #fff; }
.prose { padding-top: 40px; padding-bottom: 64px; font-size: 1.0625rem; line-height: 1.95; }
.prose h2 { font-size: var(--fs-5); color: var(--c-navy); margin: 56px 0 18px; padding: 0 0 10px; border-bottom: 3px solid var(--c-navy); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 72px; height: 3px; background: var(--c-sea); }
.prose p { margin: 0 0 1.2em; }
.prose .table-wrap { margin: 20px 0 8px; }
.keypoints { background: var(--c-navy); color: #e3edf2; border-radius: 16px; padding: 22px 26px; margin-bottom: 28px; }
.keypoints-h { font-weight: 900; color: #fff; margin: 0 0 8px; font-family: var(--font-head); }
.keypoints ul { margin: 0; padding-left: 1.2em; }
.keypoints li { margin-bottom: 6px; }
.keypoints mark { background: linear-gradient(transparent 58%, rgba(255, 210, 90, .55) 58%); color: #fff; }
.toc { border: 1px solid var(--c-rule); border-radius: 12px; padding: 16px 22px; margin-bottom: 8px; background: #fbfcfc; }
.toc-h { font-weight: 700; color: var(--c-navy); margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.3em; font-size: var(--fs-1); }
.fig { margin: 20px 0 24px; }
.fig .chart { margin: 0; }
.fig figcaption { font-size: var(--fs-0); color: var(--c-muted); margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.fig-src { color: #8a98a3; }
.box { border-radius: 12px; padding: 16px 20px; margin: 22px 0; border: 1px solid; }
.box p:last-child { margin-bottom: 0; }
.box-h { font-weight: 700; margin: 0 0 6px !important; }
.box-info { background: var(--c-sea-50); border-color: #bfe0dd; }
.box-info .box-h { color: var(--c-sea-dark); }
.box-caution { background: #fff7ec; border-color: #f2d6ae; }
.box-caution .box-h { color: #9a5b12; }
.box-point { background: var(--c-sand); border-color: var(--c-sand-2); }
.box-point .box-h { color: var(--c-navy); }
.checklist { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; }
.checklist li { position: relative; padding: 10px 14px 10px 44px; background: #fff; border: 1px solid var(--c-rule); border-radius: 10px; line-height: 1.6; }
.checklist li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--c-sea); }
.checklist li::after { content: ""; position: absolute; left: 20px; top: 15px; width: 6px; height: 10px; border: solid var(--c-sea); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 12px; }
.pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.pill { background: #fff; border: 1px solid var(--c-rule); border-left: 4px solid var(--c-sea); border-radius: 10px; padding: 12px 16px; display: flex; flex-direction: column; line-height: 1.55; }
.pill strong { color: var(--c-navy); }
.pill span { font-size: var(--fs-1); color: var(--c-muted); }
.flow { list-style: none; padding: 0; margin: 16px 0; counter-reset: flow; }
.flow li { counter-increment: flow; position: relative; padding: 14px 16px 14px 56px; background: #fff; border: 1px solid var(--c-rule); border-radius: 12px; margin-bottom: 26px; display: flex; flex-direction: column; line-height: 1.6; }
.flow li::before { content: counter(flow); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .875rem; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -24px; border: 9px solid transparent; border-top-color: var(--c-sea); transform: translateX(-50%); }
.flow li strong { color: var(--c-navy); }
.flow li span { font-size: var(--fs-1); color: var(--c-muted); }

/* 図の色 */
.legend { display: flex; gap: 16px; padding: 4px 12px 0; font-size: .75rem; color: var(--c-muted); }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-a::before { background: var(--c-sea); }
.lg-b::before { background: #9fb3c0; }
.bar-a { fill: var(--c-sea); }
.bar-b { fill: #9fb3c0; }
.bar-v { font-size: 12px; font-weight: 700; fill: var(--c-sea-dark); font-family: var(--font); }
.bar-v-b { fill: #5b6a76; }
.ch-sub { font-size: 11px; }
.guide-band { fill: #ffe9b0; opacity: .55; }
.guide-label { font-size: 11px; fill: #9a5b12; font-family: var(--font); }
.fl-up { fill: #cfe9e7; }
.fl-lo { fill: #e9eef1; }
.fl-win { fill: #fff; opacity: .9; }
.fl-mid { stroke: var(--c-coral); stroke-width: 2; stroke-dasharray: 6 5; }
.fl-ground { fill: #8aa2b0; }
.fl-t { font-size: 15px; font-weight: 700; fill: var(--c-navy); font-family: var(--font); }
.fl-big { font-size: 40px; font-weight: 900; fill: var(--c-coral); font-family: var(--font-head); }
.fl-note { font-size: 13px; fill: var(--c-muted); font-family: var(--font); }
.fl-base { font-size: 16px; font-weight: 700; fill: #8aa2b0; font-family: var(--font); }
.fl-arrow { fill: none; stroke: var(--c-coral); stroke-width: 2.5; }
.fl-ah { fill: var(--c-coral); }
.chart-tl { padding: 8px; }
.tl-line { stroke: var(--c-rule); stroke-width: 6; stroke-linecap: round; }
.tl-dot { stroke: #fff; stroke-width: 3; }
.tl-start { fill: var(--c-navy); }
.tl-mid { fill: #9fb3c0; }
.tl-end { fill: var(--c-coral); }
.tl-ok { fill: var(--c-sea); }
.tl-ng { fill: #c9a24a; }
.tl-label { font-size: 14px; font-weight: 700; fill: var(--c-navy); font-family: var(--font); }
.tl-end-t { fill: var(--c-coral-dark); }
.tl-ok-t { fill: var(--c-sea-dark); }
.tl-sub { font-size: 12px; fill: var(--c-muted); font-family: var(--font); }

@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .cases-full, .col-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px) {
  .header-tel { display: none; }
}
@media (max-width: 860px) {
  .message, .reasons-photo, .split, .form-layout { grid-template-columns: 1fr; }
  .message-photo { max-width: 260px; }
  .split-rev > img { order: 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { justify-self: center; }
  .lanes-head, .lanes-row { grid-template-columns: 1fr 1fr; }
  .lanes-head > div:first-child { display: none; }
  .lane-step { grid-column: 1 / -1; background: #fff; padding-bottom: 6px !important; }
  .page-head-img { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .95)), var(--bg) center/cover no-repeat; }
  .stat-row, .experts { grid-template-columns: 1fr; }
  .experts { max-width: 320px; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
  .menu-label { display: none; }
  .menu summary { padding: 10px; }
  .header-btn { display: none; }
  .situations, .cases-full, .col-cards, .reasons-photo .reasons, .pill-grid, .visit-summary, .photo-pair { grid-template-columns: 1fr; }
  .lanes-row > div, .lanes-head > div { font-size: var(--fs-0); padding: 10px 12px; }
  .prose { font-size: 1rem; }
  .prose h2 { font-size: 1.375rem; }
  .hero { background: linear-gradient(180deg, rgba(11, 38, 56, .78), rgba(11, 38, 56, .9)), var(--bg) center/cover no-repeat, var(--c-navy); }
}

/* 現行ロゴ（山田さん指示 10-06：そのまま使う） */
.brand-logo { display: block; height: 48px; width: auto; }
.footer-brand img { display: block; height: 52px; width: auto; }
@media (max-width: 560px) { .brand-logo { height: 38px; } }

/* ── マンションマップ（/map/） ── */
.map-sec { padding: 24px 0 56px; }
.map-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.map-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: var(--fs-0); font-weight: 700; padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--c-rule); background: #fff; color: var(--c-navy); cursor: pointer; }
.chip:hover { border-color: var(--c-sea); }
.chip.is-on { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.map-filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: var(--fs-1); }
.map-check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.map-check input { width: 18px; height: 18px; accent-color: var(--c-sea); }
.map-select select, .map-list-head select { font: inherit; font-size: var(--fs-1); padding: 5px 8px; border: 1.5px solid var(--c-rule); border-radius: 8px; background: #fff; color: var(--c-ink); }
.map-layout { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: stretch; }
.map-wrap { position: relative; }
.mansion-map { height: min(72vh, 680px); min-height: 420px; border-radius: 14px; border: 1px solid var(--c-rule); overflow: hidden; background: var(--c-sea-50); z-index: 0; }
.map-legend { position: absolute; left: 12px; bottom: 28px; z-index: 500; background: rgba(255, 255, 255, .95); border: 1px solid var(--c-rule); border-radius: 10px; padding: 10px 12px; font-size: .75rem; box-shadow: var(--shadow); }
.map-legend-h { font-weight: 700; color: var(--c-navy); margin: 0 0 4px; }
.map-legend ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.map-legend li { display: flex; align-items: center; gap: 6px; color: #3b4a56; }
.lg-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex-shrink: 0; }
.lg-none { background: #fff; border-color: #7d8b96; box-shadow: none; }
.map-list { border: 1px solid var(--c-rule); border-radius: 14px; background: #fff; display: flex; flex-direction: column; height: min(72vh, 680px); min-height: 420px; }
.map-list-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--c-rule); }
.map-list-head p { margin: 0; font-size: var(--fs-1); color: var(--c-muted); }
.map-list-head strong { color: var(--c-navy); font-size: 1.25rem; margin-right: 2px; font-variant-numeric: tabular-nums; }
.map-list-items { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.map-list-items button { width: 100%; display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; text-align: left; font: inherit; background: none; border: 0; border-radius: 8px; padding: 8px; cursor: pointer; color: var(--c-ink); }
.map-list-items button:hover { background: var(--c-sea-50); }
.ml-dot { width: 12px; height: 12px; border-radius: 50%; display: block; }
.ml-body { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.ml-name { font-weight: 700; font-size: var(--fs-1); color: var(--c-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-meta { font-size: .6875rem; color: var(--c-muted); }
.ml-unit { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-ink); white-space: nowrap; }
.ml-unit small { font-weight: 400; color: var(--c-muted); font-size: .6875rem; }
.ml-none { padding: 16px; color: var(--c-muted); font-size: var(--fs-1); }
.map-list .note { padding: 0 14px 12px; margin: 0; }
.mp { min-width: 200px; font-family: var(--font); }
.mp p { margin: 0; }
.mp-name { font-weight: 700; color: var(--c-navy); font-size: .9375rem; line-height: 1.4; }
.mp-meta { font-size: .75rem; color: var(--c-muted); margin-top: 2px !important; }
.mp-unit { font-size: 1.375rem; font-weight: 700; color: var(--c-navy); margin-top: 6px !important; font-variant-numeric: tabular-nums; }
.mp-unit small { font-size: .75rem; font-weight: 400; margin-left: 2px; color: var(--c-muted); }
.mp-price { font-size: .8125rem; color: #3b4a56; }
.mp-badge { display: inline-block; margin-top: 6px !important; font-size: .6875rem; font-weight: 700; background: var(--c-navy); color: #fff; padding: 2px 8px; border-radius: 99px; }
.mp-link { display: block; margin-top: 10px; text-align: center; background: var(--c-coral); color: #fff !important; border-radius: 99px; padding: 6px 12px; font-weight: 700; text-decoration: none; font-size: .8125rem; }
.leaflet-container { font-family: var(--font); }
.map-more { display: inline-block; margin-top: 8px; font-weight: 700; font-size: var(--fs-1); }
.map-more::after { content: " →"; }
.hero-map { display: flex; flex-direction: column; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--c-sea-50); color: var(--c-sea-dark); text-decoration: none; text-align: center; line-height: 1.4; }
.hero-map span { font-weight: 700; }
.hero-map span::after { content: " →"; }
.hero-map small { font-size: .6875rem; color: var(--c-muted); }
.hero-map:hover { background: #dbefed; color: var(--c-navy); }
.more-row { display: flex; gap: 18px; }
.head-links { margin: 14px 0 0; }
.btn-map { background: #fff; color: var(--c-navy); border-color: var(--c-navy); }
.btn-map:hover { background: var(--c-navy); color: #fff; }
@media (max-width: 960px) {
  .map-layout { grid-template-columns: 1fr; }
  .mansion-map { height: 62vh; min-height: 360px; }
  .map-list { height: auto; max-height: 520px; }
}
@media (max-width: 560px) {
  .map-legend { left: 8px; bottom: 22px; padding: 8px 10px; font-size: .6875rem; }
  .map-toolbar { flex-direction: column; align-items: stretch; }
  .map-areas { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chip { white-space: nowrap; }
}

/* ── エピソード（会話の吹き出し） ── */
.talk { display: grid; gap: 12px; margin: 20px 0 24px; }
.talk-row { display: flex; align-items: flex-start; gap: 12px; }
.talk-me { flex-direction: row-reverse; }
.talk-who { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--c-navy); background: var(--c-sand-2); text-align: center; line-height: 1.2; }
.talk-me .talk-who { background: var(--c-sea-50); color: var(--c-sea-dark); }
.talk-bubble { position: relative; margin: 0 !important; background: #fff; border: 1px solid var(--c-rule); border-radius: 14px; padding: 12px 16px; max-width: 34em; line-height: 1.7; }
.talk-bubble::before { content: ""; position: absolute; top: 22px; left: -8px; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); transform: rotate(45deg); }
.talk-me .talk-bubble { background: var(--c-sea-50); border-color: #bfe0dd; }
.talk-me .talk-bubble::before { left: auto; right: -8px; background: var(--c-sea-50); border: 0; border-right: 1px solid #bfe0dd; border-top: 1px solid #bfe0dd; }
.story-link { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 14px 18px; border-radius: 12px; background: #fff7ec; border: 1px solid #f2d6ae; color: var(--c-ink); text-decoration: none; font-weight: 700; line-height: 1.5; }
.story-link:hover { border-color: #c9a24a; color: var(--c-navy); }
.story-link::after { content: "→"; margin-left: auto; color: #9a5b12; }
.story-tag { flex-shrink: 0; font-size: .6875rem; background: #9a5b12; color: #fff; padding: 2px 10px; border-radius: 99px; }
.col-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 560px) {
  .talk-who { width: 48px; height: 48px; font-size: .6875rem; }
}

/* ── 県外シリーズ：関連リンク・件数 ── */
.related { margin: 32px 0 0; border-top: 2px solid var(--c-navy); padding-top: 16px; }
.related-h { font-weight: 700; color: var(--c-navy); margin: 0 0 8px !important; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.related li a { display: block; padding: 10px 14px; border-radius: 10px; background: var(--c-sea-50); color: var(--c-sea-dark); font-weight: 700; text-decoration: none; font-size: var(--fs-1); }
.related li a::after { content: " →"; }
.related li a:hover { background: #dbefed; color: var(--c-navy); }
.h2-count { font-size: .55em; color: var(--c-muted); font-weight: 500; margin-left: 10px; }

/* 監査 10-07：スマホ幅でマップの操作欄が中身の幅のまま伸びて横にはみ出していた（縦並びの子は min-width:auto） */
.map-toolbar > *, .map-layout > * { min-width: 0; max-width: 100%; }
/* 監査 10-07：押す場所が小さいリンクを指で押せる高さに */
.case-link { display: inline-block; padding: 8px 0; }
.more-link a, .head-links a:not(.btn) { display: inline-block; padding: 6px 0; }
/* 監査 10-07：年表はスマホで縦リストに切り替える */
.tl-list { display: none; list-style: none; margin: 0; padding: 4px 4px 4px 22px; position: relative; }
.tl-list::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 3px; background: var(--c-rule); border-radius: 2px; }
.tl-li { position: relative; padding: 6px 0 8px 14px; display: flex; flex-direction: column; line-height: 1.5; }
.tl-li::before { content: ""; position: absolute; left: -19px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: #9fb3c0; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--c-rule); }
.tl-li strong { color: var(--c-navy); font-size: var(--fs-1); }
.tl-li span { color: var(--c-muted); font-size: var(--fs-0); }
.tl-li-start::before { background: var(--c-navy); }
.tl-li-end::before { background: var(--c-coral); }
.tl-li-end strong { color: var(--c-coral-dark); }
.tl-li-ok::before { background: var(--c-sea); }
.tl-li-ng::before { background: #c9a24a; }
@media (max-width: 560px) {
  .chart-tl svg { display: none; }
  .tl-list { display: block; }
}

/* フォーム：いたずら送信よけ（画面外に置く）・注記・お礼 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-note { font-size: .75rem; color: var(--c-muted); margin: 10px 0 0; text-align: center; }
.form-thanks { background: #fff; border: 2px solid var(--c-sea); border-radius: 16px; padding: 28px; }
.form-thanks-h { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-4); color: var(--c-navy); margin-bottom: 10px; }

/* ── 2026-10-09 改善意見書への対応（県内の入口・事例の区分・相談で分かること） ── */
.hero-sub { color: #c4d7df; font-size: var(--fs-1); margin: 16px 0 0; max-width: 34em; }
.sec-tight { padding: 28px 0; }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.entry { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--c-rule); background: #fff; color: var(--c-ink); text-decoration: none; position: relative; transition: border-color .15s; }
.entry::after { content: "→"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--c-sea-dark); font-weight: 700; }
.entry:hover { border-color: var(--c-sea); color: var(--c-ink); }
.entry-tag { font-size: .75rem; font-weight: 700; color: var(--c-muted); }
.entry strong { font-family: var(--font-head); font-size: var(--fs-4); color: var(--c-navy); line-height: 1.4; padding-right: 24px; }
.entry > span:last-child { font-size: var(--fs-1); color: var(--c-muted); padding-right: 24px; }
.entry-remote { border-left: 4px solid var(--c-navy); }
.entry-local { border-left: 4px solid var(--c-sea); }
.tag-st-done { background: var(--c-coral); color: #fff; }
.tag-st-open { background: #fff; color: var(--c-muted); border: 1px solid var(--c-rule); }
.tag-fiction { background: #fff7ec; color: #9a5b12; margin-left: 4px; }
.case-noimg .case-body { border-top: 4px solid var(--c-sea-50); }
.case-result { font-weight: 700; color: var(--c-navy) !important; margin: 0 0 6px; }
.case-voice { font-size: var(--fs-1); color: var(--c-ink) !important; background: var(--c-sand); border-radius: 8px; padding: 8px 12px; }
.case-feature { display: grid; grid-template-columns: 5fr 7fr; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.case-feature-img { min-height: 280px; background: center/cover no-repeat var(--c-sea-50); }
.case-feature-body { padding: 26px 30px; }
.case-dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px 14px; margin: 10px 0 14px; font-size: var(--fs-1); }
.case-dl dt { font-weight: 700; color: var(--c-sea-dark); }
.case-dl dd { margin: 0; color: #3b4a56; }
.reason-proof { margin: 10px 0 0; padding-left: 10px; border-left: 3px solid var(--c-sea); font-size: .8125rem !important; color: var(--c-ink) !important; }
.reason-proof small { display: block; color: var(--c-muted); font-size: .75rem; }
.consult { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.consult-col { background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: 22px 24px; }
.consult-col h3 { font-size: var(--fs-3); color: var(--c-navy); margin: 0 0 10px; }
.consult-col h3 + .mini-steps { margin-bottom: 18px; }
.consult-list { margin: 0; padding-left: 1.2em; font-size: var(--fs-1); color: #3b4a56; }
.consult-list li { margin-bottom: 8px; }
.consult-list strong { display: block; color: var(--c-navy); }
.consult-list-s li { margin-bottom: 4px; }
.consult-cta { text-align: center; margin-top: 28px; }
.cta-sub { font-size: var(--fs-1); margin: 18px 0 0; }
.note-hist { margin-top: 12px; }
.sell-note p { font-size: var(--fs-1); }
.sell-note-sub { margin: 10px 0 0; font-size: .75rem !important; color: #b9ccd6; }
.m-case { margin-top: 40px; max-width: 560px; }
.form-rid { font-size: var(--fs-3); }
.form-side-note { font-size: .75rem; color: var(--c-muted); margin: 0; }
@media (max-width: 860px) {
  .entries, .consult, .case-feature { grid-template-columns: 1fr; }
  .case-feature-img { min-height: 200px; }
  .case-feature-body { padding: 20px; }
}
@media (max-width: 560px) {
  .case-dl { grid-template-columns: 1fr; gap: 2px; }
  .case-dl dd { margin-bottom: 8px; }
  .entry strong { font-size: var(--fs-3); }
}

/* ── 2026-10-09 理想形への寄せ（住戸一覧・資料の見本・現地作業の範囲・確認一覧） ── */
.units { margin-top: 40px; }
.tbl-units td, .tbl-units th { white-space: nowrap; }
.down { color: var(--c-coral-dark); font-weight: 700; font-size: .8125rem; }
.howto { background: var(--c-sea-50); border-radius: var(--radius); padding: 18px 22px; margin-top: 16px; }
.howto h3 { font-size: var(--fs-2); color: var(--c-navy); margin-bottom: 6px; }
.howto p { font-size: var(--fs-1); margin: 0; }
.tag-sample { background: var(--c-navy); color: #fff; margin-left: 8px; vertical-align: middle; }
.sheet { background: #fff; border: 1px solid var(--c-rule); border-radius: 16px; box-shadow: var(--shadow); padding: 28px 32px; margin-top: 20px; }
.sheet-head { border-bottom: 3px solid var(--c-navy); padding-bottom: 14px; margin-bottom: 8px; }
.sheet-kind { font-size: .8125rem; font-weight: 700; color: var(--c-sea-dark); margin: 0 0 4px; }
.sheet-head h3 { font-size: var(--fs-4); color: var(--c-navy); }
.sheet-meta { font-size: .75rem; color: var(--c-muted); margin: 6px 0 0; }
.sheet-sec { padding: 18px 0 6px; border-bottom: 1px dashed var(--c-rule); }
.sheet-sec:last-child { border-bottom: 0; }
.sheet-sec h4 { font-family: var(--font-head); font-size: var(--fs-3); color: var(--c-navy); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.sheet-sec h4 span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-navy); color: #fff; font-size: .8125rem; }
.sheet-sec p { font-size: var(--fs-1); }
.sheet-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; background: var(--c-sand); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; }
.sheet-price span { font-weight: 700; color: var(--c-navy); }
.sheet-price strong { font-family: var(--font-head); font-size: var(--fs-5); color: var(--c-coral-dark); font-variant-numeric: tabular-nums; }
.sheet-price small { flex-basis: 100%; color: var(--c-muted); font-size: .75rem; }
.sheet-list { margin: 0 0 12px; padding-left: 1.2em; font-size: var(--fs-1); }
.sheet-list li { margin-bottom: 6px; }
.sheet-list-2 { columns: 2; column-gap: 32px; }
.sheet-dl { display: grid; grid-template-columns: 13em 1fr; gap: 8px 16px; font-size: var(--fs-1); margin: 0 0 12px; }
.sheet-dl dt { font-weight: 700; color: var(--c-navy); }
.sheet-dl dd { margin: 0; }
.sheet-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.sheet-stats div { background: var(--c-sand); border-radius: 12px; padding: 12px; text-align: center; }
.sheet-stats strong { display: block; font-size: 1.5rem; color: var(--c-navy); font-variant-numeric: tabular-nums; }
.sheet-stats span { display: block; font-size: .75rem; font-weight: 700; }
.sheet-stats small { color: var(--c-muted); font-size: .6875rem; }
.tbl-scope th { white-space: nowrap; }
.tbl-scope td:last-child { white-space: nowrap; font-weight: 700; color: var(--c-navy); }
.visit-check { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.visit-col { border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--c-rule); background: #fff; }
.visit-col h3 { font-size: var(--fs-3); margin-bottom: 8px; }
.visit-col ul { margin: 0; padding-left: 1.2em; font-size: var(--fs-1); }
.visit-col li { margin-bottom: 6px; }
.visit-ok { border-top: 4px solid var(--c-sea); }
.visit-ok h3 { color: var(--c-sea-dark); }
.visit-ng { border-top: 4px solid var(--c-coral); }
.visit-ng h3 { color: var(--c-coral-dark); }
.reason-link { display: inline-block; margin-top: 8px; font-size: .8125rem; font-weight: 700; padding: 4px 0; }
.reason-link::after { content: " →"; }
.consult-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.form-side-link { font-size: var(--fs-1); font-weight: 700; }
.form-side-link::after { content: " →"; }
.proto-bar a { color: inherit; font-weight: 700; }
.tbl-kakunin th { min-width: 9em; }
.tbl-kakunin td { font-size: var(--fs-1); }
.k-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-navy); color: #fff; font-size: .6875rem; margin-right: 6px; }
@media (max-width: 860px) {
  .visit-check, .sheet-dl { grid-template-columns: 1fr; }
  .sheet-dl dd { margin-bottom: 8px; }
  .sheet-stats { grid-template-columns: repeat(2, 1fr); }
  .sheet-list-2 { columns: 1; }
}
@media (max-width: 560px) {
  .sheet { padding: 20px 16px; }
}
/* 狭い画面では、作業範囲と確認一覧の表を1行ずつのカードに積む */
@media (max-width: 640px) {
  .tbl-scope, .tbl-scope tbody, .tbl-scope tr, .tbl-scope th, .tbl-scope td,
  .tbl-kakunin, .tbl-kakunin tbody, .tbl-kakunin tr, .tbl-kakunin th, .tbl-kakunin td { display: block; width: auto; min-width: 0; white-space: normal !important; }
  .tbl-scope thead, .tbl-kakunin thead { display: none; }
  .tbl-scope tr, .tbl-kakunin tr { border-bottom: 1px solid var(--c-rule); padding: 10px 4px; }
  .tbl-scope th, .tbl-scope td, .tbl-kakunin th, .tbl-kakunin td { border: 0 !important; padding: 2px 8px !important; }
  .tbl-scope td:last-child::before { content: "費用："; font-weight: 400; color: var(--c-muted); }
  .tbl-kakunin td:nth-child(2)::before { content: "サイトに書いたこと："; display: block; font-size: .75rem; color: var(--c-muted); }
  .tbl-kakunin td:nth-child(3)::before { content: "確かめていただきたいこと："; display: block; font-size: .75rem; color: var(--c-muted); }
}

/* 相談フォーム：項目の群の見出し・2 列の並び（11/6、netlify の無料査定フォームの項目を取り込んだ） */
.form-group-h { font-family: var(--font-head); font-weight: 700; color: var(--c-navy); margin: 0 0 14px; padding-bottom: 6px; border-bottom: 1px solid var(--c-rule); }
.field + .form-group-h, .hint + .form-group-h { margin-top: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-row + .hint { margin: -12px 0 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
