/* design: カタログ＋資金計画パネル（賃貸ラボ site.css の配色・部品をブラッシュアップ）/ 戸建てラボ 定義 2026-11-20
 * 賃貸ラボから変えた点：本文 14px→16px・白を色味のある紙色に・数字は等幅揃え・物件ページ右に「この家にかかるお金」を常時表示。
 * 色・余白はここのトークンだけを使う。 */
:root {
  --brand: #1b3a6b; --brand-700: #12294d; --brand-50: #eef3f9;
  --action: #2b6cd9; --action-700: #1f56b3;
  /* ★白文字とのコントラスト比 4.5 以上にしてある（賃貸ラボの #f26a1b は 3.0 で不足）。price 4.71／cta 4.73／cta-700 5.9 */
  --price: #c23812; --cta: #c24d0e; --cta-700: #a8420b; --cta-ink: #ffffff; --link: #1a56b8;
  --paper: #ffffff; --bg: #f6f6f4; --border: #d9dcdf; --border-light: #e9ebed; --th: #f4f5f6; --money: #fbf5ea; --shadow: 0 1px 3px rgb(0 0 0 / .1); --r: 6px; --r-s: 4px;
  --text: #222222; --muted: #5f6770;
  --pos-low: #1f7a5a; --pos-mid: #5f6b7a; --pos-high: #a8591b;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* 英数字だけの長い文字（URL・型番）でも枠からはみ出さない */
h1, p, td, th, dd, dt, li, .card-name, .card-sub { overflow-wrap: anywhere; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--paper); overflow-x: hidden; word-break: auto-phrase; }
a { color: var(--action-700); }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--s4); }
main.container { padding-top: var(--s4); padding-bottom: var(--s7); }

.site-header { background: var(--brand); }
.hd-in { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: var(--s3); }
.brand { color: var(--paper); text-decoration: none; display: flex; align-items: baseline; gap: var(--s2); white-space: nowrap; }
.brand b { font-size: 20px; letter-spacing: .04em; } .brand span { font-size: 14px; opacity: .85; }
.hd-nav { display: flex; align-items: center; gap: var(--s4); } .hd-nav a:not(.btn) { color: var(--paper); font-size: 15px; white-space: nowrap; }
.sample-bar { background: var(--th); border-bottom: 1px solid var(--border); padding: var(--s2) var(--s4); font-size: 14px; text-align: center; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s4); border-radius: var(--r); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.btn-contact { background: var(--cta); border-color: var(--cta-700); color: var(--cta-ink); }
.btn-contact:hover { background: var(--cta-700); }
.btn-block { display: flex; width: 100%; margin-top: var(--s4); min-height: 52px; font-size: 17px; }

.crumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin-bottom: var(--s2); }
.crumb a::after { content: "›"; margin-left: var(--s2); color: var(--muted); }
.page-h1 { font-size: 26px; line-height: 1.4; font-feature-settings: "palt"; }
.page-h1 small { font-size: 16px; font-weight: 400; color: var(--muted); margin-left: var(--s2); }
.lead { color: var(--muted); margin-top: var(--s2); max-width: 44em; }
.sec-h { font-size: 20px; margin: var(--s6) 0 var(--s3); padding-bottom: var(--s2); border-bottom: 2px solid var(--brand); }
.note { font-size: 14px; color: var(--muted); margin-top: var(--s2); }

.box { border: 1px solid var(--border); border-radius: var(--r); margin-top: var(--s5); overflow: hidden; }
.box-h { font-size: 16px; background: var(--brand-50); padding: var(--s2) var(--s4); border-bottom: 1px solid var(--border); }
.pref-list { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); padding: var(--s4); }
.pref-list a { font-size: 18px; font-weight: 700; } .pref-list span { margin-left: var(--s2); color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; font-size: 14px; }
.chips span { border: 1px solid var(--border); border-radius: var(--r-s); padding: var(--s1) var(--s3); background: var(--th); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.card { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; display: block; background: var(--paper); }
.card:hover { border-color: var(--action); }
.card-ph, .gallery { background: var(--th); color: var(--muted); display: grid; place-items: center; font-size: 14px; }
.card-ph { aspect-ratio: 16 / 10; } .gallery { aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: var(--r); }
.card-b { padding: var(--s3) var(--s4) var(--s4); }
.card-price { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.card-price .num { color: var(--price); font-weight: 700; font-size: 24px; line-height: 1.3; }
.card-name { font-weight: 700; margin-top: var(--s1); } .card-sub { font-size: 14px; color: var(--muted); }
.card-money { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--border-light); font-size: 14px; }
.card-money div { display: flex; justify-content: space-between; gap: var(--s2); } .card-money dd { font-weight: 700; font-size: 16px; white-space: nowrap; }
.pos { font-size: 14px; font-weight: 700; padding: 0 var(--s2); border-radius: var(--r-s); border: 1px solid currentColor; white-space: nowrap; }
.pos-1, .pos-2 { color: var(--pos-low); } .pos-3 { color: var(--pos-mid); } .pos-4, .pos-5 { color: var(--pos-high); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "gallery plan" "main plan"; gap: var(--s5) var(--s6); align-items: start; margin-top: var(--s5); }
.gallery { grid-area: gallery; } .detail-main { grid-area: main; min-width: 0; } .plan { grid-area: plan; }
.detail-main > .sec-h:first-child { margin-top: 0; }
.spec th, .spec td { border: 1px solid var(--border); padding: var(--s2) var(--s3); text-align: left; vertical-align: top; font-size: 15px; }
.spec th { background: var(--th); width: 9em; font-weight: 400; white-space: nowrap; }
.price { color: var(--price); font-size: 20px; }
.plan { border: 2px solid var(--brand); border-radius: var(--r); padding: var(--s5) var(--s4) var(--s4); position: sticky; top: var(--s3); background: var(--paper); max-height: calc(100vh - var(--s5)); overflow-y: auto; overscroll-behavior: contain; }
.plan h2 { font-size: 18px; margin-bottom: var(--s3); }
.plan-top div, .plan-month div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: var(--s1) 0; }
.plan-top dt span { font-size: 14px; color: var(--muted); }
.plan-total { border-top: 1px solid var(--text); margin-top: var(--s2); padding-top: var(--s2) !important; }
.plan-total dt { font-weight: 700; } .plan-total dd { font-size: 32px; font-weight: 700; line-height: 1.2; }
.plan-lines { margin-top: var(--s2); } .plan-lines summary, .plan-form summary { cursor: pointer; color: var(--action-700); font-size: 15px; padding: var(--s2) 0; }
.plan-lines td { padding: var(--s1) 0; border-bottom: 1px solid var(--border-light); font-size: 14px; } .plan-lines td:last-child { text-align: right; white-space: nowrap; padding-left: var(--s2); }
.plan-lines i { font-style: normal; font-size: 14px; color: var(--muted); margin-left: var(--s2); }
.plan-month { background: var(--brand-50); border-radius: var(--r); padding: var(--s3) var(--s4); margin-top: var(--s3); }
.plan-month span { font-size: 15px; } .plan-month b { white-space: nowrap; }
.plan-year { margin-top: var(--s3); font-size: 15px; } .plan-year div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); } .plan-year dd { font-weight: 700; white-space: nowrap; }
.plan-live span { font-weight: 700; } .plan-live b { font-size: 26px; color: var(--brand-700); line-height: 1.2; }
.plan-form { margin-top: var(--s3); }
.plan-form label { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s1) 0; font-size: 15px; }
.plan-form label span { white-space: nowrap; }
.plan-form input[type=number] { width: 6em; min-height: 40px; font: inherit; font-size: 16px; text-align: right; border: 1px solid var(--border); border-radius: var(--r-s); padding: 0 var(--s2); margin-right: var(--s1); background: var(--paper); color: var(--text); font-variant-numeric: tabular-nums; }
.plan-form .chk { justify-content: flex-start; } .plan-form .chk input { width: 20px; height: 20px; flex: none; }

.plan-form label.is-off { display: none; }
.notfound { padding: var(--s7) 0; }
.pos-box { margin-top: var(--s6); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s4); }
.pos-box h3 { font-size: 18px; } .pos-now { margin-top: var(--s2); } .pos-now b { font-size: 20px; margin-right: var(--s3); } .pos-now > span { font-size: 15px; }
.pos-scale { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: var(--s3); border: 1px solid var(--border); border-radius: var(--r-s); overflow: hidden; }
.pos-scale li { padding: var(--s2) var(--s1); text-align: center; font-size: 14px; color: var(--muted); background: var(--th); border-right: 1px solid var(--border); line-height: 1.4; }
.pos-scale li:last-child { border-right: 0; } .pos-scale li.on { background: var(--brand); color: var(--paper); font-weight: 700; }
.pos-sub { font-size: 15px; margin-top: var(--s3); }

.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: var(--s5) 0 var(--s6); font-size: 14px; color: var(--muted); }
.ft-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin: var(--s3) 0; }

