/* ふくふくむぎ舎（架空のお店）— デザインサンプル / 制作：惺 さとる｜ローカルPRの達人 */

:root {
  --cream: #FFF3D9;
  --cream-2: #FFF8EA;
  --mustard: #E8B23A;
  --mustard-soft: #F6D98A;
  --tomato: #E4513B;
  --tomato-deep: #C93F2B;
  --mint: #8FD3B6;
  --mint-soft: #D5F1E4;
  --pink: #F9D3CC;
  --ink: #4B2E22;
  --ink-soft: #7A5646;
  --radius: 26px;
  --line: 3px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --f-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --f-hand: "Yusei Magic", "M PLUS Rounded 1c", sans-serif;
  --f-latin: "Fredoka", "M PLUS Rounded 1c", sans-serif;
  --gutter: 20px;
  --header-h: 64px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-round);
  font-weight: 500;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(75, 46, 34, 0.07) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -0.2em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 12px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px dashed var(--tomato); outline-offset: 4px; border-radius: 8px; }

.container { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.pc-only { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 52px; padding: 10px 26px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--tomato { background: var(--tomato); color: #fff; }
.btn--cream { background: var(--cream-2); color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- スクロール進捗（パンの帯） ---------- */
.scroll-progress { display: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 243, 217, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--line) solid var(--ink);
}
.site-header__inner {
  width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 44px; height: 38px; transform-origin: 50% 100%; overflow: visible; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--f-hand); font-size: 1.3rem; letter-spacing: .04em; }
.logo__sub { font-family: var(--f-latin); font-weight: 700; font-size: .62rem; letter-spacing: .22em; color: var(--tomato); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; min-height: 44px;
  background: var(--mustard); border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-sm); font-weight: 800; font-size: .85rem; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars i { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; top: calc(100% + 10px); right: 0; left: 0;
  background: var(--cream-2); border: var(--line) solid var(--ink); border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1), visibility 0s .25s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav ul { display: grid; gap: 4px; }
.site-nav a {
  display: block; padding: 12px 16px; border-radius: 14px;
  text-decoration: none; font-weight: 800;
}
.site-nav a:hover { background: var(--mustard-soft); }
.site-nav .site-nav__cta { background: var(--tomato); color: #fff; text-align: center; margin-top: 4px; }

/* JSなし：ナビを常時表示（折り返し） */
.no-js .nav-toggle { display: none; }
.no-js .site-header__inner { flex-wrap: wrap; padding-block: 8px; }
.no-js .site-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0; width: 100%; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.no-js .site-nav a { padding: 6px 10px; font-size: .88rem; }
.no-js .site-nav .site-nav__cta { margin-top: 0; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; padding: 28px 0 70px; }
.hero__inner {
  width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; gap: 22px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 14px; padding: 4px 14px;
  font-size: .82rem; font-weight: 800;
  background: var(--mint); border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.hero__eyebrow .icon { color: var(--ink); }
.hero__title {
  isolation: isolate;
  font-size: clamp(2.3rem, 11vw, 4.6rem);
  line-height: 1.18; letter-spacing: .01em;
  margin-bottom: 18px;
}
.hero__title .line { display: block; }
.hero__title mark {
  font-family: var(--f-hand); font-weight: 400;
  color: var(--tomato); background: none;
  position: relative; display: inline-block;
  font-size: 1.12em;
}
.hero__title mark::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--mustard); border-radius: 999px; transform: rotate(-2deg);
}
.hero__lead { font-size: 1rem; color: var(--ink-soft); margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  font-size: .8rem; padding: 4px 12px;
  background: var(--cream-2); border: 2px solid var(--ink); border-radius: 12px;
}
.hero__chips strong { font-family: var(--f-latin); color: var(--tomato); margin-right: 4px; }

.hero__art {
  position: relative; aspect-ratio: 1 / 0.95;
  border: var(--line) solid var(--ink); border-radius: 40px 40px 40px 120px;
  background: var(--mustard-soft);
  box-shadow: var(--shadow);
  overflow: hidden; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
.hero__blob {
  position: absolute; inset: auto -10% -35% -10%; height: 70%;
  background: var(--mint); border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  border-top: var(--line) solid var(--ink);
  z-index: 0;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__bread {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  width: 92%; height: auto; z-index: 2; overflow: visible;
}
.bread-steam .steam { animation: steam 2.4s ease-in-out infinite; }
.bread-steam .steam--2 { animation-delay: .4s; }
.bread-steam .steam--3 { animation-delay: .8s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(16px); }
  40% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-14px); }
}
.hero__stage {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 16px;
  background: var(--cream-2); border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-family: var(--f-hand); font-size: 1.05rem;
}
.stage-dots { display: inline-flex; gap: 5px; }
.stage-dots span { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream-2); transition: background .3s, transform .3s; }
.stage-dots span.is-on { background: var(--tomato); transform: scale(1.25); }
.hero__hint {
  position: absolute; right: 14px; top: 18px; z-index: 3; margin: 0;
  font-family: var(--f-hand); font-size: .85rem; color: var(--ink);
  transform: rotate(6deg);
}
.no-js .hero__hint, .no-js .stage-dots { display: none; }

