/* ============================================
   CAFE TART TEMPLATE
   焼き菓子とタルトのカフェ — ピスタチオグリーン×バター色×テラコッタ
   写真グリッドのヒーロー・ガラスケースの段・12ヶ月のタルト暦
============================================ */

:root {
  /* Color */
  --bg: #fcf7e8; /* 生地の色に近い白 */
  --butter: #f7e9b8; /* バター色（面） */
  --butter-deep: #efd98f;
  --pista: #b4c48a; /* ピスタチオグリーン */
  --pista-soft: #e3ead0;
  --pista-deep: #5b6d3c; /* 見出し・文字にも使える濃さ */
  --terra: #bf5f3d; /* テラコッタ（ボタン・値札） */
  --terra-deep: #9c4a2e;
  --ink: #3a2e24; /* 焼き色の焦げ茶 */
  --muted: #6e6253;
  --white: #fffdf6;
  --line: rgba(58, 46, 36, 0.16);

  /* Font */
  --font-head: "Kaisei Opti", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-en: "DM Serif Display", "Kaisei Opti", serif;

  --container: 1180px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --header-h: 72px;
  --section-space: clamp(72px, 10vw, 128px);
  --radius: 6px; /* 写真と箱は小さな角丸、値札は角あり */

  --ease: 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: var(--header-h);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1; /* 約物を詰める */
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
}

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

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

.sp-only {
  display: inline;
}

@media (min-width: 600px) {
  .sp-only {
    display: none;
  }
}

.eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 19px;
  color: var(--terra);
  letter-spacing: 0.02em;
}

.sec-title {
  margin-top: 4px;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.05em;
  color: var(--ink);
}

.yen {
  font-family: var(--font-en);
  font-size: 19px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn--terra {
  background: var(--terra);
  color: var(--white);
}

.btn--terra:hover {
  background: var(--terra-deep);
}

.btn--line {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--tel {
  flex-wrap: wrap;
  column-gap: 12px;
}

.btn--tel span {
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 400;
  white-space: nowrap;
}

/* ============================================
   Header（バター色の帯・固定）
============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--butter);
  border-bottom: 1.5px solid var(--ink);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo__mark {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--terra);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.logo__main {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__list {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav__list a {
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.nav__list a:hover {
  border-color: var(--terra);
}

.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 6px 16px;
  background: var(--ink);
  color: var(--butter);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 17px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 110;
}

.nav-toggle__lines i {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.nav-toggle__lines i:nth-child(1) {
  top: 16px;
}
.nav-toggle__lines i:nth-child(2) {
  top: 23px;
}
.nav-toggle__lines i:nth-child(3) {
  top: 30px;
}

.nav-toggle[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: block;
  }

  /* モバイルメニュー：ヘッダーの下にバター色のパネル。フェード＋短い移動 */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 24px var(--gutter) 40px;
    background: var(--butter);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0s linear 0.3s;
  }

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

  .nav__list {
    flex-direction: column;
    gap: 0;
    font-size: 18px;
  }

  .nav__list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav__tel {
    justify-content: center;
    min-height: 52px;
    font-size: 20px;
  }
}

/* ============================================
   Hero（写真グリッド：4列×2段、店名は中央上の2マス）
============================================ */
.hero {
  padding: 10px;
  background: var(--ink);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: minmax(300px, 1fr) minmax(240px, 0.8fr);
  gap: 10px;
  height: calc(100vh - var(--header-h) - 20px);
  height: calc(100svh - var(--header-h) - 20px);
  min-height: 600px;
  max-height: 900px;
}

.cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.cell--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.cell--photo:hover img {
  transform: scale(1.03);
}

.cell--a {
  grid-column: 1;
  grid-row: 1;
}
.cell--text {
  grid-column: 2 / 4;
  grid-row: 1;
}
.cell--b {
  grid-column: 4;
  grid-row: 1;
}

/* ショーケースの値札（角ありの小さな札） */
.pricetag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  border-left: 4px solid var(--terra);
}

.pricetag span {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  color: var(--terra);
  white-space: nowrap;
}

.cell--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.4vw, 52px);
  background: var(--butter);
}

.hero__eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 17px;
  color: var(--pista-deep);
}

.hero__shop {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--terra);
}

