/* =========================================================
   自家焙煎珈琲 灯火 — 見た目
   色は js/config.js の colors で変えられます（ここは初期値）
   ========================================================= */
:root {
  --ink: #0d0907;
  --ink2: #17110d;
  --cream: #efe4d2;
  --muted: #a8998a;
  --ember: #ff7a3d;
  --gold: #d9a35b;
  --green: #a7b483;
  --roast-col: #8f9b66;
  --f-min: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --f-sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --f-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --pad: clamp(20px, 6vw, 96px);
  --line-c: rgba(239, 228, 210, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
[class*='__num'], .loader__temp, .hud__cell b, .gauge__num, .step__num, .brew__meter b, .stats b, .card__price, .menu__price, .hours td, .day time, .card__no { font-variant-numeric: lining-nums tabular-nums; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--f-sans); font-size: 15px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html:not(.touch) body, html:not(.touch) a, html:not(.touch) button { cursor: none; }
.rm body, .rm a, .rm button { cursor: auto !important; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
em { font-style: normal; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

/* ---------- 見本の表示 ---------- */
.notice {
  position: fixed; left: 12px; bottom: 12px; z-index: 95;
  font-size: 10.5px; line-height: 1.5; letter-spacing: .04em; color: rgba(239, 228, 210, .62);
  background: rgba(13, 9, 7, .72); border: 1px solid rgba(239, 228, 210, .1);
  padding: 5px 10px; border-radius: 99px; max-width: calc(100vw - 24px);
  pointer-events: none;
}

/* ---------- 舞台・粒子のざらつき ---------- */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; }
.fallback-bg { display: none; }
.no-webgl #gl { display: none; }
.no-webgl .fallback-bg {
  display: block; position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(60vw 50vh at 72% 45%, rgba(255, 122, 61, .2), transparent 70%),
    radial-gradient(80vw 50vh at 50% 110%, rgba(255, 122, 61, .12), transparent 70%),
    var(--ink);
}
.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .085; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); }
}
.rm .grain { animation: none; }

main, .ft { position: relative; z-index: 2; }

