/*
 * テクプロ収益物件（/property/）
 * 会社サイトの下層ページ（プライバシーポリシー・倶楽部ページ）に合わせる: 白地、青 #0589E8 と紺 #06438F の差し色、
 * 見出しの英字は Roboto、本文は Noto Sans JP。価格は赤、想定利回り18%以上は金色（在庫ページと同じ決まり）。
 */
:root {
  --pp-ink: #1f2933;
  --pp-ink-2: #4a5561;
  --pp-muted: #6b7682;
  --pp-hair: #e3e8ee;
  --pp-bg-alt: #f4f7fa;
  --pp-blue: #0589e8;
  --pp-blue-d: #0571c2;
  --pp-navy: #06438f;
  --pp-red: #b10510;
  --pp-gold: #f5c518;
  --pp-gold-bg: #fbf1cc;
  --pp-gold-ink: #6b4e0e;
  --pp-mid-bg: #fdf6dc;
  --pp-green: #06c755;
  --pp-green-d: #05a948;
  --pp-radius: 16px;
}

/* ---- 見出しの写真（会社情報・サービスと同じ形。写真に紺の膜をかけ、白い英字の見出し） ---- */
#property .page-header-title.property { position: relative; overflow: hidden; }
#property .page-header-title.property::before {
  /* css/style.css に昔の物件ページの指定（高さ463px・薄さ0.4）が残っているので、ここで打ち消す */
  position: absolute; inset: 0; width: auto; height: auto; opacity: 1; content: ""; z-index: 1;
  background: linear-gradient(90deg, rgba(3, 30, 62, 0.62) 0%, rgba(3, 30, 62, 0.28) 55%, rgba(3, 30, 62, 0.12) 100%);
}
#property .prop-head-img {
  width: 100%; height: 463px;
  /* 建物の正面が入る位置（写真を画面に固定すると屋根と空しか写らないので、固定しない） */
  background: #06438f url(/images/property-hero.jpg?v=20261128b) no-repeat center 60% / cover;
}
#property .property--detail .prop-head-img { height: 300px; }
#property .page-header-title .page-title-area {
  position: absolute; top: 0; left: 0; z-index: 2; height: 400px; display: flex; align-items: flex-end; padding: 0 0 0 5%; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 20, 45, 0.35);
}
#property .property--detail .page-title-area { height: 250px; }
#property .page-title .en { display: block; font-family: "Roboto", sans-serif; font-size: 100px; font-weight: 500; line-height: 1.3; }
#property .property--detail .page-title .en { font-size: 72px; }
#property .page-title .ja { display: block; font-size: 18px; font-weight: 400; letter-spacing: 0.1em; }
.prop-wrap > :first-child { margin-top: 48px; }

