/* エリア別ページ（/areas/）共通スタイル。パレットは index.html の :root と同期。
   ステータス色（竣工/工事中/着工前）はアプリのバッジ色と同一（データ意味色）。 */
:root {
  --accent: #6a51dc; --accent-strong: #5539c9;
  --coral-strong: #c43a17; --coral-border: #ffc5ae; --coral-soft: #fff1ec;
  --ink: #1d1730; --muted: #6e6885; --border: #e8e5f1; --hover: #f4f2fa;
}
* { box-sizing: border-box; }
body { margin: 0; background: #faf9fd; color: var(--ink);
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.8; font-size: 14px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 20px 20px 60px; }
a { color: var(--accent); }
header.site { display: flex; align-items: center; gap: 14px; padding-bottom: 14px;
  margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.brand img { display: block; }
.crumbs { font-size: 12px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
h1 { font-size: 22px; line-height: 1.4; margin: 0 0 6px; }
.lead { color: #443c5c; margin: 0 0 14px; }
h2 { font-size: 16px; margin: 30px 0 8px; padding-top: 16px; border-top: 1px solid var(--border); }
h2 .count { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 8px; }
.stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.stat { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); color: var(--muted); }
.stat b { font-size: 14px; margin-right: 3px; color: var(--ink); }
/* ステータス色はアプリのバッジと同一 */
.badge { display: inline-block; font-size: 11px; padding: 1px 9px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.badge.st-竣工, .stat.st-竣工 b   { color: #2b8a3e; }
.badge.st-竣工   { background: #d3f9d8; }
.badge.st-工事中, .stat.st-工事中 b { color: #d9480f; }
.badge.st-工事中 { background: #ffe8cc; }
.badge.st-着工前, .stat.st-着工前 b { color: #1971c2; }
.badge.st-着工前 { background: #d0ebff; }
.pro-teaser { font-size: 12.5px; color: #443c5c; line-height: 1.7; margin: 0 0 8px;
  padding: 10px 14px; background: var(--coral-soft); border: 1px solid var(--coral-border); border-radius: 10px; }
.pro-teaser b:first-child { color: var(--coral-strong); }
.pro-teaser a { font-weight: 700; margin-left: 6px; }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; }
td a { text-decoration: none; font-weight: 600; }
td a:hover { text-decoration: underline; }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: var(--hover); }
.pref-grid { list-style: none; margin: 16px 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pref-grid b { white-space: nowrap; }
.pref-grid a { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  text-decoration: none; color: var(--ink); }
.pref-grid a:hover { border-color: var(--accent); background: var(--hover); }
.pref-grid .sub { font-size: 11px; color: var(--muted); }
.pref-grid .mini-pro { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--coral-strong); }
.pref-grid li.empty { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px;
  border: 1px dashed var(--border); border-radius: 10px; color: var(--muted); }
.pref-grid li.empty b { font-weight: 600; }
.note { font-size: 11.5px; color: var(--muted); margin-top: 22px; }
footer { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 11.5px; }
@media (max-width: 640px) {
  .wrap { padding: 14px 14px 50px; }
  h1 { font-size: 19px; }
}
