/* ============================================
   CAFE DRIVE TEMPLATE
   山あいのドライブ途中のカフェ — 苔の緑×黄土×生成りの紙（地図の色）
   ヒーローはインラインSVGのルートマップが主役。写真は小さく添える
============================================ */

:root {
  /* Color */
  --kinari: #f2ecdc; /* 生成りの紙（地図の地色） */
  --kinari-deep: #e7dec6;
  --kinari-light: #f8f4ea;
  --moss: #4b5a2c; /* 苔の緑 */
  --moss-dark: #323d1c;
  --moss-light: #8d9a68;
  --ochre: #c58f2c; /* 黄土（面・線） */
  --ochre-light: #e8c983;
  --ochre-dark: #8a6114; /* 紙の上の小さい文字に使うときはこちら */
  --ink: #26261d;
  --ink-soft: #4a4a3c;
  --muted: #6d6a58;
  --line: rgba(38, 38, 29, 0.18);
  --contour: #d8caa3; /* 等高線 */
  --river: #9fb3ad;

  /* Font */
  --font-head: "M PLUS 1", "Hiragino Sans", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", sans-serif;
  --font-num: "Bitter", Georgia, serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --section-space: clamp(72px, 10vw, 128px);
  --radius: 6px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--kinari);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap {
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--moss);
  color: var(--kinari);
  padding: 8px 14px;
  z-index: 200;
}

.skip-link:focus {
  top: 8px;
}

/* ============================================
   Header
============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(242, 236, 220, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--moss-dark);
}

.logo__mark {
  width: 32px;
  height: 32px;
}

.logo__text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.logo__text small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ochre-dark);
}

.gnav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gnav__list {
  display: flex;
  gap: 20px;
}

.gnav__list a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  background: linear-gradient(var(--ochre), var(--ochre)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}

.gnav__list a:hover {
  background-size: 100% 2px;
}

.gnav__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--kinari);
  background: var(--moss);
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
}

.gnav__tel svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    background: var(--moss);
    color: var(--kinari);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
  }

  .nav-toggle__bars {
    display: grid;
    gap: 5px;
  }

  .nav-toggle__bars span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-toggle__label {
    font-family: var(--font-num);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--kinari);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s var(--ease-out),
      transform 0.3s var(--ease-out),
      visibility 0s linear 0.3s;
  }

  .gnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.3s var(--ease-out),
      transform 0.3s var(--ease-out);
  }

  .gnav__list {
    flex-direction: column;
    gap: 0;
  }

  .gnav__list a {
    display: block;
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--contour);
    background: none;
  }

  .gnav__tel {
    margin-top: 24px;
    justify-content: center;
    padding: 14px;
    font-size: 17px;
  }
}

/* ============================================
   ボタン・見出し（共通）
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.btn--moss {
  background: var(--moss);
  color: var(--kinari);
}

.btn--moss:hover {
  background: var(--moss-dark);
}

.btn--ochre {
  background: var(--ochre);
  color: var(--ink);
}

.btn--ochre:hover {
  background: var(--ochre-light);
}

.btn--line {
  border-color: var(--moss);
  color: var(--moss-dark);
  background: transparent;
}

.btn--line:hover {
  background: var(--moss);
  color: var(--kinari);
}

.sec-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.sec-head__en {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* 地図の破線のような短い線 */
.sec-head__en::before {
  content: "";
  width: 36px;
  border-top: 2px dashed var(--ochre);
}

.sec-head__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--moss-dark);
}

.section {
  padding: var(--section-space) 0;
}

/* ============================================
   Hero：ルートマップ
============================================ */
.hero {
  padding: clamp(24px, 4vw, 48px) 0 var(--section-space);
}

.hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--ochre-dark);
  letter-spacing: 0.06em;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.35;
  color: var(--moss-dark);
  margin: 12px 0 18px;
}