/* ---------- 読み込み画面 ---------- */
.loader {
  --hole: 0vmax;
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 6px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, transparent calc(var(--hole) - 8vmax), #000 var(--hole));
  mask-image: radial-gradient(circle at 50% 40%, transparent calc(var(--hole) - 8vmax), #000 var(--hole));
}
.loader__flame { position: relative; width: 70px; height: 120px; margin-bottom: 40px; zoom: 1.5; transform-origin: 50% 85%; animation: flameIn 1.6s var(--ease) both; }
.loader__flame i, .loader__flame b { position: absolute; left: 50%; bottom: 0; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; transform-origin: 50% 90%; translate: -50% 0; }
.loader__flame i:nth-child(1) { width: 70px; height: 120px; background: radial-gradient(50% 60% at 50% 70%, rgba(255, 122, 61, .55), rgba(255, 80, 20, 0) 70%); filter: blur(10px); animation: flick 1.3s ease-in-out infinite alternate; }
.loader__flame i:nth-child(2) { width: 40px; height: 88px; background: radial-gradient(50% 60% at 50% 72%, #ffb15c, rgba(255, 110, 40, .9) 45%, rgba(255, 60, 10, 0) 75%); filter: blur(3px); animation: flick 0.9s ease-in-out infinite alternate-reverse; }
.loader__flame i:nth-child(3) { width: 20px; height: 46px; bottom: 4px; background: radial-gradient(50% 55% at 50% 70%, #fff6e2, #ffd38a 50%, rgba(255, 170, 80, 0) 80%); filter: blur(1.5px); animation: flick .7s ease-in-out infinite alternate; }
.loader__flame b { width: 12px; height: 14px; bottom: -2px; background: radial-gradient(circle, rgba(120, 160, 255, .9), rgba(60, 90, 255, 0) 70%); filter: blur(2px); border-radius: 50%; }
.loader__flame::after { content: ''; position: absolute; left: 50%; bottom: -90px; width: 260px; height: 260px; translate: -50% 0; background: radial-gradient(circle, rgba(255, 122, 61, .16), transparent 65%); pointer-events: none; }
@keyframes flameIn { from { transform: scale(.05); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes flick {
  0% { transform: scale(1, 1) skewX(0deg); } 35% { transform: scale(.94, 1.06) skewX(2deg); }
  70% { transform: scale(1.04, .95) skewX(-2deg); } 100% { transform: scale(.97, 1.04) skewX(1deg); }
}
.loader__temp { font-family: var(--f-en); font-weight: 400; font-size: clamp(64px, 10vw, 120px); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.loader__temp small { font-size: .35em; margin-left: .1em; color: var(--gold); vertical-align: .9em; }
.loader__cap { font-size: 13px; letter-spacing: .3em; color: var(--cream); }
.loader__en { font-family: var(--f-en); font-style: italic; font-size: 15px; color: var(--muted); letter-spacing: .08em; }

/* ---------- カーソル ---------- */
.cursor { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.touch .cursor, .rm .cursor { display: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot::before { content: ''; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cream); transition: transform .3s var(--ease), opacity .3s; }
.cursor__ring::before {
  content: ''; position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(239, 228, 210, .45); transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__label { position: absolute; left: 0; top: 0; translate: -50% -50%; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); }
.cursor.is-link .cursor__ring::before { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(239, 228, 210, .08); border-color: rgba(239, 228, 210, .7); }
.cursor.is-label .cursor__ring::before, .cursor.is-play .cursor__ring::before { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--ember); border-color: var(--ember); }
.cursor.is-play .cursor__ring::before { background: rgba(255, 122, 61, .14); border-color: rgba(255, 122, 61, .7); }
.cursor.is-play .cursor__label { color: var(--ember); }
.cursor.is-play .cursor__label::after { content: 'はじく'; }
.cursor.is-label .cursor__label, .cursor.is-play .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot::before, .cursor.is-play .cursor__dot::before { transform: scale(0); }
.cursor.is-card .cursor__ring::before { width: 120px; height: 120px; margin: -60px 0 0 -60px; background: transparent; border-color: rgba(255, 180, 120, .45); }
.cursor.is-card .cursor__dot::before { transform: scale(.6); }
.cursor.is-down .cursor__ring::before { transform: scale(.85); }

/* ---------- 右の温度計 ---------- */
.gauge { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 20; display: grid; justify-items: center; gap: 10px; pointer-events: none; padding: 14px 8px; border-radius: 99px; background: rgba(13, 9, 7, .82); border: 1px solid rgba(239, 228, 210, .1); }
html:not(.past-hero) .gauge { opacity: 0 !important; }
.gauge { transition: opacity .6s; }
.in-story .gauge { opacity: 0 !important; }
.gauge__num { font-family: var(--f-en); font-size: 15px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.gauge__num b { font-weight: 500; font-size: 20px; }
.gauge__bar { width: 2px; height: 120px; background: rgba(239, 228, 210, .18); position: relative; overflow: hidden; border-radius: 2px; }
.gauge__bar i { position: absolute; inset: 0; background: linear-gradient(to top, var(--green), var(--gold) 45%, var(--ember)); transform-origin: 50% 100%; transform: scaleY(0); }
.gauge__name { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; color: var(--muted); }

/* ---------- ヘッダー ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 28px;
  padding: 22px var(--pad); pointer-events: none;
}
.hd > * { pointer-events: auto; }
.hd { transition: translate .7s var(--ease); }
.hd::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(rgba(13, 9, 7, .9), rgba(13, 9, 7, 0)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.hd.is-solid::before { opacity: 1; }
.hd.is-hidden { translate: 0 -110%; }
.hd__logo { display: flex; align-items: baseline; gap: 12px; margin-right: auto; }
.hd__mark { width: 10px; height: 10px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px 3px rgba(255, 122, 61, .55); align-self: center; animation: pulse 2.6s ease-in-out infinite; }
.hd__name { font-family: var(--f-min); font-weight: 800; font-size: 24px; letter-spacing: .12em; }
.hd__logo em { font-family: var(--f-en); font-style: italic; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.hd__nav { display: flex; gap: 6px; }
.hd__nav a { position: relative; font-size: 13px; letter-spacing: .14em; padding: 8px 12px; }
.hd__nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 99px; border: 1px solid rgba(239, 228, 210, .3); font-size: 13px; letter-spacing: .12em; transition: background .4s, color .4s, border-color .4s; }
.btn-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.btn-pill:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.hd__menu { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(239, 228, 210, .3); background: rgba(13, 9, 7, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hd__menu span { position: absolute; left: 15px; right: 15px; height: 1px; background: var(--cream); transition: transform .5s var(--ease); }
.hd__menu span:nth-child(1) { top: 20px; } .hd__menu span:nth-child(2) { top: 27px; }
.hd__menu em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.drawer-open .hd__menu span:nth-child(1) { transform: translateY(3.5px) rotate(20deg); }
.drawer-open .hd__menu span:nth-child(2) { transform: translateY(-3.5px) rotate(-20deg); }
.drawer { position: fixed; inset: 0; z-index: 29; background: rgba(13, 9, 7, .96); display: grid; align-content: center; padding: 0 var(--pad); }
.drawer[hidden] { display: none; }
.drawer nav { display: grid; gap: 4px; }
.drawer a { font-family: var(--f-min); font-weight: 700; font-size: clamp(28px, 8vw, 44px); letter-spacing: .06em; padding: 8px 0; border-bottom: 1px solid var(--line-c); display: flex; align-items: baseline; gap: 14px; }
.drawer a small { font-family: var(--f-en); font-size: 14px; color: var(--ember); font-weight: 400; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- 文字の分割 ---------- */
.ch-o { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.ch { display: inline-block; will-change: transform; }
.rc-o, .bc-o { display: inline; }
.bc-o { display: inline-block; overflow: hidden; vertical-align: top; }
.rc, .bc { display: inline-block; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 0 var(--pad); display: flex; flex-direction: column; justify-content: center; }
.hero__kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .24em; margin-bottom: 28px; }
.hero__kicker em { font-family: var(--f-en); font-style: italic; letter-spacing: .06em; color: var(--muted); font-size: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px 2px rgba(255, 122, 61, .6); animation: pulse 2s ease-in-out infinite; }
.hero__title { font-family: var(--f-min); font-weight: 800; font-size: clamp(60px, 10.6vw, 196px); line-height: 1.04; letter-spacing: -.01em; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .line:nth-child(2) { padding-left: .9em; }
.hero__en { font-family: var(--f-en); font-style: italic; font-size: clamp(18px, 2vw, 28px); color: var(--gold); margin: 22px 0 18px .2em; letter-spacing: .02em; }
.hero__lede { font-size: clamp(14px, 1.15vw, 16px); line-height: 2.1; color: rgba(239, 228, 210, .82); max-width: 28em; }
.hero__scroll { position: absolute; left: var(--pad); bottom: 44px; display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.hero__scroll b { color: var(--cream); font-weight: 500; }
.hero__scroll-line { width: 64px; height: 1px; background: rgba(239, 228, 210, .2); position: relative; overflow: hidden; }
.hero__scroll-line i { position: absolute; inset: 0; background: var(--ember); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hero__hint { position: absolute; left: var(--pad); bottom: 82px; font-family: var(--f-sans); font-size: 12px; letter-spacing: .18em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero__hint::before { content: ''; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(239, 228, 210, .35); box-shadow: inset 0 0 0 6px rgba(13, 9, 7, 1), inset 0 0 0 10px var(--ember); animation: pulse 1.6s ease-in-out infinite; }

/* ---------- 流れる文字 ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line-c); background: linear-gradient(90deg, rgba(13, 9, 7, .7), rgba(13, 9, 7, .2) 50%, rgba(13, 9, 7, .7)); }
.marquee__track { display: flex; align-items: center; gap: 44px; white-space: nowrap; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--f-min); font-weight: 700; font-size: clamp(36px, 5.4vw, 84px); letter-spacing: .04em; line-height: 1.2; }
.marquee__track em { font-family: var(--f-en); font-style: italic; font-size: clamp(26px, 3.4vw, 54px); color: var(--gold); }
.bean-glyph { width: 30px; height: 40px; flex: none; border-radius: 50%; background: radial-gradient(60% 60% at 35% 30%, #8a5a3a, #2a160c 70%); position: relative; transform: rotate(24deg); box-shadow: 0 0 20px rgba(255, 122, 61, .25); }
.bean-glyph::after { content: ''; position: absolute; left: 50%; top: 10%; bottom: 10%; width: 2px; margin-left: -1px; background: #0d0907; border-radius: 2px; transform: skewY(-10deg); }

/* ---------- はじめに ---------- */
.intro { padding: 32vh var(--pad) 30vh; display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 40px; }
.intro__label, .sec-head__label, .story__label { font-size: 12px; letter-spacing: .24em; color: var(--muted); display: flex; align-items: baseline; gap: 12px; }
.intro__label span, .sec-head__label span, .story__label span { font-family: var(--f-en); font-size: 15px; color: var(--ember); letter-spacing: .04em; }
.sec-head__label em, .story__label em { font-family: var(--f-en); font-style: italic; letter-spacing: .04em; font-size: 15px; }
.intro__text, .stage__title, .stage__text, .hero__title, .hero__lede, .sec-head__title, .brew__steps, .order__title, .order__text { text-shadow: 0 2px 28px rgba(13, 9, 7, .85), 0 0 2px rgba(13, 9, 7, .6); }
.intro__text { font-family: var(--f-min); font-weight: 500; font-size: clamp(24px, 3.3vw, 50px); line-height: 1.75; letter-spacing: .04em; max-width: 21em; }

/* ---------- 焙煎の物語 ---------- */
.story { position: relative; }
.story__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.story__label { position: absolute; top: 104px; left: var(--pad); }
.stage::before, .brew__steps::before { content: ''; position: absolute; inset: -14% -22% -14% -40%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(13, 9, 7, .72), rgba(13, 9, 7, .38) 60%, transparent); }
.stage, .brew__steps { isolation: isolate; }
.stage > *, .brew__steps > * { position: relative; z-index: 1; }
/* 4つの段階は同じ場所に重なっているので、暗い下敷きは表示中の段階だけに出す */
.stage::before { opacity: 0; transition: opacity .6s ease; }
.stage.is-active::before { opacity: 1; }
.stage.is-active { z-index: 2; }
.rm .stage::before { display: none; }
.brew__steps { position: relative; }
.stage { position: absolute; left: var(--pad); top: 50%; transform: translateY(-58%); width: min(44vw, 640px); pointer-events: none; }
.stage.is-active { pointer-events: auto; }
.stage__no { font-family: var(--f-en); font-size: 16px; color: var(--muted); letter-spacing: .06em; margin-bottom: 20px; opacity: 0; }
.stage__no b { color: var(--cream); font-weight: 500; font-size: 22px; }
.stage__no em { font-style: italic; color: var(--gold); margin-left: 12px; }
.stage__title { font-family: var(--f-min); font-weight: 800; font-size: clamp(44px, 6.6vw, 118px); line-height: 1.12; letter-spacing: -.01em; }
.stage__text { margin-top: 30px; max-width: 25em; font-size: clamp(14px, 1.1vw, 16px); line-height: 2.1; color: rgba(239, 228, 210, .82); opacity: 0; }
.pop { position: absolute; left: 63%; top: 24%; z-index: 3; font-family: var(--f-min); font-weight: 800; font-size: clamp(48px, 7vw, 120px); color: var(--ember); text-shadow: 0 0 40px rgba(255, 122, 61, .6); opacity: 0; pointer-events: none; white-space: nowrap; }
.hud { position: absolute; left: var(--pad); right: var(--pad); bottom: 5vh; display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 64px); padding-top: 18px; border-top: 1px solid var(--line-c); }
.hud__cell small { display: block; font-size: 11px; letter-spacing: .2em; color: var(--muted); margin-bottom: 2px; }
.hud__cell b { font-family: var(--f-en); font-weight: 400; font-size: clamp(28px, 3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hud__cell b span { font-size: .5em; color: var(--gold); margin-left: 2px; }
.hud__cell--name b { font-family: var(--f-min); font-weight: 700; font-size: clamp(22px, 2.2vw, 34px); }
.hud__ramp { position: relative; margin-left: auto; width: min(30vw, 360px); height: 6px; border-radius: 6px; margin-bottom: 26px; background: linear-gradient(90deg, #8f9b66, #b8ad73 16%, #bd8c51 30%, #995e33 44%, #6b3d21 60%, #452616 78%, #2a160d 92%, #160c08); display: flex; justify-content: space-between; }
.hud__ramp span { position: relative; top: 14px; font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.hud__marker { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid var(--cream); background: var(--roast-col); box-shadow: 0 0 18px rgba(255, 122, 61, .6); }
.radar { position: absolute; right: calc(var(--pad) + 10px); bottom: calc(5vh + 120px); width: clamp(150px, 12.5vw, 200px); text-align: center; }
.radar svg { width: 100%; overflow: visible; }
.radar::before { content: ''; position: absolute; inset: -34% -30% -18%; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 9, 7, .82), rgba(13, 9, 7, .5) 65%, transparent); }
.radar__labels text { paint-order: stroke; stroke: rgba(13, 9, 7, .9); stroke-width: 3px; }
.radar__grid polygon, .radar__grid line { fill: none; stroke: rgba(239, 228, 210, .14); stroke-width: 1; }
.radar__shape { fill: rgba(255, 122, 61, .2); stroke: var(--ember); stroke-width: 1.5; stroke-linejoin: round; }
.radar__dots circle { fill: var(--cream); }
.radar__labels text { fill: var(--muted); font-size: 12px; text-anchor: middle; font-family: var(--f-sans); letter-spacing: .1em; }
.radar figcaption { margin-top: 18px; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.radar figcaption em { font-family: var(--f-en); font-style: italic; margin-left: 6px; }
.story__css-bean { display: none; }
.no-webgl .story__css-bean { display: block; position: absolute; left: 58%; top: 50%; width: 22vw; aspect-ratio: .72; translate: -50% -60%; rotate: 28deg; }
.no-webgl .story__css-bean i { position: absolute; inset: 0; border-radius: 50%; background: #8f9b66; box-shadow: inset -18px -24px 40px rgba(0, 0, 0, .55), inset 14px 16px 30px rgba(255, 220, 180, .2), 0 0 80px rgba(255, 122, 61, .25); transition: background .6s; }
.no-webgl .story__css-bean i::after { content: ''; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 6%; translate: -50% 0; border-radius: 50%; background: rgba(0, 0, 0, .45); }

/* ---------- 見出し共通 ---------- */
.sec-head { --line: 0; position: relative; display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; column-gap: 40px; row-gap: 26px; padding-top: 34px; margin-bottom: clamp(48px, 8vw, 110px); }
.sec-head::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-c); transform: scaleX(var(--line)); transform-origin: left; }
.sec-head__label { grid-row: 1 / 3; }
.sec-head__title { font-family: var(--f-min); font-weight: 800; font-size: clamp(40px, 6vw, 104px); line-height: 1.14; letter-spacing: -.005em; }
.sec-head__title .em { color: var(--ember); }
.sec-head__text { max-width: 30em; color: rgba(239, 228, 210, .78); }

/* ---------- 豆のラインナップ ---------- */
.beans { padding: 24vh var(--pad) 18vh; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(18px, 2.4vw, 36px); align-items: stretch; }
.card-wrap { height: 100%; }
.card { height: 100%; display: flex; flex-direction: column; }
.card { position: relative; transform-style: preserve-3d; will-change: transform; }
.card__media { position: relative; aspect-ratio: 4 / 4.4; border-radius: 14px 14px 0 0; overflow: hidden; }
.card__media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(239, 228, 210, .1); pointer-events: none; }
.card__css-bean { display: none; }
.no-webgl .card__media { background: radial-gradient(80% 70% at 50% 45%, rgba(255, 140, 70, .18), transparent 70%), var(--ink2); }
.no-webgl .card__css-bean { display: block; position: absolute; left: 50%; top: 46%; width: 42%; aspect-ratio: .72; translate: -50% -50%; rotate: 30deg; border-radius: 50%; background: var(--bean); box-shadow: inset -12px -16px 26px rgba(0, 0, 0, .55), inset 10px 12px 22px rgba(255, 220, 180, .18); }
.no-webgl .card__css-bean::after { content: ''; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 6%; translate: -50% 0; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.card__tag { position: absolute; left: 14px; top: 14px; font-size: 11px; letter-spacing: .16em; padding: 3px 10px; border-radius: 99px; background: var(--ember); color: var(--ink); font-weight: 700; }
.card__no { position: absolute; right: 16px; top: 10px; font-family: var(--f-en); font-size: 22px; color: rgba(239, 228, 210, .6); }
.card.is-hover .card__body { padding: 22px 20px 20px; margin-top: -1px; background: rgba(19, 13, 10, .92); border: 1px solid rgba(239, 228, 210, .08); border-top: 0; border-radius: 0 0 14px 14px; transform: translateZ(24px); display: flex; flex-direction: column; flex: 1; }
.card__price { margin-top: auto !important; }
.card__flavor { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0 18px; }
.card__flavor li { display: grid; gap: 6px; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-align: center; }
.card__flavor i { display: block; height: 3px; border-radius: 3px; background: rgba(239, 228, 210, .14); position: relative; overflow: hidden; }
.card__flavor i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--ember)); transform-origin: left; transform: scaleX(var(--v)); }
.card__en { font-family: var(--f-en); font-style: italic; font-size: 16px; color: var(--gold); }
.card__name { font-family: var(--f-min); font-weight: 700; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.4; margin: 2px 0 4px; }
.card__origin { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.card__roast { display: flex; align-items: center; gap: 12px; margin: 14px 0 12px; font-size: 12px; letter-spacing: .12em; }
.card__roast i { flex: 1; height: 4px; border-radius: 4px; position: relative; background: linear-gradient(90deg, #8f9b66, #b8ad73 16%, #bd8c51 30%, #995e33 44%, #6b3d21 60%, #452616 78%, #160c08); opacity: .9; }
.card__roast i::after { content: ''; position: absolute; top: 50%; left: calc(var(--r) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 10px rgba(255, 122, 61, .8); }
.card__notes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.card__notes span { font-size: 12px; padding: 2px 10px; border: 1px solid rgba(239, 228, 210, .2); border-radius: 99px; }
.card__text { font-size: 13.5px; line-height: 1.9; color: rgba(239, 228, 210, .75); }
.card__price { display: flex; gap: 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-c); font-family: var(--f-en); font-size: 26px; line-height: 1; }
.card__price small { font-family: var(--f-sans); font-size: 11px; color: var(--muted); letter-spacing: .08em; margin: 0 4px; }

/* ---------- 淹れ方 ---------- */
.brew { position: relative; }
.brew__pin { position: relative; height: 100vh; height: 100svh; padding: 110px var(--pad) 6vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 40px; overflow: hidden; }
.brew__head { grid-column: 1; }
.brew__head .sec-head__title { margin-top: 18px; font-size: clamp(36px, 4.6vw, 80px); }
.brew__steps { grid-column: 1; align-self: center; display: grid; gap: 4px; max-width: 520px; }
.step { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-c); opacity: .55; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step.is-done { opacity: .72; }
.step__num { font-family: var(--f-en); font-size: 15px; color: var(--muted); }
.step__num b { font-weight: 400; font-size: 44px; line-height: 1; color: var(--cream); margin-right: 4px; }
.step.is-active .step__num b { color: var(--ember); }
.step h3 { font-family: var(--f-min); font-weight: 700; font-size: 20px; letter-spacing: .06em; }
.step p { font-size: 13px; line-height: 1.85; color: rgba(239, 228, 210, .75); }
.brew__meter { grid-column: 1; font-family: var(--f-en); display: flex; align-items: baseline; gap: 10px; }
.brew__meter small { font-family: var(--f-sans); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.brew__meter b { font-weight: 400; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2.4ch; text-align: right; }
.brew__meter span { color: var(--gold); font-size: 22px; }
.brew__css-cup { display: none; }
.no-webgl .brew__css-cup { --level: 0; display: block; grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: center; width: min(30vw, 300px); aspect-ratio: 1.1; border-radius: 0 0 46% 46% / 0 0 60% 60%; background: linear-gradient(to top, #2a160c calc(var(--level) * 80%), transparent calc(var(--level) * 80%)), #eae2d4; border: 10px solid #eae2d4; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }

/* ---------- 喫茶室 ---------- */
.cafe { padding: 26vh var(--pad) 22vh; }
.cafe__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.cafe__lede { font-family: var(--f-min); font-size: clamp(18px, 1.6vw, 22px); line-height: 2; max-width: 24em; margin-bottom: 48px; }
.day { position: relative; display: grid; gap: 22px; padding-left: 28px; margin-bottom: 64px; }
.day::before { content: ''; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--ember), rgba(255, 122, 61, .05)); }
.day li { position: relative; display: flex; gap: 24px; align-items: baseline; }
.day li::before { content: ''; position: absolute; left: -28px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid var(--ember); }
.day time { font-family: var(--f-en); font-size: 26px; color: var(--gold); min-width: 3em; line-height: 1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-c); }
.stats li { padding: 22px 0 0; }
.stats b { font-family: var(--f-en); font-weight: 400; font-size: clamp(54px, 6vw, 92px); line-height: 1; }
.stats span { font-size: 15px; color: var(--gold); margin-left: 4px; }
.stats small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .14em; margin-top: 4px; }
.cafe__menu { background: rgba(23, 17, 13, .86); border: 1px solid var(--line-c); border-radius: 18px; padding: clamp(24px, 3vw, 44px); align-self: start; }
.cafe__menu-title { font-family: var(--f-min); font-weight: 700; font-size: 22px; letter-spacing: .1em; margin-bottom: 20px; }
.cafe__menu-title em { font-family: var(--f-en); font-style: italic; font-weight: 400; color: var(--gold); margin-left: 10px; }
.menu li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-c); }
.menu__name { font-family: var(--f-min); font-weight: 700; font-size: 17px; }
.menu__name small { display: block; font-family: var(--f-sans); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.menu i { flex: 1; border-bottom: 1px dotted rgba(239, 228, 210, .25); transform: translateY(-6px); }
.menu__price { font-family: var(--f-en); font-size: 26px; white-space: nowrap; }
.menu__price small { font-family: var(--f-sans); font-size: 11px; color: var(--muted); margin-left: 3px; }
.cafe__note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------- オンライン注文 ---------- */
.order { position: relative; min-height: 100vh; min-height: 100svh; padding: 18vh var(--pad) 40vh; text-align: center; display: grid; justify-items: center; align-content: start; }
.order__en { font-family: var(--f-en); font-style: italic; font-size: clamp(18px, 2vw, 26px); color: var(--gold); margin-bottom: 18px; }
.order__title { font-family: var(--f-min); font-weight: 800; font-size: clamp(46px, 8vw, 150px); line-height: 1.1; }
.order__text { margin: 30px 0 40px; color: rgba(239, 228, 210, .8); }
.order__btn { position: relative; width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: var(--ink); box-shadow: 0 0 0 0 rgba(255, 122, 61, .5), 0 20px 80px rgba(255, 122, 61, .35); transition: box-shadow .6s var(--ease), background .4s; }
.order__btn::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(255, 122, 61, .55); animation: spin 18s linear infinite; }
.order__btn:hover { box-shadow: 0 0 0 16px rgba(255, 122, 61, .12), 0 20px 100px rgba(255, 122, 61, .55); background: #ff8d55; }
.order__btn-in { display: grid; justify-items: center; gap: 2px; font-weight: 700; font-size: 15px; letter-spacing: .1em; }
.order__btn-in i { font-style: normal; font-family: var(--f-en); font-size: 28px; line-height: 1; transition: transform .5s var(--ease); }
.order__btn:hover .order__btn-in i { transform: translateX(8px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- アクセス ---------- */
.access { padding: 20vh var(--pad) 16vh; background: linear-gradient(rgba(13, 9, 7, 0), rgba(13, 9, 7, .88) 18%, rgba(13, 9, 7, .94)); }
.access__grid { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.open-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(239, 228, 210, .2); font-size: 13px; letter-spacing: .08em; margin-bottom: 30px; }
.open-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.open-badge.is-open { border-color: rgba(255, 122, 61, .6); background: rgba(255, 122, 61, .1); }
.open-badge.is-open i { background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 122, 61, .7); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 61, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 122, 61, 0); } }
.info > div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-c); }
.info dt { font-size: 12px; letter-spacing: .2em; color: var(--muted); padding-top: 2px; }
.info a { border-bottom: 1px solid rgba(239, 228, 210, .3); }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-size: 12px; letter-spacing: .2em; color: var(--muted); padding-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-c); font-weight: 400; }
.hours td { font-family: var(--f-en); font-size: 19px; text-align: right; }
.hours .closed { font-family: var(--f-sans); font-size: 13px; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ember); }
.hours tr.is-today th::after { content: '今日'; font-size: 10px; margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: var(--ember); color: var(--ink); vertical-align: 2px; }
.hours__note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.map { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-c); background: #120d0a; aspect-ratio: 4 / 3; }
.map svg { width: 100%; height: 100%; }
.map__river { fill: none; stroke: rgba(120, 150, 170, .35); stroke-width: 14; stroke-linecap: round; }
.map__road { fill: none; stroke: rgba(239, 228, 210, .22); stroke-width: 3; }
.map__road--s { stroke-width: 1; stroke: rgba(239, 228, 210, .1); }
.map__pin { fill: var(--ember); }
.map__pulse { fill: rgba(255, 122, 61, .3); transform-origin: 205px 118px; animation: mapPulse 2s ease-out infinite; }
@keyframes mapPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.map__label { position: absolute; left: 16px; bottom: 14px; display: grid; font-size: 12px; color: var(--muted); }
.map__label b { font-family: var(--f-min); font-size: 20px; color: var(--cream); }

/* ---------- フッター ---------- */
.ft { padding: 16vh var(--pad) 40px; overflow: hidden; background: linear-gradient(rgba(13, 9, 7, .94), rgba(13, 9, 7, .2) 40%, rgba(13, 9, 7, 0)); }
.ft__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.ft__copy { font-family: var(--f-min); font-weight: 700; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.5; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 13px; letter-spacing: .12em; }
.ft__nav a { color: rgba(239, 228, 210, .75); transition: color .3s; }
.ft__nav a:hover { color: var(--ember); }
.ft__big { font-family: var(--f-min); font-weight: 800; font-size: clamp(140px, 36vw, 620px); line-height: .9; letter-spacing: -.04em; text-align: center; margin: 6vh 0 0; white-space: nowrap;
  background: linear-gradient(180deg, var(--cream) 30%, rgba(255, 122, 61, .9) 75%, rgba(255, 122, 61, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft__big .bc { background: linear-gradient(180deg, var(--cream) 25%, rgba(255, 122, 61, .9) 70%, rgba(255, 122, 61, .05)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .02em; }
.ft__bottom { position: relative; background: linear-gradient(rgba(13, 9, 7, .82), rgba(13, 9, 7, .95)); margin: 0 calc(var(--pad) * -1) -40px; padding: 22px var(--pad) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--line-c); font-size: 12px; color: var(--muted); }
.ft__en { font-family: var(--f-en); font-style: italic; font-size: 15px; }
.ft__totop { color: var(--cream); letter-spacing: .12em; }

.fps { position: fixed; right: 10px; bottom: 10px; z-index: 99; font: 12px/1 monospace; background: rgba(0, 0, 0, .7); color: #9f9; padding: 6px 8px; border-radius: 4px; }

/* ---------- 動きを減らす設定 ---------- */
.rm .story__pin { height: auto; overflow: visible; padding: 18vh 0 10vh; }
.rm .story__label { position: relative; top: 0; padding: 0 var(--pad); margin-bottom: 8vh; }
.rm .stage { position: relative; top: auto; left: auto; transform: none; width: min(100%, 900px); max-width: none; min-height: 80vh; padding: 0 var(--pad); display: flex; flex-direction: column; justify-content: center; }
.rm .stage__no, .rm .stage__text { opacity: 1; }
.rm .hud { position: sticky; bottom: 0; left: auto; right: auto; margin: 0 var(--pad); background: var(--ink); padding-bottom: 52px; }
.rm .radar { position: fixed; top: auto; bottom: 120px; transform: none; opacity: 0; transition: opacity .4s; }
.rm.in-story .radar { opacity: 1; }
.rm .brew__pin { height: auto; min-height: 100vh; }
.rm .loader__flame, .rm .hero__scroll-line i, .rm .order__btn::before { animation: none; }

/* ---------- タブレット ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wrap:nth-child(n) { margin-top: 0; }
  .access__grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .hd__nav { display: none; }
  .hd__menu { display: block; }
}
@media (max-width: 1100px) and (orientation: portrait) {
  .hero { justify-content: flex-end; padding-bottom: 150px; }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .hd { padding: 14px 16px; gap: 10px; }
  .hd__logo em { display: none; }
  .hd__cta { display: none; }
  .hd__menu { display: block; }
  .gauge { display: none; }
  .notice { font-size: 9.5px; left: 8px; bottom: 8px; padding: 4px 9px; }
  .hero { justify-content: flex-end; padding-bottom: 120px; }
  .hero__title { font-size: clamp(50px, 15vw, 84px); }
  .hero__title .line:nth-child(2) { padding-left: .5em; }
  .hero__en { margin: 14px 0 12px; }
  .hero__lede { font-size: 13.5px; }
  .hero__scroll { bottom: 56px; }
  .hero__hint { display: none; }
  .marquee { padding: 16px 0; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding: 22vh var(--pad); }
  .sec-head { grid-template-columns: 1fr; row-gap: 18px; }
  .sec-head__label { grid-row: auto; }
  .story__label { top: 78px; }
  .stage { top: auto; bottom: 21vh; transform: none; width: auto; right: var(--pad); }
  .stage__no { margin-bottom: 10px; font-size: 14px; }
  .stage__title { font-size: clamp(34px, 10vw, 52px); }
  .stage__text { margin-top: 14px; font-size: 13px; line-height: 1.9; }
  .pop { left: 50%; top: 22%; translate: -50% 0; }
  .hud { bottom: 40px; gap: 18px; flex-wrap: wrap; padding-top: 12px; }
  .stage { bottom: calc(21vh + 16px); }
  .hud__cell b { font-size: 26px; }
  .hud__cell--name b { font-size: 20px; }
  .hud__ramp { display: none; }
  .radar { top: 104px; bottom: auto; right: 14px; transform: none; width: 92px; }
  .radar__labels text { font-size: 18px; }
  .radar figcaption { display: none; }
  .rm .stage { min-height: 70vh; bottom: auto; }
  .rm .radar { display: none; }
  .beans { padding: 16vh var(--pad) 12vh; }
  .cards { grid-template-columns: 1fr; gap: 56px; }
  .card-wrap:nth-child(n) { margin-top: 0; }
  .brew__pin { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding: 84px var(--pad) 3vh; }
  .brew__head .sec-head__title { font-size: 32px; margin-top: 10px; }
  .brew__steps { align-self: start; margin-top: 14px; gap: 0; }
  .step { grid-template-columns: 74px 1fr; gap: 10px; padding: 8px 0; }
  .step__num b { font-size: 28px; }
  .step h3 { font-size: 16px; }
  .step p { display: none; }
  .step.is-active p { display: block; font-size: 12px; }
  .brew__meter { grid-row: 4; justify-self: end; padding-bottom: 34px; }
  .brew__meter b { font-size: 44px; }
  .no-webgl .brew__css-cup { grid-column: 1; grid-row: 3; width: 50vw; }
  .cafe { padding: 18vh var(--pad); }
  .cafe__grid { grid-template-columns: 1fr; }
  .stats b { font-size: 50px; }
  .order { padding: 14vh var(--pad) 42vh; }
  .order__btn { width: 160px; height: 160px; }
  .access__grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
  .ft { padding-bottom: 60px; }
  .ft__big { margin-top: 4vh; }
}

/* 定期便のカード */
.card-wrap--sub .sub { height: 100%; min-height: 360px; border-radius: 14px; border: 1px dashed rgba(255, 122, 61, .45); background: rgba(19, 13, 10, .9); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.sub__en { font-family: var(--f-en); font-style: italic; color: var(--gold); font-size: 17px; }
.sub__title { font-family: var(--f-min); font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.35; }
.sub__text { color: rgba(239, 228, 210, .78); font-size: 14px; }
.sub__price { font-family: var(--f-en); font-size: 30px; margin-top: auto; }
.sub__price small { font-family: var(--f-sans); font-size: 12px; color: var(--muted); margin-left: 4px; }
.sub .btn-pill { align-self: flex-start; }
