/*
 * サポルム ポータル 物件一覧/詳細 共通CSS（property-list.css）
 *
 * v0.9.7 (2026-05-26) 抽出元: archive-room.php の <style> ブロック
 * 用途: archive-fudo.php / archive-room.php / taxonomy-area.php / search.php / single-fudo.php / single-room.php で共通読込
 * enqueue: functions.php の saporoom_enqueue_assets() で conditional load
 */
:root {
  --moss-900: #2f3d24;
  --moss-800: #3d4d2f;
  --moss-700: #4a5d3a;
  --moss-600: #5d7349;
  --moss-500: #748a5d;
  --moss-200: #c8d3b8;
  --moss-100: #e4ead9;
  --moss-50:  #f1f4ea;
  --gold-600: #b08a3e;
  --gold-500: #c9a961;
  --gold-300: #e3c98a;
  --gold-100: #f5ead0;
  --paper:    #faf7f1;
  --paper-2:  #f4eedf;
  --cream:    #fdfbf5;
  --ink-900:  #1f2417;
  --ink-700:  #3a4032;
  --ink-500:  #6b7060;
  --ink-400:  #8a8e7e;
  --ink-300:  #b8bbac;
  --ink-200:  #d8dac9;
  --ink-100:  #ececdf;
  --line:     #d7d2c2;
  --line-soft:#e7e2d0;
  --accent-rose: #c97a6e;
  --success: #6e8f54;
  --warn:    #b08a3e;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "游明朝", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "游ゴシック", -apple-system, system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --container: 1080px;
  --frame: 1200px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(47,61,36,.06), 0 1px 1px rgba(47,61,36,.04);
  --shadow-md: 0 4px 14px rgba(47,61,36,.08), 0 1px 3px rgba(47,61,36,.04);
  --shadow-lg: 0 18px 40px rgba(47,61,36,.12), 0 4px 10px rgba(47,61,36,.06);
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container, .site-header, .site-footer, .toolbar, .property-grid, .related-card { min-width: 0; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: .02em; }
.eyebrow { font-family: var(--serif); font-size: 12px; letter-spacing: .35em; color: var(--gold-600); text-transform: uppercase; font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; letter-spacing: .04em; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn-line { background: #06c755; color: white; padding: 12px 20px; box-shadow: 0 2px 6px rgba(6,199,85,.3); }
.btn-line:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(6,199,85,.4); }
.btn-primary { background: var(--moss-700); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--moss-800); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--moss-700); border: 1px solid var(--moss-200); }
.btn-ghost:hover { background: var(--moss-50); }
.line-glyph { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; border-radius: 4px; background: white; color: #06c755; }

/* ============ Header ============ */
.site-header {
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(250, 247, 241, 0.92);
}
.site-header .container { max-width: var(--frame); padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .18em; color: var(--moss-700); }
.brand-tag { font-family: var(--serif); font-size: 10px; letter-spacing: .25em; color: var(--gold-600); display: block; margin-top: -2px; }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; color: var(--ink-700); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; }
.nav-link:hover { color: var(--moss-700); }
.nav-link .nav-chev { font-size: 11px; color: var(--ink-400); }
.menu-btn { display: none; }
.mobile-menu-toggle { display: none; }
.mobile-nav-panel { display: none; }

/* ============ Breadcrumb ============ */
.breadcrumb { font-size: 12px; color: var(--ink-500); padding: 18px 0 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--moss-700); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-300); }
.breadcrumb .current { color: var(--ink-900); font-weight: 500; }

/* ============ SEC 1 Title ============ */
.title-section { padding: 28px 0 8px; }
.title-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.title-row .eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--gold-600); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.title-row .eyebrow::after { content: ""; flex: 1; max-width: 60px; height: 1px; background: var(--gold-300); }
h1.list-title { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: .03em; line-height: 1.4; color: var(--ink-900); margin: 0; }
h1.list-title .accent { color: var(--moss-700); }
.hit-meta { display: flex; align-items: baseline; gap: 12px; color: var(--ink-500); font-size: 12px; font-family: var(--mono); letter-spacing: .04em; margin-left: auto; }
.hit-meta .count { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--moss-700); letter-spacing: .04em; }
.hit-meta .count .unit { font-size: 12px; margin-left: 2px; color: var(--ink-500); font-weight: 500; font-family: var(--sans); }