.hero__lead {
  font-size: 16px;
  line-height: 1.95;
  max-width: 30em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 15px;
  background: var(--kinari-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.status.is-open .status__dot {
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(75, 90, 44, 0.2);
}

.status.is-closed .status__dot {
  background: var(--ochre);
}

.hero__facts {
  display: flex;
  gap: 0;
  margin-top: 28px;
  border-top: 2px solid var(--moss);
}

.hero__facts li {
  flex: 1;
  padding: 12px 10px 0 0;
}

.hero__facts li + li {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hero__facts b {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1;
  color: var(--moss);
}

.hero__facts span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
  color: var(--ink-soft);
}

/* マップ本体 */
.routemap {
  position: relative;
  background: var(--kinari-light);
  border: 1px solid var(--contour);
  border-radius: 10px;
  padding: clamp(8px, 1.5vw, 16px);
  box-shadow: 0 1px 0 var(--contour), 0 18px 30px -24px rgba(50, 61, 28, 0.6);
}

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

.map-contour path {
  stroke: var(--contour);
  stroke-width: 1.5;
}

.map-river {
  stroke: var(--river);
  stroke-width: 6;
  stroke-linecap: round;
}

.map-river-label {
  fill: #6f8781 !important;
}

.map-expressway path {
  stroke: var(--moss-dark);
  stroke-width: 12;
  fill: none;
}

.map-expressway .map-expressway__inner {
  stroke: var(--kinari-light);
  stroke-width: 4;
}

.map-side {
  stroke: var(--moss-light);
  stroke-width: 4;
  stroke-dasharray: 8 6;
  stroke-linecap: round;
}

.map-trail {
  stroke: var(--moss-light);
  stroke-width: 3;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}

.map-road-casing {
  stroke: var(--moss-dark);
  stroke-width: 15;
  stroke-linecap: round;
}

.map-road {
  stroke: var(--ochre);
  stroke-width: 9;
  stroke-linecap: round;
}

.map-shield {
  fill: var(--moss);
  stroke: var(--kinari-light);
  stroke-width: 2;
}

.map-shield-text {
  fill: var(--kinari-light);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 13px;
}

.map-ic {
  fill: var(--moss-dark);
}

.map-ic-text {
  fill: var(--kinari-light);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 13px;
}

.map-poi {
  fill: var(--moss);
}

.map-poi-mark,
.map-pass {
  fill: var(--moss-dark);
}

.map-label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--kinari-light);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.map-small {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  fill: var(--ink-soft);
  paint-order: stroke;
  stroke: var(--kinari-light);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.map-dist rect {
  fill: var(--ink);
}

.map-dist text {
  fill: var(--kinari-light);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
}

.map-shop__ring {
  fill: rgba(197, 143, 44, 0.28);
}

.map-shop__dot {
  fill: var(--ochre);
  stroke: var(--moss-dark);
  stroke-width: 4;
}

.map-shop-label {
  fill: var(--moss-dark);
}

.map-shop-name {
  fill: var(--kinari-light);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
}

.map-shop-sub {
  fill: var(--ochre-light);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
}

.map-north circle {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.5;
}

.map-north path {
  fill: var(--ink);
}

.map-north text,
.map-scale text {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  fill: var(--ink);
}

.map-scale path {
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
}

/* 地図の右下に小さく添える写真 */
.routemap__photo {
  position: absolute;
  right: clamp(-16px, -1.5vw, -8px);
  bottom: clamp(-40px, -3vw, -24px);
  width: clamp(180px, 24%, 240px);
  background: #fff;
  padding: 6px 6px 8px;
  box-shadow: 0 10px 20px -12px rgba(38, 38, 29, 0.55);
  transform: rotate(2deg);
}

.routemap__photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.routemap__photo p {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
  color: var(--ink-soft);
}

/* ルートが一度だけIC側から描かれる（JSが動いたときだけ） */
.js-drive .map-road {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: road-draw 1.6s 0.4s var(--ease-out) forwards;
}

@keyframes road-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ヒーローの文字は順にそっと出る */
.js-drive [data-hero] {
  opacity: 0;
  transform: translateY(12px);
  animation: hero-in 0.8s var(--ease-out) forwards;
}

.js-drive .hero__title[data-hero] {
  animation-delay: 0.08s;
}
.js-drive .hero__lead[data-hero] {
  animation-delay: 0.16s;
}
.js-drive .status[data-hero] {
  animation-delay: 0.24s;
}
.js-drive .hero__facts[data-hero] {
  animation-delay: 0.3s;
}
.js-drive .routemap[data-hero] {
  animation-delay: 0.1s;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 1列のときも地図を主役に：見出しの直後、本文より先に出す */
  .hero__text {
    display: contents;
  }

  .hero__eyebrow,
  .hero__title {
    order: -2;
  }

  .hero__eyebrow {
    margin-bottom: -12px;
  }

  .hero__title {
    margin-bottom: 0;
  }

  .routemap {
    order: -1;
    margin-bottom: 40px;
  }

  .status {
    justify-self: start;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .routemap {
    padding: 4px;
    margin-bottom: 0;
  }

  /* 縮小で小さくなる地図の文字を、少し大きめにする */
  .map-label {
    font-size: 25px;
  }

  .map-small {
    font-size: 19px;
  }

  .map-dist text {
    font-size: 18px;
  }

  .map-shop-name {
    font-size: 24px;
  }

  .map-shop-sub {
    font-size: 17px;
  }

  /* スマホでは写真を地図の下に普通に置く */
  .routemap__photo {
    position: static;
    width: auto;
    transform: none;
    margin: 8px 4px 4px;
    box-shadow: none;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: center;
    padding: 0;
    background: none;
  }

  .routemap__photo p {
    margin-top: 0;
    font-size: 13px;
  }

  .hero__facts span {
    font-size: 13px;
  }
}

/* ============================================
   立ち寄り
============================================ */
.stop {
  background: var(--kinari-deep);
}

.stop__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* 道路の案内標識ふう（緑地に白文字） */
.sign {
  background: var(--moss);
  color: var(--kinari-light);
  border-radius: 8px;
  padding: 24px;
  box-shadow: inset 0 0 0 3px var(--moss), inset 0 0 0 5px var(--kinari-light);
}

.sign__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(248, 244, 234, 0.6);
}

.sign__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(248, 244, 234, 0.4);
}

.sign__list dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}

