/* ==========================================================
   霧里町 移住ポータル（デモ）  共通スタイル
   Palette: 霧白 / 苔 / 杉 / 土 / 柿
   ========================================================== */
:root {
  color-scheme: light;
  --bg: #f2f4ef;          /* 霧白 */
  --surface: #ffffff;
  --surface-2: #e6ebe3;   /* 霧 */
  --ink: #1d2820;         /* 墨緑 */
  --ink-soft: #4d5a50;
  --line: #cfd8cc;
  --moss: #3f5d3c;        /* 苔 */
  --moss-deep: #2a4029;   /* 杉 */
  --soil: #7a5b3e;        /* 土 */
  --kaki: #c9651e;        /* 柿 */
  --kaki-ink: #ffffff;
  --on-photo: #ffffff;
  --shade: rgba(16, 24, 18, .55);
  --radius: 6px;
  --maxw: 1160px;
  --f-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --header-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121814;
    --surface: #1a221c;
    --surface-2: #222c25;
    --ink: #e4ebe2;
    --ink-soft: #a9b5aa;
    --line: #334036;
    --moss: #8fb887;
    --moss-deep: #0d140f;
    --soil: #c9a57f;
    --kaki: #e8894a;
    --kaki-ink: #1a120b;
    --shade: rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121814;
  --surface: #1a221c;
  --surface-2: #222c25;
  --ink: #e4ebe2;
  --ink-soft: #a9b5aa;
  --line: #334036;
  --moss: #8fb887;
  --moss-deep: #0d140f;
  --soil: #c9a57f;
  --kaki: #e8894a;
  --kaki-ink: #1a120b;
  --shade: rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.hero-meta dd, .hero-meta dl { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--kaki); }
:focus-visible { outline: 3px solid var(--kaki); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.45; letter-spacing: .06em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.prose { max-width: 38em; }
.prose > * + * { margin-top: 1.1em; }
.muted { color: var(--ink-soft); }
.num { font-family: var(--f-display); font-variant-numeric: tabular-nums; }

/* ---------- Demo notice ---------- */
.demo-bar { background: var(--moss-deep); color: #dfe8dc; font-size: .78rem; text-align: center; padding: 6px 16px; letter-spacing: .08em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, 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; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: .14em; }
.logo-text small { font-size: .68rem; color: var(--ink-soft); letter-spacing: .12em; }

.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-size: .92rem; border-radius: var(--radius); }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--moss); font-weight: 700; box-shadow: inset 0 -2px 0 var(--moss); border-radius: 0; }
.nav .nav-cta a { background: var(--kaki); color: var(--kaki-ink); font-weight: 700; border-radius: 999px; padding-inline: 18px; box-shadow: none; }
.nav .nav-cta a:hover { filter: brightness(1.08); color: var(--kaki-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: .85rem; cursor: pointer; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 20px; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--moss); padding-left: 14px; }
  .nav .nav-cta a { margin-top: 12px; text-align: center; border: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--kaki); color: var(--kaki-ink); }
.btn-primary:hover { color: var(--kaki-ink); filter: brightness(1.08); }
.btn-ghost { border-color: currentColor; color: var(--moss); background: transparent; }
.btn-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-light:hover { color: #fff; background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero (top) ---------- */
.hero { position: relative; color: var(--on-photo); 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(90deg, rgba(10,18,12,.72) 0%, rgba(10,18,12,.35) 55%, rgba(10,18,12,.1) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: end; padding-block: 88px 72px; min-height: 560px; }
.hero-tate { writing-mode: vertical-rl; font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.5; letter-spacing: .24em; font-weight: 800; margin: 0; align-self: start; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-tate span { display: block; }
.hero-tate span + span { margin-top: 2.2em; }
.hero-body { max-width: 30em; }
.hero-body .eyebrow { color: #f3d7bd; }
.hero-body p { font-size: 1.02rem; }
.hero-body .btn-row { margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35); font-size: .8rem; letter-spacing: .08em; }
.hero-meta b { display: block; font-family: var(--f-display); font-size: 1.4rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 56px 48px; min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(10,18,12,.45), rgba(10,18,12,.78)); }
  .hero-tate { font-size: 1.9rem; max-height: 12em; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; color: var(--on-photo); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,12,.72), rgba(10,18,12,.25)); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 96px 44px; }