/* 絞り込み・トップの条件 */
.filter, .quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s3); align-items: end; padding: var(--s4); border: 1px solid var(--border); border-radius: var(--r); background: var(--th); margin-top: var(--s4); }
.filter label, .quick label { display: grid; gap: var(--s1); font-size: 14px; color: var(--muted); min-width: 0; }
.filter select, .quick select { width: 100%; min-width: 0; }
.filter select, .quick select { min-height: 44px; font: inherit; font-size: 16px; color: var(--text); background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-s); padding: 0 var(--s2); max-width: 100%; }
.btn-search { background: var(--action-700); border-color: var(--action-700); color: var(--paper); } .btn-search:hover { background: var(--brand); }
.f-count { margin: var(--s3) 0; font-size: 15px; color: var(--muted); min-height: 1.7em; } .f-empty { padding: var(--s6) 0; text-align: center; color: var(--muted); }
[hidden] { display: none !important; }
.simu-out .plan-top dd { white-space: nowrap; } .simu-out .plan-top div { gap: var(--s3); }
.sim-link { margin-top: var(--s3); font-size: 15px; }
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s2) var(--s5); }
.area-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); border-bottom: 1px solid var(--border-light); padding: var(--s2) 0; }
.area-list a { font-weight: 700; } .area-list span { font-size: 14px; color: var(--muted); white-space: nowrap; }
/* 市区町村ページ */
.stat th { width: 15em; white-space: normal; }
.bands th { text-align: left; font-weight: 400; font-size: 15px; padding: var(--s1) var(--s3) var(--s1) 0; white-space: nowrap; width: 1%; }
.bands td { padding: var(--s1) 0; font-size: 15px; } .bands td:last-child { width: 1%; white-space: nowrap; padding-left: var(--s3); text-align: right; }
.bands th span { white-space: nowrap; }
.bands .bar { display: block; height: 18px; background: var(--brand); border-radius: 2px; min-width: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* 賃貸と比べる */
.rent-box { margin-top: var(--s5); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s4); }
.rent-box h3 { font-size: 18px; margin-bottom: var(--s2); }
.rent-box dl div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s1) 0; border-bottom: 1px solid var(--border-light); font-size: 15px; }
.rent-box dd { font-weight: 700; font-size: 18px; white-space: nowrap; } .rent-diff { margin-top: var(--s2); font-weight: 700; }
/* 金利+1% */
.plan-plus span { font-size: 14px; color: var(--muted); } .plan-plus b { font-size: 16px; }
/* 逆算 */
.simu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); margin-top: var(--s5); align-items: start; }
.simu-form { border: 1px solid var(--border); border-radius: var(--r); padding: var(--s4); margin-top: 0; }
.simu-out { border: 2px solid var(--brand); border-radius: var(--r); padding: var(--s5) var(--s4) var(--s4); }
.simu-cap { font-size: 15px; color: var(--muted); } .simu-big { font-size: 40px; font-weight: 700; line-height: 1.25; color: var(--brand-700); }
.simu-links { display: grid; gap: var(--s2); margin-top: var(--s4); } .simu-links .btn { width: 100%; white-space: normal; text-align: center; padding: var(--s2) var(--s3); }
/* ── ブラッシュアップ 2026-11-20：物件冒頭の価格／トップの実例／スマホ下部バー／副ナビ／早選び */
.subnav { display: none; }
.p-sum { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); margin-top: var(--s3); }
.p-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s1) var(--s2); }
.p-price b { font-size: 34px; line-height: 1.2; color: var(--price); } .p-price small { font-size: 14px; color: var(--muted); }
.p-price .pos { align-self: center; text-decoration: none; font-size: 15px; padding: 2px var(--s2); }
.p-facts { display: flex; flex-wrap: wrap; gap: var(--s1) 0; font-size: 15px; }
.p-facts { min-width: 0; max-width: 100%; }
.p-facts li { padding: 0 var(--s3); border-left: 1px solid var(--border); min-width: 0; max-width: 100%; overflow-wrap: anywhere; } .p-facts li:first-child { padding-left: 0; border-left: 0; font-weight: 700; }
.gallery.is-empty { aspect-ratio: 16 / 7; } .card-ph.is-empty { aspect-ratio: 16 / 6; }
.card { transition: border-color .15s, box-shadow .15s; } .card:hover { box-shadow: 0 2px 10px rgb(27 58 107 / .12); }
.card-money dd { color: var(--brand-700); }
.eg { display: block; margin-top: var(--s5); padding: var(--s4); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--r); background: var(--paper); color: inherit; text-decoration: none; }
.eg:hover { border-color: var(--action); border-left-color: var(--brand); }
.eg-cap { display: block; font-size: 14px; color: var(--muted); }
.eg-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s2) var(--s4); margin-top: var(--s2); }
.eg-row > span { display: grid; } .eg-row i { font-style: normal; font-size: 14px; color: var(--muted); } .eg-row b { font-size: 22px; line-height: 1.3; white-space: nowrap; }
.eg-row em { font-style: normal; font-size: 20px; color: var(--muted); padding-bottom: 2px; }
.eg-total b { font-size: 30px; color: var(--brand-700); } .eg-month { margin-left: auto; padding-left: var(--s4); border-left: 1px solid var(--border); }
.eg-go { display: inline-block; margin-top: var(--s3); font-size: 15px; color: var(--action-700); text-decoration: underline; }
.f-note { margin-top: 0; margin-bottom: var(--s4); } .f-count { margin-bottom: var(--s1); font-weight: 700; color: var(--text); }
.stat th small, .bands th small { display: block; font-size: 14px; color: var(--muted); }
.bands tr.is-med .bar { background: var(--price); } .bands tr.is-med th small { color: var(--price); font-weight: 700; }
.quickset { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.quickset button { flex: 1 1 4.5em; min-height: 44px; font: inherit; font-size: 16px; font-weight: 700; border: 1px solid var(--border); border-radius: var(--r-s); background: var(--paper); color: var(--brand); cursor: pointer; }
.quickset button[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: var(--paper); }
.buybar { display: none; }
@media (prefers-reduced-motion: reduce) { .card, .buybar { transition: none !important; } }
@media (max-width: 900px) { .simu { grid-template-columns: minmax(0, 1fr); } .detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "plan" "main"; } .plan { position: static; max-height: none; overflow: visible; } .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .buybar { display: flex; align-items: center; gap: var(--s3); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--border); box-shadow: 0 -2px 10px rgb(27 58 107 / .12); transition: transform .2s; }
  .buybar.is-hidden { transform: translateY(110%); }
  .buybar dl { display: flex; gap: var(--s4); flex: 1; min-width: 0; } .buybar dt { font-size: 14px; color: var(--muted); line-height: 1.3; } .buybar dd { font-weight: 700; font-size: 17px; line-height: 1.3; white-space: nowrap; }
  .buybar .btn { padding: 0 var(--s3); }
  body:has(.buybar) .site-footer { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .subnav { display: flex; background: var(--brand-700); } .subnav a { flex: 1; text-align: center; color: var(--paper); font-size: 15px; padding: var(--s2) var(--s1); min-height: 44px; display: grid; place-items: center; text-decoration: none; border-left: 1px solid rgb(255 255 255 / .2); } .subnav a:first-child { border-left: 0; }
  .filter { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--s3); } .filter label:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .bands th { white-space: normal; } .bands th span { display: block; }
  .p-price b { font-size: 30px; } .p-sum { gap: var(--s2); } .eg-row { display: grid; gap: 0; } .eg-row em { display: none; } .eg-row > span { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s1) 0; } .eg-row b { font-size: 18px; } .eg-row i { font-size: 15px; }
  .eg-row .eg-total { border-top: 1px solid var(--text); margin-top: var(--s1); padding-top: var(--s2); } .eg-total b { font-size: 26px; } .eg-row .eg-month { margin-left: 0; padding-left: 0; border-left: 0; }
  .p-facts li { padding: 0 var(--s2); }
  .buybar dt { font-size: 14px; } .buybar dd { font-size: 16px; } .buybar dl { gap: var(--s3); }
  .container { padding: 0 var(--s3); } .cards { grid-template-columns: 1fr; } .page-h1 { font-size: 22px; }
  .brand span, .hd-nav a:not(.btn) { display: none; } .spec th { width: 7em; white-space: normal; }
  .plan-total dd { font-size: 28px; } .simu-big { font-size: 32px; } .stat th { width: 9em; } .pos-scale li { font-size: 14px; padding: var(--s2) 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.stat { max-width: 680px; }
/* 写真 */
.card-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery:not(.is-empty) { display: block; place-items: normal; aspect-ratio: auto; border: 0; background: none; }
.g-thumbs { width: 100%; }
.g-main { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--th); }
.g-thumbs { display: flex; gap: var(--s2); overflow-x: auto; margin-top: var(--s2); padding-bottom: var(--s1); }
.g-thumbs button { display: block; padding: 0; border: 2px solid transparent; border-radius: var(--r-s); background: none; cursor: pointer; flex: none; }
.g-thumbs button[aria-current=true] { border-color: var(--brand); }
.g-thumbs img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 2px; }
.gallery { min-width: 0; max-width: 100%; overflow: hidden; }
/* お気に入り・問い合わせ（2026-11-20） */
.fav-n { display: inline-block; min-width: 1.5em; margin-left: var(--s1); padding: 0 var(--s1); border-radius: 10px; background: var(--paper); color: var(--brand); font-size: 14px; font-weight: 700; text-align: center; line-height: 1.5; }
.fav-btn { min-height: 44px; padding: 0 var(--s4); font: inherit; font-size: 15px; font-weight: 700; border: 1px solid var(--border); border-radius: var(--r); background: var(--paper); color: var(--brand); cursor: pointer; }
.fav-btn .fav-on { display: none; } .fav-btn[aria-pressed=true] { background: var(--brand-50); border-color: var(--brand); } .fav-btn[aria-pressed=true] .fav-on { display: inline; } .fav-btn[aria-pressed=true] .fav-off { display: none; }
.container.narrow { max-width: 720px; }
.contact-form { margin-top: var(--s5); display: grid; gap: var(--s4); }
.cf-row { display: grid; gap: var(--s1); border: 0; padding: 0; margin: 0; min-width: 0; }
.cf-row > label, .cf-row > legend { font-weight: 700; font-size: 15px; padding: 0; }
.cf-row input[type=text], .cf-row input[type=email], .cf-row input[type=tel], .cf-row select, .cf-row textarea { width: 100%; min-height: 48px; font: inherit; font-size: 16px; color: var(--text); background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-s); padding: var(--s2) var(--s3); }
.cf-row textarea { min-height: 120px; resize: vertical; }
.cf-checks { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); } .cf-checks label, .cf-agree label { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 400; }
.cf-checks input, .cf-agree input { width: 20px; height: 20px; flex: none; }
.req { margin-left: var(--s2); font-size: 14px; font-weight: 700; color: var(--price); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cf-prop { margin-top: var(--s4); padding: var(--s3) var(--s4); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--r); }
.cf-prop-h { font-size: 14px; color: var(--muted); } .cf-prop-t { font-weight: 700; font-size: 18px; } .cf-prop-s { font-size: 15px; }
.cf-sample { margin-top: var(--s3); padding: var(--s2) var(--s3); background: var(--th); border-radius: var(--r-s); font-size: 15px; }
.hp label { display: block; width: 1px; overflow: hidden; } .hp input { width: 1px; padding: 0; border: 0; }
.subnav a { font-size: 14px; white-space: nowrap; }
/* 地図・学区（2026-11-20） */
.ways { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.ways a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--brand); border-radius: var(--r); font-weight: 700; text-decoration: none; color: var(--brand); background: var(--paper); }
.ways a:hover { background: var(--brand-50); }
.map { height: 320px; border: 1px solid var(--border); border-radius: var(--r); background: var(--th); z-index: 0; } .map-big { height: min(70vh, 640px); margin-top: var(--s4); }
.map-box { margin-top: var(--s5); } .map-box h3 { font-size: 18px; margin-bottom: var(--s2); }
.pin { background: none; border: 0; } .pin span { display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; padding: 2px var(--s2); border-radius: var(--r-s); background: var(--brand); color: var(--paper); font-size: 14px; font-weight: 700; box-shadow: 0 1px 4px rgb(0 0 0 / .3); }
.pop { display: block; padding: var(--s2) 0; border-bottom: 1px solid var(--border-light); color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.5; } .pop:last-of-type { border-bottom: 0; } .pop b { color: var(--price); font-size: 16px; } .pop small { color: var(--muted); font-size: 14px; }
.pop-more { font-size: 14px; color: var(--muted); }
.sch-city { font-size: 17px; margin: var(--s4) 0 var(--s1); }
.muted { color: var(--muted); font-size: 14px; }
.leaflet-container .leaflet-control-attribution { font-size: 14px; } .leaflet-container .leaflet-control-attribution a { color: var(--action-700); }
.leaflet-container a.pop { color: var(--text); } .leaflet-container { font: inherit; }
.marker-cluster div { font-size: 14px; font-weight: 700; }
.marker-cluster span { font-size: 14px; }
/* 物件ページを賃貸ラボと同じ構成に（2026-11-21） */
.p-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s3) var(--s5); }
.p-title > div:first-child { min-width: 0; flex: 1 1 320px; }
.p-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s2); border-radius: var(--r-s); font-size: 14px; font-weight: 700; }
.tag-on { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand); }
.p-total { flex-basis: 100%; font-size: 15px; } .p-total b { font-size: 18px; color: var(--brand-700); }
.p-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.p-tags li { padding: 2px var(--s3); border: 1px solid #c9d6e8; border-radius: 3px; font-size: 14px; font-weight: 700; background: var(--brand-50); color: var(--brand-700); }
.gallery:not(.is-empty) { position: relative; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); background: var(--th); scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-track img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; display: block; }
.g-nav { position: absolute; top: calc(50% - 60px); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--brand-700); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
.g-prev { left: var(--s2); } .g-next { right: var(--s2); }
.g-count { position: absolute; right: var(--s2); top: var(--s2); padding: 2px var(--s2); border-radius: var(--r-s); background: var(--brand-700); color: #fff; font-size: 14px; }
.btn-gray { background: var(--paper); border-color: var(--border); color: var(--brand-700); }
.share-menu { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); } .share-menu[hidden] { display: none; }
.box-b { padding: var(--s3) var(--s4); } .box h2.box-h { font-size: 17px; margin: 0; }
.eq-tags { display: flex; flex-wrap: wrap; gap: var(--s2); } .eq-tags li { padding: 2px var(--s2); border-radius: var(--r-s); background: var(--th); font-size: 15px; }
.cta-note { margin-top: var(--s1); text-align: center; font-size: 14px; color: var(--muted); }
.similar, .prop-area { margin-top: var(--s6); }
.sec-h .more { float: right; font-size: 15px; font-weight: 400; }
.prop-area-links { display: grid; gap: var(--s2); margin-top: var(--s3); } .prop-area-links a { display: inline-block; padding: var(--s1) 0; }
.map-box { margin-top: var(--s4); }
@media (max-width: 900px) { .buybar .btn-gray { display: none; } }
@media (max-width: 600px) { .p-actions { width: 100%; } .sec-h .more { float: none; display: block; margin-top: var(--s1); } .g-nav { top: calc(50% - 70px); } }
/* ── 2026-11-21 オーナー指示：構成も見た目も賃貸ラボ（apps/web/public/site.css）に合わせる。違うのは色だけ（紺→緑） ── */
body { background: #fff; }
.site-header { background: #fff; border-bottom: 2px solid var(--brand); } .hd-in { min-height: 60px; }
.brand { color: var(--brand); display: flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.25; }
.brand b { font-size: 18px; font-weight: 800; letter-spacing: .02em; } .brand span { font-size: 12px; font-weight: 400; color: var(--muted); opacity: 1; }
.hd-nav { gap: 2px; } .hd-nav a:not(.btn) { padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--text); border-radius: 4px; text-decoration: none; }
.hd-nav a:not(.btn):hover { background: var(--brand-50); color: var(--brand); }
.btn { border-radius: 4px; min-height: 44px; }
.btn-contact { border: 0; border-bottom: 3px solid var(--cta-700); border-radius: 8px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 12px rgb(194 77 14 / .28); gap: 8px; }
.hd-nav .btn-contact { margin-left: var(--s2); }
.btn-contact::before { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-contact:active { transform: translateY(2px); border-bottom-width: 1px; box-shadow: none; }
.sec-h { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); border: 0; border-left: 5px solid var(--brand); padding: 0 0 0 10px; font-size: 18px; margin: 26px 0 12px; line-height: 1.4; }
.sec-h .more { margin-left: auto; float: none; font-size: 14px; font-weight: 400; }
.crumb { font-size: 14px; padding: 10px 0 6px; margin: 0; }
main.container { padding-top: 0; } main.container > :first-child:not(.crumb) { margin-top: var(--s3); }
.page-title { border: 2px solid var(--brand); border-top-width: 3px; border-bottom: 0; border-radius: var(--r) var(--r) 0 0; background: #fff; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1) var(--s4); }
.page-title h1 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.page-title .total { font-size: 14px; color: var(--muted); white-space: nowrap; } .page-title .total b { font-size: 24px; color: var(--price); margin: 0 2px; font-weight: 800; }
.gw-pick { background: #fff; border: 2px solid var(--brand); border-top: 0; border-radius: 0 0 var(--r) var(--r); padding: 4px var(--s4) var(--s4); }
.gw-pick-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.gw-ways { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.gw-ways button, .gw-ways .gw-sim { font: inherit; position: relative; text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 52px; padding: var(--s2) 28px var(--s2) var(--s3); border: 1.5px solid var(--brand); background: #fff; color: var(--brand); border-radius: var(--r); cursor: pointer; line-height: 1.25; text-decoration: none; }
.gw-ways b { font-size: 15px; font-weight: 800; } .gw-ways small { font-size: 14px; color: var(--muted); display: none; }
.gw-ways .arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.gw-ways button[aria-selected=true] { background: var(--brand); color: #fff; } .gw-ways button[aria-selected=true] small { color: #dbe5f3; }
.gw-ways .gw-sim { grid-column: 1 / -1; border-color: var(--cta); color: var(--cta); } .gw-ways .gw-sim:hover { background: var(--cta); color: #fff; } .gw-ways .gw-sim:hover small { color: #fff; }
.gw-prefs { border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px 12px; min-width: 0; }
.gw-prefs-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); margin-bottom: var(--s3); font-size: 14px; color: var(--muted); } .gw-prefs-h b { font-size: 16px; color: var(--text); font-weight: 700; }
.gw-prefs-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.pref-jp { display: none; } .jpmap { width: 100%; height: auto; display: block; } .jpmap .p { fill: #e2e5e8; stroke: #fff; stroke-width: 3; } .jpmap .p.on { fill: var(--brand); }
.pref-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.pref-block { border: 1px solid var(--border); border-radius: var(--r-s); background: var(--paper); } .pref-block.on { border-color: var(--brand); }
.pref-block summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); padding: var(--s2) var(--s3); display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.pref-block summary::-webkit-details-marker { display: none; } .pref-block summary::after { content: "+"; font-weight: 400; } .pref-block[open] summary::after { content: "−"; }
.pref-block-in { display: flex; flex-wrap: wrap; gap: 0 var(--s4); padding: 0 var(--s3) var(--s2); font-size: 16px; line-height: 2.2; }
.pref-block-in span { color: #6b7279; } .pref-block-in a { font-weight: 700; white-space: nowrap; color: var(--link); text-decoration: none; } .pref-block-in a:hover { text-decoration: underline; } .pref-block-in a i { font-style: normal; font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 3px; }
.gw-kw { margin-top: var(--s3); padding: var(--s3) 0 0; border: 0; border-top: 1px dashed var(--border); border-radius: 0; background: none; }
.gw-lead { margin-top: var(--s3); font-size: 14px; color: var(--muted); }
.pt-h { font-size: 17px; font-weight: 700; margin: var(--s2) 0 var(--s3); } .pt-sub { font-size: 15px; font-weight: 700; margin: var(--s4) 0 var(--s2); padding-left: var(--s2); border-left: 4px solid var(--brand); line-height: 1.3; }
.gw-pick .ways { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.gw-pick .ways a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 60px; padding: var(--s2); border: 1.5px solid var(--brand); border-radius: var(--r-s); background: var(--brand); color: #fff; line-height: 1.3; text-decoration: none; }
.gw-pick .ways a:hover { background: var(--brand-700); } .gw-pick .ways b { font-size: 17px; font-weight: 800; } .gw-pick .ways small { font-size: 14px; color: #dbe5f3; }
.gw-pick .ways a.alt { background: var(--paper); color: var(--brand-700); } .gw-pick .ways a.alt small { color: var(--muted); } .gw-pick .ways a.alt:hover { background: var(--brand-50); }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.picks a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: var(--s2) var(--s3); border: 1px solid var(--border); border-radius: var(--r-s); text-decoration: none; line-height: 1.4; background: var(--paper); }
.picks a:hover { background: var(--brand-50); } .picks b { font-size: 15px; color: var(--link); } .picks span { font-size: 14px; color: var(--price); font-weight: 700; }
@media (min-width: 600px) { .pref-map { grid-template-columns: 1fr 1fr; } .picks { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .gw-pick .ways { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) {
  .gw-pick-in { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s4); align-items: start; }
  .gw-ways { grid-template-columns: 1fr; } .gw-ways small { display: block; } .gw-ways button, .gw-ways .gw-sim { min-height: 58px; } .gw-ways .gw-sim { margin-top: var(--s2); }
  .gw-prefs-in { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } .pref-jp { display: block; }
  .pref-block summary { pointer-events: none; min-height: 0; padding-bottom: 0; } .pref-block summary::after { display: none; }
}
@media (max-width: 900px) { .subnav { background: var(--brand); } }
@media (max-width: 600px) { .page-title h1 { font-size: 20px; } .gw-pick { padding: var(--s3); } }
.site-footer { margin-top: 30px; padding: 14px 0; font-size: 14px; }
.ft-brand { display: block; color: var(--brand); font-weight: 800; margin-bottom: var(--s2); }
.ft-row { display: flex; flex-wrap: wrap; align-items: center; line-height: 1.8; margin-bottom: 5px; }
.ft-row b { flex: none; margin-right: 4px; padding-left: 7px; border-left: 3px solid var(--brand); line-height: 1.2; color: var(--text); }
.ft-row a { margin: 3px 0 3px -1px; padding: 0 9px; border-left: 1px solid var(--border); line-height: 1.25; color: var(--muted); white-space: nowrap; text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; } .ft-row b + a { border-left-color: transparent; }
.ft-row a:hover { color: var(--brand); text-decoration: underline; } .ft-row a i { font-style: normal; font-size: 14px; margin-left: 3px; }
.ft-legal { border-top: 1px solid var(--border); margin-top: var(--s3); padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; } .ft-legal a { color: var(--muted); }
@media (max-width: 600px) { .page-title { padding: 10px 12px; } .page-title h1 { font-size: 17px; } .gw-pick { padding: 2px 10px 10px; } .hd-nav .btn-contact { min-height: 40px; padding: 0 12px; font-size: 14px; } }
@media (max-width: 900px) { .brand span, .hd-nav a:not(.btn) { display: none; } }
/* ── 2026-11-21 オーナー指示「他の戸建サイトを参照して」：SUUMO・HOME'S・アットホームの新築一戸建てページに共通する作りに寄せる ──
   ①白と薄い灰が地、色は細い線・数字・ボタンにだけ ②探し方は白いボタン＋印＋「〜から探す」 ③一覧は 写真＋表＋お金の枠＋操作 の行 */
body { background: var(--bg); }
.site-header { border-top: 3px solid var(--brand); border-bottom: 1px solid var(--border); }
.page-title { border: 0; border-top: 3px solid var(--brand); border-radius: var(--r) var(--r) 0 0; box-shadow: var(--shadow); padding: 14px 18px 6px; }
.page-title h1 { font-size: 22px; }
.gw-pick { border: 0; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); padding: 8px 18px 18px; }
.ic { flex: none; color: var(--brand); }
.gw-ways button, .gw-ways .gw-sim, .gw-pick .ways a { flex-direction: row; align-items: center; gap: 10px; min-height: 60px; padding: 8px 30px 8px 12px; border: 1px solid #c9cdd2; border-bottom-width: 2px; border-radius: var(--r); background: #fff; color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / .06); text-align: left; justify-content: flex-start; }
.w-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.gw-ways b, .gw-pick .ways b { font-size: 19px; font-weight: 700; } .gw-ways b i, .gw-pick .ways b i { font-style: normal; font-size: 14px; margin-left: 2px; }
.gw-ways small, .gw-pick .ways small { font-size: 14px; color: var(--muted); }
.gw-ways .arrow, .gw-pick .ways .arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 20px; color: #5f6770; }
.gw-pick .ways a { position: relative; text-decoration: none; } .gw-pick .ways a:hover, .gw-ways button:hover, .gw-ways .gw-sim:hover { background: var(--brand-50); color: var(--text); border-color: var(--brand); }
.gw-ways button[aria-selected=true] { background: var(--brand-50); color: var(--text); border-color: var(--brand); box-shadow: inset 4px 0 0 var(--brand); } .gw-ways button[aria-selected=true] small { color: var(--muted); }
.gw-ways .gw-sim { border-color: #c9cdd2; color: var(--text); } .gw-ways .gw-sim .ic { color: var(--cta); } .gw-ways .gw-sim b { font-size: 16px; } .gw-ways .gw-sim:hover small { color: var(--muted); }
.gw-pick .ways a.alt { background: #fff; } .gw-pick .ways { gap: 10px; }
.gw-prefs { background: var(--th); border: 0; } .pref-block { border-color: var(--border); } .pref-block.on { border-color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
.pt-h { font-size: 18px; } .picks a { box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.sec-h { font-size: 19px; }
.card { border: 0; box-shadow: var(--shadow); } .card:hover { box-shadow: 0 3px 10px rgb(0 0 0 / .16); } .card-money { background: var(--money); margin: var(--s3) calc(var(--s4) * -1) calc(var(--s4) * -1); padding: var(--s3) var(--s4); border-top: 0; }
.filter { border: 0; box-shadow: var(--shadow); }
.rows { display: grid; gap: var(--s4); margin-top: var(--s4); }
.row { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.row-h { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding: 12px 16px; background: linear-gradient(#fff, var(--th)); border-bottom: 1px solid var(--border-light); font-size: 18px; line-height: 1.4; }
.row-h a { color: var(--link); font-weight: 700; } .row-kind { flex: none; font-size: 14px; font-weight: 700; color: var(--link); border: 1px solid var(--link); border-radius: 3px; padding: 0 8px; background: #fff; }
.row-b { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--s4); padding: 16px; }
.row-ph { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--th); color: var(--muted); font-size: 14px; text-decoration: none; border-radius: var(--r-s); overflow: hidden; align-self: start; } .row-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-price { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); } .row-price b { font-size: 28px; line-height: 1.2; color: var(--price); }
.row-t { margin-top: var(--s2); font-size: 15px; } .row-t th { width: 5.5em; text-align: left; vertical-align: top; font-weight: 700; padding: 4px 0; white-space: nowrap; } .row-t td { padding: 4px 0; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s2); } .row-tags li { font-size: 14px; padding: 1px 8px; border-radius: 3px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; }
.row-money { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s6); padding: 12px 16px; background: var(--money); }
.row-money div { display: flex; align-items: baseline; gap: var(--s3); } .row-money dt { font-size: 14px; font-weight: 700; } .row-money dd { font-size: 22px; font-weight: 700; white-space: nowrap; } .row-money div:first-child dd { color: var(--price); }
.row-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); padding: 12px 16px; } .row-act .btn-contact { margin-left: 0; min-width: 200px; } .row-act .fav-btn { min-height: 44px; }
.row-more { margin-left: auto; font-weight: 700; color: var(--link); }
@media (max-width: 900px) { .subnav { background: #fff; border-bottom: 1px solid var(--border); } .subnav a { color: var(--text); font-weight: 700; } }
@media (max-width: 700px) {
  .row-b { grid-template-columns: minmax(0, 1fr); gap: var(--s3); padding: 12px; } .row-ph { aspect-ratio: 16 / 9; } .row-ph.is-empty { aspect-ratio: 16 / 5; }
  .row-h { padding: 10px 12px; font-size: 17px; } .row-money { padding: 10px 12px; } .row-money div { flex: 1 1 100%; justify-content: space-between; } .row-act { padding: 10px 12px; } .row-act .btn-contact { flex: 1; min-width: 0; } .row-more { flex-basis: 100%; text-align: right; }
  .gw-ways b, .gw-pick .ways b { font-size: 16px; } .gw-ways b i, .gw-pick .ways b i { font-size: 14px; } .gw-ways button, .gw-ways .gw-sim, .gw-pick .ways a { min-height: 52px; padding: 6px 22px 6px 8px; gap: 6px; } .gw-pick .ways small { display: none; } .ic { width: 22px; height: 22px; }
  .page-title { padding: 12px 12px 4px; } .gw-pick { padding: 6px 12px 12px; }
}
.gw-ways b, .gw-pick .ways b { white-space: nowrap; }
@media (max-width: 700px) { .gw-ways b, .gw-pick .ways b { font-size: 15px; } .gw-ways .gw-sim b { font-size: 15px; } }
@media (max-width: 359px) { .gw-ways, .gw-pick .ways { grid-template-columns: 1fr; } }
.gw-pick .ways a, .gw-ways button, .gw-ways .gw-sim { min-width: 0; }
.row-h a { display: inline-block; padding: 3px 0; }
@media (min-width: 900px) { .pref-block summary { cursor: default; } }
.sec-h .more { display: inline-flex; align-items: center; min-height: 28px; }
.sec-h small { font-size: 14px; font-weight: 400; color: var(--muted); }
@media (min-width: 900px) { .gw-pick .ways { grid-template-columns: repeat(5, 1fr); } .gw-pick .ways b { font-size: 17px; } }
@media (max-width: 700px) { .gw-pick .ways a:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.doc { max-width: 860px; } .doc p { margin-top: var(--s3); line-height: 1.9; } .doc .spec { margin-top: var(--s3); }
.doc-ul { margin-top: var(--s3); display: grid; gap: var(--s2); } .doc-ul li { padding-left: 1.2em; position: relative; line-height: 1.8; } .doc-ul li::before { content: ""; position: absolute; left: .3em; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc-h3 { font-size: 17px; margin-top: var(--s5); }
.faq { display: grid; gap: var(--s3); margin-top: var(--s4); } .faq > div { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: var(--s4); }
.faq dt { font-weight: 700; font-size: 17px; padding-left: 1.6em; position: relative; line-height: 1.5; } .faq dt::before { content: "Q"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.faq dd { margin-top: var(--s2); padding-left: 1.6em; position: relative; line-height: 1.9; } .faq dd::before { content: "A"; position: absolute; left: 0; color: var(--price); font-weight: 800; }
.hz-link { margin-top: var(--s3); } .hz-link .btn { white-space: normal; text-align: center; height: auto; padding-top: 8px; padding-bottom: 8px; }
.ft-legal-l { display: flex; flex-wrap: wrap; gap: 4px 16px; } .ft-legal-l a { min-height: 24px; display: inline-flex; align-items: center; }
.pa { margin-top: var(--s3); background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.pa summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: var(--link); min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; } .pa summary::-webkit-details-marker { display: none; }
.pa summary::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a56b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0c0 6 2.500 7 2.500 7h-17S6 15 6 9zM10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center/contain no-repeat; }
.pa-f { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3); align-items: end; padding: 0 14px 14px; }
.pa-mail { display: grid; gap: 4px; font-size: 14px; font-weight: 700; } .pa-mail input { font: inherit; font-weight: 400; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-s); width: 100%; }
.pa-ok { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; min-height: 32px; } .pa-ok input { width: 20px; height: 20px; flex: none; }
.pa-f .btn { grid-row: 1; grid-column: 2; } .pa-f .note, .pa-msg { grid-column: 1 / -1; margin: 0; }
.pa-msg { font-weight: 700; } .pa-msg.is-ok { color: var(--pos-low); } .pa-msg.is-ng { color: var(--price); }
@media (max-width: 600px) { .pa-f { grid-template-columns: minmax(0, 1fr); } .pa-f .btn { grid-row: auto; grid-column: 1; } }

/* =====================================================================
 * ★2026-11-25 オーナー指示「ドラピタ（dorapita.com）の仕様や構成を学習してまねして」
 *   → 同日「寄せすぎ。構成は真似ていいけど、デザインはアレンジいる」＝並び（構成）はドラピタ、見た目は下の「戸建てラボのアレンジ」で上書き。
 * 対応：ドラピタ緑 #00797e → --dp（紺）／薄緑 #e3f0f1 → --dp-light／オレンジ #f7931e・#f15a24 → --dp-or・--dp-or2（白文字で読める濃さに）
 * 絵は自作（scripts/art）。ドラピタの絵・写真・ロゴは使わない。
 * ===================================================================== */
:root { --dp: #1b3a6b; --dp-2: #2d5590; --dp-light: #e6edf6; --dp-3: #d7e1ee; --dp-or: #e0700f; --dp-or2: #c24d0e; --dp-grad: linear-gradient(90deg, #e0700f 0%, #c24d0e 100%); --dp-gray: #808080; --dp-gray-light: #e4e8ec; --dp-bg: #f5f6f6; --dp-foot: #2c343e; --dp-yellow: #ffc824; --def-width: 94%; --def-max-width: 1140px; }
body { font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; color: #333; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header { position: relative; z-index: 50; background: none; border: 0; box-shadow: none; }
.hd-top { height: 6px; background: var(--dp); }
.hd-btm { background: #fff; }
.hd-pc .hd-in { display: flex; justify-content: center; align-items: center; }
.hd-m1 { order: 1; } .logo { order: 2; } .hd-m2 { order: 3; }
.hd-m1 > ul, .hd-m2 > ul { display: flex; justify-content: center; align-items: center; }
.hd-m1 > ul > li, .hd-m2 > ul > li { margin: 0 25px; min-width: 5em; }
.hd-m1 a, .hd-m2 a, .hd-menu summary { display: block; min-width: 5em; font-size: 13px; font-weight: 700; text-align: center; color: #333; text-decoration: none; line-height: 1.4; cursor: pointer; list-style: none; }
.hd-menu summary::-webkit-details-marker { display: none; }
.nav-ic { position: relative; display: block; margin-bottom: 5px; text-align: center; } .nav-ic .ic { width: 34px; height: 34px; color: var(--dp); stroke-width: 1.7; }
.hd-m2 .nav-cta, .hd-sp-m .nav-cta { background: var(--dp-grad); border-radius: 4px; } .nav-cta a { color: #fff; padding: 6px 8px; } .nav-cta .nav-ic .ic { color: #fff; }
.fav-n { position: absolute; top: -4px; left: 60%; min-width: 18px; height: 17px; padding: 0 4px; border: 2px solid #fff; border-radius: 12px; background: var(--dp); color: #fff; font-size: 10px; font-style: normal; line-height: 13px; }
.logo { width: 170px; height: 170px; margin: 0 25px -65px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #fff; border-radius: 50%; }
.logo-tag { font-size: 10px; font-weight: 500; line-height: 14.48px; text-align: center; margin-bottom: 10px; margin-top: -29px; color: #333; }
.logo img { width: 112px; height: auto; display: block; }
.hd-menu { position: relative; }
.hd-drawer { position: absolute; right: -20px; top: calc(100% + 14px); width: min(360px, 92vw); padding: 10px 16px; background: var(--dp); border: 2px solid #fff; border-radius: 10px; box-shadow: 0 6px 20px rgb(0 0 0 / .2); text-align: left; z-index: 60; }
.hd-drawer p { display: flex; flex-wrap: wrap; gap: 0 14px; padding: 8px 0; border-bottom: 1px solid rgb(255 255 255 / .35); } .hd-drawer p:last-child { border-bottom: 0; }
.hd-drawer b { width: 100%; font-size: 12px; color: #c9d6e8; } .hd-drawer a { min-height: 32px; display: inline-flex; align-items: center; color: #fff; font-size: 14px; font-weight: 700; }
.hd-sp { display: none; }
.sample-bar { position: relative; z-index: 1; padding-top: 70px; }
main.container { padding-top: 80px; }

/* メインの絵＋地域の看板（ドラピタ main_img_area） */
.mv { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 640px; height: 85vh; }
.mv-img { position: absolute; inset: 0; z-index: 1; overflow: hidden; } .mv-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.mv-area { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 860px; width: var(--def-width); margin: auto auto 0; padding: 10px; z-index: 2; position: relative; border-radius: 10px; background: #fff; filter: drop-shadow(rgba(0, 0, 0, .15) 0 2px 3px); }
.mv-area > div { width: 32.5%; }
.sign { position: relative; display: grid; grid-template-rows: auto auto auto; justify-items: center; padding: 10px 8px 8px; background: #1f4b8f; border-radius: 8px; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 3px #1f4b8f, inset 0 0 0 5px #fff; transition: .3s; line-height: 1.1; }
.sign:hover { opacity: .85; }
.sign-no { position: absolute; left: 12px; top: 10px; min-width: 30px; height: 26px; padding: 0 4px; display: grid; place-items: center; background: #fff; color: #1f4b8f; font-size: 13px; font-weight: 700; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.sign-jp { font-size: 44px; font-weight: 700; letter-spacing: .12em; padding-left: .12em; margin-top: 4px; }
.sign-en { font-size: 11px; font-weight: 500; letter-spacing: .08em; opacity: .95; }
.sign-arw { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 700; } .sign-arw i { font-style: normal; font-size: 18px; line-height: 1; }
.mv-city { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 5px; font-size: .9rem; } .mv-city li::after { content: "/"; margin: 0 .3em; color: var(--dp-gray); } .mv-city li:last-of-type::after { display: none; }
.mv-city a { color: #333; text-decoration: none; filter: drop-shadow(rgba(0, 0, 0, .15) 0 2px 3px); } .mv-city a:hover { text-decoration: underline; }
.mv-pref { max-width: 1010px; width: var(--def-width); margin: 20px auto 30px; padding: 15px 0; display: flex; align-items: center; background: #fff; z-index: 2; position: relative; border-radius: 10px; filter: drop-shadow(rgba(0, 0, 0, .15) 0 2px 3px); }
.mv-pref-t { display: flex; align-items: center; flex: none; font-size: 1.05rem; font-weight: 700; padding: 0 30px; border-right: 1px solid #ccc; } .mv-pref-t .ic { width: 20px; height: 20px; margin-right: .2em; color: var(--dp-or); }
.mv-pref-l { display: flex; flex-wrap: wrap; padding: 0 30px; } .mv-pref-l li { margin-right: 2em; } .mv-pref-l li:last-child { margin-right: 0; } .mv-pref-l a { color: #333; text-decoration: none; } .mv-pref-l a:hover { text-decoration: underline; }
.mv-bn { padding: 30px 0; background: rgba(0, 0, 0, .4); z-index: 10; position: relative; height: 120px; }
.mv-bn ul { width: var(--def-width); max-width: 1010px; margin: 0 auto; display: flex; justify-content: center; } .mv-bn li { width: 24%; margin: 0 .5%; }
.mv-bn a { display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 8px; background: #fff; border: 2px solid var(--dp); border-radius: 4px; color: var(--dp); text-decoration: none; overflow: hidden; } .mv-bn a:hover { opacity: .85; }
.mv-bn img { width: 64px; height: auto; flex: none; margin: 0 -4px; } .mv-bn span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; } .mv-bn small { font-size: 10px; color: #666; } .mv-bn b { font-size: 15px; font-weight: 700; white-space: nowrap; }

/* 掲載件数と検索（ドラピタ top_search） */
.top-search { padding: 60px 0 0; background: var(--dp); }
.ts-in { width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto; }
.keisaisu { margin: 0 20px 0; font-size: 1.4rem; font-weight: 500; color: #fff; text-align: center; } .keisaisu-num { margin: 0 .2em 0 .3em; font-size: 180%; font-weight: 700; color: var(--dp-yellow); }
.ts-box { width: var(--def-width); max-width: 600px; margin: 30px auto 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.ts-area, .ts-kw { width: calc(49% - 2.5em); position: relative; } .ts-btn { width: 5em; }
.form-select, .form-control { display: block; width: 100%; height: 2.25rem; padding: .375rem .75rem; font: inherit; font-size: 1rem; line-height: 1.5; color: #212529; background: #fff; border: 0; border-radius: .25rem; appearance: none; filter: drop-shadow(rgba(0, 0, 0, .15) 0 2px 3px); }
.ts-area .form-select { padding-right: 3.25rem; }
.ts-ic { width: 2.5rem; height: 2.25rem; background: var(--dp-or2); position: absolute; right: 0; top: 0; border-radius: 0 .25rem .25rem 0; pointer-events: none; z-index: 2; } .ts-ic::after { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.btn-primary { width: 100%; height: 2.25rem; display: flex; justify-content: center; align-items: center; gap: .2em; border: 0; border-radius: .25rem; background: var(--dp-or2); color: #fff; font: inherit; font-size: 1rem; cursor: pointer; filter: drop-shadow(rgba(0, 0, 0, .15) 0 2px 3px); } .btn-primary .ic { width: 18px; height: 18px; } .btn-primary:hover { background: #a8420b; }
.ts-empty { text-align: center; color: #fff; margin-top: 20px; }
.ts-strip { text-align: center; margin: 10px 0 0; line-height: 0; } .ts-strip img { width: 600px; max-width: 100%; height: auto; }

/* 見出し（ドラピタ top_title_01 / top_title_02） */
.t-wrap { display: flex; align-items: center; margin-bottom: 40px; } .t-01 { text-align: center; flex: 1 1 auto; font-weight: 400; }
.t-jp { display: block; margin-bottom: 10px; padding-left: .05em; font-size: 2rem; font-weight: 700; letter-spacing: .05em; color: #333; }
.t-en { display: inline-block; padding: 0 40px; position: relative; font-size: .9rem; font-weight: 700; color: var(--dp); }
.t-en::before, .t-en::after { content: ""; position: absolute; top: 50%; width: 30px; height: 2px; background: var(--dp); } .t-en::before { left: 0; } .t-en::after { right: 0; }
.t-02 { display: flex; justify-content: center; align-items: flex-end; margin: 0 auto 40px; padding-left: .05em; font-size: 2rem; font-weight: 700; letter-spacing: .05em; text-align: center; color: #333; } .t-02 .mini { font-size: 80%; } .t-02 .ic { width: 32px; height: 32px; margin-right: 10px; color: var(--dp); align-self: center; }

/* 新着・総額が安い（ドラピタ top_job） */
.top-job { padding: 80px 0; background-color: var(--dp-bg); background-image: linear-gradient(#e9ebeb 1px, transparent 1px), linear-gradient(90deg, #e9ebeb 1px, transparent 1px); background-size: 20px 20px; }
.job-new, .job-pop { width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto 60px; } .job-pop { margin-bottom: 0; }
.job-list { display: flex; flex-wrap: wrap; justify-content: space-between; } .job-list::after { content: ""; width: 32.2%; }
.job-list > li { width: 32.2%; margin-bottom: 1.7%; border-radius: 10px; background: #fff; filter: drop-shadow(rgba(0, 0, 0, .2) 0 3px 3px); }
.job-list > li > a { display: block; height: 100%; padding: 20px; color: #333; text-decoration: none; } .job-list > li > a:hover .job-t { text-decoration: underline; }
.job-co { color: var(--dp); font-size: .85rem; } .job-t { margin: 5px 0; font-weight: 700; line-height: 1.6; }
.job-sub { display: flex; align-items: center; margin-bottom: 3px; font-size: .8rem; color: var(--dp-gray); } .job-sub:last-child { margin-bottom: 0; } .job-sub .ic { width: 16px; height: 16px; margin-right: .3em; color: var(--dp); flex: none; } .job-sub b { color: #c23812; font-size: .95rem; margin-right: .2em; }
.job-btm { display: flex; justify-content: space-between; margin-top: 15px; } .job-img { width: 37%; } .job-img img, .job-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: grid; place-items: center; background: #eef0f2; font-size: 11px; color: var(--dp-gray); } .job-detail { width: 59%; }
.more-wrap { text-align: center; margin-top: 20px; }
.btn-co { position: relative; display: inline-flex; justify-content: center; align-items: center; width: 15em; padding: 0 .8em 0 .5em; background: var(--dp); color: #fff; font-size: .9rem; font-weight: 700; line-height: 2.2em; border-radius: 1.1em; text-decoration: none; }
.btn-co::after { content: ""; position: absolute; right: .9em; top: 50%; width: 6px; height: 6px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: translateY(-50%) rotate(45deg); } .btn-co:hover { opacity: .85; }

/* こだわり条件（ドラピタ top_vehicle_type） */
.top-cond { padding: 60px 0; } .cond-in { width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto; }
.cond-note { text-align: center; margin: -28px 0 20px; font-size: .9rem; color: var(--dp-gray); }
.cond-list { display: flex; flex-wrap: wrap; justify-content: center; } .cond-list li { width: 20%; margin-bottom: 10px; }
.cond-list a { display: block; padding: 10px; text-align: center; color: #333; text-decoration: none; } .cond-list a:hover .cond-name { color: var(--dp); text-decoration: underline; }
.cond-ic { display: block; margin-bottom: 10px; } .cond-ic img { max-width: 130px; width: 100%; height: auto; } .cond-name { font-weight: 700; }

/* ランキング（ドラピタ top_ranking） */
.top-rank { padding: 60px 0; background: linear-gradient(rgb(18 41 77 / .86), rgb(18 41 77 / .86)), url(/assets/img/hero-town-sp.webp) center / cover no-repeat; } .top-rank .t-02, .top-rank .t-02 .ic { color: #fff; }
.rank-box { display: flex; justify-content: space-between; width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto; }
.rank-type, .rank-kw { padding: 20px; background: #fff; border-radius: 10px; } .rank-type { width: 48%; } .rank-kw { width: 50%; }
.rank-t { margin-bottom: 20px; padding: 0 0 10px; border-bottom: 2px solid var(--dp); font-size: 1.1rem; font-weight: 700; }
.rank-list { counter-reset: num; } .rank-list li { margin-bottom: 10px; padding-left: 40px; position: relative; }
.rank-list li::before { display: inline-block; width: 1.6em; height: 1.6em; line-height: 1.6em; counter-increment: num; content: counter(num); background: #6b6b6b; color: #fff; font-weight: 700; border-radius: 50%; position: absolute; left: 0; text-align: center; }
.rank-list li:nth-child(1)::before { background: #d4c328; } .rank-list li:nth-child(2)::before { background: #a6a6a6; } .rank-list li:nth-child(3)::before { background: #c2924a; } .rank-list a { color: #333; }
.kw-tag { display: inline-block; height: 1.8em; margin: 0 .5em .9em 0; padding: 0 1em; line-height: 1.6em; border-radius: .9em; border: 1px solid var(--dp); color: var(--dp); font-size: .9rem; vertical-align: middle; text-decoration: none; } .kw-tag:hover { background: var(--dp-light); }

/* エリアから探す（ドラピタ top_area_search） */
.top-areas { padding: 60px 0; display: flex; flex-direction: column; justify-content: center; } .top-areas .t-02 .ic { width: 24px; height: 24px; }
.way-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: var(--def-width); margin: -20px auto 6px; }
.way-tabs button { display: inline-flex; align-items: center; gap: 4px; height: 2em; padding: 0 1em; border: 1px solid var(--dp); border-radius: 1em; background: #fff; color: var(--dp); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; } .way-tabs button .ic { width: 16px; height: 16px; }
.way-tabs [aria-pressed="true"] { background: var(--dp); color: #fff; }
.way-note { text-align: center; font-size: .85rem; color: var(--dp-gray); margin-bottom: 30px; }
.area-search { max-width: 1010px; width: var(--def-width); margin: 0 auto 40px; }
.area-box { display: flex; align-items: flex-start; margin-bottom: 20px; scroll-margin-top: 20px; }
.area-name { width: 11em; margin-right: 20px; background: linear-gradient(-45deg, var(--dp-2) 0%, var(--dp-2) 50%, var(--dp) 50%, var(--dp) 100%); color: #fff; line-height: 2em; font-size: 1rem; font-weight: 700; text-align: center; border-radius: 1em; flex: none; }
.pref-list { display: flex; flex-wrap: wrap; flex: 1 1 auto; } .pref-list li { margin: .3em 0; padding: 0 1.5em; line-height: 1.4; border-right: 1px solid var(--dp-gray-light); } .pref-list li:last-child { border-right: 0; }
.pref-list a { color: #333; } .pref-list a i { font-style: normal; font-size: 12px; color: var(--dp-or2); margin-left: 3px; font-weight: 700; } .pref-list span { color: #a6abb1; }

/* 住まい探しガイド（ドラピタ top_driver_type） */
.top-guide { padding: 60px 0; background-color: var(--dp-bg); background-image: linear-gradient(#e9ebeb 1px, transparent 1px), linear-gradient(90deg, #e9ebeb 1px, transparent 1px); background-size: 20px 20px; }
.guide-intro { margin: -24px auto 30px; text-align: center; width: var(--def-width); }
.guide-list { display: flex; flex-wrap: wrap; justify-content: space-between; width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto; }
.guide-box { display: flex; width: 49%; margin-bottom: 2%; padding: 20px; background: #fff; filter: drop-shadow(rgba(0, 0, 0, .15) 0 2px 3px); border-radius: 10px; }
.guide-img { width: 40%; margin-right: 25px; flex: none; } .guide-img img { width: 100%; height: auto; border-radius: 10px; display: block; }
.guide-r { display: flex; flex-direction: column; flex: 1 1 auto; } .guide-t { margin-bottom: 15px; font-size: 1.3rem; font-weight: 700; color: var(--dp); } .guide-txt { margin-bottom: 15px; }
.btn-more-mini { position: relative; display: flex; justify-content: center; align-items: center; width: 9em; margin: auto 0 0 auto; padding: 0 .8em 0 .5em; border: 1px solid var(--dp); background: #fff; color: var(--dp); font-size: .9rem; font-weight: 700; line-height: 1.8em; border-radius: .9em; text-decoration: none; }
.btn-more-mini::after { content: ""; position: absolute; right: .7em; top: 50%; width: 5px; height: 5px; border-right: 2px solid var(--dp); border-top: 2px solid var(--dp); transform: translateY(-50%) rotate(45deg); } .btn-more-mini:hover { background: var(--dp-light); }
.top-recent { width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto; padding: 60px 0; }

/* 県TOP（ドラピタ 県の求人一覧） */
.pref-band { position: relative; background: url(/assets/img/pref-band.webp) center / cover no-repeat; padding: 90px 0 0; text-align: center; border-bottom: 4px solid var(--dp); }
.pref-band::before { content: ""; position: absolute; inset: 0; background: rgb(255 255 255 / .18); }
.pref-band .container { position: relative; }
.pref-band h1 { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: .05em; text-shadow: 0 0 6px rgb(0 0 0 / .55), 0 2px 3px rgb(0 0 0 / .4); margin-bottom: 18px; }
.pref-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pref-tabs a { min-width: 120px; height: 50px; display: grid; place-items: center; padding: 0 20px; border-radius: 10px 10px 0 0; background: var(--dp); color: #fff; font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.pref-tabs a[aria-current] { background: #fff; color: var(--dp); font-size: 1.25rem; } .pref-tabs a:not([aria-current]):hover { background: var(--dp-2); }
.pref-band + .container .crumb { margin-top: 12px; }
.two { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "side main"; gap: 30px; align-items: start; margin-top: 16px; }
.two-main { grid-area: main; min-width: 0; } .two-side { grid-area: side; display: grid; gap: 16px; }
.side-box { background: #fff; border: 2px solid var(--dp); border-radius: 10px; overflow: hidden; }
.side-h { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; font-weight: 700; color: #fff; background: var(--dp); padding: 8px 14px; list-style: none; }
summary.side-h { cursor: pointer; } summary.side-h::-webkit-details-marker { display: none; } .side-tg::after { content: "−"; font-size: 18px; } details:not([open]) > summary .side-tg::after { content: "＋"; }
.side-n { text-align: center; padding: 10px; font-size: 1.1rem; font-weight: 700; color: var(--dp-or2); }
.two-side .filter { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 14px; margin: 0; border: 0; background: none; }
.two-side .filter label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; } .two-side .filter select, .two-side .filter input { width: 100%; min-height: 40px; border-radius: 4px; }
.two-side .f-note { padding: 0 14px 14px; margin: 0; font-size: 12px; } .side-sub { font-size: 13px; font-weight: 700; padding: 0 14px; } .two-side .picks { grid-template-columns: 1fr; padding: 6px 14px 14px; }
.side-cities { display: flex; flex-wrap: wrap; padding: 12px 14px; font-size: 14px; } .side-cities a { min-height: 30px; display: inline-flex; align-items: center; padding-right: 6px; margin-right: 6px; border-right: 1px solid var(--dp-gray-light); color: var(--link); text-decoration: underline; } .side-cities i { font-style: normal; font-size: 12px; color: var(--dp-gray); margin-left: 2px; }
.list-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; } .list-h h2 { font-size: 1.3rem; font-weight: 700; }
.sort-l select { min-height: 40px; padding: 0 30px 0 10px; border: 1px solid #ccc; border-radius: 4px; font: inherit; font-size: 15px; background: #fff; }
.rel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--dp-gray-light); border-radius: 4px; font-size: 14px; } .rel b { color: #666; font-weight: 400; } .rel a { color: #333; text-decoration: underline; text-underline-offset: 3px; } .rel .to-filter { display: none; }
.rows { gap: 30px; margin-top: 20px; }
.rows .row { background: #fff; border: 4px solid var(--dp-light); border-radius: 10px; box-shadow: 0 1px 3px rgb(0 0 0 / .12); overflow: hidden; }
.rows .row-h { display: block; padding: 16px 18px 6px; background: none; border: 0; font-size: 1.15rem; line-height: 1.5; } .rows .row-h a { color: #333; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; } .rows .row-h a:hover { color: var(--dp); }
.rows .row-b { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 18px; padding: 8px 18px 12px; }
.rows .row-ph { display: grid; gap: 6px; aspect-ratio: auto; background: none; align-self: start; overflow: visible; border-radius: 0; }
.row-ph-main { width: 100%; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #eef0f2; color: var(--dp-gray); font-size: 14px; text-decoration: none; } .row-ph-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .row-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rows .row-kind { display: block; border: 0; padding: 0; background: none; font-size: .85rem; font-weight: 400; color: #666; }
.rows .row-price { margin-top: 4px; } .rows .row-price b { font-size: 1.8rem; }
.rows .row-money { display: grid; gap: 2px; padding: 8px 10px; margin-top: 6px; border-radius: 4px; background: var(--money); } .rows .row-money div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .rows .row-money dt { font-size: 13px; } .rows .row-money dd { font-size: 18px; }
.row-l { display: grid; gap: 4px; margin-top: 10px; font-size: 15px; } .row-l li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px; align-items: start; } .row-l .ic { width: 18px; height: 18px; color: #fff; background: var(--dp-or); border-radius: 50%; padding: 2px; margin-top: 3px; }
.rows .row-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 16px; margin: 0; } .rows .row-tags li { font-size: 13px; font-weight: 400; padding: 2px 8px; border: 1px solid var(--dp-3); border-radius: 2px; background: #fff; color: var(--dp); }
.rows .row-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 16px 18px; background: var(--dp-light); margin: 0; }
.rows .row-act .fav-btn { min-width: 220px; height: 50px; border: 2px solid var(--dp); border-radius: 25px; background: #fff; color: var(--dp); font: inherit; font-size: 1.05rem; font-weight: 700; }
.rows .row-act .btn-contact { min-width: 220px; height: 50px; border: 0; border-radius: 25px; background: var(--dp-grad); color: #fff; font-size: 1.05rem; box-shadow: 0 2px 3px rgb(0 0 0 / .15); }
.rows .row-more { margin: 0; align-self: center; font-weight: 700; color: var(--dp); }

/* 右下（ドラピタの「応募」丸ボタン・先頭へ） */
.fab { position: fixed; right: 18px; bottom: 96px; z-index: 40; display: grid; place-items: center; align-content: center; gap: 2px; width: 80px; height: 80px; border-radius: 50%; background: var(--dp-grad); color: #fff; text-decoration: none; box-shadow: 0 3px 8px rgb(0 0 0 / .3); font-size: 13px; font-weight: 700; } .fab .ic { width: 22px; height: 22px; }
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1f4b8f; color: #fff; text-decoration: none; border: 3px solid #fff; box-shadow: 0 0 0 2px #1f4b8f, 0 3px 6px rgb(0 0 0 / .3); }

/* フッター（ドラピタ footer_bn_area / footer_menu_area / footer_operating_company） */
.site-footer { margin: 0; padding: 0; background: #fff; border: 0; color: #333; font-size: 1rem; }
.ft-bn { padding: 60px 0 45px; } .ft-bn ul { display: flex; flex-wrap: wrap; justify-content: space-between; width: var(--def-width); max-width: 990px; margin: 0 auto; } .ft-bn li { width: 48.5%; max-width: 480px; margin: 0 0 3%; }
.ft-bn a { display: flex; align-items: center; gap: 12px; height: 100px; padding: 0 20px; border: 3px solid var(--dp); background: #fff; color: var(--dp); text-decoration: none; } .ft-bn a:hover { opacity: .85; } .ft-bn img { width: 110px; height: auto; } .ft-bn span { display: flex; flex-direction: column; } .ft-bn small { font-size: .85rem; color: #666; } .ft-bn b { font-size: 1.5rem; font-weight: 700; letter-spacing: .03em; }
.ft-menu { padding: 60px 0; border-top: 10px solid var(--dp); background: var(--dp-foot); }
.ft-nav { width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto; } .ft-nav ul { display: flex; flex-wrap: wrap; justify-content: center; } .ft-nav li { margin: .5em 0; padding: 0 1em; border-right: 1px solid #fff; line-height: 1; } .ft-nav li:last-child { border-right: 0; } .ft-nav a { color: #fff; text-decoration: none; } .ft-nav a:hover { text-decoration: underline; }
.ft-pref { width: var(--def-width); margin: 30px auto 0; text-align: center; }
.ft-pref summary { display: block; max-width: 350px; margin: 0 auto; padding: 10px 20px; background: #fff; color: var(--dp-foot); font-size: .9rem; font-weight: 700; border-radius: 25px; cursor: pointer; list-style: none; position: relative; } .ft-pref summary::-webkit-details-marker { display: none; } .ft-pref summary::after { content: "▾"; position: absolute; right: 16px; } .ft-pref[open] summary::after { content: "▴"; }
.ft-pref p { padding-top: 30px; line-height: 1.9; } .ft-pref a { color: #fff; font-size: .9rem; white-space: nowrap; } .ft-pref span { color: #fff; margin: 0 2px; font-size: .9rem; }
.ft-co { width: var(--def-width); max-width: var(--def-max-width); margin: 0 auto; padding: 40px 0; text-align: center; }
.ft-logo { display: inline-block; margin-bottom: 10px; } .ft-logo img { width: 120px; height: auto; } .ft-co-t { margin-bottom: 20px; font-size: .9rem; } .ft-co-t a { color: #333; text-decoration: underline; } .ft-copy { font-size: .75rem; color: #666; line-height: 1.8; }

/* スマホ（ドラピタの SP の組み方） */
@media (max-width: 899px) {
  .hd-pc { display: none; }
  .hd-sp { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
  .logo-sp { display: flex; align-items: center; gap: 6px; color: #333; text-decoration: none; } .logo-sp img { width: 64px; height: auto; } .logo-sp span { font-size: 9px; font-weight: 500; line-height: 1.3; }
  .hd-sp-m ul { display: flex; align-items: center; } .hd-sp-m li { margin-left: 6px; }
  .hd-sp-m a, .hd-sp-m summary { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 52px; padding: 2px 0 0; font-size: 10px; font-weight: 700; color: #333; text-decoration: none; list-style: none; text-align: center; }
  .hd-sp-m .nav-ic { margin-bottom: 2px; } .hd-sp-m .nav-ic .ic { width: 24px; height: 24px; }
  .hd-sp-m .nav-search a { border: 1px solid var(--dp-light); border-radius: 4px; } .hd-sp-m .nav-cta a { color: #fff; }
  .hd-drawer { right: -6px; }
  .sample-bar { padding-top: 8px; } main.container { padding-top: 16px; }
  .mv { height: auto; min-height: 0; padding-top: 22vh; }
  .mv-img img { height: 100%; }
  .mv-area { margin: 20px auto; padding: 15px; } .mv-area > div { width: 100%; margin-bottom: 10px; } .mv-area > div:last-of-type { margin-bottom: 0; }
  .sign { max-width: 300px; margin: 0 auto; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 10px 8px 46px; justify-content: center; align-items: center; }
  .sign-jp { grid-row: 1 / 3; font-size: 32px; margin: 0; } .sign-en { align-self: end; } .sign-arw { margin: 0; font-size: 12px; align-self: start; } .sign-no { top: 50%; transform: translateY(-50%); }
  .mv-city { margin: 4px 0 0; }
  .mv-pref { display: block; padding: 15px; margin: 0 auto 20px; } .mv-pref-t { justify-content: center; margin-bottom: 10px; padding: 0; border: 0; } .mv-pref-l { justify-content: center; padding: 0; gap: 4px 0; } .mv-pref-l li { margin: 0 .8em; }
  .mv-bn { padding: 14px 0; height: auto; } .mv-bn ul { flex-wrap: wrap; gap: 8px 2%; } .mv-bn li { width: 49%; margin: 0; } .mv-bn a { height: 54px; } .mv-bn img { width: 48px; } .mv-bn b { font-size: 13px; } .mv-bn small { font-size: 9px; }
  .top-search { padding: 40px 0 0; } .keisaisu { font-size: 1.15rem; margin: 0; }
  .ts-box { width: 100%; gap: 10px 0; margin-top: 20px; } .ts-area { width: 100%; } .ts-kw { width: calc(98% - 5em); }
  .top-job { padding: 60px 0; } .t-jp, .t-02 { font-size: 1.7rem; } .t-wrap { margin-bottom: 30px; }
  .job-new .job-list { padding: 10px 0; border-radius: 10px; background: #fff; filter: drop-shadow(rgba(0, 0, 0, .2) 0 3px 3px); }
  .job-new .job-list > li { width: 100%; margin: 0; background: none; border-radius: 0; filter: none; border-bottom: 1px solid var(--dp-gray-light); } .job-new .job-list > li:last-child { border-bottom: 0; } .job-new .job-list > li > a { padding: 10px 20px; }
  .job-pop .job-list > li { width: 100%; margin: 0 0 10px; } .job-list::after { display: none; }
  .job-new .job-list > li:nth-child(n+4), .job-pop .job-list > li:nth-child(n+4) { display: none; }
  .cond-list li { width: 33.3%; } .cond-note { margin-top: -20px; }
  .rank-box { display: block; } .rank-type, .rank-kw { width: 100%; } .rank-type { margin-bottom: 16px; }
  .area-box { display: block; margin-bottom: 30px; } .area-name { margin: 0 auto 10px; } .pref-list { justify-content: center; } .pref-list li { padding: 0 1em; }
  .guide-box { width: 100%; padding: 10px; } .guide-img { margin-right: 15px; } .guide-t { margin: 10px 0; font-size: 1.15rem; } .guide-txt { font-size: .85rem; }
  .pref-band { padding-top: 40px; } .pref-band h1 { font-size: 1.5rem; } .pref-tabs a { min-width: 0; flex: 1; height: 44px; padding: 0 6px; font-size: .95rem; } .pref-tabs a[aria-current] { font-size: 1.05rem; }
  .two { grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "main"; gap: 16px; } .two-side .side-box:first-child { display: none; }
  .rows .row-b { grid-template-columns: 1fr; } .rows .row-act { gap: 10px; } .rows .row-act .fav-btn, .rows .row-act .btn-contact { min-width: 0; flex: 1; font-size: .95rem; white-space: nowrap; padding: 0 8px; } .rows .row-more { width: 100%; text-align: center; }
  .fab { display: none; } .to-top { right: 14px; bottom: 16px; width: 46px; height: 46px; } body:has(.buybar) .to-top { bottom: 92px; }
  .ft-bn { padding: 40px 0 20px; } .ft-bn ul { display: block; } .ft-bn li { width: 100%; margin: 0 auto 14px; } .ft-bn a { height: 84px; } .ft-bn b { font-size: 1.2rem; } .ft-bn img { width: 80px; }
  .ft-menu { padding: 40px 0; } .ft-nav li { padding: 0 .8em; font-size: .9rem; }
}
@media (max-width: 380px) { .logo-sp span { display: none; } .hd-sp-m a, .hd-sp-m summary { width: 52px; } .sign-jp { font-size: 28px; } }
@media (max-width: 899px) { .mv-bn small { display: none; } .mv-bn b { white-space: normal; } }

/* ---------------------------------------------------------------------
 * 戸建てラボのアレンジ（2026-11-25「寄せすぎ」を受けて）。構成はドラピタのまま、見た目を変える：
 * ・ヘッダー：丸いロゴを重ねない。左に横1行のロゴ、右に印つきの項目
 * ・入口：道路標識ではなく、白い札（都道府県名の小見出し＋都市名＋件数）。東京・名古屋・大阪
 * ・丸い帯のボタン・ラベルはやめ、角6pxの四角に（2026-11-21 オーナー「丸帯はダサい」）
 * ・見出し：英字の小見出し（橙）→日本語。左右の線はやめる
 * ・帯の色：黒の半透明ではなく紺の半透明。フッターは紺系
 * --------------------------------------------------------------------- */
.hd-top { height: 4px; }
.hd-pc .hd-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hd-pc .logo { order: 0; width: auto; height: auto; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: none; border-radius: 0; text-decoration: none; }
.hd-pc .logo img { width: 180px; height: auto; } .hd-pc .logo-tag { margin: 0; font-size: 11px; font-weight: 500; color: #666; line-height: 1.3; }
.hd-nav > ul { display: flex; align-items: center; gap: 4px; }
.hd-nav a, .hd-nav .hd-menu summary { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 88px; height: 64px; padding: 6px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #333; text-decoration: none; text-align: center; white-space: nowrap; list-style: none; cursor: pointer; }
.hd-nav a:hover, .hd-nav .hd-menu summary:hover { background: var(--dp-light); }
.hd-nav .nav-ic { margin-bottom: 4px; } .hd-nav .nav-ic .ic { width: 26px; height: 26px; }
.hd-nav .nav-cta { background: none; } .hd-nav .nav-cta a { background: var(--dp-or2); color: #fff; } .hd-nav .nav-cta a:hover { background: #a8420b; }
.hd-drawer { background: #fff; border: 1px solid var(--border); border-radius: 8px; } .hd-drawer p { border-bottom-color: var(--border-light); } .hd-drawer b { color: #666; } .hd-drawer a { color: var(--link); font-weight: 400; }
.sample-bar { padding-top: 8px; } main.container { padding-top: 20px; }

/* 入口：東京・名古屋・大阪の白い札 */
.mv { min-height: 600px; height: 78vh; }
.mv-area { max-width: 960px; padding: 0; gap: 0; border-radius: 8px; overflow: hidden; filter: none; box-shadow: 0 6px 24px rgb(18 41 77 / .22); }
.mv-area > .city { width: 33.333%; padding: 18px 20px 14px; border-left: 1px solid var(--dp-gray-light); } .mv-area > .city:first-child { border-left: 0; }
.city-b { display: grid; gap: 2px; color: #333; text-decoration: none; border-left: 4px solid var(--dp-or2); padding-left: 14px; }
.city-pref { font-size: 12px; color: #666; } .city-n { font-size: 34px; font-weight: 700; letter-spacing: .06em; color: var(--dp); line-height: 1.15; }
.city-c { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; } .city-c i { font-style: normal; font-size: 18px; color: var(--dp-or2); } .city-arw { margin-left: auto; font-size: 22px; color: var(--dp); line-height: 1; }
.city-b:hover .city-n { text-decoration: underline; }
.mv .mv-city { justify-content: flex-start; margin-top: 10px; padding-left: 18px; font-size: 13px; } .mv .mv-city a { filter: none; color: var(--link); }
.mv-pref { max-width: 960px; border-radius: 8px; filter: none; box-shadow: 0 6px 24px rgb(18 41 77 / .18); margin: 14px auto 28px; }
.mv-pref-t .ic { color: var(--dp-or2); }
.mv-pref-l li { margin-right: 0; } .mv-pref-l a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 6px; } .mv-pref-l a:hover { background: var(--dp-light); text-decoration: none; }
.mv-bn { background: rgb(18 41 77 / .78); height: auto; padding: 18px 0; }
.mv-bn a { border: 0; border-radius: 6px; height: 58px; } .mv-bn b { color: var(--dp); }

/* 件数と検索 */
.top-search { padding: 48px 0 0; background: var(--dp); }
.keisaisu { font-size: 1.15rem; } .keisaisu-num { color: #fff; font-size: 230%; border-bottom: 4px solid var(--dp-or); padding: 0 .1em; margin: 0 .25em 0 .35em; }
.ts-box { max-width: 720px; padding: 14px; gap: 8px; background: #fff; border-radius: 8px; margin: 26px auto 18px; flex-wrap: nowrap; }
.ts-area { width: 34%; } .ts-kw { flex: 1 1 auto; width: auto; } .ts-btn { width: 7em; }
.form-select, .form-control { height: 46px; border: 1px solid #c9d1db; border-radius: 6px; filter: none; } .ts-ic { height: 46px; border-radius: 0 6px 6px 0; background: var(--dp); }
.btn-primary { height: 46px; border-radius: 6px; font-weight: 700; filter: none; }

/* 見出し：英字の小見出し（橙）→日本語 */
.t-01 { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.t-en { order: 0; padding: 0; font-size: .8rem; letter-spacing: .14em; color: var(--dp-or2); } .t-en::before, .t-en::after { display: none; }
.t-jp { order: 1; margin: 0; font-size: 1.8rem; }
.t-02 { font-size: 1.8rem; } .t-02 .ic { color: var(--dp-or2); }

/* カード・ボタン：角を小さく、丸い帯はやめる */
.top-job { background-image: none; background-color: var(--dp-bg); }
.job-list > li { border-radius: 8px; filter: none; box-shadow: 0 1px 3px rgb(0 0 0 / .1); border: 1px solid #e3e7ec; } .job-list > li:hover { box-shadow: 0 4px 14px rgb(18 41 77 / .14); }
.job-co { color: var(--dp-or2); font-weight: 700; font-size: .8rem; } .job-img img, .job-noimg { border-radius: 6px; }
.btn-co { width: auto; min-width: 16em; line-height: 1; height: 46px; padding: 0 2.4em 0 1.6em; border-radius: 6px; background: #fff; color: var(--dp); border: 2px solid var(--dp); } .btn-co::after { border-color: var(--dp); } .btn-co:hover { opacity: 1; background: var(--dp-light); }
.cond-list a { border-radius: 8px; } .cond-list a:hover { background: var(--dp-light); } .cond-name { display: inline-block; padding-top: 2px; border-top: 2px solid var(--dp-or); }
.top-rank { background: var(--dp); } .top-rank .t-02 .ic { color: var(--dp-or); }
.rank-type, .rank-kw { border-radius: 8px; } .rank-t { border-bottom-color: var(--dp-or); }
.kw-tag { height: auto; line-height: 1.4; padding: 6px 12px; border-radius: 4px; border-color: #c9d1db; color: #333; background: #fff; } .kw-tag:hover { border-color: var(--dp); color: var(--dp); background: #fff; }
.way-tabs button { height: 36px; border-radius: 6px; padding: 0 14px; }
.area-box { align-items: center; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--dp-gray-light); }
.area-name { width: 9em; background: none; color: var(--dp); text-align: left; border-radius: 0; line-height: 1.4; padding-left: 12px; border-left: 4px solid var(--dp-or2); }
.pref-list li { padding: 0 1em; border-right-color: #d5dbe2; }
.top-guide { background-image: none; }
.guide-box { border-radius: 8px; filter: none; box-shadow: 0 1px 3px rgb(0 0 0 / .1); border: 1px solid #e3e7ec; } .guide-img img { border-radius: 6px; }
.btn-more-mini { width: auto; padding: 0 2em 0 1em; line-height: 34px; border-radius: 6px; } .btn-more-mini::after { right: .9em; }

/* 県TOP・一覧 */
.pref-band { padding: 56px 0 0; border-bottom: 3px solid var(--dp); } .pref-band::before { background: linear-gradient(rgb(255 255 255 / 0), rgb(255 255 255 / .1)); }
.pref-band h1 { display: inline-block; padding: 10px 26px; background: #fff; color: var(--dp); text-shadow: none; border-radius: 8px; font-size: 1.8rem; box-shadow: 0 4px 16px rgb(18 41 77 / .2); }
.pref-tabs a { border-radius: 6px 6px 0 0; height: 46px; font-size: 1rem; } .pref-tabs a[aria-current] { font-size: 1.05rem; box-shadow: inset 0 3px 0 var(--dp-or2); }
.side-box { border-width: 1px; border-color: #c9d1db; border-radius: 8px; } .side-h { background: #f2f5f9; color: var(--dp); border-bottom: 1px solid #c9d1db; } .side-n { color: var(--dp); }
.rows .row { border: 1px solid #dfe4ea; border-radius: 8px; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.rows .row-act { background: #fff; border-top: 1px solid var(--dp-gray-light); justify-content: flex-end; }
.rows .row-act .fav-btn, .rows .row-act .btn-contact { border-radius: 6px; height: 48px; min-width: 200px; } .rows .row-act .btn-contact { background: var(--dp-or2); box-shadow: none; }
.row-l .ic { background: none; color: var(--dp-or2); padding: 0; }
.rows .row-tags li { border-radius: 3px; background: var(--dp-light); border-color: transparent; }

/* 右下・フッター */
.fab { border-radius: 10px; width: 76px; height: 76px; background: var(--dp-or2); }
.to-top { border-radius: 8px; border: 0; box-shadow: 0 3px 8px rgb(0 0 0 / .25); background: var(--dp); }
.ft-bn a { border: 1px solid #c9d1db; border-radius: 8px; } .ft-bn b { color: var(--dp); }
.ft-menu { border-top: 0; background: #16243d; }
.ft-pref summary { border-radius: 6px; }
.ft-logo img { width: 180px; }

@media (max-width: 899px) {
  .logo-sp img { width: 126px; } .hd-sp { padding: 8px 10px 8px 14px; }
  .mv { height: auto; padding-top: 18vh; }
  .mv-area { margin: 16px auto; border-radius: 8px; } .mv-area > .city { width: 100%; border-left: 0; border-top: 1px solid var(--dp-gray-light); padding: 12px 16px; } .mv-area > .city:first-child { border-top: 0; }
  .city-b { grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; } .city-pref { grid-column: 1 / -1; } .city-n { font-size: 26px; } .city-c { justify-content: flex-start; }
  .mv .mv-city { padding-left: 18px; margin-top: 4px; }
  .ts-box { flex-wrap: wrap; } .ts-area { width: 100%; } .ts-kw { width: calc(100% - 7em - 8px); flex: none; }
  .area-box { display: block; } .area-name { margin: 0 0 6px; width: auto; } .pref-list { justify-content: flex-start; }
  .rows .row-act { justify-content: center; }
  .t-jp, .t-02 { font-size: 1.5rem; }
}
.pref-list a.is-empty { color: #8a929b; font-weight: 400; }

/* ---------------------------------------------------------------------
 * 2026-11-25 オーナー指示「字体は変えて」「HEROの背景がそのまますぎる」「改行位置も見た目にこだわる」「スマホサイズに依存しない仕様」
 * ・字体：Zen Kaku Gothic New（本文・見出し）。ロゴも同じ字体の Black を輪郭にした
 * ・HERO：見下ろした街ではなく、正面から見た家並み（空・遠くのビル・家と街路樹）。street.svg は拡大しても粗くならない
 * ・改行：文節の切れ目にだけ <wbr>（BudouX）＋ keep-all。見出しは行の長さをそろえる（balance）
 * ・寸法：画面幅の段階で切り替えず、clamp() の連続した大きさと「入るだけ並べる」グリッドで組む（ヘッダーの切り替え1か所だけ残す）
 * --------------------------------------------------------------------- */
body { font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-feature-settings: "palt" 0; }
h1, h2, h3, .t-jp, .t-02, .job-t, .row-h, .guide-t, .guide-txt, .guide-intro, .cond-name, .mv-h, .mv-lead, .mv-bn b, .mv-bn small, .pref-band h1, .list-h h2, .ft-bn b { word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, .t-jp, .t-02, .mv-h, .pref-band h1, .guide-t, .job-t, .row-h { text-wrap: balance; }
p, .guide-txt, .mv-lead { text-wrap: pretty; }
:root { --gap: clamp(12px, 1rem + 1vw, 24px); --sec: clamp(40px, 3rem + 3vw, 88px); }

/* HERO：正面から見た家並み＋見出し */
.mv { height: auto; min-height: clamp(560px, 70vh + 120px, 900px); padding-top: clamp(28px, 4vw, 64px); justify-content: flex-start; }
.mv-img img { object-position: 50% 100%; }
.mv-h { position: relative; z-index: 2; width: var(--def-width); max-width: 960px; margin: 0 auto; text-align: center; color: var(--dp); font-weight: 900; font-size: clamp(1.6rem, 1rem + 3vw, 3rem); line-height: 1.35; letter-spacing: .04em; text-shadow: 0 2px 0 rgb(255 255 255 / .8); }
.mv-lead { position: relative; z-index: 2; width: var(--def-width); max-width: 40em; margin: .8em auto 0; text-align: center; color: #334; font-size: clamp(.9rem, .85rem + .3vw, 1.05rem); line-height: 1.8; }
.mv-area { margin: auto auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.mv-area > .city { width: auto; border-left: 0; border-top: 0; box-shadow: -1px 0 0 var(--dp-gray-light), 0 -1px 0 var(--dp-gray-light); padding: clamp(12px, 1.6vw, 18px) clamp(14px, 1.8vw, 20px); }
.city-b { grid-template-columns: none; } .city-pref { grid-column: auto; }
.city-n { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 900; }
.mv-pref { display: flex; flex-wrap: wrap; gap: 8px 0; padding: 12px clamp(12px, 2vw, 24px); }
.mv-pref-t { padding: 0 20px 0 0; margin: 0 12px 0 0; } .mv-pref-l { padding: 0; justify-content: flex-start; gap: 0; } .mv-pref-l li { margin: 0; }
.mv-bn { padding: clamp(12px, 2vw, 20px) 0; }
.mv-bn ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; } .mv-bn li { width: auto; margin: 0; }
.mv-bn a { height: auto; min-height: 58px; padding: 6px 10px; } .mv-bn small { display: block; } .mv-bn b { white-space: normal; font-size: clamp(.9rem, .85rem + .2vw, 1rem); }

/* 件数と検索 */
.top-search { padding-top: clamp(32px, 4vw, 56px); }
.keisaisu { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); }
.ts-box { flex-wrap: wrap; gap: 8px; }
.ts-area { flex: 1 1 200px; width: auto; } .ts-kw { flex: 3 1 240px; width: auto; } .ts-btn { flex: 1 0 7em; width: auto; }
.ts-strip img { width: min(600px, 100%); }

/* 見出し・余白を連続した大きさに */
.t-jp, .t-02 { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2rem); font-weight: 700; } .t-wrap, .t-02 { margin-bottom: clamp(24px, 3vw, 40px); }
.top-job, .top-cond, .top-rank, .top-areas, .top-guide { padding: var(--sec) 0; }
.cond-note, .guide-intro { margin-top: calc(clamp(24px, 3vw, 40px) * -.6); }

/* 並び：入るだけ並べる（端末の幅の段階に依存しない） */
.job-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.job-list::after { display: none; }
.job-list > li, .job-new .job-list > li, .job-pop .job-list > li { width: auto; margin: 0; display: block !important; }
.job-new .job-list { padding: 0; background: none; filter: none; border-radius: 0; }
.job-new .job-list > li { background: #fff; border-radius: 8px; border: 1px solid #e3e7ec; } .job-new .job-list > li > a { padding: clamp(14px, 1.6vw, 20px); }
.job-btm { display: grid; grid-template-columns: minmax(96px, 38%) 1fr; gap: 12px; } .job-img, .job-detail { width: auto; }
.cond-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; } .cond-list li { width: auto; margin: 0; }
.rank-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--gap); } .rank-type, .rank-kw { width: auto; margin: 0; }
.area-box { display: flex; flex-wrap: wrap; gap: 6px 0; } .area-name { flex: 0 0 9em; margin: 0 12px 0 0; } .pref-list { flex: 1 1 300px; justify-content: flex-start; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: var(--gap); } .guide-box { width: auto; margin: 0; padding: clamp(12px, 1.6vw, 20px); }
.guide-img { width: clamp(96px, 36%, 200px); margin-right: clamp(12px, 2vw, 25px); }
.guide-t { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); margin-bottom: 10px; } .guide-txt { font-size: clamp(.85rem, .82rem + .15vw, .95rem); }
.ft-bn ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--gap); } .ft-bn li { width: auto; max-width: none; margin: 0; }
.ft-bn a { height: auto; min-height: 84px; padding: 10px 18px; } .ft-bn b { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); } .ft-bn img { width: clamp(72px, 10vw, 110px); }

/* 県TOP：絞り込みは横に入らなければ上へ（幅の段階ではなく中身の幅で決まる） */
.pref-band { background: url(/assets/img/street.svg) 50% 100% / cover no-repeat; padding-top: clamp(32px, 5vw, 64px); }
.pref-band h1 { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); max-width: calc(100% - 24px); }
.pref-tabs a { flex: 0 1 140px; min-width: 0; }
.two { display: flex; flex-wrap: wrap; gap: var(--gap); align-items: flex-start; }
.two-main { flex: 999 1 560px; min-width: 0; order: 2; } .two-side { flex: 1 1 260px; max-width: 100%; order: 1; }
.two-side .side-box:first-child { display: block; }
.rows .row-b { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.rows .row-act { justify-content: center; }
.rows .row-act .fav-btn, .rows .row-act .btn-contact { flex: 1 1 200px; min-width: 0; max-width: 260px; }
.rows .row-more { flex: 1 0 100%; text-align: center; }
.rows .row-price b { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); }
.mv-h, .t-jp, .t-02, .city-n, .pref-band h1, .list-h h2, .guide-t, .job-t, .row-h, .mv-bn b, .keisaisu { font-feature-settings: "palt"; }
/* 都市の札：入る幅なら「都市名・件数」を1行に（幅の段階ではなく中身で折り返す） */
.city-b { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; }
.city-pref { flex: 1 0 100%; } .city-n { flex: 0 0 auto; } .city-c { flex: 1 1 auto; }
.mv-bn ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.mv-bn a { flex-wrap: nowrap; } .mv-bn img { width: clamp(40px, 5vw, 64px); }
.mv-bn small { font-size: clamp(9px, .55rem + .2vw, 11px); }
/* 案内バナー：札そのものの幅で、絵と小さな説明を省く（端末の幅ではなく部品の幅で決める） */
.mv-bn li { container-type: inline-size; min-width: 0; } .mv-bn a { min-width: 0; } .mv-bn span { min-width: 0; }
@container (max-width: 210px) { .mv-bn img, .mv-bn small { display: none; } .mv-bn a { justify-content: center; text-align: center; } }
.pref-tabs { flex-wrap: nowrap; gap: clamp(3px, .6vw, 6px); max-width: 640px; margin: 0 auto; } .pref-tabs a { flex: 1 1 0; padding: 0 4px; font-size: clamp(.85rem, .78rem + .4vw, 1.05rem); }
.hd-sp { gap: 6px; } .logo-sp { min-width: 0; flex: 0 1 auto; } .logo-sp img { width: clamp(88px, 30vw, 126px); }
.hd-sp-m li { margin-left: clamp(2px, 1vw, 6px); } .hd-sp-m a, .hd-sp-m summary { width: clamp(44px, 14.5vw, 58px); font-size: clamp(9px, 2.6vw, 10px); }
/* 2026-11-25：探し方のボタンは1段に収める（入らない幅では印を省く。部品の幅で決める） */
.way-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(4px, 1vw, 8px); max-width: 640px; container-type: inline-size; }
.way-tabs button { width: 100%; min-width: 0; justify-content: center; padding: 0 4px; font-size: clamp(.78rem, .7rem + .5vw, .95rem); white-space: nowrap; }
@container (max-width: 460px) { .way-tabs button .ic { display: none; } }
/* ガイドは絵なし：見出しと説明とボタンだけ */
.guide-box { display: block; } .guide-r { display: flex; flex-direction: column; height: 100%; }
.way-tabs button { font-size: clamp(.68rem, .55rem + .9vw, .95rem); padding: 0 2px; letter-spacing: 0; }

/* 2026-11-25 オーナー指摘「タイトルと隙間がない」「背景デザインもダサい」「東京・愛知・大阪をコンパクトかつシンプルに」：
 * 背景の絵をやめて紺の面に。見出し → 3つのボタン → 都道府県の帯 → 案内 の順に、間をあけて並べる */
.mv { min-height: 0; height: auto; padding: clamp(36px, 6vw, 72px) 0 0; justify-content: flex-start; background: linear-gradient(160deg, #1f4278 0%, #1b3a6b 55%, #163057 100%); }
.mv-h { color: #fff; text-shadow: none; font-size: clamp(1.7rem, 1.1rem + 3vw, 3rem); letter-spacing: .06em; }
.hero-prefs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 16px); width: var(--def-width); max-width: 720px; margin: clamp(24px, 4vw, 40px) auto 0; }
.hero-pref { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: clamp(64px, 8vw, 84px); padding: 8px 4px; background: #fff; border-radius: 8px; color: var(--dp); text-decoration: none; box-shadow: 0 4px 14px rgb(0 0 0 / .18); transition: transform .15s, box-shadow .15s; }
.hero-pref b { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem); font-weight: 900; letter-spacing: .12em; padding-left: .12em; line-height: 1.2; }
.hero-pref span { font-size: clamp(.75rem, .7rem + .2vw, .85rem); color: #6b7685; }
.hero-pref:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgb(0 0 0 / .22); }
.mv-pref { margin: clamp(16px, 2.5vw, 24px) auto clamp(24px, 4vw, 40px); box-shadow: 0 4px 14px rgb(0 0 0 / .15); }
.mv-bn { background: rgb(0 0 0 / .18); }
.pref-band { background: linear-gradient(160deg, #1f4278 0%, #1b3a6b 55%, #163057 100%); }
.pref-band::before { display: none; }
/* HEROが紺になったので、件数と検索の帯は明るい面にして続けて見えないようにする */
.top-search { background: #eef3f9; border-bottom: 1px solid #dfe6ee; }
.keisaisu { color: #22324a; } .keisaisu-num { color: var(--dp); } .ts-empty { color: #22324a; }
.ts-box { box-shadow: 0 2px 10px rgb(18 41 77 / .1); }

/* =====================================================================
 * 2026-11-25 オーナー指示「もう一度ドラピタを確認して、UIとUXをブラッシュアップ」
 * ドラピタのスマホの使い勝手から取り入れたもの（見た目は戸建てラボのまま）：
 * ・県TOPの上に「エリア／予算／言葉」の検索の枠と、横に流れる条件のチップ（押すとすぐ絞り込み）
 * ・件数は大きく、並び替えは右に。絞り込むと「5／12」のように変わる
 * ・物件カードは「詳細を見る」「問い合わせる」を横に並べ、お気に入りは右上の☆に
 * ・トップの新着は、狭い幅では1枚の枠に区切り線で並べる。写真つきは「文字が左・写真が右」
 * ・都道府県の一覧は、狭い幅では3列にそろえる
 * ===================================================================== */
.sbox { display: grid; gap: 0; background: #fff; border: 1px solid #c9d1db; border-radius: 8px; overflow: hidden; }
.sbox-row { display: grid; grid-template-columns: 22px 5em minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 50px; padding: 0 14px; border-bottom: 1px solid #e3e7ec; color: #333; text-decoration: none; }
.sbox-row .ic { width: 20px; height: 20px; color: var(--dp-or2); } .sbox-row b { font-size: .9rem; color: var(--dp); } .sbox-row span { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sbox-row i { font-style: normal; font-size: 1.3rem; color: var(--dp); }
.sbox-row:hover { background: #f6f8fb; }
.sbox-kw { position: relative; display: block; padding: 10px 14px; background: #f2f5f9; }
.sbox-kw input { width: 100%; height: 44px; padding: 0 44px 0 14px; border: 1px solid #c9d1db; border-radius: 22px; font: inherit; font-size: 16px; background: #fff; }
.sbox-kw .ic { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--dp); pointer-events: none; }
.qchips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; margin: 0 -2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .qchips::-webkit-scrollbar { display: none; }
.qchips > * { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border: 1px solid #c9d1db; border-radius: 18px; background: #fff; color: #333; font: inherit; font-size: .88rem; text-decoration: none; white-space: nowrap; cursor: pointer; }
.qchips > a:hover { border-color: var(--dp); color: var(--dp); }
.qc-add { border-color: var(--dp) !important; color: var(--dp) !important; font-weight: 700 !important; } .qc-add .ic { width: 16px; height: 16px; }
.list-h { margin-top: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--dp); } .list-n { font-size: .95rem; } .list-n b { font-size: 1.7rem; color: var(--dp); margin-right: 2px; letter-spacing: .02em; }
.rel { margin-top: 10px; }
.row-top { display: flex; align-items: flex-start; gap: 8px; padding-right: 10px; } .row-top .row-h { flex: 1 1 auto; min-width: 0; }
.rows .fav-star { flex: none; display: grid; justify-items: center; gap: 0; width: 48px; height: 52px; margin-top: 10px; padding: 4px 0 0; border: 0; background: none; color: #9aa3ad; font-size: 24px; line-height: 1; cursor: pointer; border-radius: 6px; }
.rows .fav-star small { font-size: 10px; color: #6b7685; } .rows .fav-star[aria-pressed=true] { color: #e0a800; background: #fff8e1; } .rows .fav-star:hover { background: #f2f5f9; }
.rows .row-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px; }
.rows .row-act .btn { height: 48px; min-width: 0; max-width: none; width: 100%; border-radius: 6px; font-size: 1rem; }
.btn-detail { border: 2px solid var(--dp); background: #fff; color: var(--dp); } .btn-detail:hover { background: var(--dp-light); }

/* トップ：新着は狭い幅で1枚の枠に区切り線で（部品の幅で決める） */
.job-new { container-type: inline-size; }
@container (max-width: 620px) {
  .job-new .job-list { display: block; background: #fff; border: 1px solid #e3e7ec; border-radius: 8px; overflow: hidden; }
  .job-new .job-list > li { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid #e9edf2; } .job-new .job-list > li:last-child { border-bottom: 0; }
  .job-new .job-list > li > a { padding: 14px 16px; }
}
/* 写真つき：狭い幅では「文字が左・写真が右」 */
.job-pop { container-type: inline-size; }
@container (max-width: 620px) {
  .job-pop .job-list > li > a { display: grid; grid-template-columns: minmax(0, 1fr) 36%; grid-template-areas: "top img" "detail img"; column-gap: 12px; align-items: start; }
  .job-pop .job-top { grid-area: top; } .job-pop .job-btm { display: contents; } .job-pop .job-img { grid-area: img; } .job-pop .job-detail { grid-area: detail; margin-top: 6px; }
}
/* 都道府県の一覧：狭い幅では3列にそろえる */
.area-search { container-type: inline-size; }
@container (max-width: 560px) {
  .area-box { display: block; } .area-name { margin: 0 0 8px; }
  .pref-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .pref-list li { padding: 6px 4px; border-right: 1px solid #e3e7ec; text-align: center; } .pref-list li:nth-child(3n) { border-right: 0; }
  .pref-list a i { display: block; margin: 0; }
}
/* 絞り込みが一覧の上に回る幅（横に並ばない幅）では、閉じている枠は出さない＝上の検索の枠から開く */
.two-wrap { container-type: inline-size; }
@container (max-width: 860px) { .two-side details:not([open]) { display: none; } .two-side { gap: 10px; } }
@container (max-width: 860px) { .two-wrap .two-side details.side-box:not([open]) { display: none; } }
.f-done { display: block; width: calc(100% - 28px); margin: 4px 14px 14px; height: 46px; border: 0; border-radius: 6px; background: var(--dp); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
label > span:has(> input[type=number]) { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; flex-wrap: nowrap; } label > span > input[type=number] { min-width: 0; width: min(7em, 100%); }

/* 2026-11-25 オーナー「どこが一緒なん？」：トップの上部をドラピタのスマホの組み方に寄せる（決めた文言・3県・紺の面はそのまま）
 * ・3県は白い枠の中に、紺の札として並べる（ドラピタの「白い枠の中に標識3枚」の置き方）
 * ・都道府県の帯は、狭い幅では見出しも地方も中央そろえ
 * ・案内バナーは横に流れる1列（指で送る）に */
.mv-panel { position: relative; z-index: 2; width: var(--def-width); max-width: 860px; margin: clamp(24px, 4vw, 40px) auto 0; padding: 10px; background: #fff; border-radius: 10px; box-shadow: 0 2px 6px rgb(0 0 0 / .15); }
.mv-panel .hero-prefs { width: 100%; max-width: none; margin: 0; gap: 8px; }
.mv-panel .hero-pref { background: var(--dp); color: #fff; box-shadow: none; border-radius: 6px; min-height: clamp(58px, 7vw, 76px); }
.mv-panel .hero-pref span { color: #c9d6e8; } .mv-panel .hero-pref:hover { background: var(--dp-2); transform: none; box-shadow: none; }
.mv-pref { max-width: 860px; container-type: inline-size; }
@container (max-width: 560px) { .mv-pref-t { justify-content: center; width: 100%; margin: 0 0 4px; padding: 0; border: 0; } .mv-pref-l { justify-content: center; width: 100%; } }
.mv-bn ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, calc((100% - 30px) / 4)); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mv-bn ul::-webkit-scrollbar { display: none; } .mv-bn li { scroll-snap-align: start; }
@media (max-width: 899px) { .mv-bn ul { grid-auto-columns: 62%; } }
.mv-bn ul { justify-content: start; }

/* =====================================================================
 * 2026-11-25 オーナー指示「色などデザイン性を向上させて」
 * 色：紺は1段深く、背景は冷たい灰色をやめて温かい生成り色、差し色は赤みのある橙（テラコッタ）。
 *     紺の面はHEROとフッターだけにして、途中の帯（ランキング・案内）は明るくする。
 * 部品：カードは角10px・淡い線＋やわらかい影、見出しは形をそろえる（日本語＋下に差し色の線）。
 * HEROの下に家並みの線（白10%）を敷いて、無地の紺に表情をつける。
 * ===================================================================== */
:root {
  --ink: #1f2a37; --ink-2: #4a5565; --ink-3: #7b8594;
  --navy: #17335f; --navy-2: #24497f; --navy-3: #3a62a0; --navy-tint: #eaf0f7;
  --terra: #c8552b; --terra-2: #a8431f; --terra-tint: #fbeee7;
  --sand: #f6f3ee; --sand-2: #efe9df; --line: #e6e0d6; --line-2: #d9d2c6;
  --shadow-1: 0 1px 2px rgb(23 51 95 / .06), 0 6px 20px rgb(23 51 95 / .06);
  --shadow-2: 0 2px 4px rgb(23 51 95 / .08), 0 12px 32px rgb(23 51 95 / .12);
  --dp: var(--navy); --dp-2: var(--navy-2); --dp-light: var(--navy-tint); --dp-or: var(--terra); --dp-or2: var(--terra); --dp-bg: var(--sand); --dp-gray-light: var(--line);
  --brand: var(--navy); --cta: var(--terra); --cta-700: var(--terra-2);
}
body { color: var(--ink); background: #fff; }

/* ヘッダー */
.hd-top { background: var(--navy); }
.hd-pc .logo-tag { color: var(--ink-3); }
.hd-nav a, .hd-nav .hd-menu summary { color: var(--ink); } .hd-nav .nav-ic .ic { color: var(--navy); }
.hd-nav a:hover, .hd-nav .hd-menu summary:hover { background: var(--sand); }
.hd-nav .nav-cta a, .hd-sp-m .nav-cta a { background: var(--terra); } .hd-nav .nav-cta a:hover { background: var(--terra-2); }
.hd-sp-m .nav-cta { background: var(--terra); }
.hd-sp { border-bottom: 1px solid var(--line); box-shadow: none; }

/* HERO：深い紺＋やわらかい光＋家並みの線 */
.mv { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 59h18V38l22-18 22 18v21h14V44l16-13 16 13v15h16V34l26-20 26 20v25h14V46l14-11 14 11v13h16' fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2'/%3E%3C/svg%3E") repeat-x left bottom / 240px 60px,
  radial-gradient(120% 90% at 50% 0%, #2a548f 0%, var(--navy) 55%, #112748 100%); padding-bottom: 72px; }
.mv-h { color: #fff; letter-spacing: .08em; }
.mv-panel { border-radius: 12px; padding: 8px; box-shadow: var(--shadow-2); }
.mv-panel .hero-pref { background: var(--navy); border-radius: 8px; }
.mv-panel .hero-pref:hover { background: var(--navy-2); }
.mv-panel .hero-pref span { color: #b9c8df; }
.mv-pref { border-radius: 12px; box-shadow: var(--shadow-2); }
.mv-pref-t .ic { color: var(--terra); }
.mv-pref-l a { color: var(--ink); } .mv-pref-l a:hover { background: var(--sand); }
.mv-bn { background: var(--sand); padding: 18px 0; border-bottom: 1px solid var(--line); }
.mv-bn a { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-1); }
.mv-bn a:hover { border-color: var(--navy-3); }
.mv-bn b { color: var(--navy); } .mv-bn small { color: var(--ink-3); }

/* 件数と検索 */
.top-search { background: #fff; border-bottom: 0; }
.keisaisu { color: var(--ink); } .keisaisu-num { color: var(--navy); border-bottom-color: var(--terra); }
.ts-box { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-1); }
.form-select, .form-control { border-color: var(--line-2); } .form-select:focus, .form-control:focus { outline: 2px solid var(--navy-3); outline-offset: 0; border-color: var(--navy-3); }
.ts-ic { background: var(--navy); } .btn-primary { background: var(--terra); } .btn-primary:hover { background: var(--terra-2); }

/* 見出し：形をそろえる */
.t-01 .t-en { color: var(--terra); }
.t-jp, .t-02 { color: var(--ink); }
.t-02 { flex-direction: row; align-items: center; } .t-02 .ic { color: var(--terra); width: 28px; height: 28px; } .t-02 .mini { font-size: 100%; }
.t-02::after { content: none; }

/* 区画の地色：生成りと白を交互に。途中の紺の帯はやめる */
.top-job { background: var(--sand); }
.top-cond { background: #fff; }
.top-rank { background: var(--navy-tint); } .top-rank .t-02, .top-rank .t-02 .ic { color: var(--ink); } .top-rank .t-02 .ic { color: var(--terra); }
.top-areas { background: #fff; }
.top-guide { background: var(--sand); }

/* カード */
.job-list > li, .guide-box, .rank-type, .rank-kw, .rows .row, .side-box, .sbox { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-1); background: #fff; }
.job-list > li:hover, .guide-box:hover { box-shadow: var(--shadow-2); }
.job-new .job-list { border-color: var(--line); border-radius: 10px; box-shadow: var(--shadow-1); }
.job-co { color: var(--terra); } .job-t { color: var(--ink); } .job-sub { color: var(--ink-3); } .job-sub .ic { color: var(--navy-3); }
.btn-co { border-color: var(--navy); color: var(--navy); border-radius: 999px; } .btn-co:hover { background: var(--navy); color: #fff; } .btn-co:hover::after { border-color: #fff; }
.cond-list a:hover { background: var(--sand); } .cond-name { border-top-color: var(--terra); color: var(--ink); }
.rank-t { border-bottom-color: var(--terra); color: var(--ink); }
.kw-tag { border-color: var(--line-2); color: var(--ink-2); border-radius: 999px; } .kw-tag:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-tint); }
.way-tabs button { border-color: var(--line-2); color: var(--ink-2); background: #fff; } .way-tabs button .ic { color: var(--navy-3); }
.way-tabs [aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; } .way-tabs [aria-pressed="true"] .ic { color: #fff; }
.area-box { border-bottom-color: var(--line); } .area-name { color: var(--navy); border-left-color: var(--terra); }
.pref-list li { border-right-color: var(--line); } .pref-list a { color: var(--ink); font-weight: 700; } .pref-list a i { color: #fff; background: var(--terra); border-radius: 999px; padding: 1px 7px; font-size: 11px; margin-left: 5px; }
.pref-list a.is-empty { color: var(--ink-3); font-weight: 400; } .pref-list span { color: #b8bec7; }
.guide-t { color: var(--navy); } .guide-txt { color: var(--ink-2); }
.btn-more-mini { border-color: var(--navy); color: var(--navy); border-radius: 999px; } .btn-more-mini:hover { background: var(--navy); color: #fff; } .btn-more-mini:hover::after { border-color: #fff; }

/* 県TOP・一覧 */
.pref-band { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 59h18V38l22-18 22 18v21h14V44l16-13 16 13v15h16V34l26-20 26 20v25h14V46l14-11 14 11v13h16' fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2'/%3E%3C/svg%3E") repeat-x left bottom / 240px 60px,
  radial-gradient(120% 120% at 50% 0%, #2a548f 0%, var(--navy) 60%, #112748 100%); border-bottom: 0; }
.pref-band h1 { color: var(--navy); box-shadow: var(--shadow-2); border-radius: 10px; }
.pref-tabs a { background: rgb(255 255 255 / .12); color: #fff; } .pref-tabs a:not([aria-current]):hover { background: rgb(255 255 255 / .22); }
.pref-tabs a[aria-current] { background: #fff; color: var(--navy); box-shadow: inset 0 3px 0 var(--terra); }
.pref-band + .container, main:has(.pref-band) { background: var(--sand); }
.side-h { background: var(--sand); color: var(--navy); border-bottom-color: var(--line); }
.sbox-row { border-bottom-color: var(--line); } .sbox-row .ic { color: var(--terra); } .sbox-row b { color: var(--navy); } .sbox-row:hover { background: var(--sand); }
.sbox-kw { background: var(--sand); } .sbox-kw input { border-color: var(--line-2); }
.qchips > * { border-color: var(--line-2); color: var(--ink-2); }
.qc-add { border-color: var(--navy) !important; color: var(--navy) !important; background: #fff !important; }
.list-h { border-bottom-color: var(--navy); } .list-n b { color: var(--navy); }
.rel { background: #fff; border-color: var(--line); }
.rows .row-tags li { background: var(--navy-tint); color: var(--navy); }
.rows .row-act { border-top-color: var(--line); }
.btn-detail { border-color: var(--navy); color: var(--navy); } .btn-detail:hover { background: var(--navy-tint); }
.rows .row-act .btn-contact { background: var(--terra); } .rows .row-act .btn-contact:hover { background: var(--terra-2); }
.row-l .ic { color: var(--terra); }

/* 右下・フッター */
.to-top { background: var(--navy); border-radius: 999px; }
.fab { background: var(--terra); }
.ft-bn { background: #fff; } .ft-bn a { border-color: var(--line); border-radius: 12px; box-shadow: var(--shadow-1); } .ft-bn a:hover { box-shadow: var(--shadow-2); }
.ft-menu { background: #112748; }
.ft-co { color: var(--ink-2); }
.mv { padding-bottom: 0; background: radial-gradient(120% 90% at 50% 0%, #2a548f 0%, var(--navy) 55%, #112748 100%); }
.mv-pref { margin-bottom: 8px; }
.mv-roof { position: relative; z-index: 1; height: clamp(44px, 6vw, 64px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 59h18V38l22-18 22 18v21h14V44l16-13 16 13v15h16V34l26-20 26 20v25h14V46l14-11 14 11v13h16' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='2'/%3E%3C/svg%3E") repeat-x left bottom / 240px 60px; }