.sign__list dd {
  text-align: right;
  font-size: 15px;
}

.sign__list b {
  font-family: var(--font-num);
  font-size: 44px;
  line-height: 1;
  color: var(--ochre-light);
  margin-right: 4px;
}

.sign__list small {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

.sign__note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
}

.lot svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.lot__ground {
  fill: var(--kinari-light);
}

.lot__road {
  fill: var(--ink-soft);
}

.lot__road-line {
  stroke: var(--ochre-light);
  stroke-width: 2;
  stroke-dasharray: 14 10;
}

.lot__edge {
  stroke: var(--ink-soft);
  stroke-width: 2;
}

.lot__shop {
  fill: var(--moss);
}

.lot__roof {
  fill: rgba(197, 143, 44, 0.25);
  stroke: var(--ochre);
  stroke-width: 2;
}

.lot__bus {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 2;
  stroke-dasharray: 6 4;
}

.lot__slots path {
  stroke: var(--ink-soft);
  stroke-width: 2;
}

.lot__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  fill: var(--ink);
}

.lot__text--s {
  font-size: 14px;
}

.lot__text--light {
  fill: var(--kinari-light);
}

.lot figcaption {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 10px;
}

.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 2px solid var(--moss);
}

.perks li {
  padding: 18px 20px 0 0;
}

.perks li + li {
  padding-left: 20px;
  border-left: 1px dashed var(--contour);
}

.perks h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--moss-dark);
  margin-bottom: 6px;
}