.hero__title {
  margin-top: 6px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.hero__lead {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ヒーローの文字は順に出る（JSが動いたときだけ） */
.js-tart [data-hero] {
  opacity: 0;
  transform: translateY(12px);
  animation: hero-in 0.8s var(--ease) forwards;
}
.js-tart [data-hero]:nth-child(2) {
  animation-delay: 0.1s;
}
.js-tart [data-hero]:nth-child(3) {
  animation-delay: 0.2s;
}
.js-tart [data-hero]:nth-child(4) {
  animation-delay: 0.3s;
}

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

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .cell--text {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cell--a,
  .cell--b {
    grid-column: auto;
    grid-row: auto;
  }

  .cell--photo {
    aspect-ratio: 1;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 6px;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .cell--text {
    padding: 32px 20px;
  }

  .pricetag {
    left: 6px;
    bottom: 6px;
    max-width: calc(100% - 12px);
    flex-direction: column;
    gap: 0;
    padding: 3px 8px;
  }

  .pricetag span {
    font-size: 15px;
  }
}

/* ============================================
   News（ピスタチオの細い帯）
============================================ */
.news {
  padding: 28px 0;
  background: var(--pista-soft);
  border-bottom: 1.5px solid var(--ink);
}

.news__inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
}

.news__title {
  font-size: 18px;
  padding-top: 4px;
}

.news__list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 6px 0;
  font-size: 15px;
}

.news__list li + li {
  border-top: 1px dashed var(--line);
}

.news__list time {
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--pista-deep);
}

@media (max-width: 700px) {
  .news__inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

/* ============================================
   Showcase（ガラスケースの段）
============================================ */
.showcase {
  padding: var(--section-space) 0;
}

.showcase__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 48px;
  align-items: end;
  margin-bottom: 40px;
}

.showcase__head .eyebrow {
  grid-column: 1 / -1;
}

.showcase__lead {
  max-width: 440px;
  justify-self: end;
  font-size: 15px;
  color: var(--muted);
}

.showcase__lead strong {
  color: var(--terra-deep);
}

/* ケース：上の縁はピスタチオ、段ごとに棚板の線 */
.case {
  padding: 28px clamp(16px, 3vw, 36px) 8px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-top: 10px solid var(--pista);
  border-radius: var(--radius) var(--radius) 0 0;
}

.case__shelf-label {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pista-deep);
}

.case__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 6px solid var(--butter-deep); /* 棚板 */
}

.case__row:last-child {
  margin-bottom: 0;
}

.item img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.item h3 {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.5;
}

.item__desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.item__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--terra);
  line-height: 1.4;
}

.item__p {
  white-space: nowrap;
}

.item__p + .item__p {
  margin-left: 6px;
}

.item__price small {
  margin-right: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}

/* 写真のない品は、値札カードのように */
.item--plain {
  padding: 18px 18px 16px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.item--plain h3 {
  margin-top: 0;
}

.showcase__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .case__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .showcase__lead {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .case__row {
    gap: 20px 12px;
  }

  .item h3 {
    font-size: 16px;
  }

  .item__price {
    font-size: 19px;
  }

  .item--plain {
    padding: 14px 12px;
  }
}

/* ============================================
   Bake（焼き上がりの時間軸。ピスタチオの面）
============================================ */
.bake {
  padding: var(--section-space) 0;
  background: var(--pista);
}

.bake__inner {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 56px;
  align-items: center;
}

.bake .eyebrow {
  color: var(--white);
}

.bake__head > p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 15px;
}

.bake__next {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--butter);
  font-weight: 700;
  border-radius: 4px;
}

.timeline {
  position: relative;
  padding: 32px 28px 24px;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}

/* 9:00〜18:00 の帯。目盛りは CSS のグラデーションで1時間ごと */
.timeline__bar {
  position: relative;
  height: 14px;
  margin: 0 0 8px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--line) 0 1px,
      transparent 1px calc(100% / 9)
    ),
    var(--butter);
  border-radius: 7px;
}

.timeline__now {
  position: absolute;
  top: -8px;
  bottom: -8px;
  width: 2px;
  background: var(--terra);
  display: none;
}

.timeline__now.is-shown {
  display: block;
}

.timeline__now::after {
  content: "いま";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--terra);
  white-space: nowrap;
}

.timeline__list {
  position: relative;
  height: 128px;
}

/* 各回は left を script.js で時刻から計算して置く（JSなしでは下の縦並びになる） */
.timeline__list li {
  position: absolute;
  top: 0;
  width: max-content;
  max-width: 220px;
  padding-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  transform: translateX(-50%);
  text-align: center;
}

.timeline__list li::before {
  content: "";
  position: absolute;
  top: -21px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--pista-deep);
  border: 2px solid var(--bg);
  border-radius: 50%;
}

.timeline__list li:nth-child(even) {
  top: 54px;
}

/* 下の段の回は、細い線で帯の点までつなぐ */
.timeline__list li:nth-child(even)::before {
  top: -75px;
}

.timeline__list li:nth-child(even)::after {
  content: "";
  position: absolute;
  top: -63px;
  left: 50%;
  width: 1px;
  height: 72px;
  background: var(--pista-deep);
  opacity: 0.5;
}

