/* まいる — ひと皿の物語を描くAI動画クリエイター
   コンセプト: 朝のキッチン × 回転レーン。明るい紙の色に、エプロンの紺と木のぬくもり。 */

:root {
  --paper: #f6f1e8;
  --paper-2: #efe6d8;
  --cream: #fbf8f2;
  --ink: #2a2622;
  --ink-soft: #6b625a;
  --navy: #1f2d4d;
  --navy-2: #2f4470;
  --wood: #c98a4b;
  --wood-dark: #8d5a2b;
  --tomato: #d9553f;
  --line: rgba(42, 38, 34, .12);
  --shadow: 0 18px 40px rgba(60, 40, 20, .14);
  --radius: 18px;
  --jp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  --display: 'Kiwi Maru', 'Zen Kaku Gothic New', 'Hiragino Maru Gothic ProN', sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
  --ease: cubic-bezier(.22, .8, .32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); color: var(--ink); }
html, body { overflow-x: clip; } /* hidden だと sticky が効かなくなる */
body { margin: 0; font-family: var(--jp); font-size: 15px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: .02em; }
p { margin: 0; }
.hand { font-family: var(--hand); font-size: 1.35em; font-weight: 500; color: var(--tomato); letter-spacing: 0; }
.eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--ink-soft); text-transform: uppercase; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 10px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 5vw; transition: padding .3s, background .3s, box-shadow .3s;
}
.site-header.is-solid { padding: 12px 5vw; background: rgba(246, 241, 232, .88); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-mark { font-size: 20px; }
.brand-name { font-family: var(--display); font-size: 24px; letter-spacing: .06em; }
.brand-sub { font-family: var(--hand); font-size: 18px; color: var(--tomato); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { display: flex; flex-direction: column; align-items: center; font-size: 11px; letter-spacing: .16em; line-height: 1.3; padding: 4px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.site-nav a small { font-size: 10px; letter-spacing: .05em; color: var(--ink-soft); }
.site-nav a:hover { border-color: var(--tomato); }
.site-nav .nav-order { color: var(--tomato); }
.site-nav .nav-stamp small { color: #06c755; }
.motion-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(251, 248, 242, .8); font-size: 12px; display: grid; place-items: center; }
.motion-toggle:hover { border-color: var(--navy); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--cream); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded='true'] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 35; background: rgba(246, 241, 232, .96); backdrop-filter: blur(12px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; font-family: var(--display); font-size: 24px; }
.mobile-nav[hidden] { display: none; }

/* ---------- journey (sticky stage) ---------- */
.journey { position: relative; height: 100svh; }
.motion-ready .journey { height: 820svh; }
.stage { position: relative; height: 100svh; overflow: clip; background: #e9e2d6; }
.motion-ready .stage { position: sticky; top: 0; }
.film { position: absolute; inset: 0; z-index: 1; }
.film-poster, .film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-poster { z-index: 2; transition: opacity .4s; }
.film-canvas { z-index: 1; display: block; }
.steam-veil {
  position: absolute; inset: -10%; z-index: 6; opacity: 0; pointer-events: none; will-change: opacity;
  background:
    radial-gradient(ellipse 70% 80% at 42% 75%, #fff 0%, #fdfbf7 40%, rgba(253, 251, 247, .75) 65%, rgba(253, 251, 247, 0) 100%),
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(255, 255, 255, .9), transparent 70%);
}
.lane-bg { position: absolute; inset: 0; z-index: 3; opacity: 0; will-change: opacity; }
.lane-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(7px) saturate(.85) brightness(1.02); transform: scale(1.06); }
.lane-dim { position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none; background: linear-gradient(180deg, rgba(246, 241, 232, .78) 0%, rgba(246, 241, 232, .35) 35%, rgba(246, 241, 232, .1) 55%, rgba(78, 50, 28, .5) 100%); }

.hero-copy {
  position: absolute; z-index: 8; left: 6vw; bottom: 13%; max-width: 600px;
  padding: 34px 38px 28px; border-radius: 26px;
  background: linear-gradient(135deg, rgba(251, 248, 242, .9), rgba(251, 248, 242, .72));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(40, 30, 20, .18), inset 0 0 0 1px rgba(255, 255, 255, .6);
  will-change: opacity, transform;
}
.hero-title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.35; margin: 14px 0 16px; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero-title .line:nth-child(2) span { animation-delay: .15s; }
@keyframes rise { to { transform: none; } }
.hero-lead { font-size: 14px; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid rgba(6, 199, 85, .35); font-size: 12px; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(6, 199, 85, .15); transition: transform .2s; }
.hero-pill:hover { transform: translateY(-2px); }
.pill-new { background: #06c755; color: #fff; font-size: 9px; letter-spacing: .16em; padding: 4px 8px; border-radius: 999px; font-weight: 700; }
.hero-hint { margin-top: 14px; font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-size: 13px; letter-spacing: .06em; border: 1.5px solid var(--navy); transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: rgba(31, 45, 77, .06); }

/* lane scene */
.lane-scene { position: absolute; inset: 0; z-index: 10; opacity: 0; pointer-events: none; display: none; }
.motion-ready .lane-scene { display: block; }
.lane-heading { position: absolute; top: max(96px, 12%); left: 0; width: 100%; text-align: center; padding: 0 20px; }
.lane-heading h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 10px 0 8px; text-shadow: 0 2px 20px rgba(246, 241, 232, .9); }
.lane-heading p:last-child { font-size: 13px; color: var(--ink-soft); }
.belt { position: absolute; left: 0; right: 0; top: 46%; height: 340px; }
.belt-track {
  position: absolute; left: -12%; right: -12%; top: 210px; height: 78px; border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 46px),
    linear-gradient(180deg, #d9a56b, #c98a4b 45%, #a96a31);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .35) inset, 0 22px 40px rgba(50, 25, 5, .35);
  will-change: background-position;
}
.belt-track::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, transparent 0 92px, rgba(80, 40, 10, .18) 92px 96px); background-position: inherit; }
.plates { position: absolute; left: 50%; top: 0; width: 0; height: 100%; }
.plate {
  position: absolute; left: 0; top: 0; width: 240px; padding: 0; border: 0; background: none;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transform-origin: 50% 100%; will-change: transform, opacity;
}
.plate-dish {
  position: relative; width: 240px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #ffffff 0 58%, #ede7db 59% 76%, #fdfbf7 77% 90%, #d8cfc0 100%);
  box-shadow: 0 22px 34px rgba(40, 20, 5, .38), inset 0 -5px 12px rgba(0, 0, 0, .08);
  display: grid; place-items: center; transition: box-shadow .3s;
}
.plate-dish img { width: 79%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 62%; box-shadow: inset 0 6px 16px rgba(0, 0, 0, .25); }
.plate-dish::after { content: ''; position: absolute; inset: 10.5%; border-radius: 50%; box-shadow: inset 0 8px 18px rgba(0, 0, 0, .28); pointer-events: none; }
.plate-play { position: absolute; right: 8%; bottom: 8%; width: 46px; height: 46px; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; font-size: 15px; padding-left: 3px; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); border: 3px solid #fff; }
.plate-tag { background: var(--cream); padding: 8px 16px 9px; border-radius: 999px; box-shadow: 0 8px 20px rgba(40, 20, 5, .25); text-align: center; line-height: 1.3; opacity: calc(.35 + var(--focus, 0) * .65); transition: opacity .2s; }
.plate-tag b { display: block; font-family: var(--display); font-weight: 500; font-size: 16px; }
.plate-tag small { font-size: 9px; letter-spacing: .14em; color: var(--ink-soft); }
.plate[data-current='true'] .plate-dish, .plate:hover .plate-dish, .plate:focus-visible .plate-dish { box-shadow: 0 26px 40px rgba(40, 20, 5, .42), 0 0 0 6px rgba(255, 255, 255, .55), 0 0 60px rgba(255, 220, 160, .6); }
.plate:focus-visible { outline: none; }
.lane-controls { position: absolute; bottom: 9%; left: 0; width: 100%; display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .12em; }
.round-button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(42, 38, 34, .3); background: rgba(251, 248, 242, .85); font-size: 16px; transition: background .2s, border-color .2s; }
.round-button:not(:disabled):hover { background: #fff; border-color: var(--navy); }
.round-button:disabled { opacity: .35; cursor: default; }
.plate-counter { font-family: var(--display); font-size: 14px; background: rgba(251, 248, 242, .85); padding: 6px 14px; border-radius: 999px; }
.plate-counter b { font-weight: 500; font-size: 18px; margin-right: 4px; }
.plate-counter span { color: var(--ink-soft); font-size: 12px; }
.index-link { margin-left: 14px; border-bottom: 1px solid var(--tomato); padding-bottom: 2px; }
.journey-bottom { position: absolute; z-index: 16; bottom: 22px; left: 5vw; right: 5vw; display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: .18em; color: var(--ink-soft); pointer-events: none; }
.scroll-cue { position: absolute; left: 50%; transform: translateX(-50%); }
.scroll-cue i { display: inline-block; font-style: normal; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.journey-progress { width: 140px; height: 2px; background: rgba(42, 38, 34, .15); border-radius: 2px; overflow: hidden; }
.journey-progress i { display: block; height: 100%; background: var(--tomato); transform-origin: left; transform: scaleX(0); }

/* 撮影用 */
.shot-mode .journey, .shot-mode .stage { height: 860px !important; }

/* motion off */
.motion-off .journey { height: 100svh; }
.motion-off .stage { position: relative; }
.motion-off .film-canvas, .motion-off .steam-veil, .motion-off .lane-bg, .motion-off .lane-dim, .motion-off .lane-scene, .motion-off .journey-progress { display: none; }
.motion-off .hero-copy { opacity: 1 !important; transform: none !important; }

/* ---------- ticker ---------- */
.ticker { background: var(--navy); color: #f6f1e8; overflow: hidden; padding: 12px 0; font-family: var(--display); font-size: 13px; letter-spacing: .1em; position: relative; z-index: 18; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 70s linear infinite; }
.ticker-track span { padding: 0 18px; white-space: nowrap; }
.ticker-track span::after { content: '·'; margin-left: 36px; color: var(--wood); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- sections ---------- */
section { position: relative; }
.menu-section, .repertoire, .story, .chef, .order { background: var(--paper); z-index: 18; }
.section-head { width: min(1200px, 90vw); margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.5; margin: 12px 0 14px; }
.section-lead { color: var(--ink-soft); font-size: 14px; }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .1em; border-bottom: 1.5px solid var(--tomato); padding-bottom: 3px; transition: gap .2s; }
.link-arrow:hover { gap: 14px; }

/* menu */
.menu-section { padding: 110px 0 90px; }
.counter {
  position: relative; width: min(1200px, 92vw); margin: 0 auto; padding: 56px 4vw 44px; border-radius: 28px;
  background: linear-gradient(180deg, #d9a56b, #c98a4b 45%, #b9773b);
  box-shadow: var(--shadow), inset 0 2px 0 rgba(255, 255, 255, .35);
}
.counter::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, transparent 0 140px, rgba(80, 40, 10, .07) 140px 142px); pointer-events: none; }
.cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; text-align: left; background: var(--cream); border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 30px rgba(50, 25, 5, .35), 0 2px 0 rgba(255, 255, 255, .6) inset;
  transform: rotate(var(--tilt, 0deg)) translateY(30px); opacity: 0; transition: transform .7s var(--ease), opacity .7s, box-shadow .3s;
}
.card.is-in { transform: rotate(var(--tilt, 0deg)); opacity: 1; }
.card:hover, .card:focus-visible { transform: rotate(0deg) translateY(-8px) scale(1.02); box-shadow: 0 30px 40px rgba(50, 25, 5, .4); z-index: 2; }
.card:nth-child(1) { --tilt: -1.6deg; } .card:nth-child(2) { --tilt: .8deg; } .card:nth-child(3) { --tilt: -.6deg; }
.card-cover { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-cover img { transform: scale(1.05); }
.card-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(246, 241, 232, .92); color: var(--tomato); display: grid; place-items: center; font-size: 20px; padding-left: 4px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: transform .3s; }
.card:hover .card-play { transform: translate(-50%, -50%) scale(1.1); }
.card-no { position: absolute; top: 14px; left: 14px; font-family: var(--hand); font-size: 22px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.card-shorts { position: absolute; top: 14px; right: 14px; font-size: 9px; letter-spacing: .16em; background: var(--tomato); color: #fff; padding: 4px 8px; border-radius: 999px; }
.card-body { display: block; padding: 16px 18px 20px; border-top: 2px dashed var(--line); }
.card-dish, .card-title, .card-note { display: block; }
.card-dish { font-family: var(--display); font-size: 21px; line-height: 1.4; }
.card-title { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.card-note { font-size: 12px; margin-top: 10px; line-height: 1.7; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.card-tags span { font-size: 10px; color: var(--navy); background: rgba(31, 45, 77, .08); padding: 3px 8px; border-radius: 999px; }
.menu-more { width: min(1200px, 90vw); margin: 34px auto 0; text-align: right; }

/* repertoire */
.repertoire { padding: 90px 0 110px; background: var(--paper-2); }
.dish-grid { width: min(1200px, 90vw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dish { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #ddd; opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s var(--ease); cursor: pointer; border: 0; padding: 0; }
.dish.is-in { opacity: 1; transform: none; }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish:hover img { transform: scale(1.06); }
.dish span { position: absolute; left: 14px; bottom: 12px; font-family: var(--display); font-size: 14px; color: #fff; background: rgba(42, 38, 34, .55); backdrop-filter: blur(4px); padding: 4px 12px; border-radius: 999px; }
.dish-grid .dish:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 8; }

/* story */
.story { padding: 110px 0; }
.steps { list-style: none; margin: 0 auto; padding: 0; width: min(1200px, 90vw); display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 28px; opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s var(--ease); }
.step.is-in { opacity: 1; transform: none; }
.step::after { content: '→'; position: absolute; right: -19px; top: 34px; color: var(--wood); font-size: 18px; }
.step:last-child::after { content: none; }
.step-no { font-family: var(--hand); font-size: 30px; color: var(--tomato); line-height: 1; }
.step h3 { font-size: 21px; margin: 12px 0 2px; }
.step-sub { font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: 14px; }
.step p:last-child { font-size: 13px; color: var(--ink-soft); line-height: 1.9; }

/* chef */
.chef { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items: center; width: min(1200px, 90vw); margin: 0 auto; padding: 60px 0 120px; }
.chef-art { position: relative; }
.chef-frame { width: min(340px, 80%); aspect-ratio: 464 / 937; border-radius: 170px 170px 20px 20px; overflow: hidden; box-shadow: var(--shadow); background: url('assets/kitchen-bg.jpg') center / cover; }
.chef-frame img { width: 100%; height: 100%; object-fit: cover; }
.chef-moods { position: absolute; right: 0; bottom: 30px; display: flex; gap: 10px; }
.chef-moods img { width: 82px; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 4px solid var(--paper); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.chef-moods img:last-child { margin-top: 26px; }
.chef-copy h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.5; margin: 12px 0 6px; }
.chef-name { display: block; font-family: var(--hand); font-size: 1.6em; color: var(--tomato); line-height: 1.1; }
.chef-role { font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 24px; }
.chef-copy > p + p { margin-top: 16px; }
.chef-facts { list-style: none; padding: 18px 0 0; margin: 26px 0 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; }
.chef-facts b { display: inline-block; min-width: 6em; font-weight: 500; color: var(--navy); }
.socials { display: flex; gap: 12px; margin-bottom: 24px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .08em; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--cream); border-color: var(--navy); }

/* order */
.order { padding: 40px 0 120px; }
.order-card { position: relative; width: min(920px, 90vw); margin: 0 auto; padding: 70px 8vw; text-align: center; background: var(--navy); color: #f6f1e8; border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.order-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(217, 85, 63, .45), transparent 70%); }
.order-card > * { position: relative; }
.order-card .eyebrow { color: rgba(246, 241, 232, .7); }
.order-card h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.4; margin: 14px 0 18px; }
.order-lead { font-size: 14px; color: rgba(246, 241, 232, .85); }
.order-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 30px 0 24px; }
.order-actions .btn { border-color: #f6f1e8; color: #f6f1e8; }
.order-actions .btn-primary { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.order-note { font-size: 12px; color: rgba(246, 241, 232, .7); }

/* footer */
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 5vw 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); position: relative; z-index: 18; background: var(--paper); }

/* player dialog */
.player { padding: 0; border: 0; border-radius: 24px; background: var(--cream); color: var(--ink); width: min(920px, calc(100% - 40px)); max-height: calc(100svh - 40px); overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .45); }
.player::backdrop { background: rgba(31, 45, 77, .7); backdrop-filter: blur(6px); }
.player[open] { display: grid; grid-template-columns: minmax(0, 360px) 1fr; }
.player.is-image[open] { grid-template-columns: 1.4fr 1fr; }
.player-frame { background: #000; aspect-ratio: 9 / 16; max-height: calc(100svh - 40px); }
.player.is-image .player-frame { aspect-ratio: 16 / 10; background: #110e0b; }
.player-frame iframe, .player-frame img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.player-copy { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.player-copy h2 { font-size: 26px; line-height: 1.5; }
.player-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 13px; margin-bottom: 8px; }
.player-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(42, 38, 34, .08); font-size: 22px; line-height: 1; z-index: 2; }
.player-close:hover { background: rgba(42, 38, 34, .16); }

/* reveal helper */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { content: none; }
  .site-nav { gap: 20px; }
  .hero-copy { max-width: 520px; }
}
@media (max-width: 768px) {
  body { font-size: 14px; }
  .site-header { padding: 16px 5vw; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .hero-copy { left: 5vw; right: 5vw; bottom: 11%; max-width: none; padding: 24px 22px 20px; border-radius: 20px; }
  .hero-title { font-size: clamp(30px, 8.6vw, 44px); }
  .hero-lead br { display: none; }
  .hero-hint { display: none; }
  .lane-heading { top: max(84px, 11%); }
  .lane-heading h2 { font-size: 26px; }
  .belt { top: 38%; height: 300px; }
  .belt-track { top: 176px; height: 60px; }
  .plate, .plate-dish { width: 168px; }
  .plate-play { width: 36px; height: 36px; font-size: 12px; }
  .plate-tag { padding: 6px 12px; }
  .plate-tag b { font-size: 14px; }
  .lane-controls { bottom: 8%; gap: 10px; font-size: 11px; }
  .index-link { display: none; }
  .journey-bottom .scroll-cue { display: none; }
  .section-head.split { grid-template-columns: 1fr; gap: 14px; }
  .counter { padding: 34px 5vw 30px; border-radius: 20px; }
  .cards { grid-template-columns: 1fr; gap: 26px; max-width: 360px; margin: 0 auto; }
  .card { --tilt: 0deg !important; }
  .dish-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dish-grid .dish:nth-child(1) { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .step::after { content: none; }
  .chef { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
  .chef-frame { width: min(240px, 70vw); margin: 0 auto; }
  .chef-moods { right: 4vw; bottom: 0; }
  .chef-moods img { width: 64px; }
  .order-card { padding: 50px 7vw; }
  .player[open], .player.is-image[open] { grid-template-columns: 1fr; }
  .player-frame { max-height: 62svh; aspect-ratio: auto; height: 62svh; }
  .player.is-image .player-frame { height: auto; aspect-ratio: 16 / 10; }
  .player-copy { padding: 22px 24px 28px; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card, .dish, .step, .reveal { opacity: 1; transform: none; }
  .hero-title .line span { transform: none; }
}

/* ---------- stamp section ---------- */
.stamp-section { padding: 110px 0 100px; background: var(--paper); }
.stamp-showcase { width: min(1200px, 90vw); margin: 0 auto 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.chat-mock { position: relative; border-radius: 28px; padding: 28px 22px 26px; background: #7e9ac4; background-image: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .18), transparent 40%); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; min-height: 480px; overflow: hidden; }
.chat-mock::before { content: 'まいる'; position: absolute; top: 0; left: 0; right: 0; padding: 12px 0 10px; text-align: center; font-family: var(--display); font-size: 13px; letter-spacing: .1em; color: #fff; background: rgba(31, 45, 77, .35); }
.chat-mock .bubble { max-width: 68%; padding: 10px 16px; border-radius: 18px; font-size: 13px; line-height: 1.6; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s, transform .5s var(--ease); }
.chat-mock .bubble.is-in { opacity: 1; transform: none; }
.chat-mock .bubble.me { align-self: flex-end; background: #8de055; color: #1f2d22; border-bottom-right-radius: 4px; margin-top: 8px; }
.chat-mock .bubble.me:first-child { margin-top: 30px; }
.chat-mock .bubble.mairu { align-self: flex-start; background: transparent; padding: 0; display: flex; align-items: flex-end; gap: 8px; }
.chat-mock .bubble.mairu img.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; }
.chat-mock .bubble.mairu img.chat-sticker { width: 150px; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .2)); }
.chat-mock .chat-time { align-self: flex-end; font-size: 10px; color: rgba(255, 255, 255, .85); margin-top: -8px; margin-right: 4px; }
.stamp-series { display: flex; flex-direction: column; gap: 18px; }
.series-card { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: 26px; padding: 30px 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; flex: 1; }
.series-card .main { width: 150px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .15)); }
.series-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .18em; font-weight: 700; color: #fff; background: #06c755; padding: 5px 10px; border-radius: 999px; }
.series-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.series-card h3 { font-size: 22px; line-height: 1.5; margin: 12px 0 4px; }
.series-card .series-sub { font-family: var(--hand); font-size: 22px; color: var(--tomato); line-height: 1; }
.series-card .series-tagline { font-size: 12px; color: var(--ink-soft); margin: 10px 0 14px; }
.series-meta { display: flex; gap: 18px; align-items: baseline; margin-bottom: 16px; }
.series-meta b { font-family: var(--display); font-size: 30px; font-weight: 500; color: #06a24a; }
.series-meta span { font-size: 12px; color: var(--ink-soft); }
.btn-line { background: #06c755; border-color: #06c755; color: #fff; }
.btn-line:hover { background: #05b04b; }
.series-note { font-size: 11px; color: var(--ink-soft); margin-top: 10px; }
.sticker-grid { width: min(1200px, 90vw); margin: 0 auto 50px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.sticker { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s var(--ease), box-shadow .3s; }
.sticker.is-in { opacity: 1; transform: none; }
.sticker img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .35s var(--ease); }
.sticker:hover { box-shadow: var(--shadow); }
.sticker:hover img { transform: rotate(-6deg) scale(1.12); }
.sticker:nth-child(even):hover img { transform: rotate(6deg) scale(1.12); }
.sticker span { font-size: 10px; line-height: 1.4; text-align: center; color: var(--ink-soft); }
.stamp-teasers { width: min(1200px, 90vw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 18px; }
.teaser { position: relative; border: 2px dashed rgba(42, 38, 34, .25); border-radius: 22px; padding: 26px 26px 24px; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(42, 38, 34, .025) 14px 28px); }
.teaser .mystery { width: 72px; aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--hand); font-size: 40px; color: var(--ink-soft); }
.teaser h3 { font-size: 20px; margin-bottom: 2px; }
.teaser .teaser-sub { font-family: var(--hand); font-size: 20px; color: var(--tomato); line-height: 1; }
.teaser p:last-child { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.teaser.request { border-style: solid; border-color: rgba(31, 45, 77, .25); background: var(--navy); color: #f6f1e8; grid-template-columns: 1fr; }
.teaser.request h3 { font-size: 18px; }
.teaser.request p { color: rgba(246, 241, 232, .8); }
.teaser.request .link-arrow { color: #f6f1e8; margin-top: 12px; border-color: #8de055; }
/* レーン上のスタンプ皿 */
.plate.is-link .plate-dish { background: radial-gradient(circle at 50% 42%, #ffffff 0 58%, #e6f6ea 59% 76%, #fdfbf7 77% 90%, #cfe3d4 100%); }
.plate.is-link .plate-dish img { object-fit: contain; object-position: center; background: #fff; box-shadow: none; padding: 8%; }
.plate.is-link .plate-tag b { color: #06a24a; }
@media (max-width: 1024px) { .sticker-grid { grid-template-columns: repeat(4, 1fr); } .stamp-teasers { grid-template-columns: 1fr 1fr; } .teaser.request { grid-column: span 2; } }
@media (max-width: 768px) {
  .stamp-section { padding: 80px 0 70px; }
  .stamp-showcase { grid-template-columns: 1fr; gap: 20px; }
  .chat-mock { min-height: 0; padding: 50px 16px 20px; }
  .chat-mock .bubble.mairu img.chat-sticker { width: 120px; }
  .series-card { grid-template-columns: 1fr; padding: 24px 22px; text-align: center; justify-items: center; }
  .series-meta { justify-content: center; }
  .sticker-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .sticker { padding: 8px 4px 8px; border-radius: 12px; }
  .sticker span { font-size: 9px; }
  .stamp-teasers { grid-template-columns: 1fr; }
  .teaser.request { grid-column: auto; }
  .hero-pill { font-size: 11px; }
}

/* ---------- follow (SNS) ---------- */
.follow { padding: 20px 0 100px; }
.follow-grid { width: min(1200px, 90vw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.follow-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; transition: transform .25s var(--ease), box-shadow .25s; overflow: hidden; }
.follow-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--brand, var(--navy)); }
.follow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.follow-card .mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--hand); font-size: 24px; color: #fff; background: var(--brand, var(--navy)); margin-bottom: 8px; }
.follow-card h3 { font-size: 20px; }
.follow-card .handle { font-size: 12px; color: var(--ink-soft); letter-spacing: .02em; }
.follow-card p { font-size: 12px; color: var(--ink-soft); line-height: 1.8; margin: 8px 0 14px; flex: 1; }
.follow-card .link-arrow { align-self: flex-start; }
.player-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.player-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.player-links a:hover { background: var(--paper-2); border-color: var(--navy); }
.player-links a.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.socials a[data-key='youtube']:hover { border-color: #ff0033; } .socials a[data-key='instagram']:hover { border-color: #e1306c; }
@media (max-width: 1024px) { .follow-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .follow { padding-bottom: 70px; } .follow-grid { grid-template-columns: 1fr; gap: 10px; } .follow-card { padding: 20px 20px 18px; } }