/* ---- 本体 ---- */
.prop { color: var(--pp-ink); font-family: "Noto Sans JP", sans-serif; padding: 0 0 100px; }
.prop *, .prop *::before, .prop *::after { box-sizing: border-box; }
/* 横幅は少し広めに（2026-11-28 松本さん「もう少しだけ横幅広げていい」）。左右の余白は 3%、最大 1400px */
.prop-wrap { max-width: 1400px; margin: 0 auto; padding: 0 3%; display: flex; flex-direction: column; gap: 28px; }
.prop .num { font-family: "Roboto", "Noto Sans JP", sans-serif; font-variant-numeric: tabular-nums; }
.prop .nb { display: inline-block; }
.prop small { font-size: 0.62em; font-weight: 500; margin-left: 1px; }
/* display を指定した部品でも hidden を効かせる（地図の枠・送信後の表示・並べ替えなど） */
.prop [hidden], .prop-dialog [hidden] { display: none !important; }
.prop .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prop a { color: inherit; }
.prop-crumb { font-size: 12px; color: var(--pp-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.prop-crumb a { color: var(--pp-muted); }
.prop-crumb a:hover { color: var(--pp-blue); }
.prop-intro { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.prop-h1 { font-size: 28px; font-weight: 700; line-height: 1.45; margin: 0 0 8px; }
.prop-lead { font-size: 14px; color: var(--pp-ink-2); line-height: 1.9; max-width: 46em; }
.prop-eyebrow { font-family: "Roboto", sans-serif; color: var(--pp-blue); letter-spacing: 0.1em; font-size: 14px; }
.prop-stats { display: flex; gap: 32px; }
.prop-stats .k { font-size: 12px; color: var(--pp-muted); }
.prop-stats .v { font-size: 34px; font-weight: 500; color: var(--pp-navy); line-height: 1.2; }
.prop-empty { padding: 40px 20px; text-align: center; color: var(--pp-muted); background: var(--pp-bg-alt); border-radius: var(--pp-radius); }
.prop-empty a { color: var(--pp-blue); text-decoration: underline; }
.prop-back { text-align: center; }
.prop-back .prop-btn { display: inline-flex; min-width: 240px; }
.prop-missing { padding-top: 160px; }
.prop-missing .prop-wrap { align-items: flex-start; }

/* ---- ボタン（ピル型。色は在庫ページと同じ役割） ---- */
.prop-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 22px;
  border-radius: 999px; border: 2px solid transparent; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s; font-family: inherit; line-height: 1.3;
  /* 右下に影を落として、押せるボタンだと分かる立体にする。乗せると少し浮き、押すと沈む */
  box-shadow: 3px 4px 0 rgba(4, 30, 62, 0.14), 4px 6px 14px rgba(4, 30, 62, 0.22);
}
.prop-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 5px 0 rgba(4, 30, 62, 0.14), 6px 9px 18px rgba(4, 30, 62, 0.26); }
.prop-btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 rgba(4, 30, 62, 0.14), 1px 2px 4px rgba(4, 30, 62, 0.2); }
.prop-btn--outline[aria-disabled="true"] { box-shadow: none; transform: none; }
.prop .club_banner__btn { box-shadow: 3px 4px 10px rgba(0, 18, 44, 0.32); }
.prop .club_banner__btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 4px rgba(0, 18, 44, 0.3); }
.prop-btn.sm { min-height: 36px; padding: 6px 16px; font-size: 13px; border-width: 1.5px; }
.prop-btn--blue { background: var(--pp-blue); color: #fff !important; }
.prop-btn--blue:hover { background: var(--pp-blue-d); }
.prop-btn--gold { background: var(--pp-gold); color: #04162c !important; }
.prop-btn--gold:hover { background: #e9b90c; }
.prop-btn--outline { background: #fff; color: var(--pp-blue) !important; border-color: var(--pp-blue); }
.prop-btn--outline:hover { background: #eef7fe; }
.prop-btn--outline[aria-disabled="true"] { color: #9aa4ae !important; border-color: #d5dbe1; cursor: not-allowed; background: #fff; }
.prop-btn--line { background: var(--pp-green); color: #fff !important; }
.prop-btn--line:hover { background: var(--pp-green-d); }
.prop-btn--mail { background: #fff; color: var(--pp-ink-2) !important; border-color: #cfd6dd; }
.prop-btn--mail:hover { border-color: var(--pp-blue); color: var(--pp-blue) !important; }
.prop-btn:focus-visible, .prop-row:focus-visible, .nb-item:focus-visible { outline: 3px solid rgba(5, 137, 232, 0.45); outline-offset: 2px; }

/* ---- LINE 先行配信の案内 ---- */
/* LINE 先行配信の案内は、会社サイトの倶楽部バナー（css/style.css の .line .container .club_banner）をそのまま使い、置き場所に合わせて外側だけ直す */
.prop .line.prop-club { padding: 0; background: none; overflow: visible; }
.prop .line.prop-club .container { max-width: none; }
.prop .line.prop-club .club_banner { max-width: none; }
.prop .line.prop-club .club_banner__catch { font-size: 30px; }
.prop .prop-club--compact .club_banner__main { padding: 26px 40px 22px; padding-right: 72px; }
/* 薄い倶楽部のロゴは、右下の斜めの切れ目に掛からない位置に全部見せる */
.prop .prop-club--compact .club_banner__main::before { width: 104px; right: 62px; bottom: 12px; }
.prop .prop-club--compact .club_banner__head { margin-bottom: 10px; }
.prop .line.prop-club--compact .club_banner__catch { font-size: 20px; margin-bottom: 6px; }
.prop .line.prop-club--compact .club_banner__lead { margin: 0; font-size: 15px; line-height: 1.8; }
.prop .prop-club--compact .club_banner__body { align-items: center; }
.prop .prop-club--compact .club_banner { display: flex; align-items: stretch; }
.prop .prop-club--compact .club_banner__body { flex: 1 1 auto; min-width: 0; }
/* QR コードを上、［友だち追加］を下に縦に並べる */
.prop .prop-club--compact .club_banner__actions { flex: 0 0 auto; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 12px; padding: 18px 32px 20px 24px; background: none; }
.prop .prop-club__qr { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; }
.prop .prop-club__qr img { display: block; width: 92px; height: 92px; padding: 6px; background: #fff; border-radius: 10px; image-rendering: -webkit-optimize-contrast; }
.prop .prop-club--compact .club_banner__btn { min-width: 0; padding: 13px 22px; font-size: 15px; white-space: nowrap; }
.prop .prop-club__qr p { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.4; text-align: center; }

/* ---- 絞り込み ---- */
.prop-filters { background: var(--pp-bg-alt); border-radius: var(--pp-radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.f-search { display: flex; gap: 10px; }
.f-search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 2px solid #d6dde4; border-radius: 10px; font-size: 15px; background: #fff; font-family: inherit;
}
.f-search input:focus { outline: none; border-color: var(--pp-blue); }
.f-toggle { display: none; height: 46px; padding: 0 14px; border-radius: 10px; border: 2px solid #d6dde4; background: #fff; font-weight: 700; font-size: 13px; color: var(--pp-ink-2); cursor: pointer; white-space: nowrap; font-family: inherit; }
.f-body { display: flex; flex-direction: column; gap: 14px; }
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-row { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
.f-row > div { display: flex; flex-direction: column; gap: 6px; }
.f-label { font-size: 12px; font-weight: 700; color: var(--pp-ink-2); }
/* プルダウンの矢印は、複数選べるプルダウン（.msel-btn）と同じ ∨（2px の線）にそろえる */
.prop-filters select, .prop-toolbar select {
  height: 40px; padding: 0 34px 0 12px; border: 1.5px solid #d6dde4; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.4 1.4L6 6l4.6-4.6' fill='none' stroke='%234a5561' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 13px center / 11px 7px;
  appearance: none; -webkit-appearance: none; font-size: 14px; color: var(--pp-ink); font-family: inherit; cursor: pointer;
}
/* 見出しの段（在庫ページと同じ：「絞り込み 〇件の条件」と［条件をクリア］） */
.f-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.f-title { font-size: 15px; font-weight: 700; color: var(--pp-ink); }
.f-count { font-size: 12px; font-weight: 700; color: var(--pp-blue); margin-left: 4px; }
/* 複数選べるプルダウン（エリア・物件種別・建物構造。在庫ページの .msel と同じ動き） */
.msel { position: relative; }
.msel-btn {
  position: relative; width: 100%; height: 40px; padding: 0 34px 0 12px; border: 1.5px solid #d6dde4; border-radius: 999px; background: #fff;
  font: inherit; font-size: 14px; color: var(--pp-ink); text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msel-btn::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid #4a5561; border-bottom: 2px solid #4a5561; transform: translateY(-70%) rotate(45deg);
}
.msel-btn[aria-expanded="true"] { border-color: var(--pp-blue); }
.msel-btn.has { color: var(--pp-navy); font-weight: 700; border-color: var(--pp-blue); background: #eef7fe; }
.msel-pop {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 8; display: flex; flex-direction: column; gap: 2px;
  max-height: 280px; overflow: auto; padding: 6px; background: #fff; border: 1.5px solid #d6dde4; border-radius: 12px; box-shadow: 0 10px 24px rgba(4, 30, 62, 0.14);
}
.msel-pop[hidden] { display: none; }
.msel-pop label { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; font-size: 14px; color: var(--pp-ink-2); cursor: pointer; user-select: none; }
.msel-pop label:hover { background: var(--pp-bg-alt); }
.msel-pop label:has(input:checked) { background: #eef7fe; color: var(--pp-navy); font-weight: 700; }
.msel-pop input { width: 16px; height: 16px; margin: 0; accent-color: var(--pp-blue); }
.msel-pop .msel-n { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--pp-muted); }
.range { display: flex; align-items: center; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1.5px solid #d6dde4; border-radius: 999px; background: #fff; font-size: 13px; cursor: pointer; user-select: none; white-space: nowrap; }
.chip input { accent-color: var(--pp-blue); margin: 0; }
.chip:has(input:checked) { border-color: var(--pp-blue); background: #eef7fe; color: var(--pp-navy); font-weight: 700; }
/* ［この条件で表示する］はスマホで条件を開いたときだけ（PC は選ぶとすぐ一覧が変わる） */
.f-foot { display: none; }
.f-clear { background: none; border: 0; color: var(--pp-muted); font-size: 13px; text-decoration: underline; cursor: pointer; font-family: inherit; }

/* ---- 一覧 ---- */
.prop-results { display: flex; flex-direction: column; gap: 14px; }
/* PC は在庫ページと同じく、絞り込みを左に置いて一覧と並べる（下に送っても絞り込みは画面に残る） */
/* 物件のカードの幅は前（絞り込み 284px のとき）と同じ 808px のまま。広げた絞り込みの分は全体の最大幅（1240→1302px）で吸収し、狭い画面では絞り込みが 300px まで縮む */
.prop-main { display: grid; grid-template-columns: clamp(320px, calc(100% - 832px), 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.prop-main .f-search input { padding: 0 10px; font-size: 14px; }
.prop-main .prop-filters { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; }
.prop-main .f-row { flex-direction: column; gap: 14px; }
.prop-main .f-row > div, .prop-main .f-row select { width: 100%; }
.prop-main .range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.prop-main .range select { min-width: 0; }
.prop-main .chip { padding: 5px 11px; font-size: 12.5px; }
/* 左の絞り込みの中では、選択肢の一覧は重ねずにその場で下に開く（絞り込みの枠の中でスクロールできるように） */
.prop-main .msel-pop { position: static; margin-top: 4px; box-shadow: none; }
.prop-main .prop-row { grid-template-columns: 200px minmax(0, 1fr) 250px; }
.prop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.viewtabs { display: inline-flex; border: 1px solid var(--pp-hair); border-radius: 10px; overflow: hidden; background: #fff; }
.vt { border: 0; background: #fff; padding: 9px 18px; font-size: 14px; font-weight: 700; color: var(--pp-ink-2); cursor: pointer; font-family: inherit; white-space: nowrap; }
.vt[aria-selected="true"] { background: #1691c8; color: #fff; }
.prop-toolbar .count { font-size: 14px; color: var(--pp-ink-2); margin-right: auto; }
.prop-toolbar .count b { font-size: 22px; color: var(--pp-navy); margin-right: 2px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pp-ink-2); }
.applied { display: flex; flex-wrap: wrap; gap: 6px; }
.applied .tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #eef7fe; color: var(--pp-navy); }
.applied:empty { display: none; }
.prop-list { display: flex; flex-direction: column; gap: 14px; }
.prop-row {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 0; border: 1px solid var(--pp-hair); border-radius: var(--pp-radius);
  background: #fff; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.15s, border-color 0.15s;
}
.prop-row:hover { border-color: #b9d9f3; box-shadow: 0 8px 24px rgba(6, 67, 143, 0.08); }
.prop-row .thumb { position: relative; display: block; min-height: 170px; background: var(--pp-bg-alt); overflow: hidden; }
.prop-row .thumb svg, .prop-row .thumb .thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.badge-new { position: absolute; left: 10px; top: 10px; background: var(--pp-gold); color: #04162c; font-family: "Roboto", sans-serif; font-weight: 700; font-size: 11px; padding: 2px 9px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.badge-type { position: absolute; left: 10px; bottom: 10px; background: rgba(6, 22, 44, 0.72); color: #fff; font-size: 11px; padding: 2px 9px; border-radius: 999px; }
.prop-row .body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; min-width: 0; }
.prop-row .catch { color: var(--pp-red); font-weight: 700; font-size: 14px; line-height: 1.5; }
.prop-row .addr { font-size: 16px; font-weight: 700; line-height: 1.5; }
.prop-row .pid { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--pp-muted); font-weight: 400; white-space: nowrap; }
.prop-row .pname { font-size: 13px; color: var(--pp-ink-2); }
.prop-row .bulk { margin-left: 4px; font-size: 12px; color: var(--pp-navy); white-space: nowrap; }
.prop-row .spec { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--pp-muted); }
.prop-row .spec b { color: var(--pp-ink); font-weight: 500; }
.prop-row .flags { display: flex; gap: 6px; }
.pill { font-size: 11px; padding: 2px 10px; border-radius: 999px; background: #eef1f4; color: var(--pp-ink-2); white-space: nowrap; }
.pill.ok { background: #e4f3fd; color: var(--pp-navy); }
.pill.off { background: #f3f4f6; color: var(--pp-muted); }
.prop-row .figures { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 20px; border-left: 1px solid var(--pp-hair); background: #fcfdfe; }
.price { color: var(--pp-red); font-weight: 700; white-space: nowrap; }
.prop-row .price { font-size: 28px; line-height: 1.2; }
.yields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.yl { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border-radius: 10px; background: var(--pp-bg-alt); }
.yl .k { font-size: 11px; color: var(--pp-muted); }
.yl .v { font-size: 17px; font-weight: 700; white-space: nowrap; }
.yl.high { background: var(--pp-gold-bg); }
.yl.high .v, .yl.high .k { color: var(--pp-gold-ink); }
.yl.mid { background: var(--pp-mid-bg); }

/* ---- 地図 ---- */
.mapwrap { display: flex; flex-direction: column; gap: 8px; }
.map { height: 520px; border-radius: var(--pp-radius); overflow: hidden; border: 1px solid var(--pp-hair); isolation: isolate; background: #e9edf1; }
.map .leaflet-tile-pane { filter: grayscale(1) brightness(1.04); }
.map-note { font-size: 12px; color: var(--pp-muted); line-height: 1.7; }
.mpop { display: flex; flex-direction: column; gap: 4px; font-family: "Noto Sans JP", sans-serif; }
.mpop p { margin: 0 !important; }
.mpop-addr { font-weight: 700; font-size: 13px; }
.mpop-name { font-size: 12px; color: var(--pp-ink-2); }
.mpop-fig { display: flex; gap: 10px; align-items: baseline; font-size: 12px; }
.mpop-fig .price { font-size: 18px; }
.mpop-note { font-size: 11px; color: var(--pp-muted); }
.mpop .prop-btn { margin-top: 6px; }

/* ---- 地域から探す ---- */
.prop-areas h2 { font-size: 18px; margin-bottom: 12px; }
.prop-areas ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.prop-areas a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1.5px solid var(--pp-hair); border-radius: 999px; text-decoration: none; font-size: 14px; background: #fff; }
.prop-areas a:hover { border-color: var(--pp-blue); color: var(--pp-blue); }
.prop-areas a.is-active { border-color: var(--pp-blue); background: #eef7fe; color: var(--pp-navy); font-weight: 700; }
.prop-areas .num { font-size: 12px; color: var(--pp-muted); }

/* ---- 物件の詳細 ---- */
.prop-detail { display: flex; flex-direction: column; gap: 20px; }
.pd-head { display: flex; flex-direction: column; gap: 4px; padding-right: 64px; }
.prop--page .pd-head { padding-right: 0; }
.pd-title { font-size: 24px; font-weight: 700; line-height: 1.45; margin: 0; }
.pd-sub { font-size: 13px; color: var(--pp-muted); }
.pd-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.pd-thumb { position: relative; border-radius: 14px; overflow: hidden; background: var(--pp-bg-alt); aspect-ratio: 4 / 3; max-width: 100%; }
.pd-thumb svg, .pd-thumb .thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.pd-thumb .thumb-img { object-fit: contain; background: var(--pp-bg-alt); }
.pd-facts { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.keyfigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kf { background: var(--pp-bg-alt); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kf .k { font-size: 12px; color: var(--pp-muted); }
.kf .v { font-size: 22px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.kf.high { background: var(--pp-gold-bg); }
.kf.high .v { color: var(--pp-gold-ink); }
.kf.mid { background: var(--pp-mid-bg); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; font-size: 14px; margin: 0; padding-top: 12px; border-top: 1px solid var(--pp-hair); }
.facts dt { color: var(--pp-muted); white-space: nowrap; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.maplink { font-size: 12px; color: var(--pp-blue) !important; text-decoration: underline; white-space: nowrap; }
.masked-note { display: block; font-size: 12px; color: var(--pp-muted); }
.pd-pr, .pd-notice { border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.8; }
.pd-pr { background: #fff9e6; }
.pd-notice { background: var(--pp-bg-alt); color: var(--pp-ink-2); }
.pd-pr ul, .pd-notice ul { margin: 0; padding-left: 1.3em; }
.pd-pr li { list-style: "・"; }
.pd-notice li { list-style: "※"; }
.pd-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; border-radius: 14px; background: var(--pp-bg-alt); }
.pd-actions .prop-btn { width: 100%; }
.pd-actions .note { grid-column: 1 / -1; color: var(--pp-red); font-size: 13px; text-align: center; font-weight: 700; }
.pd-actions .contact { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pd-actions .contact .prop-btn { width: auto; }
.pd-nearby { display: flex; flex-direction: column; gap: 10px; }
.nb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.nb-head h2, .nb-head h3 { font-size: 17px; margin: 0; }
.nb-map { background: none; border: 1.5px solid var(--pp-blue); color: var(--pp-blue) !important; border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; font-family: inherit; }
.nb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nb-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--pp-hair); border-radius: 12px; text-decoration: none; color: inherit; background: #fff; }
.nb-item:hover { border-color: #b9d9f3; }
.nb-thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--pp-bg-alt); }
.nb-thumb svg, .nb-thumb .thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; }
.nb-addr { font-weight: 700; font-size: 13px; overflow-wrap: anywhere; }
.nb-fig .price { font-size: 16px; }
.nb-dist, .nb-empty { color: var(--pp-muted); font-size: 12px; }

/* ---- 重ねて開く窓 ---- */
.prop-dialog { position: fixed; inset: 0; z-index: 100000; background: rgba(4, 22, 44, 0.6); display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px; overflow: auto; }
.prop-dialog[hidden] { display: none; }
.prop-sheet { position: relative; width: min(940px, 100%); background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); color: var(--pp-ink); font-family: "Noto Sans JP", sans-serif; }
.prop-sheet--sm { width: min(560px, 100%); }
.prop-sheet *, .prop-sheet *::before, .prop-sheet *::after { box-sizing: border-box; }
.prop-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid #d6dde4; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--pp-ink-2); z-index: 2; }
.prop-close:hover { border-color: var(--pp-blue); color: var(--pp-blue); }
.prop-sheet__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-right: 48px; }
.prop-sheet__head h2 { font-size: 20px; margin: 0; }
.prop-sheet__head .sub { font-size: 12px; color: var(--pp-muted); margin-top: 4px; }
.prop-sheet__head .prop-close { top: 20px; }
html.prop-lock { overflow: hidden; }
.iq-form { display: flex; flex-direction: column; gap: 14px; }
.iq-field { display: flex; flex-direction: column; gap: 6px; }
.iq-label { font-size: 13px; font-weight: 700; }
.iq-label .req { font-size: 11px; color: #fff; background: var(--pp-red); border-radius: 4px; padding: 1px 6px; margin-left: 4px; }
.iq-field input, .iq-field textarea { width: 100%; padding: 10px 12px; border: 2px solid #d6dde4; border-radius: 10px; font-size: 15px; font-family: inherit; }
.iq-field input:focus, .iq-field textarea:focus { outline: none; border-color: var(--pp-blue); }
.iq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.iq-error { color: var(--pp-red); font-size: 13px; font-weight: 700; }
.iq-privacy { font-size: 12px; color: var(--pp-muted); }
.iq-privacy a { color: var(--pp-blue); text-decoration: underline; }
.iq-actions { display: flex; justify-content: flex-end; gap: 10px; }
.iq-done { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; padding: 20px 0; }

/* ---- タブレット・スマホ ---- */
@media screen and (max-width: 1024px) {
  .prop-main { grid-template-columns: minmax(0, 1fr); }
  .prop-main .prop-filters { position: static; max-height: none; overflow: visible; }
  .prop-main .f-row { flex-direction: row; gap: 12px 24px; }
  .prop-main .f-row > div, .prop-main .f-row select { width: auto; }
  /* タブレットは絞り込みが一覧の上に来るので、条件を2列に並べて縦に長くしない */
  .prop-main .f-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; align-items: start; }
  .prop-main .f-body > .f-row, .prop-main .f-body > .f-foot { grid-column: 1 / -1; }
  .prop-main .prop-row { grid-template-columns: 200px minmax(0, 1fr); }
  #property .prop-head-img, #property .property--detail .prop-head-img { height: 200px; background-attachment: scroll; background-position: center center; }
  #property .page-header-title .page-title-area, #property .property--detail .page-title-area { height: 190px; }
  #property .property--detail .page-title .en { font-size: 48px; }
  .prop-wrap > :first-child { margin-top: 28px; }
  #property .page-title .en { font-size: 48px; }
  #property .page-title .ja { font-size: 14px; }
  .prop-row { grid-template-columns: 200px minmax(0, 1fr); }
  .prop-row .figures { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-top: 1px solid var(--pp-hair); }
  .prop-row .yields { flex: 0 1 300px; }
}
@media screen and (max-width: 767px) {
  .prop-wrap { padding: 0 16px; gap: 22px; }
  .prop-h1 { font-size: 22px; }
  .prop-stats .v { font-size: 28px; }
  .prop .line.prop-club .club_banner__catch, .prop .line.prop-club--compact .club_banner__catch { font-size: 20px; }
  .prop .prop-club--compact .club_banner { display: block; }
  .prop .prop-club--compact .club_banner__main { padding: 22px 20px 18px; }
  .prop .prop-club--compact .club_banner__actions { padding: 16px 20px 20px; background: rgba(2, 44, 100, 0.45); }
  .prop .prop-club__qr { display: none; }
  /* PC だけの改行（スマホでは言葉の切れ目で自然に折り返す） */
  .prop .br-pc { display: none; }
  .prop .prop-club--compact .club_banner__main::before { width: 96px; right: 16px; bottom: 10px; }
  .prop .line.prop-club .club_banner__ribbon { font-size: 12px; padding: 5px 12px; }
  .prop .line.prop-club .club_banner__label { font-size: 12px; padding: 3px 12px; }
  .prop .line.prop-club .club_banner__head { gap: 6px; margin-bottom: 10px; }
  .prop .line.prop-club .club_banner__lead { font-size: 14px; line-height: 1.8; }
  .prop .line.prop-club .club_banner__points li { font-size: 14px; }
  .prop .line.prop-club .club_banner__btn { min-width: 0; width: 100%; padding: 13px 18px; font-size: 15px; white-space: nowrap; }
  .f-toggle { display: inline-block; }
  .prop-filters .f-body { display: none; }
  .prop-filters.open .f-body { display: flex; }
  .prop-filters.open .f-foot { display: block; }
  .prop-filters .f-foot .prop-btn { width: 100%; }
  .prop-main .f-body { display: none; }
  .prop-main .prop-filters.open .f-body { display: flex; flex-direction: column; align-items: stretch; }
  .prop-filters { padding: 14px; }
  /* スマホのカードは在庫ページと同じ並び（左に細い写真・右に所在地など、下の段に価格と利回り3つを横に）。2026-11-28 松本さん */
  .prop-main .prop-row, .prop-row { grid-template-columns: 118px minmax(0, 1fr); letter-spacing: 0.02em; }
  .prop-row .thumb { min-height: 124px; }
  .badge-type { max-width: calc(100% - 16px); white-space: normal; line-height: 1.4; }
  .prop-row .body { padding: 12px 14px; gap: 5px; }
  .prop-row .catch { font-size: 13.5px; line-height: 1.45; }
  .prop-row .pid { display: block; margin: 2px 0 0; }
  .prop-row .spec { font-size: 12.5px; }
  .prop-row .figures { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; }
  .prop-row .yields { flex: 1 1 auto; min-width: 0; }
  .prop-row .price { font-size: 24px; }
  .prop-row .yl { padding: 6px 2px; }
  .prop-row .yl .v { font-size: 16px; }
  .map { height: 420px; }
  .prop-toolbar .count { margin-right: 0; flex-basis: 100%; order: 3; }
  .prop-dialog { padding: 0; }
  .prop-sheet { border-radius: 0; min-height: 100%; padding: 20px 16px 32px; }
  .pd-title { font-size: 19px; }
  .pd-body { grid-template-columns: minmax(0, 1fr); }
  .pd-actions { grid-template-columns: minmax(0, 1fr); }
  .nb-list { grid-template-columns: minmax(0, 1fr); }
  .kf .v { font-size: 20px; }
  /* 詳細も在庫ページの詳細に合わせる（字間を詰め、数字のカード・表・近くの物件の字の大きさをそろえる） */
  .prop-detail { letter-spacing: 0.02em; gap: 16px; }
  .pd-sub { font-size: 12.5px; line-height: 1.6; }
  .pd-body { gap: 16px; }
  .kf { padding: 8px 11px; }
  .kf .k { font-size: 11px; font-weight: 700; }
  .facts { gap: 7px 14px; }
  .pd-pr { font-size: 14px; line-height: 1.75; }
  .pd-actions { padding: 14px; }
  .nb-item { grid-template-columns: 100px minmax(0, 1fr); }
  .nb-body { font-size: 12.5px; gap: 3px; }
  .nb-addr { font-size: 14px; line-height: 1.45; }
  .nb-fig .price { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .prop-row, .prop-btn { transition: none; }
  .prop-btn:hover, .prop-btn:active { transform: none; }
}