/* ============ SEC 2 — Search Form (PC) ============ */
.search-section { padding: 18px 0 0; }
.search-bar {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.search-bar-row {
  display: grid;
  gap: 10px;
  align-items: end;
}
.search-bar-row--top {
  grid-template-columns: 1.4fr 1fr auto 1fr;
}
.search-bar-row--bottom {
  grid-template-columns: 1fr 1fr 1.6fr auto;
}
.search-bar-row + .search-bar-row { margin-top: 12px; }
.rent-dash {
  font-family: var(--mono);
  color: var(--ink-400);
  font-size: 14px;
  align-self: end;
  padding-bottom: 14px;
  text-align: center;
  min-width: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold-600);
  font-weight: 500;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.field-label .ja { color: var(--ink-500); font-family: var(--sans); letter-spacing: .04em; font-size: 11px; }
.field-control {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  display: flex; align-items: center;
  font-size: 14px;
  height: 42px;
}
.field-control:hover { border-color: var(--moss-200); }
.field-control:focus-within { border-color: var(--moss-500); box-shadow: 0 0 0 3px rgba(74,93,58,.08); }
.field-control select,
.field-control input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--ink-900);
  padding: 0 32px 0 14px;
  height: 100%;
  font-family: var(--sans);
  -webkit-appearance: none; appearance: none;
}
.field-control.with-icon::after {
  content: "";
  position: absolute; right: 14px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--ink-500);
  border-bottom: 1.5px solid var(--ink-500);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field-control.with-search::before {
  content: "";
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none" stroke="%236b7060" stroke-width="1.4"><circle cx="6" cy="6" r="4.2"/><path d="M9 9l3.5 3.5"/></svg>');
}
.field-control.with-search input { padding-left: 32px; }
.search-submit {
  height: 42px; padding: 0 22px;
  border-radius: var(--r-md);
  background: var(--moss-700);
  color: var(--paper);
  font-weight: 600; font-size: 14px;
  letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease;
}
.search-submit:hover { background: var(--moss-800); transform: translateY(-1px); }
.search-submit::before {
  content: "";
  width: 12px; height: 12px;
  background: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none" stroke="%23faf7f1" stroke-width="1.6"><circle cx="6" cy="6" r="4.2"/><path d="M9 9l3.5 3.5"/></svg>');
}
.advanced-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  padding: 6px 14px 6px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--moss-700);
  background: var(--moss-50);
  border: 1px solid var(--moss-100);
  border-radius: var(--r-pill);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s ease;
}
.advanced-toggle:hover { background: var(--moss-100); }
.toggle-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.toggle-row .advanced-toggle { margin-top: 0; }
.fuyo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--gold-600);
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--r-pill);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s ease;
}
.fuyo-toggle:hover { background: var(--gold-300); color: var(--gold-600); }
.fuyo-toggle .chev {
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 2px;
  transition: transform .2s ease;
}
.fuyo-toggle.is-open .chev { transform: rotate(-135deg); margin-bottom: -2px; }
.advanced-toggle .chev {
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 2px;
  transition: transform .2s ease;
}
.advanced-toggle.is-open .chev { transform: rotate(-135deg); margin-bottom: -2px; }

/* ---------- Rent Tabs ---------- */
.rent-tabs-block {
  border-top: 1px dashed var(--line-soft);
  margin-top: 14px;
  padding-top: 12px;
  display: none;
}
.rent-tabs-block.is-open { display: block; }
.rent-tabs {
  display: inline-flex;
  background: var(--paper-2);
  border-radius: var(--r-pill);
  padding: 3px;
  margin-bottom: 12px;
}
.rent-tab {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  border-radius: var(--r-pill);
  letter-spacing: .04em;
  transition: background .15s ease, color .15s ease;
}
.rent-tab.is-active { background: var(--moss-700); color: var(--paper); box-shadow: var(--shadow-sm); }
.rent-panel { display: none; }
.rent-panel.is-active { display: block; }