.page-hero .eyebrow { color: #f3d7bd; }
.page-hero p.lead { margin-top: 12px; max-width: 34em; }
.crumbs { font-size: .78rem; margin-bottom: 14px; opacity: .9; }
.crumbs a { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section.tint { background: var(--surface-2); }
.section.dark { background: var(--moss-deep); color: #e4ebe2; }
.section.dark .eyebrow { color: #f0b98c; }
.section.dark .muted { color: #b7c4b5; }
.eyebrow { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .24em; color: var(--kaki); margin-bottom: 10px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 44px; }
.sec-head p { max-width: 32em; }
@media (max-width: 720px) { .section { padding-block: 60px; } .sec-head { margin-bottom: 30px; } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse > :first-child { order: 0; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; max-width: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover .card-img img { transform: scale(1.04); }
a.card:hover h3 { color: var(--moss); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body .more { margin-top: auto; padding-top: 8px; font-size: .85rem; font-weight: 700; color: var(--kaki); }

/* ---------- Photo link tiles (top page) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,14,10,.8)); }
.tile:hover img { transform: scale(1.05); }
.tile:hover { color: #fff; }
.tile-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px; }
.tile-body small { letter-spacing: .2em; font-size: .72rem; color: #f3d7bd; }
.tile-body h3 { font-size: 1.35rem; margin: 2px 0 6px; }
.tile-body p { font-size: .85rem; opacity: .92; line-height: 1.7; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { aspect-ratio: 1 / 1; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 10; } }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 24px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact dt { font-size: .78rem; color: var(--ink-soft); letter-spacing: .12em; }
.fact dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 2rem; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.fact dd small { font-size: .9rem; margin-left: 2px; }
.fact .note { display: block; font-family: var(--f-body); font-size: .76rem; font-weight: 400; color: var(--ink-soft); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- News ---------- */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 7.5em 6.5em 1fr; gap: 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.news time { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .9rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--moss); color: var(--moss); text-align: center; white-space: nowrap; }
.tag.kaki { border-color: var(--kaki); color: var(--kaki); }
.tag.soil { border-color: var(--soil); color: var(--soil); }
@media (max-width: 600px) { .news li { grid-template-columns: auto 1fr; } .news li > span:last-child { grid-column: 1 / -1; } }

/* ---------- Quote band ---------- */
.band { position: relative; color: #fff; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(8,14,10,.55); }
.band .wrap { position: relative; z-index: 1; padding-block: 110px; text-align: center; }
.band blockquote { margin: 0 auto; font-family: var(--f-display); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.9; max-width: 22em; }
.band cite { display: block; margin-top: 18px; font-style: normal; font-size: .85rem; letter-spacing: .12em; opacity: .9; }

/* ---------- CTA ---------- */
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cta-box h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-box p { margin-top: 8px; }
.tel { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: .06em; user-select: all; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .93rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-2); font-size: .8rem; letter-spacing: .1em; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.amount { font-family: var(--f-display); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-bar { height: 8px; border-radius: 4px; background: var(--moss); }
.cost-bar.city { background: var(--ink-soft); opacity: .45; }

/* ---------- Season (二十四節気) ---------- */
.season { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-block: 56px; border-top: 1px solid var(--line); }
.season:first-of-type { border-top: 0; }
.season-name { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.season-name .kanji { font-family: var(--f-display); font-size: 4.6rem; line-height: 1; font-weight: 800; color: var(--moss); }
.season-name .months { display: block; margin-top: 8px; font-size: .85rem; color: var(--ink-soft); letter-spacing: .12em; }
.sekki { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sekki span { font-size: .75rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-soft); background: var(--surface); }
.season-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.season-body .split-img { aspect-ratio: 4 / 3; }
.season-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.season-list li { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; font-size: .93rem; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.season-list b { color: var(--soil); font-weight: 700; font-size: .82rem; letter-spacing: .08em; }
@media (max-width: 900px) { .season { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; } .season-name { position: static; } .season-name .kanji { font-size: 3.4rem; } .season-body { grid-template-columns: 1fr; } }

/* ---------- Timeline (1日) ---------- */
.day { list-style: none; margin: 0; padding: 0; position: relative; }
.day::before { content: ""; position: absolute; left: 4.1em; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.day li { display: grid; grid-template-columns: 3.4em 1fr; gap: 2em; padding-block: 12px; position: relative; }
.day li::before { content: ""; position: absolute; left: calc(4.1em - 5px); top: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--moss); }
.day time { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--moss); }
.day h4 { font-family: var(--f-body); font-size: 1rem; }
.day p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Housing ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-size: .88rem; padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--bg); font-weight: 700; }
.house .card-img { position: relative; }
.house .status { position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--kaki); color: var(--kaki-ink); letter-spacing: .08em; }
.house .status.nego { background: var(--soil); color: #fff; }
.house .id { font-size: .75rem; color: var(--ink-soft); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.price { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font-size: .85rem; font-weight: 400; margin-left: 2px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: .86rem; margin: 6px 0 0; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; font-variant-numeric: tabular-nums; }
.empty-msg { padding: 40px; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 18px 0 0; position: relative; }
.steps li::before { content: "STEP " counter(step); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--kaki); }
.steps li::after { content: ""; position: absolute; top: 9px; left: 5.6em; right: 18px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.08rem; margin: 10px 0 6px; }
.steps p { font-size: .87rem; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 22px; } .steps li { padding: 0 0 0 18px; border-left: 2px solid var(--line); } .steps li::after { display: none; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-display); color: var(--kaki); margin-right: 12px; font-size: 1.1rem; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 1.4rem; color: var(--moss); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px 28px; color: var(--ink-soft); max-width: 44em; }

/* ---------- Voices ---------- */
.voice { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; padding-block: 56px; border-top: 1px solid var(--line); }
.voice:first-child { border-top: 0; padding-top: 0; }
.voice .split-img { aspect-ratio: 4 / 5; }
.voice-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.voice h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.voice .qa { display: grid; gap: 18px; margin-top: 8px; }
.voice .qa h4 { font-family: var(--f-body); font-size: .92rem; color: var(--moss); }
.voice .qa p { margin-top: 4px; }
.voice .pull { font-family: var(--f-display); font-size: 1.15rem; padding: 18px 22px; background: var(--surface-2); border-radius: var(--radius); }
@media (max-width: 860px) { .voice { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; } .voice .split-img { aspect-ratio: 16 / 10; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.req { font-size: .7rem; font-weight: 700; color: var(--kaki-ink); background: var(--kaki); padding: 1px 8px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: var(--moss); }
.field .hint { font-size: .8rem; color: var(--ink-soft); }
.field .error { font-size: .82rem; color: var(--kaki); font-weight: 700; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.checks input { accent-color: var(--moss); width: 18px; height: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form { padding: 24px 18px; } .two-col { grid-template-columns: 1fr; } }
.done { padding: 40px; background: var(--surface); border: 1px solid var(--moss); border-radius: var(--radius); }
.done h2 { color: var(--moss); font-size: 1.5rem; }

.aside-box { background: var(--surface-2); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.aside-box h3 { font-size: 1.1rem; }
.aside-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.aside-box dt { color: var(--ink-soft); }
.aside-box dd { margin: 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Map (illustrated) ---------- */
.map-figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.map-figure svg { width: 100%; height: auto; display: block; }
.map-figure figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--moss-deep); color: #cdd8ca; padding-block: 64px 28px; font-size: .88rem; }
.site-footer a { color: #e4ebe2; text-decoration: none; }
.site-footer a:hover { color: #f0b98c; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: #b7c4b5; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer h4 { font-family: var(--f-body); font-size: .78rem; letter-spacing: .2em; color: #f0b98c; margin-bottom: 14px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .76rem; color: #9fae9d; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; background: var(--moss); color: var(--bg); border: 0; cursor: pointer; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(0,0,0,.2); z-index: 40; }
