:root {
  color-scheme: light;
  --paper: #f6efe2;
  --card: #fbf6ec;
  --ink: #23304a;
  --ink-soft: #55607a;
  --accent: #a64a22;
  --sky: #f3c79f;
  --sky-deep: #e8a878;
  --line: #d9cdb8;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.9;
  word-break: auto-phrase;
  background: var(--paper);
  color: var(--ink);
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.4;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.notice {
  padding: 8px 16px;
  font-size: 0.8125rem;
  text-align: center;
  background: var(--ink);
  color: var(--card);
}

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 16px 72px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 62%, var(--paper) 100%);
}

.nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  padding: 16px 0;
  font-size: 0.875rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: 880px;
  margin: 56px auto 0;
}

h1 {
  font-size: clamp(3rem, 11vw, 5.25rem);
  letter-spacing: 0.06em;
}

h1 span {
  display: block;
  font-size: 1.125rem;
  letter-spacing: 0.3em;
}

.catch {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  line-height: 1.8;
}

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 0.9375rem;
  text-decoration: none;
  background: var(--ink);
  color: var(--card);
}

.button:hover {
  background: var(--accent);
}

.clock {
  width: clamp(200px, 32vw, 300px);
  height: auto;
}

.clock-face {
  fill: var(--card);
  stroke: var(--ink);
  stroke-width: 6;
}

.clock-numbers text {
  font-family: var(--serif);
  font-size: 26px;
  text-anchor: middle;
  fill: var(--ink);
}

.clock-hand {
  stroke: var(--ink);
  stroke-width: 7;
  stroke-linecap: round;
}

.clock-hand-thin {
  stroke-width: 4;
}

.clock-pin {
  fill: var(--accent);
}

.drift {
  position: absolute;
  height: auto;
  fill: var(--card);
  opacity: 0.75;
  animation: drift 48s ease-in-out infinite alternate;
}

.drift-a {
  top: 96px;
  left: -40px;
  width: 200px;
  aspect-ratio: 120 / 64;
}

.drift-b {
  right: 2%;
  bottom: 28px;
  width: 280px;
  aspect-ratio: 120 / 64;
  animation-duration: 64s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(72px); }
}

/* 本文 */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 8px;
}

section:last-child {
  border-bottom: 0;
}

.label {
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.concept p:last-child {
  max-width: 36em;
}

.note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* メニュー */
.menu-list {
  list-style: none;
  padding: 8px 32px;
  border: 1px solid var(--line);
  background: var(--card);
}

.menu-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}

.menu-list li:last-child {
  border-bottom: 0;
}

.menu-list h3 {
  font-size: 1.125rem;
}

.price {
  font-family: var(--serif);
  white-space: nowrap;
  color: var(--accent);
}

.desc {
  grid-column: 1 / -1;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* 表形式の情報 */
.info > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.info > div:last-child {
  border-bottom: 0;
}

dt {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

dd {
  overflow-wrap: anywhere;
}

dd small {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* 地図 */
.access-body {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  align-items: start;
}

.access-body .info > div {
  grid-template-columns: 1fr;
}

.access-body .info > div:first-child {
  padding-top: 0;
}

.map svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.map figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.map-ground { fill: var(--card); }
.map-river { fill: none; stroke: #b9d6e0; stroke-width: 22; }
.map-road { fill: none; stroke: var(--line); stroke-width: 12; stroke-linecap: round; }
.map-cloud { fill: #e9e1d2; }
.map-stop { fill: var(--ink); }
.map-pin { fill: var(--accent); }
.map-pin-hole { fill: var(--card); }
.map-text { font-family: var(--sans); font-size: 22px; text-anchor: middle; fill: var(--ink); }
.map-text-strong { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.map-stamp { fill: none; stroke: var(--accent); stroke-width: 3; }
.map-stamp-text { font-weight: 700; fill: var(--accent); }

.footer {
  padding: 32px 16px;
  font-size: 0.8125rem;
  text-align: center;
  background: var(--ink);
  color: var(--card);
}

/* 404 ページ */
.notfound {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 16px;
  text-align: center;
  background: linear-gradient(180deg, #161f33 0%, var(--ink) 70%, #3c4a68 100%);
  color: var(--card);
}

.notfound .clock {
  width: clamp(160px, 40vw, 220px);
}

.notfound .clock-face {
  stroke: var(--sky);
}

.notfound-code {
  margin-top: 24px;
  font-family: var(--serif);
  letter-spacing: 0.2em;
  color: var(--sky);
}

.notfound h1 {
  margin-top: 4px;
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  letter-spacing: 0.04em;
}

.notfound-text {
  max-width: 28em;
  margin: 16px auto 0;
  font-size: 0.9375rem;
}

.notfound .button {
  background: var(--sky);
  color: var(--ink);
}

.notfound .button:hover {
  background: var(--card);
}

.notfound-note {
  margin-top: 28px;
  font-size: 0.8125rem;
  opacity: 0.75;
}

@media (max-width: 640px) {
  .hero-body {
    grid-template-columns: 1fr;
    margin-top: 32px;
    text-align: center;
  }

  .clock {
    justify-self: center;
  }

  .access-body {
    grid-template-columns: 1fr;
  }

  .menu-list {
    padding: 8px 20px;
  }

  .info > div {
    grid-template-columns: 6.5em 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .drift {
    animation: none;
  }
}