.range-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.range-row .field-control { flex: 1; min-width: 140px; max-width: 200px; }
.range-row .dash { color: var(--ink-400); font-family: var(--mono); font-size: 14px; }

.fuyo-row { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr; gap: 12px; align-items: end; }
.fuyo-result {
  background: var(--moss-50);
  border: 1px solid var(--moss-100);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.6;
}
.fuyo-result .label { display: block; font-size: 10px; font-family: var(--mono); color: var(--moss-700); letter-spacing: .12em; margin-bottom: 2px; }
.fuyo-result .amount { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--moss-700); letter-spacing: .04em; }
.fuyo-result .amount .unit { font-size: 12px; margin-left: 2px; color: var(--ink-500); }
.fuyo-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.fuyo-chip {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-700);
  letter-spacing: .04em;
}
.fuyo-chip.is-active {
  background: var(--moss-700);
  color: var(--paper);
  border-color: var(--moss-700);
}
.fuyo-note { font-size: 11px; color: var(--ink-500); margin-top: 8px; line-height: 1.7; }

/* ---------- Advanced Chip Filters ---------- */
.advanced-block {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-top: 12px;
  display: none;
}
.advanced-block.is-open { display: block; }
.chip-group { padding: 10px 0; }
.chip-group + .chip-group { border-top: 1px dashed var(--line-soft); }
.chip-group h4 {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--moss-700);
  margin: 0 0 10px;
  letter-spacing: .08em;
  display: flex; align-items: center; gap: 10px;
}
.chip-group h4::before { content: ""; width: 14px; height: 1px; background: var(--gold-500); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-700);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
  user-select: none;
}
.chip:hover { background: var(--moss-50); border-color: var(--moss-200); }
.chip.is-active {
  background: var(--moss-700);
  color: var(--paper);
  border-color: var(--moss-700);
}
.chip.is-active::before {
  content: "";
  display: inline-block;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(-45deg);
  margin-right: 6px;
  margin-bottom: 2px;
  vertical-align: middle;
}

/* ---------- Active Conditions ---------- */
.active-conditions {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--moss-50);
  border: 1px dashed var(--moss-200);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.active-conditions .ac-label {
  flex-shrink: 0;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: .12em;
  color: var(--moss-700);
  font-weight: 600;
}
.active-conditions .ac-scroll {
  flex: 1; min-width: 0;
  display: flex;
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--moss-200) transparent;
  padding-bottom: 2px;
}
.active-conditions .ac-scroll::-webkit-scrollbar { height: 4px; }
.active-conditions .ac-scroll::-webkit-scrollbar-thumb { background: var(--moss-200); border-radius: 4px; }
.ac-chip {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper);
  border: 1px solid var(--moss-200);
  color: var(--moss-700);
  padding: 5px 8px 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  letter-spacing: .04em;
}
.ac-chip .x {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--moss-100);
  color: var(--moss-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.ac-chip .x:hover { background: var(--moss-700); color: var(--paper); }
.ac-clear {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--ink-500);
  border-bottom: 1px solid var(--ink-300);
  padding-bottom: 1px;
}
.ac-clear:hover { color: var(--accent-rose); border-bottom-color: var(--accent-rose); }

/* ============ SEC 3 — Toolbar ============ */
.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.toolbar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.toolbar-range { font-size: 12px; color: var(--ink-500); font-family: var(--mono); letter-spacing: .04em; }
.toolbar-range strong { color: var(--ink-900); font-weight: 600; }
.sort-tabs { display: inline-flex; align-items: center; gap: 2px; }
.sort-tab {
  padding: 6px 14px;
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-500);
  border-radius: var(--r-pill);
  letter-spacing: .04em;
  transition: background .15s ease, color .15s ease;
}
.sort-tab:hover { color: var(--moss-700); }
.sort-tab.is-active { background: var(--moss-700); color: var(--paper); font-weight: 600; }