.timeline__list time {
  display: block;
  font-family: var(--font-en);
  font-size: 22px;
  line-height: 1.2;
}

.timeline__list li.is-next time {
  color: var(--terra);
}

.timeline__list li.is-next::before {
  background: var(--terra);
}

.timeline__list li.is-done {
  opacity: 0.55;
}

/* JSが無いとき・狭い画面：縦の一覧にする */
.timeline:not(.is-placed) .timeline__list {
  height: auto;
}

.timeline:not(.is-placed) .timeline__list li {
  position: relative;
  top: auto;
  padding: 6px 0 6px 22px;
  transform: none;
  text-align: left;
}

.timeline:not(.is-placed) .timeline__list li::before {
  top: 14px;
  left: 0;
  margin-left: 0;
}

.timeline:not(.is-placed) .timeline__list li::after {
  display: none;
}

@media (max-width: 1000px) {
  .bake__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .timeline {
    padding: 20px 18px;
  }

  .timeline__bar {
    display: none;
  }

  .timeline .timeline__list {
    height: auto;
  }

  .timeline .timeline__list li {
    position: relative;
    top: auto;
    left: auto !important; /* script.js が入れる横位置を打ち消す */
    width: auto;
    max-width: none;
    transform: none;
    text-align: left;
  }

  .timeline__list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0 10px 22px;
    border-bottom: 1px dashed var(--line);
  }

  .timeline__list li:last-child {
    border-bottom: none;
  }

  .timeline__list li::before,
  .timeline__list li:nth-child(even)::before {
    top: 18px;
    left: 0;
    margin-left: 0;
  }

  .timeline__list li:nth-child(even)::after {
    display: none;
  }

  .timeline__list time {
    min-width: 64px;
  }
}

/* ============================================
   Calendar（12ヶ月のタルト暦）
============================================ */
.calendar {
  padding: var(--section-space) 0;
}

.calendar__head {
  max-width: 620px;
  margin-bottom: 40px;
}

.calendar__head > p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.calendar__now {
  padding: 0 6px;
  background: var(--terra);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
}

.months li {
  position: relative;
  min-height: 132px;
  padding: 14px 14px 16px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--white);
}

/* 季節ごとに地の色をうっすら変える */
.months li[data-month="3"],
.months li[data-month="4"],
.months li[data-month="5"] {
  background: #f4f6ea;
}
.months li[data-month="6"],
.months li[data-month="7"],
.months li[data-month="8"] {
  background: #fbf3d4;
}
.months li[data-month="9"],
.months li[data-month="10"],
.months li[data-month="11"] {
  background: #f8eadf;
}

.months__m {
  font-family: var(--font-en);
  font-size: 34px;
  line-height: 1;
  color: var(--pista-deep);
}

.months__m small {
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 13px;
}

.months p {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.months li.is-current {
  background: var(--terra);
  color: var(--white);
}

.months li.is-current .months__m {
  color: var(--butter);
}

.months li.is-current::after {
  content: "今月";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0 8px;
  background: var(--butter);
  color: var(--terra-deep);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .months {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 560px) {
  .months {
    grid-template-columns: repeat(3, 1fr);
  }

  .months li {
    min-height: 112px;
    padding: 10px 10px 12px;
  }

  .months__m {
    font-size: 28px;
  }

  .months p {
    font-size: 14px;
  }

  .months li.is-current::after {
    top: 8px;
    right: 6px;
    padding: 0 5px;
  }
}

/* ============================================
   Gift
============================================ */
.gift {
  padding: var(--section-space) 0;
  background: var(--butter);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.gift__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.gift__photos {
  position: relative;
  padding-bottom: 14%;
}

.gift__photo {
  border-radius: var(--radius);
  object-fit: cover;
}

.gift__photo--main {
  width: 82%;
  aspect-ratio: 9 / 10;
}

.gift__photo--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  border: 8px solid var(--butter);
}

.gift__lead {
  margin-top: 16px;
}

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

.box {
  position: relative;
  padding: 20px 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  text-align: center;
}

.box--rec {
  background: var(--pista-soft);
}

.box__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 10px;
  background: var(--terra);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.box__size {
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1;
  color: var(--pista-deep);
}

.box__count {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}

.box__price {
  font-family: var(--font-en);
  font-size: 24px;
  color: var(--terra);
}

.box__note {
  font-size: 13px;
  color: var(--muted);
}

.gift__notes {
  margin-top: 20px;
}

.gift__notes li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
}

.gift__notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 7px;
  height: 7px;
  background: var(--pista-deep);
  border-radius: 50%;
}

.gift__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

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

  .gift__photos {
    max-width: 520px;
  }
}

@media (max-width: 420px) {
  .gift__boxes {
    gap: 8px;
  }

  .box {
    padding: 18px 6px 12px;
  }

  .box__price {
    font-size: 20px;
  }
}