.perks p {
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .stop__grid {
    grid-template-columns: 1fr;
  }

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

  .perks li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .perks li:nth-child(n + 3) {
    padding-top: 24px;
  }
}

@media (max-width: 520px) {
  .perks {
    grid-template-columns: 1fr;
  }

  .perks li,
  .perks li + li {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px dashed var(--contour);
  }
}

/* ============================================
   メニュー
============================================ */
.menu__grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.menu__lead {
  font-size: 15px;
  margin-top: -16px;
}

.menu__photo {
  margin-top: 28px;
}

.menu__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.menu__photo figcaption {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px;
}

.menu-block + .menu-block {
  margin-top: 44px;
}

.menu-block__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--moss-dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--moss);
}

.menu-block__title small {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 500;
  color: var(--ochre-dark);
  margin-left: 12px;
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
}

.menu-table th,
.menu-table td {
  padding: 13px 0;
  border-bottom: 1px dashed var(--contour);
  vertical-align: top;
}

.menu-table th {
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
}

.menu-table th small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

.menu-table td {
  text-align: right;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 19px;
  white-space: nowrap;
  padding-left: 16px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--moss-dark);
  background: rgba(141, 154, 104, 0.25);
  padding: 0 7px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: 2px;
}

.menu-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 14px;
}

@media (max-width: 860px) {
  .menu__grid {
    grid-template-columns: 1fr;
  }

  .menu__photo img {
    aspect-ratio: 16 / 10;
  }
}

/* ============================================
   店内と薪ストーブ
============================================ */
.stove {
  background: var(--moss-dark);
  color: var(--kinari);
  padding-top: 0;
}

.stove__photos {
  display: grid;
  grid-template-columns: 8fr 3fr;
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  transform: translateY(calc(var(--section-space) * -0.5));
}

.stove__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.stove__photo--main img {
  aspect-ratio: 16 / 9;
}

.stove__photo--sub {
  align-self: end;
  margin-bottom: -40px;
}

.stove__photo--sub img {
  aspect-ratio: 3 / 4;
}

.stove .sec-head__title {
  color: var(--kinari);
}

.stove .sec-head__en {
  color: var(--ochre-light);
}

.stove__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.stove__cols > p {
  font-size: 16px;
  line-height: 2;
}

.seat-table {
  width: 100%;
  border-collapse: collapse;
}

.seat-table caption {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--ochre-light);
  padding-bottom: 8px;
}

.seat-table th,
.seat-table td {
  padding: 11px 0;
  border-top: 1px solid rgba(242, 236, 220, 0.2);
}

.seat-table th {
  text-align: left;
  font-weight: 700;
}

.seat-table th small {
  font-weight: 400;
  font-size: 13px;
  opacity: 0.8;
  margin-left: 8px;
}

.seat-table td {
  text-align: right;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
}

/* セクション間の写真の重なりぶん、上の余白を調整 */
.stove__body {
  margin-top: calc(var(--section-space) * -0.5 + 72px);
}

@media (max-width: 860px) {
  .stove__photos {
    grid-template-columns: 2fr 1fr;
  }

  .stove__photo--sub {
    margin-bottom: 0;
  }

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

@media (max-width: 520px) {
  .stove__photos {
    grid-template-columns: 1fr;
  }

  .stove__photo--sub {
    display: none; /* スマホは写真1枚に絞る */
  }

  .stove__body {
    margin-top: calc(var(--section-space) * -0.5 + 40px);
  }

  .seat-table th small {
    display: block;
    margin-left: 0;
  }
}

/* ============================================
   季節の営業
============================================ */
.months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border: 2px solid var(--moss);
  border-radius: var(--radius);
  overflow: hidden;
}

.months li {
  text-align: center;
  padding: 12px 2px;
  background: var(--kinari-light);
  border-left: 1px solid var(--contour);
  position: relative;
}

.months li:first-child {
  border-left: 0;
}