.toolbar-right { display: flex; align-items: center; gap: 10px; }
.view-switch {
  display: inline-flex;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
}
.view-btn {
  padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-500);
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: .04em;
}
.view-btn.is-active { background: var(--moss-700); color: var(--paper); }
.view-btn svg { width: 13px; height: 13px; }
.per-page-select {
  height: 32px; padding: 0 28px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--cream);
  font-size: 12px;
  color: var(--ink-700);
  font-weight: 500;
  -webkit-appearance: none; appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" fill="none" stroke="%236b7060" stroke-width="1.4"><path d="M1.5 3l2.5 2.5L6.5 3"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px 8px;
}

/* ============ SEC 4 — Property Grid ============ */
.grid-section { padding: 8px 0 32px; }
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.property-grid .related-card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  display: block;
}
.property-grid .related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.related-card .img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--moss-100) 0%, var(--paper-2) 100%);
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.related-card .img::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(74,93,58,.05) 14px 15px);
}
.related-card .img.no-img {
  background: repeating-linear-gradient(45deg, #e0e0e0, #e0e0e0 8px, #d0d0d0 8px, #d0d0d0 16px);
}
.related-card .img.no-img::after { display: none; }
.related-card .img.no-img .no-img-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(31,36,23,.5);
  background: rgba(255,255,255,.55);
  margin: auto;
  width: max-content; height: max-content;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.related-card .img .img-label {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(31,36,23,.5);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}
.related-card .img .photo-count {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(31,36,23,.6);
  color: var(--paper);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: .04em;
}
.related-card .body { padding: 14px 16px 18px; }
.related-card .name {
  font-family: var(--serif);
  font-size: 14px; font-weight: 600;
  color: var(--ink-900);
  line-height: 1.55;
  margin-bottom: 10px;
  letter-spacing: .02em;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.related-card .rent {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  color: var(--moss-700);
  margin-bottom: 6px;
  letter-spacing: .02em;
  line-height: 1.2;
}
.related-card .rent .unit { font-size: 12px; color: var(--ink-500); font-weight: 500; margin-left: 2px; }
.related-card .rent .common { font-size: 11px; color: var(--ink-500); font-weight: 400; margin-left: 6px; }
.related-card .meta {
  font-size: 11.5px;
  color: var(--ink-500);
  font-family: var(--mono);
  letter-spacing: .02em;
  line-height: 1.7;
}
.related-card .meta .addr {
  font-family: var(--sans);
  color: var(--ink-700);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}
.related-card .tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 10px;
}
.related-card .tag {
  font-size: 10px;
  background: var(--paper);
  color: var(--ink-700);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  letter-spacing: .04em;
}

/* No-result */
.no-results {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-align: center;
  margin: 16px 0 32px;
  display: none;
}
.no-results.is-shown { display: block; }
.no-results .nr-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border: 1.5px solid var(--moss-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--moss-700);
  font-family: var(--serif);
  font-size: 18px;
}
.no-results h3 {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.no-results p { font-size: 13px; color: var(--ink-500); margin: 0 0 22px; line-height: 1.7; }
.suggest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
  text-align: left;
}
.suggest-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
}
.suggest-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--moss-200); }
.suggest-card .sc-eyebrow {
  font-size: 10px; font-family: var(--mono);
  letter-spacing: .12em; color: var(--gold-600);
  font-weight: 500;
}
.suggest-card .sc-title {
  font-family: var(--serif);
  font-size: 14px; font-weight: 600;
  color: var(--ink-900);
  line-height: 1.5;
}
.suggest-card .sc-result {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: auto; padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.suggest-card .sc-arrow { color: var(--moss-700); font-size: 12px; font-weight: 600; }
.suggest-card .sc-count {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  color: var(--moss-700);
}
.suggest-card .sc-count .plus { color: var(--gold-600); }
.suggest-card .sc-count .unit { font-size: 11px; color: var(--ink-500); font-weight: 500; margin-left: 2px; font-family: var(--sans); }

/* ============ Pagination ============ */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 4px;
  padding: 24px 0 16px;
  flex-wrap: wrap;
}
.pagination .pg {
  min-width: 36px; height: 36px;
  padding: 0 10px;
  font-size: 13px;
  font-family: var(--mono);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-700);
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: .04em;
  font-weight: 500;
  transition: background .15s ease, border-color .15s ease;
}
.pagination .pg:hover { background: var(--moss-50); border-color: var(--moss-200); color: var(--moss-700); }
.pagination .pg.is-current { background: var(--moss-700); color: var(--paper); border-color: var(--moss-700); font-weight: 600; }
.pagination .pg.is-disabled { color: var(--ink-300); pointer-events: none; }
.pagination .ellipsis { padding: 0 4px; color: var(--ink-400); font-family: var(--mono); }