.wave { position: absolute; left: 0; width: 100%; height: 36px; display: block; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; }

/* ---------- マーキー ---------- */
.marquee {
  position: relative; overflow: hidden;
  border-block: var(--line) solid var(--ink);
  font-weight: 800;
}
.marquee--tomato { background: var(--tomato); color: #fff; border-top: 0; }
.marquee--mustard {
  background: var(--mustard); color: var(--ink);
  transform: rotate(-2deg); margin: 30px -20px; width: calc(100% + 40px);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 30s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__group li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; white-space: nowrap; font-size: .95rem;
}
.marquee__group li::after {
  content: ""; width: 18px; height: 18px; margin-left: 22px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0l2.6 6.4L20 7.6l-5.4 4.6L16.2 20 10 16l-6.2 4 1.6-7.8L0 7.6l7.4-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0l2.6 6.4L20 7.6l-5.4 4.6L16.2 20 10 16l-6.2 4 1.6-7.8L0 7.6l7.4-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.marquee .t {
  font-family: var(--f-latin); font-weight: 700;
  padding: 1px 10px; border-radius: 999px;
  background: var(--cream-2); color: var(--tomato); border: 2px solid var(--ink);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: 80px 0; }
.section__en {
  font-family: var(--f-latin); font-weight: 700; letter-spacing: .12em;
  color: var(--tomato); margin: 0 0 4px; font-size: .95rem;
  display: flex; width: fit-content; align-items: center; gap: 8px;
}
.section__en::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.section__title {
  font-size: clamp(1.7rem, 6.6vw, 2.8rem);
  margin-bottom: 22px;
  position: relative; display: block;
}
.section__title::after {
  content: ""; display: block; height: 12px; margin-top: 6px; width: 140px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12'%3E%3Cpath d='M3 8C20 2 30 11 47 6S72 2 90 7s30 1 47-3' fill='none' stroke='%23E8B23A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") left center / contain no-repeat;
}

/* ---------- わたしたち ---------- */
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__text > p:not(.section__en) { color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 14px 6px 12px;
  background: var(--cream-2); border: var(--line) solid var(--ink); border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.stat:nth-child(2) { background: var(--mint-soft); }
.stat:nth-child(3) { background: var(--pink); }
.stat__num { font-family: var(--f-latin); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--tomato); }
.stat__num small { font-family: var(--f-round); font-size: .5em; color: var(--ink); margin-left: 2px; }
.stat__label { font-size: .72rem; font-weight: 700; }
.about__art {
  margin: 0; overflow: hidden;
  background: linear-gradient(#D5F1E4, #FFF8EA 70%);
  border: var(--line) solid var(--ink); border-radius: 40px 40px 120px 40px;
  box-shadow: var(--shadow);
}
.about__art svg { width: 100%; height: auto; margin-bottom: -4px; }
.sun-spin { transform-box: fill-box; transform-origin: center; animation: sun-pulse 4s ease-in-out infinite; }
@keyframes sun-pulse { 50% { transform: scale(1.12); } }

/* ---------- メニュー ---------- */
.menu { background: var(--mint-soft); border-bottom: var(--line) solid var(--ink); padding-top: 100px; }
.menu__head { margin-bottom: 18px; }
.menu__head p:last-child { color: var(--ink-soft); font-size: .9rem; }

.filter {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 26px;
}
.no-js .filter { display: none; }
.filter button {
  padding: 8px 16px; min-height: 44px;
  font-weight: 800; font-size: .9rem;
  background: var(--cream-2); border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), background .2s;
}
.filter button:hover { transform: translateY(-2px) rotate(-2deg); }
.filter button[aria-pressed="true"] { background: var(--tomato); color: #fff; transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.menu-count { margin-left: auto; font-family: var(--f-hand); font-size: 1.05rem; }

.menu-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.menu-card {
  display: flex; flex-direction: column;
  background: var(--cream-2);
  border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  will-change: transform;
}
.menu-card[hidden] { display: none; }
.menu-card__pic {
  position: relative; display: grid; place-items: center;
  padding: 14px 10px 8px; border-bottom: var(--line) solid var(--ink);
}
.menu-card__pic svg { width: 86%; max-width: 150px; height: auto; transform-origin: 50% 100%; overflow: visible; filter: url(#wobble); }
.pic--cream { background: #FCE7BD; }
.pic--mint { background: var(--mint); }
.pic--pink { background: var(--pink); }
.pic--mustard { background: var(--mustard-soft); }
.tag {
  position: absolute; left: 8px; top: 8px;
  font-size: .64rem; font-weight: 800; padding: 1px 8px;
  background: var(--cream-2); border: 2px solid var(--ink); border-radius: 999px;
  transform: rotate(-4deg);
}
.tag--hot { background: var(--tomato); color: #fff; }
.tag--season { background: var(--mustard); }
.menu-card__body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.menu-card h3 { font-size: .95rem; margin-bottom: 6px; line-height: 1.4; }
.menu-card__body p { font-size: .76rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 8px; }
.menu-card .price {
  margin: auto 0 0; color: var(--tomato);
  font-family: var(--f-latin); font-weight: 700; font-size: 1.25rem; line-height: 1;
}
.menu-card .price small { font-family: var(--f-round); font-size: .6em; margin-left: 2px; color: var(--ink); }

.morning {
  margin-top: 32px;
  display: grid; gap: 6px 18px; align-items: center;
  padding: 20px 22px;
  background: var(--mustard); border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.morning p { margin: 0; }
.morning__time { font-family: var(--f-latin); font-weight: 700; background: var(--cream-2); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; justify-self: start; }
.morning__title { font-size: 1.3rem; }
.morning__price { font-family: var(--f-latin); font-weight: 700; font-size: 2rem; color: var(--tomato-deep); line-height: 1; }
.morning__price small { font-family: var(--f-round); font-size: .5em; color: var(--ink); }

/* ---------- こだわり ---------- */
.craft__list { display: grid; gap: 18px; counter-reset: c; }
.craft-card {
  position: relative;
  padding: 26px 22px 20px;
  background: var(--cream-2); border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.craft-card:nth-child(2) { background: var(--pink); }
.craft-card:nth-child(3) { background: var(--mint-soft); }
.craft-card:nth-child(4) { background: #FCE7BD; }
.craft-card__num {
  position: absolute; top: -18px; left: 18px;
  font-family: var(--f-latin); font-weight: 700; font-size: 1.05rem;
  background: var(--tomato); color: #fff;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: var(--line) solid var(--ink); border-radius: 50%;
}
.craft-card__icon { position: absolute; right: 16px; top: 14px; width: 64px; height: 54px; }
.craft-card h3 { font-size: 1.2rem; margin: 10px 70px 10px 0; }
.craft-card p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- アクセス ---------- */
.access__grid { display: grid; gap: 30px; align-items: center; }
.info {
  margin: 0;
  background: var(--cream-2); border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.info div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 12px 16px; }
.info div + div { border-top: 2px dashed rgba(75, 46, 34, .3); }
.info dt { font-weight: 800; color: var(--tomato); font-size: .88rem; }
.info dd { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; }
.map-pin { cursor: pointer; }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--mustard-soft); border-top: var(--line) solid var(--ink); }
.contact__grid { display: grid; gap: 20px; }
.contact__intro > p:not(.section__en) { color: var(--ink-soft); }
.form-note { font-size: .85rem; font-weight: 800; color: var(--tomato-deep) !important; }
.contact-form {
  padding: 22px 18px;
  background: var(--cream-2); border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
.req { font-size: .66rem; background: var(--tomato); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font-size: 16px;
  background: #fff; border: var(--line) solid var(--ink); border-radius: 16px;
  transition: box-shadow .2s, transform .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--mint); transform: translate(-2px, -2px); }
.form-result { margin: 12px 0 0; font-weight: 700; color: var(--tomato-deep); min-height: 1em; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 44px 0 110px; text-align: center; }
.site-footer p { margin: 0 0 6px; font-size: .85rem; }
.site-footer__logo { font-family: var(--f-hand); font-size: 1.6rem !important; color: var(--mustard); }
.copy { opacity: .7; font-size: .75rem !important; }

/* ---------- サンプル表示 ---------- */
.sample-badge {
  position: fixed; right: 10px; bottom: 10px; z-index: 60;
  max-width: calc(100% - 20px);
  padding: 7px 12px;
  background: rgba(75, 46, 34, .92); color: var(--cream);
  border: 2px solid var(--cream); border-radius: 14px;
  font-size: .68rem; line-height: 1.5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.sample-badge p { margin: 0; }
.sample-badge a { color: var(--mustard); font-weight: 800; }

/* ---------- カーソルのパンくず ---------- */
.crumb-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 80; }

/* ============================================================
   スクロール駆動アニメーション（対応ブラウザのみ）
   非対応ブラウザでは何もしない＝最初から通常表示
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: pop-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
    .stat.reveal:nth-child(2), .craft-card.reveal:nth-child(even) { animation-range: entry 8% cover 34%; }
    .stat.reveal:nth-child(3) { animation-range: entry 16% cover 40%; }

    .about__art.reveal { animation-name: swing-in; }
    .map.reveal { animation-name: swing-in-r; }

    .hero__copy {
      animation: hero-away linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70vh;
    }

    .scroll-progress {
      display: block;
      position: fixed; left: 0; right: 0; top: 0; height: 6px; z-index: 70;
      pointer-events: none;
    }
    .scroll-progress span {
      display: block; height: 100%;
      background: repeating-linear-gradient(90deg, var(--tomato) 0 14px, var(--mustard) 14px 28px);
      transform-origin: 0 50%;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(46px) scale(.94) rotate(-2deg); }
  to { opacity: 1; transform: none; }
}
@keyframes swing-in {
  from { opacity: 0; transform: translateX(-40px) rotate(-6deg) scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes swing-in-r {
  from { opacity: 0; transform: translateX(40px) rotate(6deg) scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-away {
  to { transform: translateY(-40px); opacity: .25; }
}
@keyframes progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================================
   タブレット / PC
   ============================================================ */
@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .craft__list { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .morning { grid-template-columns: auto 1fr auto; }
}

@media (min-width: 960px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .pc-only { display: inline; }
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0; width: auto;
  }
  .site-nav ul, .no-js .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav a { padding: 8px 14px; font-size: .95rem; }
  .site-nav .site-nav__cta { margin: 0 0 0 8px; border: var(--line) solid var(--ink); box-shadow: var(--shadow-sm); padding: 8px 20px; }
  .no-js .site-header__inner { flex-wrap: nowrap; }
  .logo__mark { width: 54px; height: 46px; }
  .logo__name { font-size: 1.55rem; }

  .hero { padding: 56px 0 110px; }
  .hero__inner { grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
  .hero__lead { font-size: 1.08rem; }
  .wave { height: 60px; }

  .section { padding: 120px 0; }
  .menu { padding-top: 140px; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .menu-card h3 { font-size: 1.02rem; }
  .menu-card__body { padding: 14px 16px 18px; }
  .menu-card__body p { font-size: .82rem; }
  .menu__head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 30px; }
  .menu__head .section__en, .menu__head .section__title { grid-column: 1; }
  .menu__head p:last-child { grid-column: 2; grid-row: 2; margin-bottom: 30px; }

  .craft__list { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .craft-card:nth-child(even) { transform: translateY(34px); }
  .craft-card h3 { margin-right: 0; margin-top: 64px; }
  .craft-card__icon { top: 16px; right: 16px; width: 76px; height: 64px; }

  .access__grid { grid-template-columns: 1fr 1.1fr; gap: 60px; }
  .contact__grid { grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
  .contact-form { padding: 32px 30px; }
  .sample-badge { font-size: .74rem; right: 16px; bottom: 16px; }
  .site-footer { padding-bottom: 60px; }
}

@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .craft-card.reveal:nth-child(even) { animation-name: pop-in-shift; }
  }
}
@keyframes pop-in-shift {
  from { opacity: 0; transform: translateY(80px) scale(.94) rotate(2deg); }
  to { opacity: 1; transform: translateY(34px); }
}

/* ============================================================
   動きを減らす設定
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none !important; }
  .marquee { overflow-x: auto; }
  .bread-steam .steam { animation: none !important; opacity: .8; }
  .hero__hint { display: none; }
}