.months li.is-winter {
  background: var(--moss-light);
  color: var(--moss-dark);
}

.months span {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
}

.months b {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.months li.is-current {
  background: var(--ochre);
  color: var(--ink);
}

.months li.is-current::after {
  content: "今月";
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.season__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  margin-top: 40px;
  align-items: start;
}

.season-table > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--contour);
}

.season-table > div:first-child {
  border-top: 2px solid var(--moss);
}

.season-table dt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--moss-dark);
}

.season-table dt small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}

.season-table dd {
  text-align: right;
  font-size: 14px;
}

.season-table dd b {
  display: block;
  font-family: var(--font-num);
  font-size: 24px;
}

.snow {
  border: 2px solid var(--ochre);
  border-radius: 8px;
  padding: 24px;
  background: var(--kinari-light);
}

.snow__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--moss-dark);
  margin-bottom: 8px;
}

.snow p {
  font-size: 15px;
}

.snow b {
  background: linear-gradient(transparent 62%, var(--ochre-light) 62%);
}

.snow__note {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px !important;
}

.snow__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .season__grid {
    grid-template-columns: 1fr;
  }
}

/* スマホでは12か月を6×2に折り返す */
@media (max-width: 600px) {
  .months {
    grid-template-columns: repeat(6, 1fr);
  }

  .months li:nth-child(7) {
    border-left: 0;
  }

  .months li:nth-child(n + 7) {
    border-top: 1px solid var(--contour);
  }
}

/* ============================================
   近くの見どころ
============================================ */
.spots {
  background: var(--kinari-deep);
}

.spots__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.spot {
  background: var(--kinari-light);
  border-radius: 8px;
  overflow: hidden;
}

.spot--wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.spot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.spot--wide img {
  aspect-ratio: auto;
  flex: 1;
  min-height: 280px;
}

.spot__body {
  padding: 18px 20px 22px;
}

.spot__dist {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--kinari-light);
  background: var(--ink);
  border-radius: 999px;
  padding: 1px 12px;
  margin-bottom: 8px;
}

.spot h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--moss-dark);
  margin-bottom: 4px;
}

.spot p:not(.spot__dist) {
  font-size: 15px;
  line-height: 1.8;
}

/* 写真が下にある小さめのカード（組み方を変える） */
.spot--text .spot__body {
  display: grid;
  grid-template-columns: 1fr 140px;
  grid-template-areas:
    "dist img"
    "title img"
    "text img";
  column-gap: 16px;
  align-items: start;
}

.spot--text .spot__dist {
  grid-area: dist;
  justify-self: start;
}
.spot--text h3 {
  grid-area: title;
}
.spot--text p:not(.spot__dist) {
  grid-area: text;
}
.spot--text img {
  grid-area: img;
  aspect-ratio: 1;
  border-radius: 6px;
}

@media (max-width: 860px) {
  .spots__grid {
    grid-template-columns: 1fr;
  }

  .spot--wide {
    grid-row: auto;
  }

  .spot--wide img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .spot--text .spot__body {
    grid-template-columns: 1fr;
    grid-template-areas: "dist" "title" "text" "img";
  }

  .spot--text img {
    aspect-ratio: 16 / 9;
    margin-top: 12px;
  }
}

/* ============================================
   ルート案内
============================================ */
.route {
  padding-top: 0;
}

.route__band img {
  width: 100%;
  height: clamp(160px, 22vw, 300px);
  object-fit: cover;
}

.route .container {
  margin-top: clamp(48px, 7vw, 80px);
}

.route-table {
  width: 100%;
  border-collapse: collapse;
}

.route-table thead th {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  color: var(--ochre-dark);
  padding: 8px 12px 8px 0;
  border-bottom: 2px solid var(--moss);
}

.route-table tbody th,
.route-table td {
  padding: 16px 12px 16px 0;
  border-bottom: 1px dashed var(--contour);
  vertical-align: top;
  text-align: left;
}