/* ============ SEC 7 — Related Areas ============ */
.section-block { padding: 48px 0 16px; }
.section-head { margin-bottom: 22px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-head .num { font-family: var(--mono); font-size: 11px; color: var(--gold-600); letter-spacing: .12em; }
.section-head h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .04em; color: var(--ink-900); margin: 0; line-height: 1.5; }
.section-head .rule { flex: 1; height: 1px; background: linear-gradient(to right, var(--line) 0%, transparent 100%); margin-bottom: 4px; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.area-link {
  display: flex; align-items: baseline; justify-content: space-between;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink-700);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .15s ease, border-color .15s ease;
}
.area-link:hover { background: var(--moss-50); border-color: var(--moss-200); color: var(--moss-700); }
.area-link .ct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 500;
}
.area-link .ct .num { color: var(--moss-700); font-weight: 600; }

/* ============ SEC 8 — Bottom CTA ============ */
.cta-section { padding: 32px 0 56px; }
.line-cta {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 22px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.line-cta h3 {
  font-family: var(--serif);
  font-size: 16px; font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.5;
  color: var(--ink-900);
  letter-spacing: .04em;
}

/* ============ Footer ============ */
.site-footer { background: var(--moss-900); color: var(--moss-100); padding: 72px 0 24px; font-size: 13px; }
.site-footer .container { max-width: var(--frame); padding: 0 32px; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer .footer-brand-block { display: block; }
.site-footer .footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-footer .footer-brand-name { font-family: var(--serif); font-size: 20px; color: var(--paper); letter-spacing: .12em; font-weight: 600; display: block; }
.site-footer .footer-brand-tag { font-size: 11px; color: var(--gold-300); letter-spacing: .2em; display: block; }
.site-footer .footer-intro { font-size: 12px; line-height: 1.9; color: var(--moss-200); margin: 0; }
.site-footer .footer-cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; }
.footer-col h4 { font-family: var(--serif); font-size: 12px; letter-spacing: .18em; color: var(--gold-300); margin: 0 0 16px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--moss-100); }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom-bar { border-top: 1px solid var(--moss-700); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-policy-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-policy-links a { font-size: 12px; color: var(--moss-200); }
.footer-policy-links a:hover { color: var(--gold-300); }
.footer-copyright { font-size: 11px; color: var(--moss-200); letter-spacing: .06em; }

/* ============ Back-to-top ============ */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--moss-700);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
  border: 1px solid var(--moss-800);
}
.back-to-top.is-shown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--moss-800); }
.back-to-top svg { width: 16px; height: 16px; }

/* ============ Swipe-hint (re-used) ============ */
.swipe-hint-fade {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(31,36,23,.78);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 12px; letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0; z-index: 5;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}
.swipe-hint-fade.is-visible { animation: swipeFade 4.2s ease-out 0s 1 forwards; }
@keyframes swipeFade {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.92); }
  10%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  75%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* ============ SP Search Trigger / Modal ============ */
.sp-search-trigger { display: none; }
.sp-modal { display: none; }
.modal-open { overflow: hidden; }

