:root {
  --ink: #293d36;
  --ink-soft: #69746d;
  --navy: #21483f;
  --navy-2: #356357;
  --spruce: #3b7160;
  --spruce-soft: #e8f0e8;
  --orange: #21483f;
  --orange-dark: #15392f;
  --cloud: #f8f7f3;
  --paper: #ffffff;
  --line: #e2e5dc;
  --warning: #8b5b00;
  --warning-bg: #fff6da;
  --danger: #9a3636;
  --danger-bg: #fff0f0;
  --shadow: 0 12px 34px rgba(35, 58, 45, 0.05);
  --radius: 18px;
  --shell: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
button, input, select, textarea { font: inherit; }
button, .button { touch-action: manipulation; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; line-height: 1.05; }
.brand:hover { color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px 12px 6px 6px; color: white; background: var(--navy); font-weight: 900; box-shadow: inset 0 -5px 0 var(--orange); }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav > a, .text-button { color: var(--ink); font-size: .91rem; font-weight: 650; text-decoration: none; }
.site-header nav > a:hover, .text-button:hover { color: var(--orange-dark); }
.site-header .nav-cta { padding: 9px 15px; color: white; background: var(--navy); border-radius: 999px; }
.site-header .nav-cta:hover { color: white; background: var(--navy-2); }
.inline-form { display: inline; margin: 0; }
.text-button { padding: 0; border: 0; background: transparent; cursor: pointer; }

.home-intro { padding: 48px 0 36px; background: linear-gradient(180deg, #edf5f6 0%, #fff 100%); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 46px; align-items: center; }
.eyebrow { margin: 0 0 6px; color: var(--spruce); font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.35; }
h1 { margin: 0; font-size: clamp(2rem, 4.7vw, 3.65rem); letter-spacing: -.045em; }
.home-intro h1 span { display: block; color: var(--orange); }
.lead { max-width: 680px; margin: 16px 0 24px; color: var(--ink-soft); font-size: 1.08rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; color: var(--ink-soft); font-size: .88rem; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--spruce); font-weight: 900; }
.home-image { position: relative; min-height: 360px; overflow: hidden; border-radius: 24px 24px 24px 5px; box-shadow: var(--shadow); }
.home-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.home-image figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 8px 12px; color: white; background: rgba(18,51,74,.9); border-radius: 10px; font-size: .78rem; }

.address-search { max-width: 760px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.address-search label { display: block; margin-bottom: 7px; color: var(--navy); font-weight: 800; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.address-suggest-wrap { position: relative; min-width: 0; }
.address-suggestions { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 260px; overflow-y: auto; background: white; border: 1px solid #bdcbd2; border-radius: 10px; box-shadow: var(--shadow); }
.address-suggestions[hidden] { display: none; }
.address-suggestions button { display: block; width: 100%; padding: 10px 13px; color: var(--ink); background: white; border: 0; text-align: left; cursor: pointer; }
.address-suggestions button:hover, .address-suggestions button.is-active, .address-suggestions button:focus { background: var(--spruce-soft); outline: none; }
input, select, textarea { width: 100%; color: var(--ink); background: white; border: 1px solid #bdcbd2; border-radius: 10px; outline: none; }
input, select { min-height: 48px; padding: 10px 13px; }
textarea { min-height: 150px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--spruce); box-shadow: 0 0 0 3px rgba(36,114,94,.15); }
.privacy-hint { margin: 8px 0 0; color: var(--ink-soft); font-size: .82rem; }
.privacy-hint span { margin-right: 6px; color: var(--spruce); font-size: .65rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.button.primary { color: white; background: var(--orange); }
.button.primary:hover { color: white; background: var(--orange-dark); }
.button.secondary { color: var(--navy); background: white; border-color: #9eb0ba; }
.button.secondary:hover { color: var(--navy); border-color: var(--navy); }
.button.ghost { color: var(--navy); background: var(--cloud); }
.button.danger { color: white; background: var(--danger); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }

.section { padding: 64px 0; }
.section.cloud { background: var(--cloud); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.section-heading p { max-width: 600px; margin: 6px 0 0; color: var(--ink-soft); }
.text-link { font-weight: 800; white-space: nowrap; }
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.stats-strip > div { padding: 18px; background: white; }
.stats-strip strong { display: block; color: var(--navy); font-size: 1.45rem; line-height: 1.2; }
.stats-strip span { color: var(--ink-soft); font-size: .8rem; }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.property-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease; }
.property-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link { display: block; height: 100%; padding: 20px; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.property-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.type-badge, .status-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; font-size: .73rem; font-weight: 800; }
.type-badge.shared_house { color: var(--navy-2); background: #deedf4; }
.type-badge.homestay { color: #7a3f14; background: #fff0dc; }
.rating { display: flex; align-items: baseline; gap: 3px; color: var(--navy); }
.rating strong { font-size: 1.35rem; }
.rating span, .empty-rating { color: var(--ink-soft); font-size: .75rem; }
.property-card h3 { margin: 18px 0 5px; font-size: 1.28rem; }
.masked-address { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.masked-address span { margin-right: 7px; color: var(--spruce); }
.property-card-meta { display: grid; gap: 5px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; }

.growth-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; padding: 34px; color: white; background: var(--navy); border-radius: 24px; }
.growth-card h2 { margin: 0 0 10px; color: white; font-size: 1.9rem; }
.growth-card p { margin: 0; color: #d5e3ea; }
.growth-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.growth-step { padding: 16px; color: var(--ink); background: white; border-radius: 14px; }
.growth-step span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; color: white; background: var(--orange); border-radius: 50%; font-weight: 900; }
.growth-step strong { display: block; color: var(--navy); }
.growth-step small { color: var(--ink-soft); }

.page-hero { padding: 42px 0 30px; background: var(--cloud); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 820px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { max-width: 720px; margin: 12px 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.breadcrumbs { margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .82rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 5px; color: #9bacb5; }
.breadcrumbs a { color: var(--ink-soft); }
.area-layout { display: grid; grid-template-columns: 260px 1fr; gap: 38px; align-items: start; }
.area-sidebar { position: sticky; top: 100px; padding: 20px; background: var(--cloud); border-radius: 16px; }
.area-sidebar h2 { margin: 0 0 12px; font-size: 1rem; }
.area-sidebar a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.area-sidebar small { color: var(--ink-soft); }

.property-hero { padding: 38px 0 30px; background: linear-gradient(120deg, #eef5f5, #f8fafb); }
.property-title-row { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.property-title-row h1 { margin-top: 10px; font-size: clamp(1.8rem, 4vw, 3rem); }
.property-summary-score { min-width: 160px; padding: 15px 18px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 15px; }
.property-summary-score strong { display: block; color: var(--navy); font-size: 2rem; line-height: 1; }
.property-summary-score span { color: var(--ink-soft); font-size: .78rem; }
.privacy-banner { display: flex; gap: 12px; align-items: start; margin-top: 18px; padding: 13px 15px; color: var(--ink-soft); background: white; border: 1px solid var(--line); border-radius: 12px; font-size: .87rem; }
.privacy-banner strong { color: var(--spruce); }
.property-layout { display: grid; grid-template-columns: 1fr 310px; gap: 34px; align-items: start; }
.sticky-cta { position: sticky; top: 100px; padding: 22px; background: var(--navy); border-radius: var(--radius); color: white; }
.sticky-cta h2 { margin: 0 0 8px; color: white; font-size: 1.3rem; }
.sticky-cta p { color: #d5e3ea; font-size: .9rem; }
.sticky-cta .button { width: 100%; margin-top: 8px; }
.review-list { display: grid; gap: 18px; }
.review-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.review-card.is-disputed { border-color: #d9bc70; }
.review-card > header { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.review-card h3 { margin: 0; font-size: 1.12rem; }
.rent-chip { padding: 6px 10px; color: var(--navy); background: var(--cloud); border-radius: 8px; font-size: .82rem; font-weight: 800; }
.review-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 20px 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 12px; }
.review-facts > div { padding: 11px; background: var(--cloud); }
.review-facts span, .review-facts strong { display: block; }
.review-facts span { color: var(--ink-soft); font-size: .7rem; }
.review-facts strong { color: var(--navy); font-size: .88rem; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.score-row { display: grid; grid-template-columns: 116px 1fr 18px; gap: 9px; align-items: center; font-size: .78rem; }
.score-track { height: 7px; overflow: hidden; background: #e6ecef; border-radius: 999px; }
.score-track i { display: block; height: 100%; background: var(--spruce); border-radius: inherit; }
.review-card blockquote { margin: 22px 0 0; padding: 16px 18px; background: #f7faf9; border-left: 3px solid var(--spruce); border-radius: 0 10px 10px 0; }
.owner-response { margin-top: 16px; padding: 16px; background: #f5f7fb; border: 1px solid #dfe5ed; border-radius: 12px; }
.owner-response p:last-child { margin-bottom: 0; }
.review-card > footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .75rem; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.form-shell { padding: 44px 0 72px; background: var(--cloud); }
.form-card { padding: clamp(22px, 5vw, 42px); background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-card h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.form-intro { color: var(--ink-soft); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.progress-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 30px; padding: 0; list-style: none; }
.progress-list li { padding: 9px 10px; color: var(--ink-soft); background: var(--cloud); border-radius: 9px; font-size: .78rem; font-weight: 800; text-align: center; }
.progress-list li.is-active { color: white; background: var(--navy); }
.progress-list li.is-complete { color: var(--spruce); background: var(--spruce-soft); }
.form-step > h2 { margin: 0 0 5px; font-size: 1.45rem; }
.form-step > p { margin-top: 0; color: var(--ink-soft); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 18px 0; }
.field label, .field > span, .field legend { display: block; margin-bottom: 6px; color: var(--navy); font-weight: 800; }
.field small, .character-count { display: block; margin-top: 5px; color: var(--ink-soft); font-size: .76rem; }
.mask-preview { margin-top: 8px; padding: 9px 11px; color: var(--spruce); background: var(--spruce-soft); border-radius: 8px; font-size: .83rem; font-weight: 700; }
.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radio-cards label { position: relative; display: block; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards span { display: block; min-height: 70px; padding: 14px; border: 1px solid #bdcbd2; border-radius: 12px; cursor: pointer; }
.radio-cards input:checked + span { border-color: var(--spruce); background: var(--spruce-soft); box-shadow: 0 0 0 2px rgba(36,114,94,.15); }
.radio-cards strong, .radio-cards small { display: block; }
.rating-stack { display: grid; gap: 12px; margin: 20px 0; }
.rating-field { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.rating-field legend { padding: 0 5px; color: var(--navy); font-weight: 800; }
.rating-field > p { margin: -2px 0 8px; color: var(--ink-soft); font-size: .76rem; }
.rating-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.rating-options label { position: relative; }
.rating-options input { position: absolute; opacity: 0; }
.rating-options span { display: grid; place-items: center; min-height: 42px; border: 1px solid #bdcbd2; border-radius: 8px; cursor: pointer; }
.rating-options input:checked + span { color: white; background: var(--spruce); border-color: var(--spruce); }
.rating-scale { display: flex; justify-content: space-between; margin-top: 3px; color: var(--ink-soft); font-size: .68rem; }
.check-row { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; margin: 14px 0; }
.check-row input { width: 20px; min-height: 20px; margin-top: 3px; }
.check-row span { font-size: .9rem; }
.rules-box { padding: 16px; background: var(--cloud); border-radius: 12px; }
.rules-box h3 { margin-top: 0; font-size: 1rem; }
.rules-box ul { margin-bottom: 0; padding-left: 20px; }
.character-count { text-align: right; }
.notice { padding: 14px 16px; color: var(--warning); background: var(--warning-bg); border: 1px solid #e9d18f; border-radius: 11px; }
.notice.error { color: var(--danger); background: var(--danger-bg); border-color: #efb9b9; }
.notice.success { color: #17604f; background: var(--spruce-soft); border-color: #abd5c7; }
.notice.compact { margin: 14px 0; padding: 9px 11px; font-size: .8rem; }
.cf-turnstile { margin: 18px 0; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-card h2 { margin: 10px 0 8px; font-size: 1.3rem; }
.guide-card p { color: var(--ink-soft); }
.guide-card footer { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: .77rem; }
.article { padding: 48px 0 72px; }
.article-header { max-width: 820px; }
.article-header h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.article-meta { display: flex; gap: 16px; margin-top: 16px; color: var(--ink-soft); font-size: .82rem; }
.article-body { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 50px; align-items: start; margin-top: 42px; }
.article-body section { margin-bottom: 42px; }
.article-body h2 { font-size: 1.55rem; }
.article-body li { margin: 8px 0; }
.article-aside { position: sticky; top: 100px; padding: 18px; background: var(--cloud); border-radius: 14px; }
.article-aside h2 { margin-top: 0; font-size: 1rem; }
.article-aside a { display: block; margin: 8px 0; font-size: .85rem; }
.source-list { margin-top: 32px; padding: 18px; background: #f7faf9; border-top: 2px solid var(--spruce); }
.source-list h2 { font-size: 1rem; }
.source-list a[rel~="nofollow"]::after { content: " ↗"; }

.policy { padding: 48px 0 72px; }
.policy h1 { font-size: clamp(2rem, 4vw, 3rem); }
.policy h2 { margin-top: 38px; font-size: 1.35rem; }
.policy h3 { margin-top: 26px; font-size: 1.05rem; }
.policy li { margin: 7px 0; }
.policy .effective { color: var(--ink-soft); font-size: .85rem; }
.policy-related { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); margin-top: 38px; padding-top: 16px; }
.policy-related h2 { flex-basis: 100%; margin: 0 0 4px; font-size: 1.1rem; }
.policy-related a { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { padding: 42px 22px; text-align: center; background: var(--cloud); border: 1px dashed #aebdc5; border-radius: var(--radius); }
.empty-state h2 { margin: 12px 0 5px; }
.empty-state p { max-width: 520px; margin: 0 auto 18px; color: var(--ink-soft); }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: auto; color: white; background: var(--spruce); border-radius: 50%; font-size: 1.5rem; }

.admin-grid { display: grid; gap: 16px; }
.admin-card { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.admin-card header { display: flex; justify-content: space-between; gap: 18px; }
.admin-card pre { white-space: pre-wrap; font-family: inherit; }
.status-badge.pending { color: #805500; background: var(--warning-bg); }
.status-badge.approved { color: #17604f; background: var(--spruce-soft); }
.moderation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.moderation-actions .button { min-height: 38px; padding: 7px 12px; font-size: .82rem; }

.site-footer { padding: 48px 0 20px; color: #d3e0e7; background: #0f2a3b; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 42px; }
.footer-brand { color: white; }
.footer-brand small { color: #b7c8d0; }
.site-footer h2 { margin: 0 0 12px; color: white; font-size: .95rem; }
.site-footer a:not(.brand) { display: block; margin: 7px 0; color: #d3e0e7; font-size: .84rem; }
.site-footer p { max-width: 360px; }
.fine-print { color: #9db1bc; font-size: .77rem; }
.footer-bottom { margin-top: 32px; padding-top: 15px; border-top: 1px solid #315064; color: #93aab6; font-size: .75rem; }

@media (max-width: 900px) {
  .site-header nav > a:not(.nav-cta), .site-header nav .inline-form { display: none; }
  .home-grid, .growth-card, .property-layout, .article-body { grid-template-columns: 1fr; }
  .home-image { min-height: 270px; }
  .home-image img { min-height: 270px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .area-layout { grid-template-columns: 1fr; }
  .area-sidebar, .sticky-cta, .article-aside { position: static; }
  .area-sidebar { display: none; }
  .review-facts { grid-template-columns: repeat(2, 1fr); }
  .article-body { gap: 20px; }
}

@media (max-width: 640px) {
  .shell, .narrow { width: min(100% - 28px, var(--shell)); }
  .header-inner { min-height: 66px; }
  .brand-mark { width: 34px; height: 34px; }
  .site-header .nav-cta { padding: 8px 12px; font-size: .82rem; }
  .home-intro { padding-top: 32px; }
  .home-grid { gap: 28px; }
  .home-image { min-height: 220px; }
  .home-image img { min-height: 220px; }
  .address-search { padding: 15px; }
  .search-row { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 8px; }
  .stats-strip { grid-template-columns: 1fr; }
  .property-grid, .guide-grid, .field-grid, .score-grid, .footer-grid { grid-template-columns: 1fr; }
  .growth-card { padding: 24px; }
  .growth-steps { grid-template-columns: 1fr; }
  .property-title-row { display: block; }
  .property-summary-score { margin-top: 16px; text-align: left; }
  .review-card { padding: 18px; }
  .review-card > header, .review-card > footer { display: block; }
  .rent-chip { display: inline-block; margin-top: 10px; }
  .review-actions { margin-top: 8px; }
  .score-row { grid-template-columns: 104px 1fr 18px; }
  .form-card { border-radius: 16px; }
  .progress-list li { font-size: 0; }
  .progress-list li::before { content: attr(data-short); font-size: .75rem; }
  .radio-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Sumumae: a quiet canvas for finding a home through lived experience. */
body { background: var(--cloud); letter-spacing: .015em; }
[hidden] { display: none !important; }
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #af6a43; outline-offset: 4px; }
.site-header { background: #fffefb; border-color: var(--line); backdrop-filter: none; }
.header-inner { min-height: 80px; }
.brand { gap: 9px; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 700; letter-spacing: -.075em; }
.brand small { font-size: .62rem; letter-spacing: .035em; text-transform: none; }
.brand-mark { width: 34px; height: 37px; background: #e9efe2; border-radius: 15px 15px 6px 6px; color: var(--navy); box-shadow: none; font-family: Georgia, serif; font-size: 1.35rem; }
.site-header nav { gap: 28px; }
.site-header nav > a { min-height: 44px; display: inline-flex; align-items: center; font-size: .85rem; }
.site-header .nav-cta { min-height: 44px; padding: 10px 20px; border-radius: 9px; font-weight: 650; }
.button { min-height: 46px; border-radius: 9px; font-size: .88rem; font-weight: 650; transition: background .15s, border-color .15s; }
.button.secondary { border-color: #cad4c9; }
.button.ghost { background: #eef1e9; }
.button:disabled { opacity: .55; cursor: wait; }
input, select, textarea { border-color: #cfd6cb; border-radius: 9px; }
input::placeholder, textarea::placeholder { color: #81877f; }
h1, h2, h3 { font-weight: 650; }
.eyebrow { font-weight: 650; letter-spacing: .035em; }
.explore-page { padding-top: 32px; padding-bottom: 40px; }
.explore-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.explore-heading h1 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); letter-spacing: -.035em; line-height: 1.5; }
.explore-heading p { margin: 5px 0 0; color: var(--ink-soft); font-size: .86rem; }
.city-chip { display: inline-flex; align-items: center; flex-shrink: 0; gap: 8px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 30px; background: #fffefb; color: var(--navy); font-size: .8rem; }
.city-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #749378; }
.explore-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 15px 18px; margin-bottom: 20px; background: #fffefb; border: 1px solid var(--line); border-radius: 14px; }
.explore-filters > label, .explore-filters > .field { flex: 1 1 190px; max-width: 320px; margin: 0; color: var(--ink-soft); font-size: .75rem; }
.explore-filters label > span { display: block; margin-bottom: 4px; }
.explore-filters select, .explore-filters input { display: block; margin-top: 4px; min-height: 44px; padding: 9px 11px; font-size: .86rem; background: white; }
.explore-filters > button { min-height: 44px; }
.explore-filters details { font-size: .83rem; }
.explore-filters details[open] { flex-basis: 100%; }
.explore-filters summary { padding: 10px 4px; cursor: pointer; }
.explore-layout { display: grid; grid-template-columns: minmax(290px, .39fr) minmax(0, .61fr); gap: 22px; align-items: start; }
.explore-results { min-width: 0; }
.explore-results-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 14px; }
.explore-results-header h2 { margin: 0; font-size: 1.02rem; }
.explore-results-header p, .explore-results-header > span, .explore-results-header small { margin: 0; color: var(--ink-soft); font-size: .76rem; }
.explore-results .property-grid { grid-template-columns: 1fr; gap: 12px; }
.explore-cards { display: grid; gap: 12px; }
.explore-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.explore-pagination > span { color: var(--ink-soft); font-size: .75rem; }
.explore-pagination > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 68px; padding: 8px 13px; border: 1px solid #cad4c9; border-radius: 9px; color: var(--navy); background: #fffefb; font-size: .78rem; text-decoration: none; }
.explore-pagination > a:hover { background: var(--spruce-soft); border-color: #aebfa9; }
.explore-filters .optional-fields { margin: 0; padding: 0; border: 0; }
.explore-filters .optional-fields > summary { font-weight: 500; }
.explore-map-panel { position: sticky; top: 100px; min-width: 0; overflow: hidden; border: 1px solid #dce2d5; border-radius: 18px; background: #e9eddf; }
.explore-map { height: min(66vh, 650px); min-height: 430px; width: 100%; z-index: 0; background: #e8eddf; }
.map-caption { margin: 0; padding: 10px 14px; background: #fffefb; color: var(--ink-soft); font-size: .7rem; line-height: 1.6; }
.map-caption p { margin: 0; }
.leaflet-container { font-family: inherit; }
.leaflet-container a { color: var(--navy); }
.leaflet-container .leaflet-control-attribution { font-size: 10px; background: rgba(255,254,251,.94); }
.leaflet-container .leaflet-bar { border: 1px solid #d7decf; box-shadow: 0 2px 9px #29403315; }
.leaflet-container .leaflet-bar a { width: 34px; height: 34px; line-height: 34px; color: var(--navy); background: #fffefb; }
.address-lookup { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 10px; }
.address-lookup > summary { min-height: 44px; padding-block: 10px; font-size: .8rem; color: var(--ink-soft); cursor: pointer; }
.address-lookup .address-search { max-width: none; margin-top: 10px; box-shadow: none; }
.explore-guides { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.explore-guides h2 { margin: 0 0 8px; font-size: 1rem; }
.explore-guides p { margin: 0; color: var(--ink-soft); font-size: .85rem; line-height: 1.9; }
.explore-guides a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.explore-about { max-width: 760px; margin-top: 34px; }
.explore-about h2 { margin: 0 0 12px; font-size: 1.25rem; }
.explore-about p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.8; }
.explore-view-toggle { display: none; }
.property-card { border-radius: 13px; box-shadow: none; }
.property-card:hover { transform: none; border-color: #aebfa9; box-shadow: 0 3px 15px #2a43200a; }
.card-link { padding: 21px; }
.property-card h3 { margin-top: 12px; font-size: 1.15rem; }
.type-badge { font-weight: 500; padding: 4px 9px; }
.type-badge.shared_house { color: #4b6553; background: #eff3e9; }
.type-badge.homestay { color: #8b6245; background: #f6ede2; }
.property-card-meta { margin-top: 15px; font-size: .76rem; }
.property-card-excerpt, .review-excerpt { margin: 14px 0 0; font-size: .86rem; line-height: 1.85; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-read-more { display: block; margin-top: 14px; color: var(--navy); font-size: .8rem; font-weight: 650; }
.empty-state { padding: 30px 22px; border: 1px solid var(--line); background: #fffefb; border-radius: 16px; }
.empty-state h2 { font-size: 1.1rem; margin-top: 17px; line-height: 1.65; }
.empty-state p { font-size: .82rem; line-height: 1.9; max-width: 310px; margin-top: 8px; }
.empty-icon { color: var(--navy); width: 68px; height: 64px; background: #edf1e5; border-radius: 32px 32px 18px 18px; font-size: 2.1rem; position: relative; }
.empty-icon::after { content: ""; position: absolute; width: 10px; height: 15px; right: -3px; bottom: 6px; border-radius: 9px 2px 9px 2px; transform: rotate(20deg); background: #c4d3b1; }
.page-hero, .property-hero { background: var(--cloud); }
.page-hero h1, .property-title-row h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section { padding: 42px 0; }
.property-summary-score { border-radius: 12px; }
.property-summary-score strong { font-size: 1.65rem; }
.review-card { border-radius: 14px; }
.review-facts > div { background: #f8f9f4; }
.review-card blockquote { background: #f8f9f4; border-left-color: #a9bc9f; }
.review-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.review-card > .score-grid { margin-top: 22px; }
.review-more { margin-top: 18px; border-top: 1px solid var(--line); }
.review-more > summary, .review-actions-menu > summary { display: flex; align-items: center; gap: 9px; min-height: 44px; width: fit-content; max-width: 100%; padding: 10px 3px; color: var(--ink-soft); font-size: .78rem; line-height: 1.6; list-style: none; border-radius: 4px; cursor: pointer; }
.review-more > summary::-webkit-details-marker, .review-actions-menu > summary::-webkit-details-marker { display: none; }
.review-more > summary::after, .review-actions-menu > summary::after { content: ""; width: 6px; height: 6px; margin: -3px 3px 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.review-more[open] > summary::after, .review-actions-menu[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.review-more > summary:hover, .review-actions-menu > summary:hover { color: var(--navy); }
.review-more[open] > summary { color: var(--navy); }
.review-more .review-facts { margin-top: 5px; }
.review-more > .score-grid { padding-bottom: 10px; }
.review-actions-menu { max-width: 100%; }
.review-actions-menu > summary { padding-top: 0; padding-bottom: 0; min-height: 44px; margin-top: -10px; margin-bottom: -10px; }
.review-actions-menu[open] > summary { margin-bottom: 0; }
.review-actions-menu .review-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 5px 12px; margin-top: 4px; border: 1px solid var(--line); border-radius: 9px; background: #fafbf7; }
.review-actions-menu .review-actions a { font-size: .75rem; text-decoration: none; }
.review-actions-menu .review-actions a + a { border-top: 1px solid var(--line); }
.form-shell { padding-top: 36px; }
.form-card { border-radius: 18px; box-shadow: none; }
.form-card h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-intro { font-size: .88rem; }
.progress-list { gap: 0; border-bottom: 1px solid var(--line); }
.progress-list li, .progress-list li.is-active, .progress-list li.is-complete { border-radius: 0; background: transparent; padding: 13px 4px; font-weight: 500; }
.progress-list li.is-active { color: var(--navy); border-bottom: 3px solid var(--navy); font-weight: 700; }
.progress-list li.is-complete { color: var(--spruce); }
.form-step > h2 { font-size: 1.2rem; }
.field label, .field > span, .field legend, .rating-field legend { font-weight: 650; font-size: .9rem; }
.rating-field { padding: 15px 17px; border-color: #e5e8de; }
.rating-options span { min-height: 46px; border-color: #cfd6cb; }
.rating-options input:focus-visible + span, .radio-cards input:focus-visible + span { outline: 3px solid #af6a43; outline-offset: 3px; }
.optional-fields { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-block: 22px; }
.optional-fields > summary { cursor: pointer; color: var(--navy); font-weight: 650; font-size: .88rem; min-height: 44px; align-content: center; }
.review-preview { background: #f8f9f4; padding: 22px; border: 1px solid var(--line); border-radius: 12px; margin: 20px 0; }
.review-preview h3 { margin-top: 0; }
.site-footer { background: #f0f2e9; color: var(--ink-soft); border-top: 1px solid #e0e5d7; padding-top: 34px; }
.footer-brand, .footer-brand:hover, .site-footer h2 { color: var(--navy); }
.footer-brand small, .site-footer a:not(.brand), .fine-print, .footer-bottom { color: var(--ink-soft); }
.site-footer h2 { font-size: .8rem; font-weight: 650; }
.site-footer a:not(.brand) { font-size: .76rem; }
.site-footer p { font-size: .8rem; }
.footer-bottom { border-color: #d7dfcf; margin-top: 24px; }
@media (max-width: 900px) {
  .site-header nav > a:not(.nav-cta) { display: inline-flex; }
  .site-header nav .inline-form { display: none; }
  .explore-layout { grid-template-columns: minmax(260px,.43fr) minmax(0,.57fr); gap: 15px; }
  .explore-heading { gap: 15px; }
  .explore-heading h1 { font-size: 1.6rem; }
}
@media (max-width: 700px) {
  .shell, .narrow { width: calc(100% - 32px); }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand strong { font-size: 1.75rem; }
  .brand-mark { display: none; }
  .brand small { font-size: .55rem; }
  .site-header nav { gap: 14px; }
  .site-header nav > a { font-size: .77rem; }
  .site-header .nav-cta { font-size: .76rem; padding: 9px 13px; }
  .explore-page { padding-top: 16px; }
  .explore-heading { position: relative; display: block; margin-bottom: 14px; }
  .explore-heading h1 { font-size: clamp(1.18rem, 4.7vw, 1.6rem); }
  .explore-heading p { font-size: .7rem; line-height: 1.7; }
  .explore-heading .eyebrow { margin: 0 0 8px; padding-right: 85px; }
  .city-chip { position: absolute; top: -2px; right: 0; font-size: .6rem; padding: 3px 7px; gap: 5px; margin: 0; }
  .explore-filters { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; padding: 10px 12px 2px; gap: 2px 10px; margin-bottom: 8px; border-radius: 12px; }
  .explore-filters > label, .explore-filters > .field { min-width: 0; max-width: none; font-size: .66rem; }
  .explore-filters select, .explore-filters input { font-size: 16px; padding-inline: 8px; }
  .explore-filters > .button { grid-column: 2; grid-row: 1; padding-inline: 13px; font-size: .75rem; }
  .explore-filters .optional-fields { grid-column: 1 / -1; grid-row: 2; }
  .explore-filters .optional-fields > summary { min-height: 36px; padding: 6px 0; font-size: .7rem; }
  .explore-filters .optional-fields[open] { padding-bottom: 10px; }
  .explore-filters .text-link { grid-column: 1 / -1; min-height: 36px; font-size: .72rem; }
  .explore-layout { display: flex; flex-direction: column; gap: 0; }
  .explore-map-panel { position: relative; top: auto; width: 100%; order: -1; border-radius: 14px; }
  .explore-map { height: 340px; min-height: 280px; }
  .map-caption { font-size: .64rem; padding: 8px 11px; }
  .explore-results { width: 100%; padding: 19px 0 0; }
  .explore-results-header { margin-bottom: 12px; }
  .explore-results-header h2 { font-size: .94rem; }
  .explore-view-toggle { display: flex; gap: 3px; width: max-content; padding: 3px; margin: 0 0 10px auto; background: #eaeede; border-radius: 9px; }
  .explore-view-toggle button { min-height: 44px; padding: 7px 18px; font-size: .78rem; background: transparent; color: var(--ink-soft); border: 0; border-radius: 7px; cursor: pointer; }
  .explore-view-toggle button[aria-pressed="true"] { color: var(--navy); background: #fffefb; box-shadow: 0 1px 3px #1f3b2710; }
  .explore-page[data-view="list"] .explore-map-panel { display: none; }
  .explore-page[data-view="list"] .explore-results { padding-top: 4px; }
  .empty-state { padding: 22px 18px; }
  .empty-state h2 { font-size: 1rem; }
  .empty-icon { width: 52px; height: 49px; font-size: 1.65rem; }
  .form-shell { padding-top: 20px; }
  .form-card { padding: 23px 19px; }
  .form-card .radio-cards { grid-template-columns: 1fr 1fr; }
  .radio-cards span { padding: 12px 10px; }
  .rating-options { gap: 6px; }
  .review-preview { padding: 16px; }
  .review-actions-menu { margin-top: 8px; }
  .review-actions-menu > summary { margin: 0; }
  .review-actions-menu .review-actions { margin-top: 0; }
  .review-more > .score-grid { gap: 12px; }
  .property-hero { padding: 16px 0 18px; }
  .property-hero .breadcrumbs { margin-bottom: 12px; }
  .property-hero .breadcrumbs ol { gap: 3px; font-size: .66rem; line-height: 1.6; }
  .property-hero .breadcrumbs li:last-child { overflow-wrap: anywhere; }
  .property-title-row { display: block; }
  .property-title-row h1 { margin-top: 7px; font-size: 1.45rem; line-height: 1.35; }
  .property-title-row h1 small { display: inline-block; color: var(--ink-soft); font-size: .86rem; font-weight: 500; letter-spacing: 0; overflow-wrap: anywhere; }
  .property-summary-score { display: inline-flex; align-items: baseline; gap: 5px; min-width: 0; margin-top: 8px; padding: 0; border: 0; background: transparent; }
  .property-summary-score strong { display: inline; font-size: 1rem; }
  .property-summary-score span { font-size: .74rem; }
  .privacy-banner { display: block; margin-top: 12px; padding: 9px 11px; font-size: .72rem; line-height: 1.7; border-radius: 9px; }
  .privacy-banner strong { display: inline; margin-right: 8px; white-space: nowrap; font-weight: 650; }
  .property-hero + .section { padding-top: 22px; }
  .property-layout .section-heading { margin-bottom: 15px; }
  .property-layout .section-heading h2 { font-size: 1.1rem; }
  .property-layout .section-heading p { margin-top: 6px; font-size: .74rem; line-height: 1.7; }
  .footer-grid { gap: 24px; }
}
