:root {
  --bg: #faf8f3;
  --paper: #ffffff;
  --sand: #f4efe6;
  --ink: #203632;
  --muted: #3e5550;
  --line: #e4ddd2;
  --teal: #147d83;
  --teal-deep: #0c5c61;
  --coral: #ea7863;
  --gold: #c6a24a;
  --shadow: 0 16px 40px rgba(32, 54, 50, 0.06);
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --en: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: var(--teal); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo { text-decoration: none; color: var(--ink); min-width: 0; }
.logo-ja {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.logo-en {
  display: block;
  font-family: var(--en);
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--teal-deep);
}
.menu-btn, .nav-cta, .btn {
  font: inherit;
  text-decoration: none;
  border: 1px solid var(--teal-deep);
  background: transparent;
  color: var(--ink);
  min-height: 44px;
  padding: 6px 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.15;
  cursor: pointer;
}
.menu-btn { margin-left: auto; }
.nav-cta, .btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.nav-cta:hover, .btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--sand); color: var(--ink); }
.menu-btn [lang="en"], .nav-cta [lang="en"], .btn [lang="en"] {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-cta [lang="en"], .btn-primary [lang="en"] { color: rgba(255,255,255,0.92); }

.nav-links {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px;
  flex-direction: column;
}
.nav-links.is-open { display: flex; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.nav-links a[aria-current="page"] { color: var(--teal-deep); }
.nav-links [lang="en"] {
  font-family: var(--en);
  font-size: 16px;
  color: var(--teal-deep);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.hero { padding: 28px 0 12px; }
.hero-grid { display: grid; gap: 22px; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
}
.eyebrow [lang="en"] {
  display: block;
  font-family: var(--en);
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.35; letter-spacing: 0.02em; }
h1 { font-size: clamp(26px, 7vw, 46px); margin: 0 0 12px; line-break: strict; }
h2 { font-size: clamp(26px, 5vw, 36px); margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 8px; }
h1 .en, h2 .en, h3 .en {
  display: block;
  margin-top: 6px;
  font-family: var(--en);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--teal-deep);
}
h1 .en { font-size: clamp(22px, 2.2vw, 28px); margin-top: 10px; }
h2 .en { font-size: clamp(18px, 1.8vw, 22px); margin-top: 8px; }
h3 .en { font-size: 18px; margin-top: 4px; }
p + p[lang="en"] {
  margin-top: 0.15rem;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: stretch; }
.actions .ext {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}
.actions .ext:hover { background: var(--teal-deep); color: #fff; }

.mark {
  margin: 0;
  background: transparent;
}
.mark img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.charm .mark img { aspect-ratio: 1 / 1; }

.film-wrap { margin: 0; }
.film {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 28px 16px 8px;
  overflow: hidden;
}
.film li { flex: 0 0 56px; width: 56px; height: 72px; }
.film img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
}
.film-side { display: none; }

.section { padding: 42px 0; }
.section-head { max-width: 40rem; margin-bottom: 22px; }
.kicker {
  margin: 0 0 6px;
  color: var(--teal-deep);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.kicker [lang="en"] { display: block; font-family: var(--en); letter-spacing: 0.08em; font-size: 16px; }

.doors {
  display: grid;
  gap: 12px;
}
.door {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 180px;
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.door:hover { border-color: var(--teal); color: var(--ink); }
.door {
  border-top: 3px solid var(--coral);
}
.door-no {
  font-family: var(--en);
  color: var(--teal-deep);
  font-size: 20px;
  margin: 0;
}
.door p { margin: 6px 0 0; }
.door .more { margin-top: 16px; color: var(--teal-deep); font-size: 14px; }
.door .more [lang="en"] { display: block; font-family: var(--en); font-size: 16px; }

.band { background: var(--sand); }
.charm-list { display: grid; gap: 28px; }
.charm {
  display: grid;
  gap: 14px;
  background: transparent;
}
.charm .mark img { aspect-ratio: 1 / 1; }

.cards { display: grid; gap: 14px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
}
.card p { margin: 8px 0; }
.pill {
  display: inline-block;
  border: 1px solid var(--coral);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.pill [lang="en"] { display: block; font-family: var(--en); font-size: 15px; margin-left: 0; }
.meta { color: var(--muted); font-size: 13px; margin: 0; }
.meta [lang="en"] { display: block; font-family: var(--en); font-size: 16px; color: var(--ink); }

.paths { display: grid; gap: 12px; }
.path {
  display: block;
  padding: 18px 16px;
  background: var(--paper);
  border-left: 3px solid var(--teal);
  text-decoration: none;
  color: var(--ink);
}
.path:hover { background: #fff; }
.split-note {
  margin-top: 18px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.cta-band {
  background: var(--teal-deep);
  color: #fff;
  padding: 48px 0;
}
.cta-band h2, .cta-band h2 .en, .cta-band a { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn-primary [lang="en"] { color: var(--teal-deep); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.cta-band .btn-ghost [lang="en"] { color: #fff; }

.site-footer {
  background: var(--ink);
  color: #f4efe6;
  padding: 36px 0 24px;
  font-size: 14px;
}
.site-footer a { color: #f4efe6; }
.footer-grid { display: grid; gap: 22px; }
.site-footer h2 { font-size: 16px; color: #fff; }
.site-footer h2 .en { font-size: 15px; color: #d5ebe9; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.legal {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: #d9e4e1;
  font-size: 12.5px;
}
.legal .happy {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  color: #f4efe6;
}
.vision-aside {
  max-width: 40rem;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.vision-aside a.ext,
.prose a.ext {
  line-height: 1.8;
}
.vision-aside a.ext > span[lang="en"],
.prose a.ext > span[lang="en"] {
  display: block;
  font-family: var(--en);
  font-size: 16px;
}
.ext-tag {
  display: inline-block;
  margin-left: 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 1.6;
  vertical-align: 1px;
}
.ext-tag [lang="en"]::before { content: " / "; }

.crumbs { font-size: 13px; margin: 18px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--muted); }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 0; }
.note {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin: 16px 0;
}
.journal-list { display: grid; gap: 12px; }
.journal-item {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.journal-item:hover h3 { color: var(--teal-deep); }
.journal-item h3 { font-size: 20px; margin: 0; }

.form { display: grid; gap: 14px; max-width: 38rem; }
.form label { display: grid; gap: 6px; font-size: 14px; }
.form label [lang="en"] { font-family: var(--en); font-size: 16px; color: var(--teal-deep); }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc6b8;
  padding: 10px 12px;
  width: 100%;
  min-height: 44px;
}
textarea { min-height: 140px; resize: vertical; }
.form .check { grid-template-columns: 20px 1fr; align-items: start; }
.form .check input { width: 20px; min-height: 20px; margin-top: 4px; }
.field-error { color: #8c2f2a; font-size: 14px; margin: 4px 0 0; }
.field-error [lang="en"] { display: block; }
.form-result {
  padding: 14px 16px;
  border: 1px solid var(--teal-deep);
  background: #fff;
}
.form-result.is-error { border-color: #8c2f2a; }
.form-result.is-pending { border-color: var(--teal-deep); background: var(--sand); }
.form-result [lang="en"] { display: block; font-family: var(--en); font-size: 18px; }
.help { font-size: 14px; color: var(--muted); }

.facts { width: 100%; border-collapse: collapse; background: #fff; }
.facts th, .facts td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.facts th { width: 34%; font-weight: 500; color: var(--muted); }

.map-link { display: inline-block; margin-top: 8px; }

@media (min-width: 800px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 48px 0 20px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: end; }
  .mark img { aspect-ratio: 4 / 5; }
  .doors { grid-template-columns: 1fr 1fr; gap: 14px; }
  .charm { grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
  .charm:nth-child(even) .mark { order: 2; }
  .cards, .paths { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .section { padding: 64px 0; }
}

@media (min-width: 1040px) {
  .header-inner { padding: 12px 24px; gap: 22px; }
  .menu-btn { display: none; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 18px;
    border: 0;
    padding: 0;
    margin-left: auto;
    background: transparent;
  }
  .nav-links a { border: 0; padding: 0; white-space: nowrap; }
  .nav-cta { margin-left: 8px; }
}

@media (min-width: 1320px) {
  .film-side {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 140px;
    z-index: 5;
    padding: 0;
    max-height: calc(100vh - 180px);
  }
  .film-left { left: 18px; }
  .film-right { right: 18px; }
  .film-foot { display: none; }
}

@media (max-width: 799px) {
  .film-foot { max-height: 72px; }
}

@media (max-width: 380px) {
  .logo-ja { font-size: 17px; }
  .header-inner { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