.route-table tbody th {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--moss-dark);
  white-space: nowrap;
}

.route-table td {
  font-size: 15px;
}

.route-table td:nth-child(3),
.route-table td:nth-child(4) {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}

.route-table td:nth-child(4) {
  color: var(--moss);
}

.route-notes {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-notes li {
  font-size: 14px;
  line-height: 1.75;
  padding: 14px 16px;
  background: var(--kinari-light);
  border-left: 4px solid var(--ochre);
}

.route-notes b {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--moss-dark);
}

/* スマホでは表を1件ずつのカードに組み替える */
@media (max-width: 760px) {
  .route-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .route-table,
  .route-table tbody,
  .route-table tr,
  .route-table th,
  .route-table td {
    display: block;
  }

  .route-table tr {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0 14px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--contour);
  }

  .route-table tbody th,
  .route-table td {
    border: 0;
    padding: 0;
  }

  .route-table tbody th {
    grid-column: 1;
    grid-row: 1;
    white-space: normal;
  }

  .route-table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .route-table td:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
  }

  .route-table td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 6px;
  }

  .route-notes {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   お知らせ
============================================ */
.news {
  border-top: 1px dashed var(--contour);
}

.news__grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(24px, 5vw, 72px);
}

.news__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--moss-dark);
  text-underline-offset: 4px;
}

.news__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--contour);
}

.news__list li:first-child {
  border-top: 2px solid var(--moss);
}

.news__list time {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  color: var(--ochre-dark);
}

.news__list p {
  font-size: 15px;
}

@media (max-width: 760px) {
  .news__grid {
    grid-template-columns: 1fr;
  }

  .news__grid .sec-head {
    margin-bottom: 8px;
  }

  .news__list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ============================================
   アクセス・お問い合わせ
============================================ */
.access {
  background: var(--kinari-deep);
}

.access__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(24px, 4vw, 48px);
}

.info > div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--contour);
  font-size: 15px;
}

.info > div:first-child {
  border-top: 2px solid var(--moss);
}

.info dt {
  font-weight: 700;
  color: var(--moss-dark);
}

.info a {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
}

.access__map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--contour);
  min-height: 400px;
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

.contact {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(24px, 4vw, 44px);
  background: var(--kinari-light);
  border-radius: 10px;
}

.contact h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--moss-dark);
  margin-bottom: 10px;
}

.contact__text p {
  font-size: 15px;
}

.contact__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.form__row {
  margin-bottom: 16px;
}

.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.req {
  font-size: 12px;
  color: var(--kinari-light);
  background: var(--ochre-dark);
  border-radius: 3px;
  padding: 0 6px;
  margin-left: 8px;
}

.form input,
.form textarea {
  width: 100%;
  font-size: 16px;
  padding: 11px 12px;
  border: 1px solid var(--contour);
  border-radius: var(--radius);
  background: #fff;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--moss-light);
  outline-offset: 1px;
}

.form .btn {
  min-width: 200px;
}

.form__msg {
  margin-top: 12px;
  font-size: 15px;
  color: var(--moss-dark);
  min-height: 1.5em;
}

@media (max-width: 860px) {
  .access__grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .access__map,
  .access__map iframe {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .form__row--half {
    grid-template-columns: 1fr;
  }

  .form .btn {
    width: 100%;
  }
}

/* ============================================
   Footer
============================================ */
.footer {
  background: var(--moss-dark);
  color: var(--kinari);
  padding: 36px 0;
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}

.footer__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
}

.footer__copy {
  margin-left: auto;
  font-family: var(--font-num);
  opacity: 0.75;
}

/* ============================================
   スクロールリビール
   JS が html に .js-drive を付けたときだけ隠す
============================================ */
.js-drive [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.js-drive [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .js-drive [data-reveal],
  .js-drive [data-hero] {
    opacity: 1;
    transform: none;
  }

  .js-drive .map-road {
    stroke-dashoffset: 0;
  }
}
