/* ============================================
   BAKERY POP TEMPLATE
   まちのパン屋さん・ポップ — 黄色×トマトレッド×クリーム
   ぽってり角丸＋太い枠線、ぷにっと弾むホバー
============================================ */

:root {
  /* Color */
  --yellow: #ffd23f;
  --yellow-soft: #ffe68a;
  --red: #ef4b3c; /* トマトレッド */
  --red-dark: #c9362a;
  --cream: #fff7e3;
  --cream-deep: #fcebc4;
  --crust: #f2a43a; /* パンの焼き色 */
  --ink: #3b2a1a; /* 枠線・文字（こげ茶） */
  --ink-soft: #6b5641;
  --white: #ffffff;

  /* Font */
  --font-body: "M PLUS Rounded 1c", sans-serif;
  --font-pop: "Mochiy Pop One", "M PLUS Rounded 1c", sans-serif;

  /* Shape — ぽってり */
  --border: 3px solid var(--ink);
  --radius: 22px;
  --radius-lg: 36px;
  --radius-full: 999px;
  --shadow: 5px 5px 0 var(--ink); /* ずらし影でステッカー風に */
  --shadow-sm: 3px 3px 0 var(--ink);

  --container: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  /* 弾むイージング */
  /* 行き過ぎて戻る（はねる）カーブは使わず、すっと止まる ease-out に統一 */
  --bounce: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.85;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

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

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

:focus-visible {
  outline: 3px dashed var(--red);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

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

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

.sp-only {
  display: none;
}

.u-red {
  color: var(--red);
}

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

.container--narrow {
  max-width: 820px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-pop);
  font-size: 16px;
  border: var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* ホバーで少し浮き、押し込むと影が消えてへこむ */
.btn:hover {
  transform: translate(-1px, -2px);
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

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

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

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background: var(--cream);
  box-shadow: 0 3px 0 var(--ink);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__mark svg {
  display: block;
}

.logo__text {
  font-family: var(--font-pop);
  font-size: 22px;
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.logo__text small {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-top: 4px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius-full);
  transition: background 0.2s ease;
}

.nav__link:hover {
  background: var(--yellow);
}

.nav__link--cta {
  margin-left: 8px;
  padding: 8px 18px;
  background: var(--red);
  color: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__link--cta:hover {
  background: var(--red-dark);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.3s var(--bounce), opacity 0.2s;
}

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

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 32px);
  background:
    radial-gradient(circle at 12% 20%, var(--yellow-soft) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 78%, var(--yellow-soft) 0 160px, transparent 161px),
    var(--yellow);
  overflow: hidden;
}

/* 水玉模様 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--white) 3px, transparent 3.5px);
  background-size: 34px 34px;
  opacity: 0.45;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.hero__badge {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 18px;
  font-family: var(--font-pop);
  font-size: 15px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-full);
  transform: rotate(-3deg);
}

.hero__title {
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__line--red {
  color: var(--red);
  /* 白フチで文字をぷっくりさせる */
  -webkit-text-stroke: 0;
  text-shadow:
    3px 3px 0 var(--white),
    -2px -2px 0 var(--white),
    2px -2px 0 var(--white),
    -2px 2px 0 var(--white),
    5px 6px 0 var(--ink);
}

.hero__lead {
  margin: 22px 0 30px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__visual {
  position: relative;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}

.hero__photo {
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%; /* ぽってりした不定形 */
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--cream-deep);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__sticker {
  position: absolute;
  display: grid;
  place-content: center;
  text-align: center;
  width: 118px;
  height: 118px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.hero__sticker strong {
  display: block;
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: 15px;
}

.hero__sticker em {
  font-style: normal;
  font-size: 34px;
  line-height: 1;
}

.hero__sticker--a {
  top: 2%;
  left: -4%;
  background: var(--red);
  color: var(--white);
  transform: rotate(-10deg);
}

.hero__sticker--b {
  bottom: 4%;
  right: -2%;
  background: var(--white);
}

/* マーキー */
.marquee {
  position: relative;
  background: var(--red);
  color: var(--white);
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  transform: rotate(-1.5deg);
  margin: 0 -20px -8px;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee__track span {
  padding: 12px 22px;
  font-family: var(--font-pop);
  font-size: 18px;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "●";
  margin-left: 44px;
  color: var(--yellow);
  font-size: 12px;
  vertical-align: middle;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section 共通 ---------- */
.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section__head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head--left {
  text-align: left;
}

.section__en {
  display: inline-block;
  padding: 2px 14px;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-full);
}

.section__title {
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.35;
}

.section__lead {
  margin-top: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- Ranking ---------- */
.ranking {
  background: var(--cream);
}

.rank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: end;
}

.rank__item {
  position: relative;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 18px 24px;
  transition: transform 0.35s var(--bounce);
}

.rank__item:hover {
  transform: translateY(-4px);
}

/* 1位は真ん中で大きく */
.rank__item--1 {
  order: 2;
  background: var(--yellow);
  padding-top: 26px;
  padding-bottom: 32px;
}
.rank__item--2 {
  order: 1;
}
.rank__item--3 {
  order: 3;
}

.rank__crown {
  position: absolute;
  top: -40px;
  left: 50%;
  translate: -50% 0;
  width: 76px;
  z-index: 2;
}

.rank__crown svg {
  width: 100%;
  fill: #f6c21c;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
  overflow: visible;
}

.rank__item--2 .rank__crown svg {
  fill: #d5dbe0; /* 銀 */
}
.rank__item--3 .rank__crown svg {
  fill: #e1a06a; /* 銅 */
}

.rank__crown span {
  position: absolute;
  left: 50%;
  top: 56%;
  translate: -50% -50%;
  font-family: var(--font-pop);
  font-size: 18px;
}

.rank__item--1 .rank__crown {
  width: 92px;
  top: -50px;
}

.rank__img {
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 7 / 5;
}

.rank__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rank__item:hover .rank__img img {
  transform: scale(1.03);
}

.rank__body {
  padding-top: 16px;
}

.rank__name {
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.4;
}

.rank__item--1 .rank__name {
  font-size: 22px;
}

.rank__desc {
  margin: 8px 0 12px;
  font-size: 14px;
}

.rank__price {
  display: inline-block;
  padding: 2px 16px;
  font-family: var(--font-pop);
  font-size: 20px;
  color: var(--white);
  background: var(--red);
  border: var(--border);
  border-radius: var(--radius-full);
}

.rank__price small {
  font-family: var(--font-body);
  font-size: 11px;
}

/* ---------- Menu Tabs ---------- */
.menu {
  background: var(--white);
  border-top: var(--border);
  border-bottom: var(--border);
}

.tabs__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.tabs__btn {
  padding: 12px 28px;
  font-family: var(--font-pop);
  font-size: 17px;
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tabs__btn:hover {
  background: var(--yellow-soft);
}

/* 選択中は押し込まれた状態 */
.tabs__btn.is-active {
  background: var(--red);
  color: var(--white);
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.tabs__panel.is-active {
  animation: panelIn 0.4s var(--bounce);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.menu-card {
  position: relative;
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius);
  padding: 12px 12px 16px;
  transition: transform 0.35s var(--bounce), box-shadow 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.menu-card__img {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--ink);
  margin-bottom: 12px;
}

.menu-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card__name {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.5;
}

.menu-card__price {
  margin-top: 4px;
  font-family: var(--font-pop);
  color: var(--red);
  font-size: 18px;
}

.menu-card__tag {
  position: absolute;
  top: -12px;
  right: -8px;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
  transform: rotate(6deg);
}

.menu-card__tag--yellow {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- Timetable ---------- */
.timetable {
  background:
    repeating-linear-gradient(
      -45deg,
      var(--cream) 0 18px,
      var(--cream-deep) 18px 36px
    );
}

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

.timetable__now {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  color: var(--ink);
  background: var(--yellow);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.tt {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 10px clamp(14px, 3vw, 28px);
}

.tt__row {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 6px;
  border-bottom: 2px dashed rgba(59, 42, 26, 0.25);
  transition: background 0.2s ease;
  border-radius: 14px;
}

.tt__row:last-child {
  border-bottom: none;
}

.tt__row time {
  font-family: var(--font-pop);
  font-size: 20px;
  text-align: center;
  padding: 2px 0;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
}

.tt__row span {
  font-weight: 700;
  font-size: 15px;
}

/* もう焼き上がった時間 */
.tt__row.is-past {
  opacity: 0.45;
}

/* 次の焼き上がり */
.tt__row.is-next {
  background: var(--yellow-soft);
  border-bottom-color: transparent;
}

.tt__row.is-next time {
  background: var(--red);
  color: var(--white);
}

/* ---------- Kids ---------- */
.kids {
  background: var(--yellow);
  border-top: var(--border);
  border-bottom: var(--border);
}

.kids__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.event-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s var(--bounce);
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-card__img {
  position: relative;
  aspect-ratio: 7 / 4;
  border-bottom: var(--border);
}

.event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-content: center;
  text-align: center;
  width: 84px;
  height: 84px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  background: var(--red);
  border: var(--border);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.event-card__date b {
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: 15px;
}

.event-card__date--yellow {
  background: var(--yellow);
  color: var(--ink);
}

.event-card__body {
  padding: 20px 22px 24px;
}

.event-card__title {
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.event-card__body p {
  font-size: 14px;
}

.event-card__meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px dashed rgba(59, 42, 26, 0.25);
  font-weight: 800;
  color: var(--red);
}

/* スタンプカード */
.stamp {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 40px);
}

.stamp__title {
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  margin-bottom: 10px;
}

.stamp__card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 18px;
  /* 切り取り線風 */
  outline: 2px dashed var(--crust);
  outline-offset: -10px;
}

.stamp__name {
  font-weight: 800;
  font-size: 13px;
  margin: 0 0 10px 8px;
}

.stamp__name span {
  border-bottom: 2px solid var(--ink);
  padding: 0 8px;
}

.stamp__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.stamp__cell {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  font-family: var(--font-pop);
  font-size: 15px;
  color: var(--ink-soft);
  border: 2px dashed var(--ink);
  border-radius: 50%;
  background: var(--cream);
  transition: transform 0.2s var(--bounce);
}


.stamp__cell--goal {
  font-size: 11px;
  background: var(--yellow-soft);
}

/* 押されたスタンプ＝赤い丸パンのハンコ */
.stamp__cell.is-stamped {
  color: transparent;
  border-style: solid;
  background: var(--red);
}

.stamp__cell.is-stamped::after {
  content: "";
  position: absolute;
  inset: 22%;
  /* 丸パンのシルエット（白）に、にっこりの目 */
  background:
    radial-gradient(circle at 34% 60%, var(--red) 0 2px, transparent 2.5px),
    radial-gradient(circle at 66% 60%, var(--red) 0 2px, transparent 2.5px),
    var(--white);
  border-radius: 50% 50% 42% 42% / 62% 62% 38% 38%;
}

.stamp__msg {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
}

/* ---------- FAQ ---------- */
.faq__list {
  display: grid;
  gap: 16px;
}

.faq__item {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 56px 16px 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

/* ＋ → − に変わるアイコン */
.faq__q::before,
.faq__q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 16px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.35s var(--bounce);
}

.faq__q::after {
  transform: rotate(90deg);
}

/* 開くと縦棒が寝て「－」になる */
.faq__item[open] .faq__q::after {
  transform: rotate(0deg);
}

.faq__item[open] .faq__q {
  background: var(--yellow-soft);
}

.faq__mark {
  flex-shrink: 0;
  display: grid;
  place-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-pop);
  font-size: 16px;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.faq__mark--a {
  background: var(--yellow);
  color: var(--ink);
}

.faq__a {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-top: 2px dashed rgba(59, 42, 26, 0.25);
}

.faq__a p {
  padding-top: 4px;
  font-size: 15px;
}

/* JSが高さアニメーション中に使う */
.faq__a.is-animating {
  overflow: hidden;
}

/* ---------- Reserve ---------- */
.reserve {
  padding-top: 0;
}

.reserve__box {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 52px);
}

.reserve__box .section__head {
  margin-bottom: 28px;
}

/* ---------- Access ---------- */
.access {
  background: var(--white);
  border-top: var(--border);
}

.access__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.access__info {
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}

.access__dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 2px dashed rgba(59, 42, 26, 0.25);
}

.access__dl > div:last-child {
  border-bottom: none;
}

.access__dl dt {
  align-self: start;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
}

.access__dl dd {
  font-size: 15px;
}

.access__dl a {
  font-family: var(--font-pop);
  color: var(--red);
}

.access__map {
  min-height: 340px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 56px var(--gutter) 32px;
}

.footer__wave {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 32px;
  line-height: 0;
}

.footer__wave svg {
  width: 100%;
  height: 100%;
  fill: var(--red);
}

.footer__logo {
  font-family: var(--font-pop);
  font-size: 26px;
  line-height: 1.2;
}

.footer__logo small {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--yellow);
}

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0;
  font-weight: 800;
}

.footer__nav a:hover {
  color: var(--yellow);
}

.footer__copy {
  opacity: 0.85;
}

/* ---------- Page top ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-content: center;
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.4s var(--bounce);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-2px);
}

/* ---------- Scroll reveal（少し下から出てくる） ----------
   html.js-pop のときだけ隠す＝JSが動かなければ最初から見える */
.js-pop [data-pop] {
  opacity: 0;
  transform: translateY(20px);
}

.js-pop [data-pop].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s var(--bounce);
}

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

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: grid;
    place-items: center;
    background: var(--yellow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav .nav__list {
    transform: translateY(16px);
    transition: transform 0.3s var(--bounce);
  }

  .nav.is-open .nav__list {
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    gap: 10px;
  }

  .nav__link {
    font-family: var(--font-pop);
    font-weight: 400;
    font-size: 22px;
    padding: 8px 24px;
  }

  .nav__link--cta {
    margin: 10px 0 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 56px;
  }

  .hero__btns {
    justify-content: center;
  }

  .hero__visual {
    max-width: 420px;
  }

  .rank {
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 460px;
    margin: 0 auto;
    padding-top: 30px;
  }

  .rank__item--1,
  .rank__item--2,
  .rank__item--3 {
    order: 0;
  }

  .timetable__inner,
  .stamp,
  .access__grid {
    grid-template-columns: 1fr;
  }

  .section__head--left {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .sp-only {
    display: inline;
  }

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

  .menu-grid {
    gap: 16px 12px;
  }

  .menu-card {
    padding: 8px 8px 12px;
  }

  .menu-card__name {
    font-size: 13px;
  }

  .menu-card__tag {
    font-size: 10px;
    right: -4px;
  }

  .tabs__btn {
    padding: 10px 18px;
    font-size: 15px;
  }

  .hero__sticker {
    width: 92px;
    height: 92px;
    font-size: 11px;
  }

  .hero__sticker em {
    font-size: 26px;
  }

  .hero__sticker--a {
    left: 0;
  }

  .hero__sticker--b {
    right: 0;
  }

  .tt__row {
    grid-template-columns: 68px 1fr;
    gap: 10px;
  }

  .tt__row time {
    font-size: 16px;
  }

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

  .stamp__grid {
    gap: 6px;
  }

  .stamp__cell {
    font-size: 12px;
  }

  .stamp__cell--goal {
    font-size: 9px;
  }

  .access__dl > div {
    grid-template-columns: 72px 1fr;
  }
}

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

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

  .js-pop [data-pop] {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee__track {
    animation: none;
  }
}

/* ---------- 読みやすさ・タップしやすさの底上げ（全幅共通） ----------
   本文は14px以上、指で押す要素は高さ44px前後を確保 */
.tt__row span,
.menu-card__name,
.stamp__msg,
.stamp__name,
.access__dl dt {
  font-size: 14px !important;
}

.stamp__cell--goal {
  font-size: 11px !important;
}

.footer__nav a,
.access__dl a {
  display: inline-block;
  padding: 11px 4px;
}

.access__dl a {
  margin: -11px 0;
}

/* ---------- 日本語の組版（見出しは文節で改行させる） ---------- */
.hero__title,
.section__title,
.rank__name,
.event-card__title,
.stamp__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.pc-only {
  display: inline;
}

@media (max-width: 640px) {
  .pc-only {
    display: none;
  }
}

/* ---------- お知らせ（掲示板風のリスト） ---------- */
.news {
  padding: 56px 0 0;
}

.news__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 32px;
  align-items: start;
}

.news__title {
  font-family: var(--font-pop);
  font-weight: 400;
  font-size: 20px;
  padding: 4px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: rotate(-2deg);
}

.news__list li {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 2px dotted rgba(59, 42, 26, 0.3);
}

.news__list time {
  flex-shrink: 0;
  font-family: var(--font-pop);
  color: var(--red);
}

/* ---------- 店長メモ（付箋風） ---------- */
.memo {
  position: relative;
  max-width: 520px;
  margin: 56px auto 0;
  padding: 22px 26px 20px;
  font-size: 15px;
  font-weight: 700;
  background: var(--yellow-soft);
  border-left: 6px solid var(--crust);
  transform: rotate(-1.2deg);
  box-shadow: 0 6px 14px rgba(59, 42, 26, 0.12);
}

.memo__who {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--red-dark);
}

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

  .news__title {
    justify-self: start;
  }

  .news__list li {
    font-size: 14px;
    gap: 12px;
  }
}

/* ---------- スタンプカード補足 ---------- */
.stamp__note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 取り置き予約（電話・LINEへの案内） ---------- */
.reserve__ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reserve__way {
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: var(--radius);
  text-align: center;
  line-height: 1.4;
}

.reserve__way small {
  flex-basis: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  opacity: 0.9;
}

.reserve__tip {
  margin-top: 20px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  background: var(--cream);
  border: 2px dashed rgba(59, 42, 26, 0.35);
  border-radius: 14px;
}

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