/* ============================================
   Whole（写真を右端まで）
============================================ */
.whole {
  padding: var(--section-space) 0;
}

.whole__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}

.whole__photo {
  order: 2;
}

.whole__photo img {
  width: 100%;
  aspect-ratio: 11 / 9;
  object-fit: cover;
  border-radius: var(--radius) 0 0 var(--radius);
}

.whole__photo figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.whole__table {
  margin: 28px 0 16px;
  border-top: 1.5px solid var(--ink);
}

.whole__table th,
.whole__table td {
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
}

.whole__table thead th {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.whole__table tbody th {
  font-weight: 700;
}

.whole__table td {
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--terra);
  white-space: nowrap;
}

.whole__note {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .whole__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0;
  }

  .whole__photo {
    order: 0;
  }

  .whole__photo img {
    border-radius: 0;
  }

  .whole__photo figcaption,
  .whole__body {
    padding: 0 var(--gutter);
  }
}

@media (max-width: 520px) {
  .whole__table thead {
    display: none;
  }

  .whole__table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .whole__table th,
  .whole__table td {
    padding: 2px 0;
    border: none;
  }

  .whole__table tbody th {
    grid-column: 1 / -1;
  }

  .whole__table td:nth-of-type(1)::before {
    content: "15cm ";
  }

  .whole__table td:nth-of-type(2)::before {
    content: "18cm ";
  }

  .whole__table td::before {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--muted);
  }
}

/* ============================================
   Eat-in
============================================ */
.eatin {
  padding: var(--section-space) 0;
  background: var(--pista-soft);
}

.eatin__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.eatin__head > p:not(.eyebrow) {
  margin-top: 14px;
}

.eatin__nums {
  display: flex;
  margin-top: 28px;
  border-top: 1.5px solid var(--ink);
}

.eatin__nums div {
  flex: 1;
  padding: 12px 0;
}

.eatin__nums div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.eatin__nums dt {
  font-size: 13px;
  color: var(--muted);
}

.eatin__nums dd {
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1.1;
  color: var(--pista-deep);
}

.eatin__nums dd span {
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}

/* お飲みものは黒板ではなく、焦げ茶の紙に白い文字の小さな品書き */
.eatin__menu {
  padding: 32px 30px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
}

.eatin__menu h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: var(--butter);
}

.eatin__menu li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(252, 247, 232, 0.25);
  font-size: 15px;
}

.eatin__set {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--terra);
  border-radius: 4px;
  font-size: 15px;
}

.eatin__set strong {
  margin-right: 10px;
}

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

@media (max-width: 420px) {
  .eatin__menu {
    padding: 24px 18px;
  }
}

/* ============================================
   Access
============================================ */
.access {
  padding: var(--section-space) 0;
}

.access__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}

.access__info dl {
  margin-top: 24px;
  border-top: 1.5px solid var(--ink);
}

.access__info dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.access__info dt {
  font-weight: 700;
  color: var(--pista-deep);
}

.access__sns {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.sns {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  padding: 12px 18px;
  background: var(--butter);
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-size: 19px;
  transition: background-color 0.3s var(--ease);
}

.sns:hover {
  background: var(--butter-deep);
}

.sns span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}

.access__map {
  min-height: 380px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pista-soft);
}

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

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

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

@media (max-width: 480px) {
  .access__info dl div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================
   Contact
============================================ */
.contact {
  padding: var(--section-space) 0;
  background: var(--butter);
  border-top: 1.5px solid var(--ink);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}

.contact__lead > p:not(.eyebrow) {
  margin-top: 14px;
}

.contact__tel {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: clamp(30px, 4vw, 40px);
  color: var(--terra);
  border-bottom: 2px solid var(--terra);
  line-height: 1.3;
}

.form {
  padding: 32px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}

.form__row + .form__row {
  margin-top: 18px;
}

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

.req {
  margin-left: 8px;
  padding: 0 6px;
  background: var(--terra);
  color: var(--white);
  font-size: 12px;
}

.form input,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 16px;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form__submit {
  width: 100%;
  margin-top: 24px;
}

.form__msg {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 14px;
  color: var(--terra-deep);
}

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

@media (max-width: 480px) {
  .form {
    padding: 22px 16px;
  }
}

/* ============================================
   Footer
============================================ */
.footer {
  padding: 32px 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 24px;
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--butter);
}

/* ============================================
   Scroll reveal
   html.js-tart のときだけ隠す＝JSが動かなければ最初から見える
============================================ */
.js-tart [data-fade] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.js-tart [data-fade].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-tart [data-fade],
  .js-tart [data-hero] {
    opacity: 1;
    transform: none;
  }
}
