:root {
  --cream: #f7f0e3;
  --paper: #fffaf1;
  --ink: #33281f;
  --muted: #6f6052;
  --line: #dfd2bd;
  --accent: #a84f2f;
  --moss: #5f6f52;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.9;
  background: var(--cream);
  color: var(--ink);
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 架空のお店であることのお知らせ */
.notice {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
  background: var(--ink);
  color: var(--cream);
}

/* ヒーロー */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 24px 56px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(3.2rem, 11vw, 6rem);
  letter-spacing: 0.06em;
}

.tagline {
  margin: 12px 0 28px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 0.92rem;
}

.hero-nav a {
  color: var(--ink);
  text-underline-offset: 5px;
  text-decoration-color: var(--line);
}

.hero-nav a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.cup {
  flex: 0 0 auto;
  width: clamp(150px, 28vw, 250px);
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cup-body {
  fill: var(--paper);
}

.steam {
  stroke: var(--accent);
  animation: steam 4s ease-in-out infinite;
}

.steam-2 {
  animation-delay: 1.4s;
}

@keyframes steam {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(5px);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* セクション共通 */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.section-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* コンセプト */
.concept p {
  max-width: 38em;
}

.concept .lead {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4.2vw, 1.8rem);
  line-height: 1.7;
}

/* メニュー */
.menu {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

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

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

.menu h3 {
  font-size: 1.15rem;
}

.menu p {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.temp {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--accent);
}

.price {
  font-variant-numeric: tabular-nums;
}

/* 営業時間・地図 */
.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.hours,
.contact-list {
  margin: 0;
}

.hours div,
.contact-list div {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.hours dt,
.contact-list dt {
  flex: 0 0 5em;
  color: var(--muted);
}

.hours dd,
.contact-list dd {
  margin: 0;
}

.map {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map svg {
  display: block;
  width: 100%;
  height: auto;
}

.road {
  fill: none;
  stroke: var(--line);
  stroke-width: 12;
}

.road.thin {
  stroke-width: 6;
}

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

.pin-dot {
  fill: var(--paper);
}

.map figcaption {
  padding: 8px 12px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* フッター */
.footer {
  margin-top: 32px;
  padding: 32px 24px;
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* 404 ページ */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
  text-align: center;
}

.not-found .cup {
  width: 120px;
  margin-bottom: 8px;
}

.not-found h1 {
  font-size: clamp(4.5rem, 20vw, 8.5rem);
  line-height: 1.1;
  color: var(--accent);
}

.not-found h2 {
  margin-top: 8px;
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
}

.not-found p {
  max-width: 30em;
  margin: 16px 0 28px;
  color: var(--muted);
}

.back-link {
  padding: 8px 24px;
  color: var(--cream);
  text-decoration: none;
  background: var(--ink);
  border-radius: 999px;
}

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

@media (max-width: 720px) {
  .hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
    padding: 32px 16px;
  }

  .hero .cup {
    width: 96px;
  }

  .concept .lead br {
    display: none;
  }

  main {
    padding: 0 16px;
  }

  .info {
    grid-template-columns: 1fr;
  }

  .menu li {
    grid-template-columns: 3.6rem 1fr auto;
    gap: 10px;
  }
}

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

  .steam {
    animation: none;
  }
}