/* ============ Responsive ≤1024 ============ */
@media (max-width: 1024px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .suggest-grid { grid-template-columns: 1fr; }
  .search-bar-row { grid-template-columns: 1fr 1fr 1fr; }
  .search-bar-row .field:nth-child(5) { grid-column: 1 / -1; }
  .search-bar-row .search-submit { grid-column: 1 / -1; height: 44px; justify-content: center; }
  .fuyo-row { grid-template-columns: 1fr 1fr; }
}

/* ============ Responsive ≤768 (SP) ============ */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    overflow-x: hidden;
  }
  main,
  .search-section,
  .grid-section,
  .section-block,
  .pagination {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .nav-link.desktop-only { display: none; }
  .site-header .btn-line { display: none; }
  .menu-btn { display: none; }
  .mobile-menu-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border-radius: var(--r-sm);
    background: var(--paper);
    color: var(--ink-700);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    z-index: 80;
  }
  .mobile-menu-toggle span,
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after {
    content: "";
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--moss-700);
    border-radius: 999px;
  }
  .site-header .container { position: relative; }
  .mobile-nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 14px;
    background: rgba(253, 251, 245, .98);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    z-index: 60;
  }
  .site-header.is-menu-open .mobile-nav-panel { display: flex; }
  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    color: var(--ink-700);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 500;
  }
  .mobile-nav-panel a:hover {
    background: var(--moss-50);
    color: var(--moss-700);
  }
  .mobile-nav-panel .btn-line {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
    color: #fff;
    background: #06c755;
  }
  .brand-name { font-size: 15px; letter-spacing: .14em; }
  .brand-tag { font-size: 9px; letter-spacing: .2em; }
  .brand-mark { width: 34px; height: 34px; }

  /* Title */
  .title-section { padding: 18px 0 4px; }
  .title-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  h1.list-title { font-size: 21px; line-height: 1.5; }
  .hit-meta { margin-left: 0; }
  .hit-meta .count { font-size: 18px; }

  /* SP search: hide PC bar, show trigger button */
  .search-bar { display: none; }
  .sp-search-trigger {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    max-width: 100%;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 14px 18px;
    font-size: 14px;
    color: var(--ink-700);
    box-shadow: var(--shadow-sm);
    margin-top: 14px;
    text-align: left;
    font-family: var(--sans);
    cursor: pointer;
  }
  .sp-search-trigger .left {
    display: flex; align-items: center; gap: 12px;
    min-width: 0;
  }
  .sp-search-trigger .ico {
    width: 18px; height: 18px;
    background: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" fill="none" stroke="%234a5d3a" stroke-width="1.6"><circle cx="8" cy="8" r="5"/><path d="M12 12l4 4"/></svg>');
  }
  .sp-search-trigger .right { color: var(--moss-700); font-weight: 600; font-size: 12px; font-family: var(--mono); letter-spacing: .04em; }

  /* Active conditions SP = wrap */
  .active-conditions {
    flex-direction: column; align-items: flex-start;
    padding: 12px 14px;
  }
  .active-conditions .ac-scroll {
    flex-wrap: wrap;
    overflow: visible;
    width: 100%;
    max-height: calc(2 * 30px + 6px);
    overflow-y: hidden;
  }

  /* Toolbar */
  .toolbar { padding: 16px 0 12px; gap: 10px; }
  .toolbar-left {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .toolbar-range {
    display: block;
    width: 100%;
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.6;
  }
  .sort-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    font-size: 12px;
    min-width: 0;
  }
  .sort-tab {
    min-width: 0;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 11.5px;
    text-align: center;
    white-space: nowrap;
  }
  .toolbar-right {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }
  .view-switch { flex-shrink: 0; }
  .view-btn span { display: none; }
  .view-btn { padding: 6px 12px; }
  .per-page-select {
    min-width: 104px;
  }

  /* Property grid SP（v0.9.55 2カラム化・タケさん指示 2026-06-12） */
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .property-grid .related-card {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .property-grid .related-card .img {
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--line-soft);
    border-right: none;
    height: auto;
  }
  .property-grid .related-card .body { padding: 11px 12px 13px; }
  .property-grid .related-card .name {
    font-size: 13px;
    line-height: 1.55;
    min-height: auto;
    -webkit-line-clamp: 2;
    margin-bottom: 6px;
  }
  .property-grid .related-card .rent { font-size: 18px; margin-bottom: 5px; }
  .property-grid .related-card .meta { font-size: 11.5px; }
  .property-grid .related-card .meta .addr { font-size: 11.5px; }
  .property-grid .related-card .tags { margin-top: 8px; }
  .property-grid .related-card .tag {
    max-width: 100%;
    white-space: normal;
  }

  /* No-result */
  .no-results { padding: 24px 18px; }
  .suggest-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Section heads */
  .section-block { padding: 32px 0 12px; }
  .section-head h2 { font-size: 18px; }
  .section-head .rule { display: none; }

  /* Area grid */
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area-link { font-size: 13px; padding: 10px 12px; }

  /* CTA */
  .line-cta { padding: 18px 20px; }
  .line-cta h3 { font-size: 14px; margin-bottom: 12px; }

  /* Footer */
  .site-footer { padding: 48px 0 20px; }
  .site-footer .container { padding: 0 16px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-col { order: 1; }
  .site-footer .footer-brand-block {
    order: 2;
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 28px;
    border-top: 1px solid var(--moss-700);
  }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; }

  /* Back-to-top SP */
  .back-to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }

  /* SP modal */
  .sp-modal {
    display: block;
    position: fixed; inset: 0;
    background: var(--paper);
    z-index: 100;
    transform: translateY(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sp-modal.is-open { transform: translateY(0); }
  .sp-modal-head {
    position: sticky; top: 0; z-index: 5;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .sp-modal-title {
    font-family: var(--serif);
    font-size: 16px; font-weight: 600;
    color: var(--ink-900);
    letter-spacing: .04em;
  }
  .sp-modal-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--moss-50);
    color: var(--moss-700);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 500;
  }
  .sp-modal-body {
    padding: 18px 16px 120px;
  }
  .sp-modal-body .field { margin-bottom: 14px; }
  .sp-modal-body .field-label { font-size: 11px; }
  .sp-modal-body .chip-group h4 { font-size: 13px; }
  .sp-modal-body .chip { font-size: 12px; padding: 6px 12px; }
  .sp-modal-foot {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex; gap: 10px;
    box-shadow: 0 -4px 14px rgba(47,61,36,.06);
  }
  .sp-modal-foot .reset {
    flex: 0 0 36%;
    height: 48px;
    border: 1px solid var(--moss-200);
    color: var(--moss-700);
    background: transparent;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
  }
  .sp-modal-foot .apply {
    flex: 1;
    height: 48px;
    background: var(--moss-700);
    color: var(--paper);
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    box-shadow: var(--shadow-md);
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
  }
  .sp-modal-foot .apply .live-count {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--gold-300);
  }
}

@media (max-width: 414px) {
  h1.list-title { font-size: 19px; }
  .property-grid .related-card { display: block; }
  .sort-tab { font-size: 11px; padding-inline: 6px; }
}

@media (max-width: 480px) {
  .container {
    width: calc(100vw - 32px);
    max-width: 358px;
    padding: 0;
    margin-left: 16px;
    margin-right: 16px;
  }

  .sp-search-trigger {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sp-search-trigger .left {
    width: 100%;
  }

  .sp-search-trigger .left span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sp-search-trigger .right {
    align-self: flex-end;
  }

  .sort-tabs {
    grid-template-columns: 1fr;
  }

  .sort-tab {
    width: 100%;
    justify-content: center;
  }

  .toolbar-right {
    flex-direction: column;
    align-items: stretch;
  }

  .view-switch {
    width: max-content;
  }

  .per-page-select {
    width: 100%;
    min-width: 0;
  }

  .property-grid,
  .property-grid .related-card {
    width: 100%;
    max-width: 100%;
  }

  .pagination {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}
