:root {
  /* 提案のデザイン（fuda_ui_mock_package の variables.css）の青系・白地（プラン 0082）。 */
  --bg: #f5f8fc; --panel: #fff; --ink: #243447; --sub: #5b6b7c; --line: #d8e3ee;
  --brand: #1f6fd1; --brand-2: #4a90e2; --brand-ink: #fff; --accent: #e8590c; --tag: #eaf4ff; --tag-ink: #1f5fae; --soft: #f3f8fe; --hover: #eaf4ff;
  --radius: 12px; --shadow-sm: 0 2px 8px rgba(36,52,71,.06); --shadow-md: 0 8px 22px rgba(36,52,71,.08);
  --new: #0f766e; --warn: #b45309; --bad: #b91c1c;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.6 system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 1000; }
.bar { max-width: 1240px; margin: 0 auto; display: flex; gap: 20px; align-items: center; padding: 10px 16px; }
.logo { display: flex; align-items: center; flex: none; line-height: 0; }
.logo img { display: block; height: 48px; width: auto; }
.logo:hover { text-decoration: none; }
.count { background: var(--tag); color: var(--tag-ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; white-space: nowrap; }
.bar form { flex: 1; display: flex; max-width: 520px; }
.bar input { flex: 1; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; padding: 9px 12px; font: inherit; }
.bar button { border: 0; border-radius: 0 8px 8px 0; padding: 0 16px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; line-height: 0; }
.wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px; }
@media (max-width: 800px) { .wrap { grid-template-columns: 1fr; } aside { order: 2; } .bar form { display: none; } }
#menubtn { display: none; border: 0; background: transparent; color: var(--brand); padding: 4px; margin: 0 -4px 0 -6px; cursor: pointer; line-height: 0; }
.drawerhead { display: none; }
.dq { display: none; }
@media (max-width: 800px) {
  #menubtn { display: block; }
  aside#side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 2100; width: min(86vw, 320px); overflow-y: auto; background: var(--bg);
    padding: 0 12px 24px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 4px 0 18px rgba(23,50,79,.25); }
  body.menu-open aside#side { transform: none; }
  body.menu-open { overflow: hidden; }
  #scrim { position: fixed; inset: 0; z-index: 2050; background: rgba(15,30,50,.45); }
  .drawerhead { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 -12px 12px; padding: 10px 12px;
    background: var(--brand); color: #fff; font-weight: 700; }
  .drawerhead button { border: 0; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
  .drawerhead + form { display: flex; margin: 0 0 12px; } .drawerhead + form input { flex: 1; border: 1px solid var(--line); border-radius: 4px 0 0 4px; padding: 6px 10px; font: inherit; }
  .drawerhead + form button { border: 0; border-radius: 0 4px 4px 0; padding: 0 12px; background: var(--brand); color: #fff; font-weight: 700; }
}
aside .box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }
aside h3 { margin: 0; font-size: 14px; background: var(--brand); color: #fff; padding: 9px 12px; }
aside ul { list-style: none; margin: 0; padding: 4px 0; }
aside li a { display: flex; justify-content: space-between; padding: 4px 10px; color: var(--ink); }
aside li a:hover { background: var(--hover); text-decoration: none; }
aside li a .n { color: var(--sub); font-size: 12px; }
main { min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; margin-bottom: 12px; }
h1 { font-size: 20px; margin: 0 0 8px; }
h2 { font-size: 16px; margin: 16px 0 8px; border-left: 4px solid var(--brand); padding-left: 8px; }
.crumb { font-size: 12px; color: var(--sub); margin-bottom: 8px; }
/* 物件詳細の次へと戻る（プラン 0085）。パンくずの行の右端。 */
.unav { float: right; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.unav a, .unav .off { padding: 1px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.unav a:hover { text-decoration: none; background: var(--hover); }
.unav .off { color: #c0c8d2; }
.unav b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.unav .back { border-color: transparent; background: none; }
/* 狭い画面は、帯をパンくずの下の行に置き、広告の幅を削らない（2026-10-18）。 */
@media (max-width: 640px) { .unav { float: none; display: flex; flex-wrap: wrap; margin-top: 6px; } }
.lead { color: var(--sub); margin: 0 0 8px; }
.big { font-size: 28px; font-weight: 700; color: var(--accent); }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--brand); margin: 12px 0 0; }
.tabs a { padding: 6px 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--soft); color: var(--ink); }
.tabs a.on { background: var(--brand); color: #fff; }
.tabs a small { display: block; font-size: 11px; text-align: center; }
.pref-new { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pref-new a { background: var(--tag); border-radius: 12px; padding: 1px 10px; font-size: 12px; }
/* 一覧のカード: 写真・中身・入札の 3 列（プラン 0082）。 */
.card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px; margin-bottom: 12px; }
.card:hover { box-shadow: var(--shadow-md); border-color: #b9d3ef; }
.kindrow { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 2px; }
.kind { font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 6px; background: var(--tag); color: var(--tag-ink); }
.kind.k-土地 { background: #e8f7ec; color: #23753b; } .kind.k-戸建て { background: #fff1e6; color: #b4500e; } .kind.k-その他 { background: #f1f3f5; color: #495057; }
.card .name { display: block; margin: 2px 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.card .yen { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.15; letter-spacing: -.5px; }
.card .yen small { font-size: 15px; margin-left: 1px; }
.card .spec { font-size: 13px; margin-left: 10px; }
.card .addr { color: var(--sub); font-size: 13px; margin-top: 2px; }
.rest { align-self: flex-start; font-size: 13px; font-weight: 700; color: #d6336c; border: 1.5px solid #f3a7bf; border-radius: 999px; padding: 0 12px; background: #fff5f8; }
.rest.soon { color: #fff; background: #e03131; border-color: #e03131; }
.ph { width: 210px; height: 158px; border-radius: 10px; background: linear-gradient(135deg, #eaf4ff, #d3e3f5); display: grid; place-items: center; color: #5f6b7a; font-size: 12px; text-align: center; }
.ph b { display: block; font-size: 22px; color: var(--brand); }
.title { font-size: 18px; font-weight: 700; }
.title .price { color: var(--accent); }
.badge { display: inline-block; font-size: 11px; border-radius: 3px; padding: 0 6px; margin-left: 4px; vertical-align: middle; border: 1px solid; }
.badge.new { color: var(--new); border-color: var(--new); }
.badge.stop { color: var(--bad); border-color: var(--bad); }
.badge.sp { color: var(--warn); border-color: var(--warn); }
.badge.down { color: var(--bad); border-color: var(--bad); }
a.badge { text-decoration: none; }
/* 物件詳細の題（並べ方の決定 2）: 価格の後ろに残り日数、その後ろに注目の札。 */
.h1rest { font-size: .7em; font-weight: 600; color: var(--sub); margin-left: 4px; white-space: nowrap; }
.badge.hot { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 700; }
.badge.round { font-size: 12px; font-weight: 700; padding: 1px 8px; color: #fff; border: 0; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.badge.round.r1 { background: #2b8a3e; }
.card .title .badge, .card .title .vbadge, h1 .badge { box-sizing: border-box; height: 20px; line-height: 18px; font-size: 12px; font-weight: 700; padding: 0 8px; border-width: 1px; border-style: solid; vertical-align: middle; box-shadow: none; }
.card .title .badge.round { border-color: transparent; }
.badge.round.r2 { background: #e67700; }
.badge.round.r3 { background: #c92a2a; }
.meta { color: var(--sub); font-size: 13px; }
.meta span + span::before { content: "・"; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tags a { background: var(--tag); color: var(--tag-ink); border-radius: 3px; padding: 0 6px; font-size: 12px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { background: #fff7ed; border: 1px solid #fed7aa; color: var(--accent); border-radius: 12px; padding: 0 10px; font-size: 12px; }
select, input[type=number], input[type=text] { font: inherit; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.more { display: block; width: 100%; margin-top: 12px; padding: 10px; border: 1px solid var(--line); background: var(--soft); border-radius: 6px; cursor: pointer; font: inherit; color: var(--brand); }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
th { background: var(--soft); width: 30%; font-weight: 600; }
table.list th { width: auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid2 th { white-space: nowrap; width: 1%; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.price3 { display: flex; gap: 12px; flex-wrap: wrap; }
/* 物件詳細（並べ方の決定 1・2026-10-12）: 左のメニューを出さず、右に価格のパネルを浮かせて残す。狭い画面は今の並び（本文の価格の箱）。 */
body.detail .wrap { grid-template-columns: minmax(0, 1fr); }
body.detail aside#side { display: none; }
.ud { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
/* 右の列は本文と同じ高さに伸ばす。伸ばさないと、スクロールしたときにパネルが残らない。 */
.ud-side { align-self: stretch; }
/* 物件詳細の上の段（並べ方の決定 3）: パンくず・広告・題は全幅。その下から本文と価格のパネルを並べる。 */
.ud-top { margin-bottom: 16px; }
.ud-top h1 { margin-bottom: 0; }
.ud-side .stick { position: sticky; top: 76px; }
.ud-side .ad { margin: 12px 0 0; }
.ud .price-inline { display: none; }
.pcard { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 14px 16px; }
.pcard .lbl { font-size: 12px; color: var(--sub); }
.pcard .big { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.25; }
.pcard .deal { font-size: 13px; margin: 2px 0 6px; } .pcard .deal b { color: var(--new); font-size: 16px; }
.pcard dl { margin: 6px 0 0; font-size: 13px; }
.pcard dl div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 6px 0; }
.pcard dt { color: var(--sub); } .pcard dd { margin: 0; font-weight: 700; text-align: right; }
.pcard .left { margin: 6px 0 8px; font-size: 13px; padding: 6px 10px; border-radius: 6px; background: #fff7ed; color: #9a3412; }
.pcard .pbtn { display: grid; gap: 6px; margin-top: 8px; }
.pcard .pbtn .btn { justify-content: center; margin: 0; }
/* 価格のパネルのお気に入りは、ほかのボタンと同じ幅で少し大きめにする（並べ方の決定）。 */
.pcard .pbtn .fav.card { width: 100%; margin: 4px 0 0; justify-content: center; gap: 6px; padding: 9px 14px; font-size: 15px; font-weight: 700; border-width: 2px; border-radius: 6px; }
.pcard .pbtn .fav.card svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .ud { grid-template-columns: minmax(0, 1fr); } .ud-side { display: none; } .ud .price-inline { display: block; } }
.price3 div { flex: 1; min-width: 150px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; }
.price3 div b { display: block; font-size: 20px; color: var(--accent); }
.btn { display: inline-block; background: var(--brand); color: #fff; border-radius: 4px; padding: 6px 14px; }
.btn:hover { text-decoration: none; opacity: .9; }
.btn.off { background: #94a3b8; pointer-events: none; }
.btn .pdfi { vertical-align: -3px; margin-right: 6px; }
.btn .ico { vertical-align: -2px; margin-right: 6px; }
.btn.sub { background: #fff; color: var(--brand); border: 1px solid var(--brand); padding: 5px 13px; }
.btn.sub:hover { background: #eaf4ff; opacity: 1; }
p.btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
p.btns .btn { box-sizing: border-box; text-align: center; white-space: nowrap; }
/* 注意書きは、災害の区域の出典（.ap-hazard p.meta）と同じ 11px にそろえる（2026-10-17 の利用者の指示）。 */
.note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; padding: 8px 12px; font-size: 11px; }
.form { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; align-items: center; }
.form label { font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal div { background: #fff; border: 1px solid var(--line); min-height: 70px; padding: 4px; font-size: 12px; }
.cal .h { min-height: 0; background: var(--soft); text-align: center; font-weight: 600; }
.cal .out { background: var(--soft); color: #c9d8e8; }
.cal .today { outline: 2px solid var(--accent); }
.cal a { display: block; }
#map, #dmap { height: 520px; border-radius: 6px; }
/* 地図を独立した重なりの層にする。Leaflet のボタン（z-index 1000）が、同じ 1000 のヘッダの上に乗らないように。 */
#map, #dmap { isolation: isolate; }
#dmap { height: 220px; transition: height .2s; }
/* 周辺地図の高さは、題の右端のボタンで広げる（並べ方の決定）。 */
#dmap.wide { height: 80vh; }
.pin-drop svg { display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.pin-price { position: relative; display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; line-height: 1.5; padding: 1px 8px; border-radius: 12px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); cursor: pointer; }
.pin-price::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--accent); border-bottom: 0; }
.pin-price:hover { filter: brightness(.9); }
.maphome { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; background: #fff; color: var(--accent); font: 700 12px/1 inherit; cursor: pointer; }
.maphome:hover { background: #fff4e6; }
.wheeltip { position: absolute; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.45); color: #fff; font-size: 15px; font-weight: 700; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.wheeltip.on { opacity: 1; }
.pin-price .km { display: inline-block; vertical-align: -1px; margin-right: 3px; }
h2.hbar { display: flex; align-items: center; gap: 8px; }
.mapx { margin-left: auto; font: inherit; font-size: 13px; font-weight: 600; color: var(--brand); background: #fff; border: 1px solid var(--brand); border-radius: 4px; padding: 3px 12px; cursor: pointer; }
.mapx:hover { background: #eaf4ff; }
.hzbar { margin: 8px 0 0; font-size: 13px; }
.hzpick { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hzpick label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; }
.hzpick input { margin: 0; accent-color: var(--brand); }
.hzrange { padding: 4px 8px; background: rgba(255,255,255,.92); border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.3); font-size: 12px; }
.hzrange:empty { display: none; }
.hzrange div { display: flex; align-items: center; gap: 6px; line-height: 16px; }
.hzrange i { width: 14px; height: 10px; flex: none; border: 1px solid rgba(0,0,0,.15); }
.hzrange .sub { padding-left: 10px; font-size: 11px; }
.hzrange .hznote { color: var(--sub); font-size: 11px; }
.gnav { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); }
.gnav div { max-width: 1240px; margin: 0 auto; display: flex; gap: 4px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
/* 入りきらない幅では、右の端を薄くして、横に続くことを示す。 */
@media (max-width: 1000px) { .gnav div { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); } }
.gnav a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnav a svg { width: 18px; height: 18px; color: var(--brand); }
.gnav a:hover { text-decoration: none; border-bottom-color: var(--brand-2); }
@media (max-width: 800px) { .mine { gap: 6px; } .count { display: none; } .gnav a { padding: 8px 10px; font-size: 13px; } }
@media (max-width: 560px) { .logo img { height: 36px; } }
footer { margin-top: 16px; background: #17324f; color: #c9d8e8; font-size: 12px; line-height: 1.5; }
footer .fcols { max-width: 1200px; margin: 0 auto; padding: 10px 16px 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 28px; }
footer .fcols > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
footer b { color: #fff; font-size: 12px; flex-basis: 100%; }
footer a { color: #c9d8e8; } footer a:hover { color: #fff; }
/* 外部サイトへのリンクの印（並べ方の決定）: 四角から矢印が出る形。文字の ↗ はフォントで形が崩れるので使わない。 */
.extic { display: inline-block; vertical-align: -1px; margin-left: 3px; opacity: .8; }
footer .fbottom { max-width: 1200px; margin: 0 auto; padding: 6px 16px 8px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
footer .fnote { margin: 0; flex: 1; min-width: 240px; }
footer .fcopy { margin: 0; color: #8fa6bf; white-space: nowrap; order: -1; }
.follow { display: flex; align-items: center; gap: 6px; }
.follow a { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 6px; border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; }
.follow a:hover { background: rgba(255,255,255,.22); text-decoration: none; }
.follow svg { width: 15px; height: 15px; }
.follow a[data-soon="RSS"] svg { color: #ffa94d; }
.ph img { width: 210px; height: 158px; object-fit: cover; border-radius: 10px; display: block; }
.ph { position: relative; overflow: hidden; }
.drop { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; gap: 4px; padding: 3px 6px; background: rgba(23,50,79,.6);
  color: #fff; font-size: 11px; line-height: 1.3; white-space: nowrap; backdrop-filter: blur(1px); }
.drop.sm { padding: 2px 5px; font-size: 10px; gap: 2px; } .drop.sm s { font-size: 11px; }
.drop s { opacity: .8; } .drop .to { opacity: .8; } .drop b { font-size: 13px; }
.drop em { font-style: normal; margin-left: auto; background: rgba(201,42,42,.9); border-radius: 3px; padding: 0 4px; font-size: 11px; font-weight: 700; }
.slider .stage .drop { font-size: 14px; padding: 8px 12px; gap: 8px; z-index: 1; } .slider .stage .drop b { font-size: 20px; } .slider .stage .drop em { font-size: 13px; padding: 1px 8px; }
.slider .stage:has(.drop) .count, .slider .stage:has(.drop) .credit { bottom: 52px; }
.ph.none { background: repeating-linear-gradient(45deg, #f1f6fc, #f1f6fc 8px, #e3edf8 8px, #e3edf8 16px); }
.flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.flag { font-size: 11px; border-radius: 3px; padding: 0 6px; border: 1px solid; }
.flag { position: relative; display: inline-block; padding-right: 12px; }
.flag sup { position: absolute; top: -1px; right: 3px; font-size: 9px; line-height: 1; font-weight: 700; opacity: .8; }
.flag[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 4px); z-index: 20; width: max-content; max-width: 280px;
  background: #1f2933; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.5; padding: 6px 8px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.25); white-space: normal; }
.flags.big .flag { font-size: 13px; padding: 2px 16px 2px 8px; }
.flags.big .flag sup { font-size: 10px; top: 1px; right: 4px; }
.flag.high { color: #fff; background: var(--bad); border-color: var(--bad); }
.flag.mid { color: var(--warn); border-color: var(--warn); background: #fffbeb; }
.flag.info { color: var(--sub); border-color: var(--line); background: var(--soft); }
.tags a.station { background: #ecfdf5; color: #047857; }
.tags a.line, .tags a.walk { background: #f0fdf4; color: #15803d; }
.tags a.quake { background: #fef3c7; color: #92400e; }
.flags .rtag { display: inline-block; border-radius: 3px; padding: 0 6px; font-size: 11px; border: 1px solid transparent; background: var(--tag); color: var(--tag-ink); }
.flags.big .rtag { font-size: 13px; padding: 2px 8px; }
.flags .rtag.building { background: var(--brand); color: #fff; font-weight: 600; }
.flags .rtag.quake { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.tags a.building { background: var(--brand); color: #fff; font-weight: 600; }
.hero { width: 100%; max-height: 420px; object-fit: contain; background: #0f172a; border-radius: 6px; }
.flagtable td:first-child { white-space: nowrap; }
/* ラベルと値を 2 組ずつ並べる。長い値（.w）は 1 行を使う。狭い画面では 1 組ずつ。 */
.kv { display: grid; grid-template-columns: 9.5em 1fr 9.5em 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0 0 8px; }
.kv dt, .kv dd { margin: 0; padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kv dt { background: var(--soft); font-weight: 600; }
.kv dt.w { grid-column-start: 1; }
.kv dd.w { grid-column: span 3; }
.kv .pad { grid-column: span 2; background: #fff; }
.kv .head { grid-column: 1 / -1; background: #dbeafe; color: var(--brand); font-weight: 700; }
@media (max-width: 700px) { .kv { grid-template-columns: 8em 1fr; } .kv dd.w { grid-column: auto; } }
aside li.region > a { font-weight: 400; }
aside li.region.on > a { font-weight: 700; }
aside li.region.on > a .n { color: var(--ink); font-weight: 700; }
aside li.pref a { padding-left: 22px; justify-content: flex-start; }
aside li.pref a .n { margin-left: auto; }
aside li.pref a::before { content: "-"; margin-right: 6px; color: var(--sub); }
aside li.pref.on a { font-weight: 700; background: var(--hover); }
aside h3 .ic { margin-right: 6px; }
.sec { border-bottom: 1px solid var(--line); }
.sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--soft); }
.sec > summary::-webkit-details-marker { display: none; }
.sec.fixed > .fh { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 28px; background: var(--soft); }
.sec.fixed > .fh b { color: var(--brand); min-width: 7em; }
.sec.fixed > .fh .sum { color: var(--sub); font-size: 13px; flex: 1; }
.sec.fixed > .fh .sum.set { color: var(--accent); font-weight: 600; }
/* 新着と入札方式は一番上に横に並べ、いつも見せる。狭い画面では縦に積む。 */
.toprow .sec.fixed > .fh { padding-left: 12px; flex-wrap: wrap; gap: 6px 12px; }
.toprow .sec.fixed > .fh b { min-width: auto; }
/* リスクフィルター: 箱・名前・数を 1 行に。検索画面のほかのチェックボックスと同じ 11em のグリッド（今の幅で 4 列）。 */
.rfgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 2px 10px; }
.rf { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 4px; min-width: 0; cursor: pointer; user-select: none; }
.rf:hover { background: var(--hover); }
.rf:hover .tri { border-color: var(--brand); }
.rf .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf .n { margin-left: auto; color: var(--brand); font-size: 14px; font-weight: 700; }
.rf.zero { opacity: .45; }
.rf[data-state=has] { background: #eaf4ff; }
.rf[data-state=not] { background: #fdeeee; }
/* 普通のチェックボックス（13px・外側 3px 3px 3px 4px）と同じ大きさにそろえる。 */
.tri { width: 13px; height: 13px; margin: 3px 3px 3px 4px; flex: none; padding: 0; border: 1px solid #767676; border-radius: 2px; background: #fff; cursor: pointer; font: 700 10px/1 system-ui, sans-serif; color: #fff; display: grid; place-items: center; }
.tri:hover { border-color: var(--brand); }
.rf[data-state=has] .tri { background: var(--brand); border-color: var(--brand); }
.rf[data-state=has] .tri::after { content: "✓"; }
.rf[data-state=not] .tri { background: var(--bad); border-color: var(--bad); }
.rf[data-state=not] .tri::after { content: "✕"; }
.seg { display: inline-flex; border: 1px solid var(--brand); border-radius: 6px; overflow: hidden; }
.seg label { cursor: pointer; }
.seg label + label { border-left: 1px solid var(--brand); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 3px 12px; font-size: 13px; color: var(--brand); background: #fff; white-space: nowrap; }
.seg label:hover span { background: var(--hover); }
.seg input:checked + span { background: var(--brand); color: #fff; font-weight: 700; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.toprow { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.toprow .sec { border-bottom: 0; }
.toprow .sec + .sec { border-left: 1px solid var(--line); }
.toprow .sec .checks { grid-template-columns: repeat(auto-fill, minmax(9em, 1fr)); }
@media (max-width: 700px) { .toprow { grid-template-columns: 1fr; } .toprow .sec + .sec { border-left: 0; border-top: 1px solid var(--line); } }
.sec > summary::before { content: "▸"; color: var(--brand-2); transition: transform .15s; }
.sec[open] > summary::before { transform: rotate(90deg); }
.sec > summary b { color: var(--brand); min-width: 7em; }
.sec > summary .sum { color: var(--sub); font-size: 13px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec > summary .sum.set { color: var(--accent); font-weight: 600; }
.sec .body { padding: 10px 12px 14px; }
.checks label.zero, .prefs label.zero { opacity: .4; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.presets button { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 2px 10px; font: inherit; font-size: 12px; cursor: pointer; color: var(--brand); }
.presets button:hover { background: var(--hover); }
.cities { margin-top: 8px; padding: 8px; background: var(--soft); border-radius: 6px; }
.recent { margin: 0 0 12px; padding: 8px 12px; background: var(--soft); border-radius: 6px; font-size: 13px; }
.recent a { display: inline-block; margin: 2px 8px 2px 0; }
.sbar .chosen { flex: 1; font-size: 12px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbar button:disabled { background: #a7bbd1; cursor: not-allowed; }
.sform dl { display: grid; grid-template-columns: 9em 1fr; margin: 0; border-top: 1px solid var(--line); }
.sform dt, .sform dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sform dt { background: var(--soft); font-weight: 700; color: var(--brand); }
@media (max-width: 640px) { .sform dl { grid-template-columns: 1fr; } .sform dt { border-bottom: 0; } }
.rtabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.rtabs a { padding: 3px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 13px; }
.rtabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pgroup { display: grid; grid-template-columns: 7.5em 1fr; gap: 4px; padding: 3px 0; border-top: 1px dashed var(--line); }
.pgroup:first-of-type { border-top: 0; }
.pgroup .pname { font-weight: 700; color: var(--brand); font-size: 13px; }
@media (max-width: 640px) { .pgroup { grid-template-columns: 1fr; } }
/* 検索画面のチェックボックスとラジオは、沿線・裁判所から探す（.cgrid）と同じ見た目にする。件数は右端・太字。 */
.prefs, .sform .checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 2px 10px; }
.prefs label, .sform .checks label { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 4px; min-width: 0; cursor: pointer; }
.prefs label:hover, .sform .checks label:hover { background: var(--hover); }
.prefs label .n, .sform .checks label .n { margin-left: auto; color: var(--brand); font-size: 14px; font-weight: 700; }
.prefs label:has(input:checked), .sform .checks label:has(input:checked) { background: #eaf4ff; font-weight: 700; }
.prefs .n, .checks .n { color: var(--brand); font-size: 14px; font-weight: 700; }
.range select { min-width: 8em; }
.sbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; background: rgba(255,255,255,.97); border-top: 1px solid #c9d8e8; box-shadow: 0 -2px 10px rgba(31,111,209,.12);
  border-radius: 8px 8px 0 0; padding: 10px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; }
/* 下端に固定した検索の帯の後ろに、ページの最後が隠れないようにする。 */
body:has(.sbar:not(form[hidden] .sbar)) { padding-bottom: 72px; }
.sbar button { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 10px 40px; border-radius: 6px; background: var(--brand); color: #fff; }
.sbar button b { font-size: 18px; margin: 0 2px; }
.sbar a { font-size: 13px; }
.hint { color: var(--sub); font-size: 12px; margin-top: 4px; }
/* 沿線から探す。路線は色の線の上に駅を等間隔に並べる。物件のある駅は塗りつぶして件数を出す。 */
.ltabs { position: sticky; top: 48px; z-index: 900; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0; background: var(--panel); border-bottom: 2px solid var(--brand); }
.ltabs a { padding: 4px 12px; border-radius: 14px; border: 1px solid var(--line); font-size: 13px; background: #fff; }
.ltabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.lregion { scroll-margin-top: 110px; padding-top: 4px; }
.lregion > h2 { font-size: 18px; }
.lpref { margin: 8px 0 18px; }
.lpref > h3 { margin: 0 0 6px; font-size: 15px; color: var(--brand); }
.lline { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px 4px; margin-bottom: 8px; }
.lline .lh { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.lline .lh i { width: 14px; height: 14px; border-radius: 3px; background: var(--lc); display: inline-block; }
.lline .lh .n { margin-left: auto; font-weight: 400; font-size: 12px; color: var(--sub); }
.route { position: relative; display: grid; grid-template-columns: repeat(var(--cols), 1fr); margin: 10px 0 2px; }
.route .bar { position: absolute; top: 16px; height: 5px; background: var(--lc); border-radius: 3px; left: calc(100% / var(--cols) / 2); }
.route .st { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.route .st .c { height: 12px; font-size: 10px; line-height: 12px; color: var(--accent); font-weight: 700; }
.route .st .d { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--lc); position: relative; z-index: 1; }
.route .st .nm { font-size: 11px; line-height: 1.25; margin-top: 3px; padding: 0 1px; word-break: break-all; color: var(--sub); }
.route .st.on .d { width: 15px; height: 15px; margin-top: -2px; background: var(--lc); border-color: #fff; box-shadow: 0 0 0 2px var(--lc); }
.route .st.on .nm { color: var(--ink); font-weight: 700; }
.route a.st:hover .nm { text-decoration: underline; }
.lmore > summary { cursor: pointer; color: var(--brand); font-size: 13px; margin: 4px 0 8px; }
.ptabs[hidden] { display: none; }
.ptabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0; border-bottom: 2px solid var(--brand); }
.ptabs button { font: inherit; font-size: 13px; padding: 4px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--brand); cursor: pointer; }
.ptabs button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.ptabs button .k { font-size: 11px; margin-left: 4px; color: var(--accent); font-weight: 700; }
.ptabs button.on .k { color: #ffd7c2; }
/* 見た目だけの横の動き。overflow を隠し、スクロールバーは出さない。 */
.pager { position: relative; overflow: hidden; transition: height .35s ease; }
.ppage { width: 100%; padding: 6px 0; }
.ppage.moving { position: absolute; top: 0; left: 0; }
.ppage.anim { transition: transform .35s ease; }
.pblock { margin: 10px 0 14px; }
.pblock h3 { margin: 0 0 6px; font-size: 14px; color: var(--brand); border-bottom: 1px dashed var(--line); padding-bottom: 3px; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13em, 1fr)); gap: 2px 10px; }
.pblock.wide .cgrid { grid-template-columns: repeat(auto-fill, minmax(17em, 1fr)); }
.cgrid label { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 4px; cursor: pointer; min-width: 0; }
.cgrid label:hover { background: var(--hover); }
.cgrid label span.t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cgrid label .n { margin-left: auto; color: var(--brand); font-size: 14px; font-weight: 700; }
.cgrid label:has(input:checked) { background: #eaf4ff; font-weight: 700; }
.cgrid label.zero { opacity: .4; cursor: default; }
/* 一覧の並び替えのタブ（選んだタブは白地・上に朱の線）と、絞り込みの帯とパネル。 */
.stabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); margin: 4px 0 0; }
.stabs a { padding: 8px 16px; background: #e9f1fb; color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 4px 4px 0 0; border-top: 3px solid transparent; }
.stabs a:hover { text-decoration: none; background: #dbe8f7; }
.stabs a.on { background: #fff; border-top-color: var(--accent); box-shadow: 0 2px 0 #fff; }
.stabs a i { font-style: normal; font-size: 11px; margin-left: 4px; color: var(--accent); }
.stabs a em { font-style: normal; font-size: 13px; margin-left: 6px; color: var(--accent); }
.fbar { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fbar .chips { flex: 1; }
.fbar .chips a b { margin-left: 2px; }
.fbar .chips span.fixed { background: var(--brand); color: #fff; border-radius: 12px; padding: 0 10px; font-size: 12px; font-weight: 700; }
.fbar .chips a.clear { background: none; border: 0; color: var(--sub); text-decoration: underline; }
.fbar .cnt { white-space: nowrap; color: var(--sub); } .fbar .cnt b { color: var(--ink); font-size: 16px; }
.fbtn { font: inherit; font-weight: 700; padding: 5px 14px; border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 16px; cursor: pointer; white-space: nowrap; }
.fbtn::before { content: "⚲ "; }
.fbtn.on, .fbtn:hover { background: var(--brand); color: #fff; }
.fbtn span { display: inline-block; margin-left: 6px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; }
.fpanel { border: 1px solid var(--line); border-radius: 6px; margin: 8px 0; background: #fff; box-shadow: 0 4px 12px rgba(23,50,79,.08); }
.fpanel .toprow { border-bottom: 1px solid var(--line); }
.fpanel .fpref .cgrid { grid-template-columns: repeat(auto-fill, minmax(8.5em, 1fr)); }
.frow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.frow.top { align-items: flex-start; }
.frow > b { min-width: 4em; color: var(--brand); }
.frow .rfgrid { flex: 1; }
.frow .ph { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; width: auto; height: auto; min-height: 0; cursor: pointer; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 3px 12px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.pills input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.fact { display: flex; gap: 10px; justify-content: center; padding: 10px; }
.fact .go { border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 700; padding: 8px 28px; border-radius: 6px; cursor: pointer; }
.fact .go:disabled { background: #a7bbd1; }
.fact #fclose, .fact #rclose { border: 1px solid var(--line); color: var(--ink); font-weight: 400; background: #fff; font: inherit; padding: 8px 18px; border-radius: 6px; cursor: pointer; }
/* 広告の枠（モック）。本番は Google AdSense のレスポンシブの枠（ins.adsbygoogle）を入れる。内容と見分けるため「広告」と出す。 */
.ad { margin: 14px 0; border: 1px dashed #c9d8e8; border-radius: 6px; background: repeating-linear-gradient(45deg, #fafaff, #fafaff 10px, #f3f3fb 10px, #f3f3fb 20px);
  color: #9a9ab8; font-size: 12px; display: grid; place-items: center; text-align: center; min-height: 90px; position: relative; clear: both; }
.ad::before { content: "広告"; position: absolute; top: 4px; left: 8px; font-size: 10px; color: #8a8aa8; letter-spacing: .1em; }
.ad.rect { min-height: 250px; }
.ad.feed { min-height: 100px; margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
aside .ad { margin: 0 0 12px; }
.slider { outline: none; }
.slider .stage { position: relative; background: #0f172a; border-radius: 6px; height: 420px; display: grid; place-items: center; overflow: hidden; user-select: none; }
.slider .main { max-width: 100%; max-height: 420px; object-fit: contain; cursor: zoom-in; }
.slider .main.line { background: #fff; }
.slider .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 64px; border: 0; background: rgba(15,23,42,.55); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.slider .nav:hover { background: rgba(31,111,209,.9); }
.slider .prev { left: 0; border-radius: 0 6px 6px 0; }
.slider .next { right: 0; border-radius: 6px 0 0 6px; }
.slider .chip { position: absolute; top: 8px; left: 8px; background: var(--brand); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 3px; }
.slider .credit { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 3px; text-decoration: none; }
.slider .credit:hover { background: rgba(31,111,209,.9); text-decoration: underline; }
.slider .count { position: absolute; bottom: 8px; right: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 10px; }
.slider .scap { font-size: 12px; color: var(--sub); margin: 6px 2px; min-height: 1.4em; }
.slider .stabs { display: flex; gap: 4px; margin: 4px 0 6px; flex-wrap: wrap; }
.slider .stabs a { font-size: 12px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink); }
.slider .stabs a small { margin-left: 4px; color: var(--sub); }
.slider .stabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.slider .stabs a.on small { color: #d3e3f5; }
.slider .thumbs { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.slider .thumbs img { flex: 0 0 auto; width: 96px; height: 68px; object-fit: cover; border: 2px solid transparent; border-radius: 4px; cursor: pointer; opacity: .7; background: var(--soft); }
.slider .thumbs img.line { object-fit: contain; background: #fff; }
.slider .thumbs img.on { border-color: var(--brand); opacity: 1; }
@media (max-width: 640px) { .slider .stage { height: 260px; } .slider .main { max-height: 260px; } }
.gantt { position: relative; padding: 26px 0 6px; }
.gaxis { position: relative; margin-left: 11em; margin-right: 64px; height: 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.gaxis span { position: absolute; transform: translateX(-50%); top: -2px; white-space: nowrap; }
.gaxis span:first-child { transform: none; }
.grow { display: flex; align-items: center; min-height: 56px; border-bottom: 1px dashed var(--line); }
.glab { width: 11em; flex: 0 0 11em; font-size: 14px; font-weight: 600; line-height: 1.25; }
.glab small { display: block; font-weight: 400; font-size: 13px; color: var(--sub); }
.gtrack { position: relative; flex: 1; height: 56px; margin-right: 64px; }
.gbar { position: absolute; top: 36px; height: 10px; border-radius: 5px; background: var(--brand); }
.gbar.light { background: #cecbf6; } .gbar.sub { background: #7f77dd; } .gbar.past, .gmark.past { opacity: .35; }
.gtag { position: absolute; z-index: 2; top: 4px; font-size: 14px; line-height: 1.5; padding: 1px 9px; white-space: nowrap; color: var(--brand); --fill: #fff; --line: var(--brand); }
.gtag svg { position: absolute; left: 0; top: 0; z-index: -1; overflow: visible; pointer-events: none; }
.gtag.mid { transform: translateX(-50%); } .gtag.end { transform: translateX(-100%); }
.gtag.main { color: #fff; --fill: var(--brand); --line: var(--brand); }
.gtag.light, .gtag.sub { color: #3c3489; --line: #7f77dd; }
.gtag.past { color: #888780; --fill: #fff; --line: #b4b2a9; }
.gpin { position: absolute; top: 36px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--brand); }
.gpin.past { background: #b4b2a9; }
.gmark { position: absolute; top: 16px; width: 12px; height: 12px; background: var(--brand); transform: translateX(-6px) rotate(45deg); }
.gtoday { position: absolute; z-index: 1; top: 22px; bottom: 0; width: 2px; background: #d85a30; }
.gtoday span { position: absolute; top: -20px; left: 4px; font-size: 13px; color: #993c1d; white-space: nowrap; font-weight: 600; }
.glab .sbadge { position: static; display: inline-block; margin-top: 2px; }
.sbadge { position: absolute; right: 0; top: 12px; font-size: 12px; background: #eeedfe; color: #3c3489; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.sbadge.now { background: #fdecea; color: #a32d2d; }
.tl { display: none; list-style: none; margin: 4px 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 7.2em 18px 1fr; align-items: start; column-gap: 8px; position: relative; padding-bottom: 14px; }
.tl li b { text-align: right; font-weight: 400; color: var(--sub); font-size: 14px; }
.tl li i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #b4b2c9; background: #fff; box-sizing: border-box; margin-top: 3px; position: relative; z-index: 1; }
.tl li::before { content: ""; position: absolute; left: calc(7.2em + 8px + 6px); top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.done i { background: var(--brand); border-color: var(--brand); }
.tl li.now i { border-color: var(--brand); box-shadow: 0 0 0 3px #cecbf6; }
.tl li.today b, .tl li.today div { color: #993c1d; font-weight: 600; }
.tl li.today i { border-radius: 0; width: 14px; height: 2px; border: 0; background: #d85a30; margin-top: 9px; }
.tl li div span { font-weight: 600; } .tl li div small { font-weight: 400; color: var(--sub); }
.tl li div em { display: block; font-style: normal; font-size: 12px; color: var(--sub); }
.tl li .sbadge { position: static; margin-left: 6px; }
@media (max-width: 640px) { .gantt { display: none; } .tl { display: block; } }
#totop { position: fixed; right: 20px; bottom: 20px; z-index: 1600; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(31,111,209,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: .92; }
#totop span { font-size: 10px; letter-spacing: .05em; margin-top: 2px; }
#totop svg { display: block; }
#totop:hover { opacity: 1; background: #2f2f8a; }
#totop[hidden] { display: none; }
/* 物件詳細のジャンプ（並べ方の決定）: 画面の下に浮かぶバー。物件詳細では、先頭へ戻るボタンを出さない。 */
body.detail #totop { display: none; }
[id^="sec-"] { scroll-margin-top: 80px; }
.jump { display: none; }
.jump a { color: var(--ink); text-decoration: none; cursor: pointer; }
.jump a.on { color: var(--accent); }
/* アイコンと文字。狭い画面は下の端いっぱい。 */
body.detail .jump-d { display: flex; position: fixed; left: 0; right: 0; width: max-content; margin: 0 auto; bottom: 16px; z-index: 1600; background: #fff; border-radius: 34px; box-shadow: 0 4px 16px rgba(0,0,0,.22); padding: 5px 8px; }
.jump-d a { display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; padding: 7px 18px; border-radius: 28px; font-size: 13px; font-weight: 700; color: var(--sub); }
.jump-d a svg { color: var(--brand); width: 22px; height: 22px; }
.jump-d a.on { background: #fff4e6; color: var(--accent); } .jump-d a.on svg { color: var(--accent); }
body.detail .favfloat { bottom: 100px; }
/* 一番下までスクロールしても、バーがページの下の文字に重ならないように、下の帯を伸ばす。 */
body.detail footer { padding-bottom: 92px; }
@media (max-width: 640px) {
  body.detail .jump-d { width: auto; bottom: 0; border-radius: 0; justify-content: space-around; padding: 4px 0 8px; }
  .jump-d a { padding: 6px 2px; flex: 1; font-size: 12px; }
  body.detail .favfloat { bottom: 88px; }
  body.detail footer { padding-bottom: 72px; }
}
/* 物件詳細だけ: TOP の丸いボタンの上に、浮かぶお気に入りのボタン（角を丸めた四角）。いつも出す。 */
.favfloat { position: fixed; right: 16px; bottom: 82px; z-index: 1600; }
/* 広い画面は、右の価格のパネルのお気に入りだけにする（並べ方の決定）。パネルが消える狭い画面だけ浮かせる。 */
@media (min-width: 901px) { .favfloat { display: none; } }
.favfloat .fav { margin: 0; width: 60px; height: 56px; padding: 4px 2px; flex-direction: column; justify-content: center; gap: 2px; border-radius: 10px;
  font-size: 11px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.favfloat .fav svg { width: 18px; height: 18px; }
.favfloat .fav:not(.on) { background: rgba(255,255,255,.96); }
/* 狭い画面は、本文に重なる面を減らすため、文字を隠した丸いボタンにする。 */
@media (max-width: 900px) {
  .favfloat .fav { width: 46px; height: 46px; border-radius: 50%; padding: 0; }
  .favfloat .fav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .favfloat .fav svg { width: 20px; height: 20px; }
}
body:has(.sbar:not(form[hidden] .sbar)) #totop { bottom: 84px; }
.rres { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 13px; color: var(--sub); margin-bottom: 2px; }
.rres b { color: #fff; background: #6b6b8a; border-radius: 3px; padding: 0 8px; font-size: 12px; }
.rres.sold b { background: var(--brand); } .rres.unsold b { background: #a32d2d; }
.rres .price { font-size: 17px; font-weight: 700; color: var(--brand); }
.card.result .title .price { font-size: 15px; color: var(--sub); }
/* 売却結果の表: 折り返さず、枠より広いときは表だけを横にスクロールする。 */
.hscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* 売却結果の表は、画面の中の枠に収め、枠の中で縦横にスクロールする。見出しの行と左端の列（地域）は固定する（ウィンドウ枠の固定）。
   枠の高さは、画面の高さからヘッダーとページ送りの帯の分を引いたもの。 */
.hscroll:has(> .rtable) { overflow: auto; max-height: calc(100vh - 140px);  /* 実際の高さは fitResults が合わせる */ border: 1px solid var(--line); border-radius: 4px; overscroll-behavior: contain; }
.rtable { border-collapse: separate; border-spacing: 0; }
.rtable th, .rtable td { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rtable td { background: #fff; }
.rtable tr:first-child th { position: sticky; top: 0; z-index: 3; background: var(--soft); box-shadow: 0 1px 0 #c9d8e8; }
.rtable tr > :first-child, .rtable tr > :nth-child(2) { position: sticky; left: 0; z-index: 2; }
.rtable tr > :nth-child(2) { left: var(--c1, 60px); box-shadow: 1px 0 0 #c9d8e8; }
.rtable tr:first-child th:first-child, .rtable tr:first-child th:nth-child(2) { z-index: 4; }
.rtable th, .rtable td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rtable th { user-select: none; cursor: pointer; }
.rtable th:hover { background: #e3edf8; }
.rtable th .si { font-style: normal; font-size: 10px; color: var(--brand); margin-left: 4px; }
.rtable th.sorted { color: var(--brand); }
.rtable .grip { position: absolute; top: 0; right: -4px; width: 9px; height: 100%; cursor: col-resize; z-index: 1; }
.rtable .grip::after { content: ""; position: absolute; top: 25%; bottom: 25%; left: 4px; width: 1px; background: #b4b2c9; }
.rtable .grip:hover::after, .rtable.resizing .grip::after { background: var(--brand); width: 2px; }
.rtable.resizing { cursor: col-resize; }
.rtable tr:nth-child(even) td { background: #f3f8fe; }
.rtable tr:hover td { background: #eaf4ff; }
.rtable td:nth-child(5), .rtable td:nth-child(6), .rtable td:nth-child(7) { text-align: right; }
.rhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
.rhead h1 { margin-right: 4px; }
#rhead { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; font-size: 14px; color: var(--sub); }
.rcount { white-space: nowrap; }
.pseg { display: inline-flex; margin-left: 6px; border: 1px solid var(--brand); border-radius: 6px; overflow: hidden; vertical-align: middle; }
.perpage .pseg a { padding: 2px 12px; font-size: 13px; color: var(--brand); background: #fff; border: 0; border-radius: 0; margin: 0; min-width: 0; }
.perpage .pseg a + a { border-left: 1px solid var(--brand); }
.perpage .pseg a:hover { background: var(--hover); text-decoration: none; }
.perpage .pseg a.on { background: var(--brand); color: #fff; font-weight: 700; }
.perpage { font-size: 13px; color: var(--sub); white-space: nowrap; }
.favctl { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 10px; }
/* お気に入りと閲覧履歴の保存のボタン（プラン 0124）。ファイルの形の印を付ける。 */
.btnlite:has(> .fi) { display: inline-flex; align-items: center; gap: 5px; line-height: 1.4; }
.btnlite .fi { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 3px; font-size: 9px; font-weight: 700; line-height: 1; color: #fff; }
.btnlite .fi.csv { background: #185fa5; } .btnlite .fi.xls { background: #1d6f42; }
/* 売却結果を探すの下端の帯の保存のボタン（プラン 0126）。 */
.sbar .rsave { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 10px; } .sbar .rsave .btnlite { font-size: 12px; padding: 2px 10px; }
.fseg a { padding: 3px 12px; font-size: 13px; color: var(--brand); background: #fff; }
.fseg a + a { border-left: 1px solid var(--brand); }
.fseg a small { color: var(--sub); margin-left: 2px; }
.fseg a:hover { background: var(--hover); text-decoration: none; }
.fseg a.on { background: var(--brand); color: #fff; font-weight: 700; } .fseg a.on small { color: #d3e3f5; }
.perpage a { display: inline-block; min-width: 34px; text-align: center; margin-left: 4px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
.perpage a.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager2 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; margin: 16px 0 4px; }
.pager2 a, .pager2 span { min-width: 36px; text-align: center; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); font-size: 14px; }
.pager2 a:hover { background: var(--hover); text-decoration: none; }
.pager2 a.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager2 .gap { border: 0; min-width: 0; padding: 5px 2px; color: var(--sub); }
.pager2 .step.off { color: #b4b2c9; }
.range { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; }
.range span { min-width: 7em; color: var(--sub); }
.range input { width: 9em; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.tree a.top { display: block; padding: 7px 10px; font-size: 13px; font-weight: 700; color: var(--brand); border-bottom: 1px solid var(--line); }
.tree a.top:hover { background: var(--hover); text-decoration: none; }
.tree a.top.here { background: #eaf4ff; }
.tree details { border-top: 1px solid var(--line); }
.tree details:first-of-type { border-top: 0; }
.tree summary { list-style: none; cursor: pointer; padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.tree summary::-webkit-details-marker { display: none; }
.tree summary::before { content: "▸"; color: var(--brand); font-size: 11px; transition: transform .15s; }
.tree details[open] > summary::before { transform: rotate(90deg); }
.tree summary:hover { background: var(--hover); }
.tree ul { margin: 0 0 4px; padding: 0; }
.tree li a { padding-left: 26px; }
.tree li a.here { font-weight: 700; background: #eaf4ff; }
.rtree summary { font-weight: 400; }
.rtree summary::before { content: none; }
.rtree .caret { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: -2px 0 -2px -4px; border-radius: 3px; cursor: pointer; }
.rtree .caret::before { content: "▸"; color: var(--brand); font-size: 11px; transition: transform .15s; }
.rtree details[open] > summary .caret::before { transform: rotate(90deg); }
.rtree .caret:hover { background: #dbe8f7; }
.rtree h3 { display: flex; align-items: center; }
.rtree .fold { margin-left: auto; border: 1px solid var(--line); background: #fff; color: var(--sub); font: inherit; font-size: 11px; font-weight: 400; padding: 0 8px; border-radius: 10px; cursor: pointer; }
.rtree .fold:hover { color: var(--brand); border-color: var(--brand); }
.rtree .fold[hidden] { display: none; }
.rtree summary.on { font-weight: 700; }
.rtree summary .n { margin-left: auto; color: var(--sub); font-weight: 400; font-size: 12px; }
.rtree li.pref a { padding-left: 26px; }
.card .title { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
.fav { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1.5px solid #e8590c; border-radius: 4px;
  background: #fff; color: #e8590c; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.4; cursor: pointer; white-space: nowrap; vertical-align: middle; }
.fav:hover { background: #fff4e6; }
.fav.on { background: #e8590c; color: #fff; }
.fav.on:hover { background: #d9480f; border-color: #d9480f; }
.fav.big { font-size: 13px; padding: 4px 12px; margin-left: 12px; }
.mine { display: flex; gap: 14px; margin-left: auto; font-size: 11px; white-space: nowrap; }
.mine a { position: relative; color: var(--ink); border-radius: 8px; padding: 2px 8px; font-weight: 500; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.mine a svg { width: 22px; height: 22px; color: var(--brand); }
.mine a:hover { background: var(--hover); text-decoration: none; }
.mine b { position: absolute; top: -4px; right: 0; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; text-align: center; }
.mine b:empty { display: none; }
.btnlite { border: 1px solid var(--line); background: #fff; color: var(--sub); font: inherit; font-size: 13px; padding: 3px 12px; border-radius: 14px; cursor: pointer; }
.btnlite:hover { color: var(--brand); border-color: var(--brand); }
.histctl { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--sub); }
.seen { font-size: 12px; color: var(--sub); margin: 10px 0 -6px; }
.abouttoc { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.abouttoc a { font-size: 13px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 12px; }
section.about { scroll-margin-top: 60px; }
.snapnote { margin: 6px 0 0; padding: 6px 10px; border-radius: 6px; background: #fff7ed; border: 1px solid #fed7aa; font-size: 12px; color: #9a3412; }
section.about ul, section.about ol { margin: 4px 0; padding-left: 1.4em; } section.about li { margin: 4px 0; }
.kvt { width: 100%; margin: 6px 0; } .kvt th { width: 30%; white-space: nowrap; }
.tree a.top.bottom { border-bottom: 0; border-top: 1px solid var(--line); font-weight: 400; color: var(--ink); }
.tree a.top.bottom2 { border-bottom: 0; font-weight: 400; color: var(--ink); }
dl.terms { margin: 6px 0; display: grid; grid-template-columns: 11em 1fr; gap: 0; border-top: 1px solid var(--line); }
dl.terms dt, dl.terms dd { margin: 0; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
dl.terms dt { font-weight: 700; background: #f6f7fb; }
@media (max-width: 600px) { dl.terms { grid-template-columns: 1fr; } dl.terms dt { border-bottom: 0; padding-bottom: 0; background: none; } }
section.about h3 { font-size: 15px; margin: 12px 0 4px; }
dl.terms dt .flag { pointer-events: auto; }
.flowchart .gantt .glab small { font-size: 11px; }
.fno { display: inline-grid; place-items: center; box-sizing: border-box; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.fno.none { border-color: transparent; background: none; }
.flowchart .gantt .glab small { padding-left: 26px; }
ol.steps { margin: 6px 0 10px; padding-left: 1.6em; } ol.steps li { margin: 6px 0; line-height: 1.7; }
.vline { margin: -4px 0 6px; font-size: 13px; color: var(--sub); }
.vline b { color: var(--brand); }
.vline span { margin-left: 6px; color: #8a6500; }
.vbadge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; background: #eaf4ff; color: var(--brand); border: 1px solid #c9d8e8; font-size: 11px; font-weight: 700; line-height: 1.5; box-shadow: 0 1px 0 rgba(23,50,79,.12); vertical-align: middle; cursor: default; white-space: nowrap; }
.card.ranked { position: relative; }
.card .rank { position: absolute; left: 4px; top: 16px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: #868e96; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.card .laurel { position: absolute; left: -4px; top: 4px; z-index: 2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.tip { position: relative; cursor: help; }
.tip sup { font-size: 9px; font-weight: 700; margin-left: 2px; opacity: .8; }
.tip[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 4px); z-index: 20; width: max-content; max-width: 300px;
  background: #1f2933; color: #fff; font-size: 12px; font-weight: 400; font-style: normal; line-height: 1.5; padding: 6px 8px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.25); white-space: normal; }
.appraisal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin: 4px 0 10px; }
.ap-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--sub); }
.ap-total b { font-size: 22px; color: var(--ink); }
.ap-total small { font-size: 12px; color: #993c1d; }
.ap-corr { display: flex; flex-wrap: wrap; gap: 6px; }
.corr { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; padding: 2px 10px; border-radius: 12px; border: 1px solid var(--line); color: var(--sub); }
.corr b { font-weight: 700; color: var(--sub); }
.corr.on { border-color: #e0a800; background: #fffaeb; color: #8a6500; } .corr.on b { color: #8a6500; }
.ap-fees { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--sub); }
.ap-fees b { color: var(--ink); font-size: 14px; margin-left: 6px; }
.ap-fees small { margin-left: 4px; }
.ap-arrears { font-size: 14px; color: #a32d2d; }
.ap-factors { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
/* 洪水・高潮・津波・土砂災害（007 §5.2）。区域に入る行は赤、無いときは薄い灰色。 */
.ap-hazard { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; }
.appraisal > .ap-hazard:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* 評価書の解析（007 §5・プラン 0086・チケット 0094）。市場価格 − 競売の減価 ＝ 評価額の式・内訳の帯・たたんだ欄。 */
.ev-eq { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: stretch; }
.ev-eq .box { border-radius: 8px; padding: 8px 12px; font-size: 12px; color: var(--sub); background: var(--soft); }
.ev-eq .box b { display: block; font-size: 22px; line-height: 1.3; color: var(--ink); }
.ev-eq .box small { display: block; font-size: 11px; }
.ev-eq .minus b { color: #c2410c; }
.ev-eq .total { background: #fff7ed; border: 1px solid #fed7aa; }
.ev-eq .total b { color: var(--accent); }
.ev-eq .op { align-self: center; font-size: 22px; color: var(--sub); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 12px; color: var(--sub); }
.ev-meta .method { padding: 1px 10px; border-radius: 12px; background: var(--tag); color: var(--tag-ink); }
.ev-split { flex: 1; min-width: 220px; display: flex; height: 20px; border-radius: 4px; overflow: hidden; font-size: 11px; color: #fff; }
.ev-split span { display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; }
.ev-split span:nth-child(odd) { background: #4a90e2; } .ev-split span:nth-child(even) { background: #8f6ad8; }
.badge.ana { color: #1f5fae; border-color: #93c5fd; background: #eff6ff; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
a.badge.ana { text-decoration: none; } a.badge.ana:hover { filter: brightness(.95); text-decoration: none; }
.badge.ana.doubt { color: #be123c; border-color: #fda4af; background: #fff1f2; }
.badge.doubt { background: #fff1f2; color: #be123c; border: 1px solid #fda4af; margin-left: 8px; font-size: 12px; vertical-align: 2px; }
.ev-doubt { font-size: 12px; color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 6px; padding: 5px 10px; }
.ev-doubt b { margin-right: 8px; }
.ev-hold { font-size: 12px; color: #8a6500; background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 4px 10px; }
details.ev-fold { border: 1px solid var(--line); border-radius: 6px; }
details.ev-fold > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 8px 12px; font-size: 13px; }
details.ev-fold > summary::-webkit-details-marker { display: none; }
details.ev-fold[open] > summary { border-bottom: 1px solid var(--line); background: var(--soft); }
.ev-fold .ic { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); }
.ev-fold .ic svg { display: block; } .ev-fold .ic .v { transition: opacity .2s; } details.ev-fold[open] .ic .v { opacity: 0; }
.ev-fold .ttl { font-weight: 700; }
.ev-fold .addr { font-size: 12px; color: var(--sub); }
.ev-fold .price { margin-left: auto; font-size: 12px; color: var(--sub); } .ev-fold .price b { color: var(--brand); font-size: 14px; }
/* 市場価格と競売の減価は、同じ大きさの文字にする（並べ方の決定）。減価だけ色を替える。 */
.ev-fold .price b.dn { color: #c2410c; }
.ev-fold .body { padding: 10px 12px; }
/* 横にはみ出す表だけをスクロールさせる。欄全体をスクロールの箱にすると、注意の「?」の吹き出しが箱に閉じ込められて崩れる。 */
#ev-ledger, #ev-ref { overflow-x: auto; }
.ev-fold table { border-collapse: collapse; width: 100%; font-size: 12px; }
.ev-fold th, .ev-fold td { border: 1px solid var(--line); padding: 5px 8px; text-align: left; vertical-align: top; }
.ev-fold th { background: var(--soft); font-weight: 600; white-space: nowrap; }
.ev-fold td.num { text-align: right; white-space: nowrap; } .ev-fold td.dn { color: #c2410c; font-weight: 700; } .ev-fold td.up { color: #0f766e; font-weight: 700; }
.ev-fold td:first-child, .ev-fold td.calc { white-space: nowrap; }
.ev-fold td:last-child { min-width: 16em; }
/* 基準にした地点の表は、項目の列を固定幅にし、残りの 2 列で等分する（並べ方の決定）。 */
.ev-fold table.ev-ref-t { table-layout: fixed; }
.ev-ref-t col.k { width: 6.5em; } .ev-ref-t col:not(.k) { width: 50%; }
.ev-ref-t td:last-child { min-width: 0; }
/* 減価の要因の表は、段階・計算・増減・価格を固定幅にし、残りを理由に充てる（並べ方の決定）。 */
.ev-fold table.ev-led-t { table-layout: fixed; }
.ev-led-t col.k { width: 7.6em; } .ev-led-t col.c { width: 11.2em; } .ev-led-t col.n { width: 6.2em; } .ev-led-t col.r { width: 100%; }
.ev-led-t td:last-child { min-width: 0; }
.ev-led-t tr.chg td:first-child { white-space: normal; word-break: break-all; }
.ev-fold tr.sub td { background: var(--soft); font-weight: 700; } .ev-fold tr.end td { background: #fff7ed; font-weight: 700; color: var(--accent); }
.ev-fold .foot, .ev-fold .use { margin: 6px 0 0; font-size: 12px; color: var(--sub); }
.ev-fold .use { padding: 6px 10px; border-radius: 6px; background: var(--soft); }
.ev-unread { color: #adb5bd; }
.flag-none { color: #adb5bd; }
.ev-risk-h { font-size: 13px; font-weight: 700; color: var(--sub); margin: 0 0 6px; }
/* 三点セットに書かれた注意は、減価の要因の中（表の下）に出す（並べ方の決定）。 */
#ev-risks:not(:empty) { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ev-risks { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.ev-risks span { border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; }
.ev-risks span b { margin-right: 6px; } .ev-risks span small { color: var(--sub); margin-left: 6px; }
.ev-risks .hi { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; } .ev-risks .lo { border-color: #fcd34d; background: #fffbeb; color: #8a6500; }
.ev-note { margin: 0; font-size: 11px; color: var(--sub); } .ev-note a { text-decoration: underline; }
/* 狭い画面でも、評価の要点と価格は横 3 つを守る（並べ方の決定）。文字と余白を詰める。 */
@media (max-width: 640px) {
  .ev-eq { gap: 2px; } .ev-eq .box { padding: 6px 4px; font-size: 11px; min-width: 0; } .ev-eq .box small { font-size: 10px; }
  .ev-eq .box b, .price3 div b { font-size: clamp(13px, 4vw, 16px); white-space: nowrap; }
  .ev-eq .op { font-size: 12px; }
  .price3 { flex-wrap: nowrap; gap: 6px; } .price3 div { min-width: 0; padding: 6px 6px; font-size: 11px; }
  .ev-fold .price { margin-left: 0; }
  /* 狭い画面の表は、理由の列が 1 字ずつ折り返さない幅を保ち、表の枠の中で横にスクロールする。 */
  .ev-fold table.ev-led-t { min-width: 44em; } .ev-fold table.ev-ref-t { min-width: 30em; } .ev-ref-t th { white-space: normal; }
}
.ap-hazard ul { list-style: none; margin: 4px 0 2px; padding: 0; }
.ap-hazard li { margin: 2px 0; }
.ap-hazard .hz-on { color: #c92a2a; font-weight: 600; }
.ap-hazard .hz-off { color: #adb5bd; }
.ap-hazard .hz-on a, .ap-hazard .hz-off a { color: inherit; text-decoration: underline; }
.ap-hazard p.meta { margin: 2px 0 0; font-size: 11px; }
.ap-factors span { color: var(--sub); margin-right: 2px; }
.ap-factors i { font-style: normal; padding: 2px 10px; border-radius: 4px; background: #fdecea; color: #a32d2d; }
.lightbox { position: fixed; inset: 0; background: rgba(10,10,40,.85); display: grid; place-items: center; z-index: 3000; cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 86vh; background: #fff; }
.lightbox p { color: #fff; text-align: center; margin: 8px 0 0; font-size: 13px; }
.viewer { display: flex; flex-direction: column; cursor: default; }
.viewer .vstage { flex: 1; width: 100%; overflow: hidden; display: grid; place-items: center; touch-action: none; user-select: none; }
.viewer .vstage img { max-width: 94vw; max-height: calc(100vh - 110px); transform-origin: center center; will-change: transform; pointer-events: auto; }
.viewer .vbar { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 6px; }
.viewer .vbar button { width: 38px; height: 34px; border: 0; border-radius: 6px; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.viewer .vbar button:hover { background: rgba(255,255,255,.3); }
.viewer .vbar { position: relative; flex-wrap: wrap; width: 100%; box-sizing: border-box; }
.viewer .vbar .credit { position: absolute; left: 12px; top: 6px; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 3px; background: rgba(255,255,255,.14); text-decoration: none; }
.viewer .vbar .credit:hover { background: rgba(255,255,255,.3); text-decoration: underline; }
@media (max-width: 900px) { .viewer .vbar .credit { position: static; flex-basis: 100%; text-align: left; background: none; } }
.viewer .vzoom { color: #fff; font-size: 13px; min-width: 52px; text-align: center; }
.viewer .vcap { margin: 0 0 10px; }
/* マンション名（三点セットの物件目録から・010 §6） */
.bname { font-size: 20px; font-weight: 700; color: var(--brand); margin: 6px 0 -4px; }
.svlink { font-size: 12px; margin-left: 8px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; vertical-align: 1px; padding: 2px 10px 2px 6px; border: 1px solid var(--brand); border-radius: 12px; text-decoration: none; }
.svlink:hover { background: #eaf4ff; text-decoration: none; }
.svlink svg { flex: none; }
.kv .none { color: var(--sub); font-size: 12px; }
.bname small { font-size: 11px; font-weight: 400; color: var(--warn); border: 1px solid var(--warn); border-radius: 3px; padding: 0 4px; margin-left: 8px; vertical-align: middle; cursor: help; }
/* サーバーで組み立てた本文（物件のページ・プラン 0093）。JavaScript の動くブラウザは画面が描き直すので出さない。 */
.js .ssr { display: none; }
.ssr { max-width: 960px; margin: 0 auto; padding: 16px; background: var(--panel); }
.ssr h1 { font-size: 22px; } .ssr h2 { font-size: 17px; margin-top: 20px; } .ssr dl.kv { display: grid; grid-template-columns: 12em 1fr; gap: 4px 12px; }
.ssr dt { color: var(--sub); } .ssr dd { margin: 0; } .ssr img { max-width: 100%; height: auto; }
/* 地域の入口（プラン 0093）。下の階層と近くの地域のリンク、地図。 */
.arealinks { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 6px 0 14px; }
.arealinks .n { margin-left: 4px; color: var(--sub); font-size: 12px; }
.kindlinks { margin: 8px 0 12px; } #map.amap { height: 360px; }
/* 競売の履歴（007 §5・プラン 0096）。今回の行に色を付ける。 */
.hist { width: 100%; border-collapse: collapse; font-size: 14px; }
.hist th, .hist td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; white-space: nowrap; }
.hist th { background: var(--soft); color: var(--sub); font-weight: 600; font-size: 12px; }
.hist td.num { text-align: right; font-variant-numeric: tabular-nums; }
.hist tr.now td { background: #fff8ef; font-weight: 700; }
.hist .down { color: var(--bad); font-weight: 700; }
.res { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid; }
.res.sold { color: var(--new); border-color: var(--new); }
.res.unsold { color: var(--bad); border-color: var(--bad); }
.res.open { color: var(--brand); border-color: var(--brand); }
.res.stop { color: var(--sub); border-color: var(--sub); }
.hist-foot { font-size: 11px; color: var(--sub); margin: 6px 0 0; }
.sitemap .smpref, .sitemap .smlist { line-height: 1.9; }
.sitemap .smpref a, .sitemap .smlist a { margin-right: 6px; white-space: nowrap; }
/* 一覧のカード（007 §3・プラン 0098）: サムネイル ｜ 4 行。パソコン 901px 以上・タブレット 561〜900px・スマホ 560px 以下。 */
.card { padding: 10px; }
.card .thumb { position: relative; width: 150px; height: 112px; }
.card .thumb .ph, .card .thumb .ph img { width: 150px; height: 112px; border-radius: 8px; }
.card .thumb .tl { position: absolute; left: 6px; top: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; z-index: 1; }
.card .thumb .tl .badge { margin: 0; font-size: 11px; line-height: 16px; padding: 0 6px; border: 1px solid; border-radius: 3px; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.2); text-decoration: none; }
.card .thumb .badge.new { background: #fff; color: var(--bad); border-color: var(--bad); }
.card .thumb .badge.down { background: var(--bad); color: #fff; border-color: var(--bad); }
.card .thumb .badge.round { background: #e67700; color: #fff; border-color: #e67700; }
.card .thumb .bl { position: absolute; left: 6px; bottom: 6px; z-index: 1; background: rgba(23,50,79,.85); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 10px; }
.card .thumb .bl.soon { background: rgba(185,28,28,.92); }
.card .thumb .bl.stop { background: rgba(73,80,87,.92); }
/* お気に入りは右上。指で押せるよう 36px。 */
.card .thumb .fav.thumb { position: absolute; top: 4px; right: 4px; z-index: 1; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 50%; justify-content: center;
  background: rgba(255,255,255,.92); box-shadow: 0 1px 3px rgba(0,0,0,.25); color: var(--accent); }
.card .thumb .fav.thumb svg { width: 16px; height: 16px; }
.card .thumb .fav.thumb.on { background: var(--accent); color: #fff; }
.card .body { min-width: 0; }
.card .ln { font-size: 13px; line-height: 1.65; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .ln a { color: var(--brand); }
.card .l1 { display: flex; align-items: baseline; gap: 8px; line-height: 1.3; }
.card .l1 .name { color: inherit; text-decoration: none; flex: none; }
.card .l1 .prev { font-size: 12px; color: var(--bad); flex: none; }
.card .l1 .mk { font-size: 12px; color: var(--sub); flex: none; }
.card .l1 .badge { margin: 0; flex: none; }
.card .l1 .badge.warn { color: var(--bad); border-color: var(--bad); }
.card .l1 .badge.doubt { color: var(--warn); border-color: var(--warn); }
.card .l4 { color: var(--sub); }
/* 閲覧数は 4 行目の右に小さく出す（プラン 0123）。 */
.card .l4 .vw { float: right; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--sub); }
@media (max-width: 900px) {
  .card { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
  .card .thumb, .card .thumb .ph, .card .thumb .ph img { width: 130px; height: 98px; }
  .card .yen { font-size: 26px; } }
@media (max-width: 560px) {
  .card { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 8px; }
  .card .thumb, .card .thumb .ph, .card .thumb .ph img { width: 110px; height: 82px; }
  .card .thumb .tl { left: 3px; top: 3px; gap: 2px; } .card .thumb .tl .badge { font-size: 10px; line-height: 14px; padding: 0 4px; }
  .card .thumb .bl { left: 3px; bottom: 3px; font-size: 10px; padding: 0 6px; }
  .card .thumb .fav.thumb { top: 0; right: 0; background: transparent; box-shadow: none; }
  .card .thumb .fav.thumb svg { width: 15px; height: 15px; padding: 5px; box-sizing: content-box; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
  .card .thumb .fav.thumb.on { background: transparent; } .card .thumb .fav.thumb.on svg { background: var(--accent); }
  .card .yen { font-size: 23px; } .card .yen small { font-size: 13px; }
  .card .l1 { gap: 6px; } .card .l1 .mk .long { display: none; }
  .card .ln { font-size: 12px; } }
/* カード全体で物件のページを開く（007 §3・プラン 0102）。価格のリンクの押せる範囲をカード全体に広げ、中の他のリンクとお気に入りは上に重ねる。 */
.card:has(.l1 .name) { position: relative; padding-right: 28px; }
.card .l1 .name::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card .ln a:not(.name) { position: relative; z-index: 2; }
.card .thumb .tl, .card .thumb .fav.thumb { z-index: 2; }
/* 右端の「›」は押せることを示す印だけ。押すのは下のカード全体。 */
.card:has(.l1 .name)::after { content: "›"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; color: #adb5bd; pointer-events: none; }
.card:has(.l1 .name):hover::after { color: var(--brand); }
.card:has(.l1 .name:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.card .l1 .name:focus-visible { outline: none; }
@media (max-width: 560px) {
  .card:has(.l1 .name) { padding-right: 20px; }
  .card:has(.l1 .name)::after { right: 5px; font-size: 22px; } }
/* 競売の予想価格帯（007 §5.3・プラン 0103）。帯はグラデーションで山の形（中央が濃い）。下の細い線 = 25〜75%。 */
.fc { overflow: hidden; }
.fc svg { display: block; max-width: 100%; }
.fc stop.auc { stop-color: var(--accent); }
.fc stop.mkt { stop-color: var(--brand); }
.fc line.q { stroke-width: 2; }
.fc line.auc { stroke: var(--accent); }
.fc line.mkt { stroke: var(--brand); }
.fc .ax { stroke: #ced4da; }
.fc .grid { stroke: #e9ecef; stroke-width: .6; }
/* 物件のページの注意事項（箇条書き・2026-10-17）。 */
ul.notes { margin: 4px 0 12px; padding: 8px 12px 8px 2em; }
#fc-box .meta { font-size: 11px; margin: 4px 0 0; }
ul.notes li { margin: 2px 0; }
.fc .grid.major { stroke: #dee2e6; stroke-width: 1; }
.fc .tk { font-size: 11px; fill: var(--sub); text-anchor: middle; }
.fc .mid { stroke: #212529; stroke-width: 2; }
.fc .lb { font-size: 12px; text-anchor: end; fill: var(--sub); }
.fc .none { font-size: 12px; fill: var(--sub); }
.fc .mk { stroke-width: 1.5; stroke-dasharray: 3 3; }
.fc .mt { font-size: 11px; text-anchor: middle; }
.fc .fl { stroke: var(--bad); fill: var(--bad); }
.fc .st { stroke: #495057; fill: #495057; }
.fc .ap { stroke: #2b8a3e; fill: #2b8a3e; }
.fc text.mt { stroke: none; }
/* 近くの同じ種別の物件（プラン 0104）。縦長のカードを横に並べ、入りきらない分は横にスクロールする。 */
#near .nrow { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.ncard { display: flex; flex-direction: column; gap: 2px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 8px; color: var(--ink); font-size: 12px; line-height: 1.5; }
.ncard:hover { text-decoration: none; border-color: var(--brand-2); }
/* 一覧の .ph（幅 210px）を打ち消し、写真をカードの幅に収める。写真は 4:3、カードは縦長の長方形。 */
.ncard .ph { display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 4px; border-radius: 8px; overflow: hidden; color: var(--sub); font-size: 11px; }
.ncard .ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ncard .yen { font-size: 17px; font-weight: 700; color: var(--brand); } .ncard .yen small { font-size: 12px; margin-left: 1px; }
.ncard .pl, .ncard .sz { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncard .pd { color: var(--sub); }
@media (max-width: 640px) { #near .nrow { grid-auto-columns: 150px; } }
/* 種別のバッジとマンションの名前（2026-10-18）。色は種別ごと（マンション・戸建て・土地・農地・その他の順）。 */
.kb { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 18px; vertical-align: 1px; color: #fff; background: #868e96; }
.kb.k0 { background: #1f6fd1; } .kb.k1 { background: #2b8a3e; } .kb.k2 { background: #a0522d; } .kb.k3 { background: #6b8e23; }
.bn { margin-right: 6px; font-weight: 700; }
.ncard .kn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* お問い合わせのフォーム（プラン 0107）。ハニーポットの欄は人に見せない。 */
.cform { display: grid; gap: 12px; max-width: 640px; }
.cform label { display: grid; gap: 4px; font-size: 13px; }
.cform input, .cform select, .cform textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; width: 100%; }
.cform label.agree { display: flex; gap: 8px; align-items: center; }
.cform label.agree input { width: auto; }
.cform button { justify-self: start; padding: 8px 24px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
