:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1f1d1a;
  --muted: #6b655c;
  --line: #e6dfd3;
  --accent: #8a3b2a;
  --accent-ink: #ffffff;
  --indigo: #243a5e;
  --radius: 14px;
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --surface: #1f1d1a;
    --ink: #f1ece4;
    --muted: #a9a196;
    --line: #34302a;
    --accent: #d9826c;
    --accent-ink: #1a0f0c;
    --indigo: #9fb4d6;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: "Noto Serif JP", serif; font-weight: 600; letter-spacing: .04em; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.brand small { display: block; font-family: inherit; font-size: .7rem; color: var(--muted); letter-spacing: .12em; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 20px; font-size: .9rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 12px 24px; border-radius: 999px; text-decoration: none; font-weight: 600;
  letter-spacing: .03em; border: 0;
}
.btn:hover { filter: brightness(1.08); }
.nav .btn { padding: 8px 18px; color: var(--accent-ink); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* hero */
.hero { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.6)); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 56px; }
.hero h1 { font-family: "Noto Serif JP", serif; font-weight: 600; font-size: clamp(1.8rem, 4.5vw, 3.2rem); line-height: 1.35; margin: 0 0 12px; }
.hero p { margin: 0 0 24px; font-size: clamp(1rem, 1.8vw, 1.15rem); max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 0; list-style: none; }
.chips li { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }

/* sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 6px; }
h2 { font-family: "Noto Serif JP", serif; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 24px; line-height: 1.4; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }
.lead { font-size: 1.05rem; max-width: 760px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.stat { font-family: "Noto Serif JP", serif; font-size: 1.6rem; color: var(--indigo); line-height: 1.2; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* lists */
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.list li:last-child { border-bottom: 0; }
.amen { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.amen li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
table.access { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.access td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
table.access td:last-child { text-align: right; color: var(--muted); white-space: nowrap; }
.plan { background: #fff; border-radius: var(--radius); padding: 12px; border: 1px solid var(--line); }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* policy */
.policy { border-left: 4px solid var(--accent); }
.policy dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.policy dt { font-weight: 600; }
.policy dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .policy dl { grid-template-columns: 1fr; } .policy dd { margin-bottom: 8px; } }

/* booking */
#book { background: var(--surface); }
.booking-frame { width: 100%; height: 780px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }




/* ---- multi-property additions ---- */
@media (prefers-color-scheme: dark) { .booking-frame, .plan { background: #fff; } }
.hero-area { font-size: .85rem; letter-spacing: .15em; opacity: .9; margin: 0 0 6px !important; }
.hero-top { min-height: 86vh; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.search-frame { height: 1700px; }
@media (max-width: 760px) { .booking-frame { height: 1150px; } .search-frame { height: 2200px; } }

/* search bar */
.searchbar { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px; align-items: end;
  background: rgba(255,255,255,.95); color: #1f1d1a; padding: 14px; border-radius: var(--radius); max-width: 760px; }
.searchbar label { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; color: #6b655c; }
.searchbar input, .searchbar select { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #e6dfd3; border-radius: 10px; background: #fff; color: #1f1d1a; width: 100%; min-height: 46px; }
.searchbar .btn { min-height: 46px; }
@media (max-width: 640px) { .searchbar { grid-template-columns: 1fr 1fr; } .searchbar label:first-of-type { grid-column: 1 / -1; } .searchbar .btn { grid-column: 1 / -1; } }

/* property cards */
.pgrid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.pcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pcard-body { padding: 16px 18px 18px; }
.pcard h3 { font-family: "Noto Serif JP", serif; font-size: 1.2rem; margin: 0; }
.pcard-sub { margin: 2px 0 10px; color: var(--muted); font-size: .82rem; }
.pcard-sta { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.meta li { font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.meta li:nth-child(3) { border-color: var(--accent); color: var(--accent); }

/* long text from listings */
.prose h4 { font-size: 1rem; margin: 22px 0 6px; color: var(--indigo); }
.prose h4:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 1.2em; }
.prose li { margin: 2px 0; }
.card.prose p, .card.prose li { color: var(--muted); font-size: .93rem; }
.columns { column-width: 340px; column-gap: 40px; }
.columns h4 { break-after: avoid; }
.columns ul, .columns p { break-inside: avoid-column; }
.lead.prose p { font-size: 1.02rem; }

/* footer */
footer { padding: 48px 0; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 24px; }
.foot-title { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
@media (max-width: 560px) { .wrap { padding: 0 16px; } section { padding: 56px 0; } .nav { gap: 10px; } .nav .btn { padding: 8px 14px; } }
.nav .btn, .nav .lang { white-space: nowrap; }
@media (max-width: 560px) {
  .brand { font-size: .95rem; }
  .brand small { font-size: .6rem; letter-spacing: .06em; white-space: nowrap; }
  .hero h1 { font-size: 1.45rem; }
  .hero h1 br { display: none; }
  .hero .wrap { padding-bottom: 28px; }
  .hero p { font-size: .92rem; }
  .hero-top { min-height: 92vh; }
  .chips li { font-size: .75rem; }
}
