/* 辛麺屋 希心 デザイン案（v3：西部劇）
   コンセプト：HEAT DIAL — 0辛から30辛まで。
   見た目：昭和の映画館に掛かった、西部劇の日本語ポスター。
   色：夕焼けの赤・錆色・砂色・板壁の茶・古い紙の生成り・夜の黒。差し色に店の時計のティールと真鍮。
   書体：和文の見出し Kaisei Tokumin（太い明朝）／本文 Shippori Mincho
        英字：Rye（西部劇の看板）・Holtwood One SC（手配書の木活字）・Special Elite（タイプライター）・Anton（小さなラベル） */

:root {
  --ink: #140d09;
  --ink-2: #1e140e;
  --leather: #3a2416;
  --wood: #4a2c1a;
  --cream: #f2e4c6;
  --parch: #e9d6ac;
  --paper-ink: #2a1a10;
  --sand: #d6b17a;
  --red: #c8261b;
  --red-2: #a31b12;
  --rust: #b04a1f;
  --sunset: #e66a2a;
  --coral: #e8613c;
  --teal: #2b7a71;
  --brass: #c99a48;
  --dim: rgba(242, 228, 198, 0.64);
  --line: rgba(242, 228, 198, 0.16);
  --heat: 0;
  --f-disp: 'Kaisei Tokumin', 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --f-ja: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif;
  --f-en: 'Anton', 'Impact', 'Haettenschweiler', sans-serif;
  --f-sign: 'Rye', 'Georgia', serif;
  --f-wood: 'Holtwood One SC', 'Rye', 'Georgia', serif;
  --f-type: 'Special Elite', 'Courier New', monospace;
  --pad: clamp(20px, 5.6vw, 88px);
  --sec: clamp(96px, 13vw, 180px);
  --hd: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: 'palt' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
w-b { display: inline-block; }
.nw { white-space: nowrap; }

/* ---------- 共通の部品 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-sign); font-size: 14px; letter-spacing: 0.1em; line-height: 1;
  color: var(--sand);
}
.eyebrow b { display: inline-grid; place-items: center; width: 38px; height: 38px; font-family: var(--f-wood); font-weight: 400; font-size: 12px; color: var(--ink); background: var(--sand); clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 85% 56%, 96% 76%, 74% 78%, 70% 100%, 50% 86%, 30% 100%, 26% 78%, 4% 76%, 15% 56%, 0 40%, 20% 32%, 18% 10%, 39% 18%); letter-spacing: 0; padding-top: 2px; }
.sec-hd { display: grid; gap: 22px; justify-items: start; }
.sec-hd--center { justify-items: center; text-align: center; }
.sec-hd__title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(40px, 6.4vw, 96px); line-height: 1.16; letter-spacing: 0.04em; }
.sec-hd__lead { color: var(--dim); font-size: clamp(15px, 1.2vw, 17px); max-width: 34em; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 4px;
  font-weight: 800; font-size: 15px; letter-spacing: 0.12em; line-height: 1;
  overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn::after { content: ''; position: absolute; inset: 5px; border: 1px dashed currentColor; border-radius: 2px; opacity: 0.45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform 0.5s var(--ease); }
.btn--red { background: var(--red); color: var(--cream); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.btn--red::before { background: var(--cream); }
.btn--line { border: 1px solid rgba(242, 228, 198, 0.5); color: var(--cream); background: rgba(20, 13, 9, 0.35); }
.btn--line::before { background: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream::before { background: var(--ink); }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn--red:hover, .btn--line:hover { color: var(--ink); }
  .btn--cream:hover { color: var(--cream); }
}

.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; }
.js [data-split] .ln > span { transform: translateY(110%); }
.js [data-split].is-in .ln > span { transform: none; transition: transform 1.1s var(--ease); }
.js [data-split].is-in .ln:nth-child(2) > span { transition-delay: 0.08s; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ---------- オープニング（フィルムの頭 → タイトル） ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: #0c0806;
  display: grid; place-items: center; overflow: hidden;
}
html:not(.js) .intro, html.is-capture .intro { display: none; }
.leader { position: relative; width: min(60vmin, 380px); aspect-ratio: 1; display: grid; place-items: center; animation: flick 0.16s steps(2) infinite; }
.leader__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(242, 228, 198, 0.5); stroke-width: 2; }
.leader__sweep { position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(rgba(242, 228, 198, 0.2) var(--a, 0deg), transparent 0); }
.leader__num { position: relative; font-family: var(--f-sign); font-size: min(30vmin, 200px); line-height: 1; color: var(--cream); }
.title-card { position: absolute; display: grid; justify-items: center; gap: 12px; text-align: center; opacity: 0; padding: 0 20px; }
.title-card__pre { font-family: var(--f-type); font-size: 13px; letter-spacing: 0.3em; color: var(--sand); }
.title-card__main { font-family: var(--f-sign); font-size: clamp(76px, 19vw, 210px); line-height: 0.95; color: #f3d9a4; text-shadow: 0 3px 0 #6b2a12, 0 0 40px rgba(230, 106, 42, 0.35); }
.title-card__sub { font-family: var(--f-en); font-size: clamp(11px, 1.3vw, 14px); letter-spacing: 0.42em; color: var(--sand); padding-left: 0.42em; }
.intro__scratch { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 23%, rgba(255, 255, 255, 0.07) 23% calc(23% + 1px), transparent calc(23% + 1px) 61%, rgba(255, 255, 255, 0.05) 61% calc(61% + 1px), transparent calc(61% + 1px) 100%); animation: scratch 0.24s steps(3) infinite; }
@keyframes flick { 0% { opacity: 1; } 50% { opacity: 0.9; } }
@keyframes scratch { 0% { transform: translateX(0); } 33% { transform: translateX(7%); } 66% { transform: translateX(-11%); } }

/* ---------- 空（キャンバス）・荒野（固定）・ざらつき ---------- */
.soup { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; display: block; }
.soup.is-off { visibility: hidden; }
.no-webgl .soup { display: none; }
.bowl-fallback { display: none; }
.no-webgl .bowl-fallback { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; clip-path: circle(43% at 50% 50%); }
.no-webgl .heat__bowl .bowl-fallback { transition: opacity 0.5s; }

.land {
  --hz: var(--hzpx, 66vh); --mesa: 17vh; --mesa-far: 15vh;
  position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none;
  will-change: transform, opacity;
}
.no-webgl .land { background: linear-gradient(#1b0e0a, #66200f 40%, #d65a26 82%, #f5a34c) top / 100% var(--hz) no-repeat; }
.land.is-off { visibility: hidden; }
.land__far, .land__near { position: absolute; left: 0; width: 100%; }
.land__far { top: calc(var(--hz) - var(--mesa-far)); height: var(--mesa-far); fill: #5e200f; }
.land__near { top: calc(var(--hz) - var(--mesa) + 1px); height: var(--mesa); fill: #2a1009; }
.land__ground { position: absolute; left: 0; right: 0; top: var(--hz); bottom: 0; background: linear-gradient(#2a1009, #170a06 45%, #0e0705); }
.land__ground::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 170, 90, 0.35), transparent); }
.cactus { position: absolute; color: #1c0b06; width: auto; overflow: visible; }
.cactus--a { left: 5%; height: 12vh; top: calc(var(--hz) - 12vh + 2px); }
.cactus--b { left: 82%; height: 9vh; top: calc(var(--hz) - 9vh + 2px); }
.cactus--c { display: none; }
.tumbleweed { position: absolute; left: 0; top: calc(var(--hz) + 6px); width: 44px; height: 44px; color: #8a5a2c; animation: roll 15s linear 3s infinite; transform: translateX(110vw); }
.tumbleweed svg { width: 100%; height: 100%; animation: hop 1.1s ease-in-out infinite; }
@keyframes roll { 0% { transform: translateX(110vw) rotate(0); } 70%, 100% { transform: translateX(-20vw) rotate(-1080deg); } }
@keyframes hop { 0%, 100% { translate: 0 0; } 45% { translate: 0 -16px; } }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.09;
  background: url('images/noise.png') repeat; background-size: 180px;
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain { 0% { background-position: 0 0; } 25% { background-position: -47px 31px; } 50% { background-position: 29px -53px; } 75% { background-position: -23px -17px; } 100% { background-position: 0 0; } }
@media (pointer: coarse) { .grain { animation: none; opacity: 0.06; } }

/* ---------- ヘッダー ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hd);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(14px, 2.4vw, 36px);
  padding-top: env(safe-area-inset-top);
  pointer-events: none;
}
.hd > * { pointer-events: auto; }
.hd__logo, .hd__nav, .hd__heat, .status, .hd__menu { background: rgba(20, 13, 9, 0.78); border: 1px solid rgba(214, 177, 122, 0.28); }
.hd__logo { display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 16px 8px; border-radius: 6px; }
.hd__logo-en { font-family: var(--f-sign); font-size: 22px; line-height: 1; color: var(--red); letter-spacing: 0.02em; text-shadow: 0 1px 0 #000; }
.hd__logo-ja { font-weight: 700; font-size: 12px; letter-spacing: 0.16em; line-height: 1; color: var(--cream); white-space: nowrap; }
.hd__nav { display: none; gap: 2px; padding: 5px; border-radius: 6px; }
.hd__nav a { padding: 8px 14px; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; line-height: 1; transition: background-color 0.3s, color 0.3s; }
.hd__nav a:hover, .hd__nav a.is-current { background: var(--sand); color: var(--ink); }
.hd__right { display: flex; align-items: center; gap: 8px; }
.hd__heat, .status, .hd__menu {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; line-height: 1; white-space: nowrap;
}
.hd__heat svg { width: 16px; height: 16px; fill: var(--red); color: #4f8a3a; }
.hd__heat b { font-family: var(--f-wood); font-weight: 400; font-size: 15px; }
.hd__heat span { font-weight: 700; font-size: 11px; }
.hd__heat.is-empty { display: none; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #8a7f73; flex: none; }
.status.is-open i { background: #5fd38a; animation: ping 2s infinite; }
.status.is-soon i { background: var(--brass); }
.status__mini { display: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 138, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(95, 211, 138, 0); } }
.hd__menu { width: 40px; padding: 0; justify-content: center; flex-direction: column; gap: 5px; }
.hd__menu span { display: block; width: 16px; height: 1.5px; background: var(--cream); transition: transform 0.4s var(--ease); }
.menu-open .hd__menu span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .hd__menu span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1180px) { .hd__nav { display: flex; } .hd__menu { display: none; } }
@media (max-width: 560px) {
  .hd { --hd: 64px; }
  .hd__logo { padding: 8px 12px 7px; gap: 8px; }
  .hd__logo-en { font-size: 19px; }
  .hd__heat, .status { height: 36px; padding: 0 11px; }
  .hd__menu { width: 36px; height: 36px; }
  .status__long { display: none; }
  .status__mini { display: inline; }
}
@media (max-width: 520px) { .hd__logo-ja { display: none; } }

.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--rust) url('images/wood-sp.webp') center / 900px auto;
  display: grid; align-content: space-between; padding: calc(var(--hd) + 28px + env(safe-area-inset-top)) var(--pad) calc(28px + env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - 40px) 36px); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.drawer::before { content: ''; position: absolute; inset: 0; background: rgba(120, 30, 14, 0.78); }
.drawer > * { position: relative; }
.menu-open .drawer { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; transition: clip-path 0.8s var(--ease); }
.drawer__nav { display: grid; }
.drawer__nav a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(242, 228, 198, 0.25); font-family: var(--f-disp); font-weight: 800; font-size: clamp(24px, 6.6vw, 40px); line-height: 1.3; }
.drawer__nav small { font-family: var(--f-wood); font-size: 13px; color: var(--sand); }
.drawer__foot { display: grid; gap: 14px; justify-items: start; padding-top: 24px; }
.drawer__foot .btn--red { background: var(--ink); }
.drawer__ig { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }

/* ---------- ヒーロー：夕日の荒野 ---------- */
main { position: relative; z-index: 1; overflow-x: clip; }
.hero {
  --hz: var(--hzpx, 66vh); --sun: min(84vw, 46vh); --bar: clamp(26px, 4.6vh, 54px);
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
}
.hero__bars i { position: absolute; left: 0; right: 0; height: var(--bar); background: #000; z-index: 2; transition: opacity 0.4s; }
.is-scrolled .hero__bars i { opacity: 0; }
.hero__bars i:first-child { top: 0; }
.hero__bars i:last-child { bottom: 0; }
.hero__copy { position: absolute; left: 0; right: 0; top: calc(var(--bar) + 54px); z-index: 3; display: grid; justify-items: center; text-align: center; padding: 0 16px; }
.hero__pre { font-family: var(--f-type); font-size: 12px; letter-spacing: 0.28em; color: #ffd7a0; margin-bottom: 10px; }
.hero__title { font-family: var(--f-disp); font-weight: 800; line-height: 1; letter-spacing: 0.03em; text-shadow: 0 2px 0 rgba(40, 10, 4, 0.5); }
.hero__line { display: block; }
.hero__line:first-child { font-size: clamp(28px, 8.4vw, 72px); line-height: 1.25; white-space: nowrap; color: #fbe9c8; }
.hero__line--red { font-size: clamp(96px, 27vw, 230px); line-height: 1; color: var(--red); margin-top: -0.02em; }
.hero__line--red .hero__line-in { -webkit-text-stroke: 0.018em #2a0805; paint-order: stroke fill; text-shadow: 0 0.04em 0 #2a0805; }
.hero__dot { color: #fbe9c8; font-size: 0.5em; -webkit-text-stroke: 0; }
.hero__tag { margin-top: 10px; display: grid; gap: 6px; font-weight: 700; font-size: 13px; letter-spacing: 0.16em; color: #fbe9c8; }
.hero__tag span { font-family: var(--f-sign); font-weight: 400; font-size: 12px; letter-spacing: 0.18em; color: #ffd7a0; }
.hero__bowl { position: absolute; left: 50%; top: var(--hz); width: var(--sun); aspect-ratio: 1; transform: translate(-50%, -75%); z-index: 0; pointer-events: auto; }
.hero__ground { position: absolute; left: 0; right: 0; top: calc(var(--hz) + 16px); bottom: var(--bar); z-index: 3; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 0 16px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__cta .btn { min-height: 50px; padding: 0 22px; font-size: 14px; }
.billing { max-width: 880px; text-align: center; color: rgba(242, 228, 198, 0.72); }
.billing__row:first-child { display: none; }
@media (max-width: 899px) { .billing__row { font-size: 10.5px; } .billing__row b { margin-left: 0.8em; } }
.billing__row { font-weight: 700; font-size: 11px; letter-spacing: 0.04em; line-height: 1.75; transform: scaleY(1.18); }
.billing__row b { font-family: var(--f-en); font-weight: 400; letter-spacing: 0.16em; margin: 0 0.6em 0 1.2em; color: var(--sand); }
.billing__row b:first-child { margin-left: 0; }
@media (min-width: 900px) {
  .land { --hz: var(--hzpx, 74vh); --mesa: 30vh; --mesa-far: 26vh; }
  .cactus--a { left: 16%; height: 17vh; top: calc(var(--hz) - 17vh + 2px); }
  .cactus--b { left: 76%; height: 12vh; top: calc(var(--hz) - 12vh + 2px); }
  .cactus--c { display: block; left: 61%; height: 6vh; top: calc(var(--hz) - 6vh + 2px); color: #3a160b; }
  .tumbleweed { width: 56px; height: 56px; }
  .hero { --hz: var(--hzpx, 74vh); --sun: min(46vh, 38vw); }
  .hero__copy { top: calc(var(--bar) + 4vh); }
  .hero__pre { font-size: 13px; margin-bottom: 14px; }
  .hero__line:first-child { font-size: clamp(36px, 4.4vw, 76px); }
  .hero__line--red { font-size: min(17vh, 14vw); }
  .hero__tag { grid-auto-flow: column; gap: 22px; align-items: center; font-size: 14px; margin-top: 4px; }
  .hero__ground { top: calc(var(--hz) + 10px); gap: 18px; }
  .hero__cta .btn { min-height: 54px; padding: 0 30px; font-size: 15px; }
  .billing__row:first-child { display: block; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero { --sun: min(72vw, 33vh); }
  .hero__tag span { display: none; }
  .hero__copy { top: calc(var(--bar) + 40px); }
  .hero__line--red { font-size: clamp(80px, 22vw, 180px); }
  .hero__tag { font-size: 12px; margin-top: 4px; }
  .hero__cta .btn { min-height: 46px; }
}

/* ---------- 01 辛さを選ぶ（夜の荒野） ---------- */
.heat { position: relative; height: 420vh; }
.heat__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.heat__head { position: absolute; top: calc(var(--hd) + 18px); left: 20px; right: 20px; z-index: 2; display: grid; gap: 10px; justify-items: start; }
.heat__title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(28px, 7.6vw, 76px); line-height: 1.14; letter-spacing: 0.04em; }
.heat__lead { display: none; color: var(--dim); font-size: 15px; }
.heat__bowl { position: absolute; left: 50%; top: 47%; width: min(80vw, 46svh); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.no-webgl .heat__bowl .bowl-fallback[data-fb="1"], .no-webgl .heat__bowl .bowl-fallback[data-fb="2"] { opacity: 0; }
.heat__readout { position: absolute; left: 20px; bottom: 112px; z-index: 2; width: min(56vw, 380px); }
.heat__num { display: flex; align-items: baseline; gap: 4px; line-height: 0.86; }
.heat__digits {
  font-family: var(--f-wood); font-size: clamp(60px, 18vw, 190px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--cream) calc(100% - var(--heat) * 100%), var(--red));
  text-shadow: 0 0 calc(40px * var(--heat)) rgba(200, 38, 27, calc(0.6 * var(--heat)));
}
.heat__unit { font-family: var(--f-disp); font-weight: 800; font-size: clamp(22px, 5.6vw, 52px); }
.heat__rank { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-family: var(--f-sign); font-size: 15px; letter-spacing: 0.12em; color: var(--sand); line-height: 1; }
.heat__rank small { font-family: var(--f-ja); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; padding: 4px 9px 3px; border: 1px solid currentColor; border-radius: 3px; }
.heat__name { margin-top: 6px; font-family: var(--f-disp); font-weight: 800; font-size: clamp(18px, 4.6vw, 30px); line-height: 1.35; letter-spacing: 0.04em; word-break: auto-phrase; }
.heat__desc { display: none; margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--dim); word-break: auto-phrase; }
.heat__readout.is-swap .heat__name, .heat__readout.is-swap .heat__desc, .heat__readout.is-swap .heat__rank { animation: swap 0.55s var(--ease); }
@keyframes swap { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }

.dial { position: absolute; right: 12px; bottom: 96px; z-index: 3; width: min(40vw, 170px); aspect-ratio: 1; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.dial:active { cursor: grabbing; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__track { fill: none; stroke: rgba(242, 228, 198, 0.12); stroke-width: 2; }
.dial__arc { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(200, 38, 27, 0.7)); }
.dial__ticks line { stroke: rgba(242, 228, 198, 0.32); stroke-width: 1.5; }
.dial__ticks line.is-major { stroke: var(--sand); stroke-width: 2.5; }
.dial__labels text { font-family: var(--f-wood); font-size: 15px; fill: var(--dim); text-anchor: middle; dominant-baseline: central; transition: fill 0.3s; }
.dial__labels text.is-on { fill: var(--cream); }
.dial__tip { fill: var(--cream); }
.badge__star { fill: url(#brass); stroke: #5a3e15; stroke-width: 2.5; stroke-linejoin: round; }
.badge__ball { fill: url(#brass); stroke: #5a3e15; stroke-width: 1.5; }
.badge__ring { fill: #7a5520; stroke: #f0d389; stroke-width: 2; }
.badge__plate { fill: url(#brass); stroke: #5a3e15; stroke-width: 1.5; }
.badge__text { font-family: var(--f-sign); font-size: 13px; fill: #3a2410; letter-spacing: 0.1em; }
.badge__center { fill: #5a3e15; }
.dial__hint { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); display: none; gap: 8px; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--dim); }
.dial__hint span { font-family: var(--f-sign); font-weight: 400; color: var(--sand); letter-spacing: 0.2em; }

.heat__chips { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; display: flex; gap: 6px; justify-content: center; padding: 0 12px; }
.heat__chips button {
  display: inline-flex; align-items: center; justify-content: center; gap: 1px; min-width: 42px; height: 38px; padding: 0 9px; border-radius: 99px;
  border: 1px solid rgba(214, 177, 122, 0.35); background: rgba(20, 13, 9, 0.6);
  font-family: var(--f-wood); font-size: 14px; line-height: 1;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.heat__chips small { font-family: var(--f-ja); font-weight: 800; font-size: 10px; margin-left: 1px; }
.heat__chips button.is-on { background: var(--red); border-color: var(--red); color: var(--cream); transform: translateY(-3px); }
.heat__note { display: none; }
.heat__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(242, 228, 198, 0.08); z-index: 3; }
.heat__progress i { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 380px), (max-height: 680px) and (max-width: 899px) {
  .heat__chips button { min-width: 36px; height: 34px; padding: 0 6px; font-size: 13px; }
  .heat__readout { bottom: 92px; }
  .dial { bottom: 82px; width: min(36vw, 140px); }
  .heat__digits { font-size: clamp(52px, 16vw, 104px); }
}
@media (min-width: 900px) {
  .heat { height: 460vh; }
  .heat__head { top: calc(var(--hd) + 7vh); left: var(--pad); right: auto; gap: 18px; }
  .heat__title { font-size: clamp(40px, 4.4vw, 76px); }
  .heat__lead { display: block; }
  .heat__bowl { left: 50%; top: 52%; width: min(70vh, 40vw); }
  .heat__readout { left: var(--pad); bottom: 15vh; width: min(25vw, 380px); }
  .heat__digits { font-size: clamp(100px, 10vw, 180px); }
  .heat__desc { display: block; }
  .dial { right: var(--pad); top: 52%; bottom: auto; transform: translateY(-50%); width: min(36vh, 22vw, 330px); }
  .dial__hint { display: inline-flex; bottom: -40px; }
  .heat__chips { bottom: 5vh; gap: 8px; }
  .heat__chips button { min-width: 64px; height: 44px; font-size: 17px; padding: 0 14px; }
  .heat__chips small { font-size: 12px; }
  .heat__note { display: block; position: absolute; right: var(--pad); bottom: calc(5vh + 12px); font-size: 12px; color: var(--dim); z-index: 3; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .heat__head { top: calc(var(--hd) + 3vh); }
  .heat__lead, .heat__desc { display: none; }
}

/* ---------- 帯 ---------- */
.band { position: relative; z-index: 2; background: var(--rust); color: var(--cream); overflow: hidden; padding: 16px 0 14px; transform: rotate(-2deg) scale(1.04); margin: -2vw 0; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); border-top: 3px double rgba(242, 228, 198, 0.45); border-bottom: 3px double rgba(242, 228, 198, 0.45); }
.band__track { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.band__track span { font-family: var(--f-sign); font-size: clamp(26px, 3.8vw, 54px); letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.band__track span:nth-of-type(2n) { font-family: var(--f-disp); font-weight: 800; font-size: clamp(22px, 3.2vw, 46px); }
.band__track em { font-style: normal; font-size: clamp(18px, 2.4vw, 32px); color: var(--ink); }

/* ---------- 02 辛麺5種：板壁の手配書 ---------- */
.five { position: relative; background: #2b190f url('images/wood-sp.webp') center top / 1000px auto repeat; color: var(--cream); padding-top: calc(var(--sec) + 2vw); isolation: isolate; }
.five::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 40%, rgba(0, 0, 0, 0) 30%, rgba(10, 5, 2, 0.6) 100%); pointer-events: none; }
.five .sec-hd__lead { color: rgba(242, 228, 198, 0.8); }
.five__head { padding: 0 var(--pad) clamp(30px, 3vw, 60px); }
.five__side { display: grid; gap: 22px; }
.five__index { display: grid; grid-template-columns: repeat(5, auto); justify-content: start; gap: 8px; }
.five__index button { display: grid; justify-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; color: rgba(242, 228, 198, 0.85); }
.five__index img { width: min(15vw, 64px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45)); transition: transform 0.7s var(--ease); }
@media (hover: hover) { .five__index button:hover img { transform: rotate(40deg) scale(1.08); } .five__index button:hover { color: var(--sand); } }
.five__track { display: grid; justify-items: center; gap: 56px; padding: 40px 0 20px; }
.five__bar { display: none; }
.five__note { display: grid; gap: 6px; padding: 36px var(--pad) var(--sec); font-size: 13px; line-height: 1.8; color: rgba(242, 228, 198, 0.75); }
.five__note a { color: var(--sand); font-weight: 700; border-bottom: 1px solid currentColor; }

.poster {
  --pw: min(88vw, 420px);
  position: relative; width: var(--pw); padding: 30px 7% 26px; text-align: center; color: var(--paper-ink); isolation: isolate;
  display: grid; justify-items: center; gap: 6px;
}
.five__track .poster:nth-child(odd) { rotate: -1.2deg; }
.five__track .poster:nth-child(even) { rotate: 1deg; }
.poster__paper { position: absolute; inset: 0; z-index: -1; background: #e8d3a6 url('images/paper-sp.webp') center / 100% 100% no-repeat; box-shadow: inset 0 0 30px rgba(110, 60, 20, 0.25); }
.poster__shadow { position: absolute; inset: 14px -6px -18px 10px; z-index: -2; background: rgba(0, 0, 0, 0.55); filter: blur(14px); border-radius: 6px; transform: translateZ(0); }
.poster__nail { position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #cfc3b0, #6d6255 55%, #2d2722); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5); z-index: 2; }
.poster__wanted { font-family: var(--f-wood); font-size: clamp(46px, 14vw, 74px); line-height: 0.9; letter-spacing: 0.02em; margin-top: 8px; color: #24150c; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); }
.poster__no { display: flex; align-items: center; gap: 12px; width: 100%; font-family: var(--f-type); font-size: 12px; letter-spacing: 0.2em; }
.poster__no::before, .poster__no::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.5; }
.poster__tag { padding: 2px 8px 1px; border: 1px solid var(--red-2); color: var(--red-2); font-family: var(--f-ja); font-weight: 800; letter-spacing: 0.1em; }
.poster__img { width: 64%; aspect-ratio: 1; margin: 6px 0 4px; padding: 3%; border: 2px solid #2a1a10; outline: 1px solid #2a1a10; outline-offset: 4px; background: rgba(90, 55, 25, 0.1); }
.poster__img img { width: 100%; height: 100%; will-change: transform; filter: drop-shadow(0 6px 8px rgba(40, 20, 5, 0.35)); }
.poster__name { font-family: var(--f-disp); font-weight: 800; font-size: clamp(30px, 9vw, 44px); line-height: 1.15; letter-spacing: 0.04em; margin-top: 6px; }
.poster__en { font-family: var(--f-type); font-size: 12px; letter-spacing: 0.22em; opacity: 0.8; }
.poster__doa { font-family: var(--f-sign); font-size: 18px; letter-spacing: 0.06em; color: var(--red-2); }
.poster__doa i { font-style: normal; font-family: var(--f-type); font-size: 12px; color: var(--paper-ink); margin: 0 6px; }
.poster__text { max-width: 22em; font-size: 13px; line-height: 1.8; }
.poster__ing { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; font-size: 12px; opacity: 0.85; }
.poster__ing span { padding: 1px 7px 0; border: 1px solid currentColor; font-weight: 800; font-size: 11px; letter-spacing: 0.16em; }
.poster__reward { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 4px; line-height: 1; }
.poster__reward span { font-family: var(--f-wood); font-size: 16px; letter-spacing: 0.08em; }
.poster__reward b { font-family: var(--f-wood); font-weight: 400; font-size: clamp(40px, 12vw, 56px); color: var(--red-2); }
.poster__reward small { font-family: var(--f-disp); font-weight: 800; font-size: 18px; color: var(--red-2); }
.poster__rec { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 5px 5px 5px 14px; border-radius: 99px; background: var(--paper-ink); color: var(--cream); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.poster__rec b { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--red); font-family: var(--f-wood); font-weight: 400; font-size: 14px; }
.poster__stamp { position: absolute; right: 6%; top: 17%; z-index: 3; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 3px double var(--red-2); color: var(--red-2); font-family: var(--f-disp); font-weight: 800; font-size: 19px; line-height: 1.1; text-align: center; rotate: -14deg; opacity: 0.85; mix-blend-mode: multiply; box-shadow: inset 0 0 0 4px rgba(163, 27, 18, 0.15); }

@media (min-width: 900px) {
  .five { background-image: url('images/wood.webp'); background-size: 1500px auto; }
  .five__head { grid-template-columns: 1fr auto; align-items: end; column-gap: 6vw; }
  .five__head .eyebrow { grid-column: 1 / -1; }
  .five__side { justify-self: end; gap: 28px; padding-bottom: 10px; }
  .five__index { gap: 14px; }
  .five__index img { width: 84px; }
  .five__pin { position: relative; height: 400vh; }
  .five__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .five__track { display: flex; align-items: center; height: 100%; width: max-content; gap: 7vw; padding: calc(var(--hd) - 10px) 12vw 0 var(--pad); will-change: transform; }
  .poster { --pw: min(31vw, calc((100vh - 120px) * 0.6)); flex: none; padding: 26px 3.2% 22px; gap: 4px; }
  .five__track .poster:nth-child(even) { translate: 0 18px; }
  .poster__wanted { font-size: calc(var(--pw) * 0.15); }
  .poster__img { width: 56%; }
  .poster__name { font-size: calc(var(--pw) * 0.085); }
  .poster__reward b { font-size: calc(var(--pw) * 0.11); }
  .poster__text { font-size: 12.5px; line-height: 1.75; }
  .poster__stamp { width: 84px; height: 84px; font-size: 17px; }
  .five__bar { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 3vh; height: 2px; background: rgba(242, 228, 198, 0.18); z-index: 2; }
  .five__bar i { position: absolute; inset: 0; background: var(--sand); transform-origin: 0 50%; transform: scaleX(0); }
  .poster__paper { background-image: url('images/paper.webp'); }
}
@media (min-width: 900px) and (max-height: 800px) {
  .five__track .poster__ing, .five__track .poster__en { display: none; }
}

/* ---------- 03 麺（映画のひとコマ＋字幕） ---------- */
.noodle { position: relative; background: var(--ink); padding-bottom: var(--sec); overflow: hidden; }
.film { position: relative; background: #000; padding: clamp(24px, 6vh, 64px) 0; }
.film img { display: block; width: 100%; height: auto; aspect-ratio: 2.39 / 1; object-fit: cover; object-position: 50% 42%; }
.film__sub { position: absolute; left: 0; right: 0; bottom: calc(clamp(24px, 6vh, 64px) + 4%); display: grid; justify-items: center; gap: 10px; text-align: center; padding: 0 16px; }
.film__sub .eyebrow { color: #ffe1b0; }
.film__line { font-family: var(--f-ja); font-weight: 700; font-size: clamp(20px, 3.2vw, 44px); letter-spacing: 0.12em; color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 2px 6px rgba(0, 0, 0, 0.9); }
.noodle__inner { position: relative; margin-top: clamp(56px, 7vw, 100px); padding: 0 var(--pad); display: grid; gap: clamp(56px, 7vw, 100px); }
.noodles { display: grid; gap: 14px; }
.noodles__item { position: relative; display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto auto auto; column-gap: 20px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.noodles__art { grid-row: 1 / 4; width: 110px; height: 80px; overflow: visible; }
.noodles__art path { fill: none; stroke: #d9b87e; stroke-width: 6; stroke-linecap: round; }
.noodles__item:nth-child(2) .noodles__art path { stroke: #f0c35c; }
.noodles__item:nth-child(3) .noodles__art path { stroke: #f2d68a; stroke-width: 4.5; }
.noodles__en { font-family: var(--f-sign); font-size: 13px; letter-spacing: 0.14em; color: var(--sand); }
.noodles__name { font-family: var(--f-disp); font-weight: 800; font-size: clamp(24px, 6vw, 40px); line-height: 1.3; letter-spacing: 0.04em; }
.noodles__text { font-size: 14px; color: var(--dim); line-height: 1.85; }
@media (hover: hover) { .noodles__item:hover .noodles__art { animation: wiggle 0.9s var(--ease); } }
@keyframes wiggle { 0%, 100% { transform: none; } 25% { transform: translateX(-4px) skewX(-6deg); } 50% { transform: translateX(4px) skewX(5deg); } 75% { transform: translateX(-2px) skewX(-2deg); } }
.js .noodles__art path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.noodles__item.is-in .noodles__art path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.noodles__item.is-in .noodles__art path:nth-child(2) { transition-delay: 0.08s; }
.noodles__item.is-in .noodles__art path:nth-child(3) { transition-delay: 0.16s; }
.noodles__item.is-in .noodles__art path:nth-child(4) { transition-delay: 0.24s; }
.noodles__item.is-in .noodles__art path:nth-child(5) { transition-delay: 0.32s; }
.noodles__item.is-in .noodles__art path:nth-child(6) { transition-delay: 0.4s; }

.order {
  position: relative; justify-self: center; width: min(100%, 880px);
  background: #ead6a9 url('images/paper-sp.webp') center / cover; color: var(--paper-ink); padding: 30px 26px;
  display: grid; gap: 16px; justify-items: center; text-align: center;
  -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.order::before { content: ''; position: absolute; inset: 10px 22px; border: 2px solid rgba(42, 26, 16, 0.55); outline: 1px solid rgba(42, 26, 16, 0.4); outline-offset: -6px; pointer-events: none; }
.order__kicker { font-family: var(--f-wood); font-size: clamp(14px, 3.6vw, 20px); letter-spacing: 0.08em; color: var(--red-2); }
.order__title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(18px, 4.6vw, 28px); line-height: 1.4; letter-spacing: 0.04em; }
.order__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 6px; }
.order__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 99px; background: var(--paper-ink); color: var(--cream); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; line-height: 1; }
.order__steps li b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); font-family: var(--f-wood); font-weight: 400; font-size: 12px; }
.order__steps li + li::before { content: '→'; margin: 0 6px 0 -2px; color: var(--red); display: none; }
.order__tops { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.order__tops span { padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(42, 26, 16, 0.35); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; }
.order__tops small { width: 100%; font-size: 12px; color: rgba(42, 26, 16, 0.65); }
@media (min-width: 900px) {
  .noodles { grid-template-columns: repeat(3, 1fr); gap: 3vw; }
  .noodles__item { grid-template-columns: 1fr; padding: 34px 0 0; }
  .noodles__art { grid-row: auto; width: 100%; height: 150px; margin-bottom: 26px; }
  .noodles__name { margin-top: 6px; }
  .noodles__text { margin-top: 8px; font-size: 15px; }
  .order { padding: 42px 60px 40px; gap: 22px; }
  .order__steps li + li::before { display: inline; }
}

/* ---------- 04 シメ ---------- */
.finish { position: relative; background: radial-gradient(120% 90% at 20% 30%, #7a1d0c 0%, #3a0d07 45%, var(--ink) 100%); padding: var(--sec) var(--pad); overflow: hidden; }
.finish__grid { display: grid; gap: 44px; align-items: center; }
.finish__photo { position: relative; width: min(100%, 560px); justify-self: center; border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 6px rgba(201, 154, 72, 0.25); }
.finish__photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.finish__photo figcaption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--f-sign); font-size: 12px; letter-spacing: 0.16em; color: var(--cream); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.js .finish__photo { clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px); }
.js .finish__photo.is-in { clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); transition: clip-path 1.4s var(--ease); }
.js .finish__photo img { scale: 1.25; }
.js .finish__photo.is-in img { scale: 1; transition: scale 2s var(--ease); }
.finish__body { display: grid; gap: 22px; justify-items: start; }
.finish__title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(38px, 4.8vw, 80px); line-height: 1.16; letter-spacing: 0.04em; }
.finish__text { max-width: 28em; font-size: 15px; line-height: 2; color: rgba(242, 228, 198, 0.82); }
.finish__flow { display: grid; width: 100%; max-width: 460px; margin-top: 10px; border-top: 1px solid var(--line); }
.finish__flow li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; letter-spacing: 0.1em; }
.finish__flow b { font-family: var(--f-wood); font-weight: 400; color: var(--coral); font-size: 13px; }
@media (min-width: 900px) {
  .finish__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 7vw; }
  .finish__photo { width: 100%; max-width: 620px; }
  .finish__text { font-size: 16px; }
}

/* ---------- 05 夜：酒場（SALOON） ---------- */
.night { position: relative; background: #0d0907; padding: calc(var(--sec) + 30px) var(--pad) var(--sec); overflow: hidden; }
.night::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 12%, rgba(230, 106, 42, 0.2), transparent 70%); pointer-events: none; }
.saloon { position: relative; display: grid; justify-items: center; margin-bottom: clamp(48px, 6vw, 90px); }
.saloon__sign { position: relative; margin-bottom: 30px; transform-origin: 50% -44px; animation: sway 5s ease-in-out infinite; }
.saloon__chain { position: absolute; top: -44px; width: 3px; height: 48px; background: repeating-linear-gradient(#9c8a72 0 7px, transparent 7px 10px); }
.saloon__chain:first-child { left: 16%; }
.saloon__chain:nth-child(2) { right: 16%; }
.saloon__board { display: grid; justify-items: center; padding: 12px 42px 12px; background: #3a2416 url('images/wood-sp.webp') center / 700px auto; border: 3px solid #1c120b; box-shadow: inset 0 0 0 2px rgba(201, 154, 72, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.6), 0 18px 30px rgba(0, 0, 0, 0.55); }
.saloon__board b { font-family: var(--f-sign); font-weight: 400; font-size: clamp(48px, 10vw, 104px); line-height: 1; color: #f3d9a4; text-shadow: 0 3px 0 #4a2a10, 0 0 22px rgba(255, 170, 80, 0.35); }
.saloon__board small { font-family: var(--f-type); font-size: 13px; letter-spacing: 0.32em; color: var(--sand); }
@keyframes sway { 0%, 100% { rotate: -1.4deg; } 50% { rotate: 1.4deg; } }
.saloon__stage { position: relative; width: min(100%, 820px); padding: 38px 16px; perspective: 1400px; }
.night__head { position: relative; }
.night__head .sec-hd__title { font-size: clamp(30px, 8.6vw, 96px); }
.js .night__head { opacity: 0; transition: opacity 1s 0.5s var(--ease); }
.saloon.is-open .night__head { opacity: 1; }
.saloon__doors { position: absolute; left: 0; right: 0; top: 4%; bottom: 4%; display: flex; pointer-events: none; }
.saloon__door {
  position: relative; flex: 1;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0 3px, transparent 3px 26px),
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45)),
    #4a2c1a url('images/wood-sp.webp') center / 500px auto;
  border: 3px solid #1c120b;
  box-shadow: inset 0 0 0 2px rgba(201, 154, 72, 0.35);
  transition: transform 1.5s cubic-bezier(0.25, 1.55, 0.45, 1);
}
.saloon__door--l { transform-origin: 0 50%; clip-path: polygon(0 0, 30% 2%, 62% 9%, 100% 22%, 100% 100%, 0 100%); }
.saloon__door--r { transform-origin: 100% 50%; clip-path: polygon(0 22%, 38% 9%, 70% 2%, 100% 0, 100% 100%, 0 100%); }
.saloon.is-open .saloon__door--l { transform: rotateY(-104deg); }
.saloon.is-open .saloon__door--r { transform: rotateY(104deg); }
.sides { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.side { position: relative; display: grid; gap: 12px; align-content: start; }
.side--big { grid-column: 1 / -1; }
.side__img { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 1; box-shadow: 0 0 0 1px rgba(214, 177, 122, 0.25); }
.side--big .side__img { aspect-ratio: 4 / 3; }
.side__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .side:hover .side__img img { transform: scale(1.05); } }
.side figcaption { display: grid; gap: 4px; }
.side figcaption b { font-family: var(--f-disp); font-weight: 800; font-size: clamp(17px, 4.4vw, 26px); line-height: 1.35; letter-spacing: 0.03em; }
.side figcaption b small { margin-left: 4px; font-family: var(--f-ja); font-weight: 700; font-size: 0.55em; color: var(--dim); }
.side figcaption > span:last-child { font-size: 13px; color: var(--dim); line-height: 1.75; }
.side__en { font-family: var(--f-sign); font-size: 12px; letter-spacing: 0.12em; color: var(--sand); }
.side__price { font-family: var(--f-wood); font-size: clamp(20px, 5vw, 28px); line-height: 1.1; color: var(--coral); }
.side__price small { margin-left: 2px; font-family: var(--f-disp); font-weight: 800; font-size: 0.55em; }
.side--list { grid-column: 1 / -1; padding: 26px 22px; border-radius: 4px; background: #ead6a9 url('images/paper-sp.webp') center / cover; color: var(--paper-ink); overflow: hidden; }
.side--list .side__en { color: var(--red-2); font-size: 18px; }
.side__more { display: grid; margin-top: 10px; }
.side__more li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed rgba(42, 26, 16, 0.35); font-family: var(--f-disp); font-weight: 800; font-size: 18px; line-height: 1.4; }
.side__more li span { font-family: var(--f-ja); font-size: 12px; color: rgba(42, 26, 16, 0.65); font-weight: 700; }
.side__more em { margin-left: auto; font-style: normal; font-family: var(--f-wood); font-size: 14px; color: var(--red-2); white-space: nowrap; }
.side__coke { position: absolute; right: 16px; bottom: 12px; font-family: var(--f-sign); font-size: 15px; line-height: 1.15; text-align: right; color: var(--red-2); transform: rotate(-6deg); opacity: 0.85; }
@media (min-width: 900px) {
  .sides { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px; }
  .side--big { grid-column: 1; grid-row: 1 / 3; grid-template-rows: 1fr auto; }
  .side--big .side__img { aspect-ratio: auto; height: 100%; min-height: 520px; }
  .side--list { grid-column: 2 / 4; }
}

/* ---------- 06 お店（古い紙） ---------- */
.story { position: relative; background: #e9d6ac url('images/paper.webp') center / cover; color: var(--paper-ink); padding: var(--sec) var(--pad); overflow: hidden; }
.story::before { content: ''; position: absolute; inset: 0; background: rgba(240, 225, 190, 0.35); pointer-events: none; }
.story > * { position: relative; }
.story .eyebrow { color: var(--red-2); }
.story .eyebrow b { background: var(--red-2); color: var(--cream); }
.story__grid { display: grid; gap: 56px; align-items: center; }
.story__clock { position: relative; display: grid; justify-items: center; gap: 22px; }
.clock { width: min(78vw, 440px); height: auto; overflow: visible; filter: drop-shadow(0 26px 30px rgba(42, 26, 16, 0.3)); }
.star__q--teal { fill: var(--teal); }
.star__q--coral { fill: var(--coral); }
.star__brass { stroke: var(--brass); stroke-width: 7; fill: none; stroke-linecap: round; }
.clock__bezel { fill: #b8862f; stroke: #e2bd6c; stroke-width: 2; }
.clock__face { fill: #d9b25e; }
.clock__marks line { stroke: #3a2a10; stroke-width: 2.4; stroke-linecap: round; }
.clock__h, .clock__m { stroke: #2a1d0c; stroke-linecap: round; }
.clock__h { stroke-width: 5; }
.clock__m { stroke-width: 3.4; }
.clock__s { stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; }
.clock__pin { fill: #2a1d0c; }
.hang { position: relative; display: grid; justify-items: center; perspective: 700px; }
.hang__rope { position: relative; width: 120px; height: 32px; }
.hang__rope::before, .hang__rope::after { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 42px; background: #6b5236; transform-origin: top center; }
.hang__rope::before { transform: rotate(52deg); }
.hang__rope::after { transform: rotate(-52deg); }
.hang__board { position: relative; width: 210px; height: 76px; transform-style: preserve-3d; transform: rotateY(180deg); transition: transform 1.2s cubic-bezier(0.3, 1.5, 0.45, 1); }
.hang.is-open .hang__board { transform: rotateY(0); }
.hang__face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #4a2c1a url('images/wood-sp.webp') center / 500px auto; border: 3px solid #1c120b; border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(201, 154, 72, 0.45), 0 12px 20px rgba(42, 26, 16, 0.35); font-family: var(--f-sign); font-size: 36px; letter-spacing: 0.06em; color: #f3d9a4; text-shadow: 0 2px 0 #2a1608; }
.hang__face--off { transform: rotateY(180deg); color: #c9b496; }
.story__now { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-align: center; color: rgba(42, 26, 16, 0.75); }
.story__body { display: grid; gap: 22px; justify-items: start; }
.story__title { font-size: clamp(36px, 5vw, 80px); }
.story__text { max-width: 30em; font-size: 15px; line-height: 2.05; color: rgba(42, 26, 16, 0.85); }
.story__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 22px; margin-top: 14px; padding-top: 22px; border-top: 1px solid rgba(42, 26, 16, 0.25); }
.story__facts dt { font-family: var(--f-sign); font-size: 12px; letter-spacing: 0.12em; color: var(--red-2); }
.story__facts dd { font-family: var(--f-wood); font-size: clamp(18px, 4.4vw, 32px); line-height: 1.3; }
.story__facts small { font-family: var(--f-ja); font-size: 11px; font-weight: 700; margin-left: 2px; }
.story__photos { position: relative; display: grid; gap: 30px; margin-top: clamp(64px, 8vw, 110px); }
.story__photo { position: relative; padding: 10px 10px 0; background: #fbf4e4; box-shadow: 0 18px 34px rgba(42, 26, 16, 0.25); }
.story__photo img { width: 100%; height: auto; }
.story__photo figcaption { display: block; padding: 12px 4px 14px; font-size: 13px; line-height: 1.7; color: rgba(42, 26, 16, 0.8); }
.story__photo figcaption b { display: inline-block; margin-right: 10px; font-family: var(--f-sign); font-weight: 400; font-size: 13px; letter-spacing: 0.08em; color: var(--red-2); }
.story__photo::before { content: ''; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #cfc3b0, #6d6255 55%, #2d2722); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.45); z-index: 2; }
.story__photo--hall { rotate: -1.6deg; width: 92%; }
.story__photo--mado { rotate: 1.2deg; width: 94%; justify-self: end; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 7vw; }
  .story__text { font-size: 16px; }
  .story__photos { grid-template-columns: 0.82fr 1.18fr; gap: 4vw; align-items: end; }
  .story__photo--hall, .story__photo--mado { width: auto; }
  .story__photo--mado { margin-bottom: 40px; }
}

/* ---------- 口コミ：西部の町の新聞 ---------- */
.voices { position: relative; background: #24150c url('images/wood-sp.webp') center / 1000px auto; padding: clamp(72px, 9vw, 130px) 14px; overflow: hidden; }
.voices::before { content: ''; position: absolute; inset: 0; background: rgba(10, 5, 2, 0.45); }
.gazette { position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(26px, 4vw, 56px) clamp(20px, 4vw, 60px); color: var(--paper-ink); background: #e9d6ac url('images/paper.webp') center / 100% 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); rotate: -0.8deg; }
.gazette__mast { display: grid; justify-items: center; text-align: center; padding-bottom: 14px; border-bottom: 4px double var(--paper-ink); }
.gazette__meta { display: flex; justify-content: space-between; width: 100%; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--paper-ink); font-family: var(--f-type); font-size: clamp(10px, 1.3vw, 13px); letter-spacing: 0.1em; }
.gazette__title { font-family: var(--f-sign); font-size: clamp(34px, 8.4vw, 104px); line-height: 1; margin: 12px 0 6px; letter-spacing: 0.01em; }
.gazette__sub { font-weight: 700; font-size: clamp(12px, 1.6vw, 15px); letter-spacing: 0.2em; }
.gazette__head { margin: 22px 0 18px; text-align: center; font-family: var(--f-disp); font-weight: 800; font-size: clamp(28px, 6vw, 72px); line-height: 1.2; letter-spacing: 0.04em; }
.gazette__cols { display: grid; gap: 18px; padding-top: 18px; border-top: 1px solid var(--paper-ink); }
.gazette__item h3 { font-family: var(--f-disp); font-weight: 800; font-size: 19px; line-height: 1.4; margin-bottom: 6px; letter-spacing: 0.04em; }
.gazette__item p { font-size: 14px; line-height: 1.9; text-align: justify; }
.gazette__item--lead h3 { font-size: clamp(24px, 4vw, 34px); color: var(--red-2); }
.gazette__item--lead p { font-size: 15px; }
.gazette__src { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--paper-ink); font-size: 12px; text-align: right; }
@media (min-width: 900px) {
  .gazette__cols { grid-template-columns: 1.3fr 1fr 1fr; gap: 0; }
  .gazette__item { padding: 4px 22px; border-left: 1px solid rgba(42, 26, 16, 0.4); }
  .gazette__item--lead { grid-row: span 2; padding-left: 0; border-left: 0; }
  .gazette__item:nth-child(n+4) { padding-top: 16px; }
}

/* ---------- 07 アクセス（古い地図） ---------- */
.access { position: relative; background: var(--ink); padding: var(--sec) var(--pad); }
.access__grid { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 72px); }
.map { position: relative; display: block; overflow: hidden; background: #e6d2a6 url('images/paper.webp') center / 100% 100%; box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5); rotate: -0.6deg; }
.map__svg { width: 100%; height: auto; }
.map__blocks path { fill: rgba(110, 70, 30, 0.12); stroke: rgba(80, 50, 25, 0.4); stroke-width: 1.2; stroke-dasharray: 4 3; }
.map__school { fill: rgba(60, 100, 60, 0.18); stroke: rgba(40, 70, 40, 0.6); stroke-width: 1.5; }
.map__road { stroke: #4a2e18; stroke-width: 22; fill: none; opacity: 0.8; }
.map__road--s { stroke-width: 12; opacity: 0.5; }
.map__ties { stroke: #4a2e18; stroke-width: 18; stroke-dasharray: 2.5 9; fill: none; opacity: 0.8; }
.map__rail { stroke: #2a1a10; stroke-width: 2.2; fill: none; }
.map__label { font-family: var(--f-ja); font-size: 14px; font-weight: 800; fill: #3a2414; letter-spacing: 0.06em; }
.map__label--rail { font-size: 13px; fill: #4a2e18; }
.map__route { fill: none; stroke: var(--red-2); stroke-width: 3.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.map__station path { fill: #3a2414; }
.map__station text { font-family: var(--f-ja); font-weight: 800; font-size: 13px; fill: #f2e4c6; }
.map__x path { stroke: var(--red-2); stroke-width: 6; stroke-linecap: round; fill: none; }
.map__x text { font-family: var(--f-disp); font-weight: 800; font-size: 17px; fill: var(--red-2); }
.map__pulse { fill: rgba(163, 27, 18, 0.35); transform-origin: center; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
.map__walk { font-family: var(--f-ja); font-weight: 800; font-size: 14px; fill: var(--red-2); }
.map__north circle { fill: none; stroke: #3a2414; stroke-width: 1.5; }
.map__north path { fill: #e6d2a6; stroke: #3a2414; stroke-width: 1.2; }
.map__north .map__north-n { fill: #3a2414; }
.map__north text { font-family: var(--f-sign); font-size: 14px; fill: #3a2414; }
.map__cta { position: absolute; right: 14px; top: 14px; padding: 9px 14px; border-radius: 4px; background: var(--paper-ink); color: var(--cream); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; line-height: 1; transition: background-color 0.3s; }
@media (hover: hover) { .map:hover .map__cta { background: var(--red); } }
.info { display: grid; gap: 34px; align-content: start; }
.info__photo { overflow: hidden; }
.info__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 42%; border-radius: 6px; }
.info__photo figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); }
.info__list > div { display: grid; grid-template-columns: 6.2em 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info__list > div:first-child { border-top: 1px solid var(--line); }
.info__list dt { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--sand); padding-top: 2px; }
.info__list dd { font-size: 15px; line-height: 1.8; }
.info__list small { font-size: 12px; color: var(--dim); }
.info__list a { border-bottom: 1px solid var(--red); }
.info__time { display: block; }
.info__time b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--red); font-weight: 800; font-size: 11px; vertical-align: 1px; }
.info__go { display: grid; gap: 18px; padding: 24px; border-radius: 6px; background: var(--ink-2); border: 1px solid rgba(214, 177, 122, 0.25); }
.info__mine { font-family: var(--f-disp); font-weight: 800; font-size: 20px; line-height: 1.5; }
.info__mine b { font-family: var(--f-wood); font-weight: 400; font-size: 30px; color: var(--red); margin: 0 2px; }
.info__rank:not(:empty) { margin-left: 6px; font-size: 16px; color: var(--sand); }
.info__mine small { font-family: var(--f-ja); font-weight: 500; font-size: 13px; color: var(--dim); }
.info__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .access__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 5vw; align-items: start; }
  .map { position: sticky; top: calc(var(--hd) + 20px); }
}

/* ---------- 求人：仲間の手配書 ---------- */
.recruit { position: relative; display: grid; justify-items: center; background: #24150c url('images/wood-sp.webp') center / 1000px auto; padding: clamp(80px, 10vw, 140px) 14px; overflow: hidden; }
.recruit::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 50%, transparent 30%, rgba(10, 5, 2, 0.6)); }
.poster--recruit { --pw: min(92vw, 560px); padding: 36px 8% 34px; gap: 10px; rotate: -1deg; }
.poster--recruit .poster__name { font-size: clamp(28px, 7vw, 44px); }
.recruit__list { display: grid; gap: 4px; margin: 6px 0 4px; font-size: 14px; text-align: left; }
.recruit__list li::before { content: '★'; color: var(--red-2); margin-right: 8px; }
.poster__reward--tel b { font-size: clamp(28px, 8vw, 44px); }
.poster--recruit .btn { margin-top: 6px; }

/* ---------- フッター：THE END ---------- */
.ft { position: relative; z-index: 1; background: var(--ink); padding: 0 var(--pad) calc(110px + env(safe-area-inset-bottom)); overflow: hidden; }
.ft__end { position: relative; margin: 0 calc(var(--pad) * -1) 40px; padding: clamp(80px, 12vw, 160px) 16px clamp(80px, 11vw, 140px); text-align: center; background: linear-gradient(#140d09 0%, #4a1509 38%, #c4501f 74%, #f2a04a 100%); overflow: hidden; }
.ft__theend { position: relative; z-index: 1; font-family: var(--f-sign); font-size: clamp(64px, 16vw, 200px); line-height: 1; color: #fbe3b8; text-shadow: 0 4px 0 #6b2210, 0 0 40px rgba(255, 180, 90, 0.35); }
.ft__see { position: relative; z-index: 1; margin-top: 10px; font-family: var(--f-disp); font-weight: 800; font-size: clamp(18px, 3vw, 30px); letter-spacing: 0.18em; color: #fff2d8; }
.ft__land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; fill: var(--ink); }
.ft__big { font-family: var(--f-sign); font-size: 25vw; line-height: 0.9; color: var(--red); text-align: center; letter-spacing: -0.01em; margin: 0 -2vw 30px; white-space: nowrap; }
.ft__row { display: grid; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.ft__name { font-family: var(--f-disp); font-weight: 800; font-size: 20px; line-height: 1.5; }
.ft__name span { display: block; font-family: var(--f-en); font-size: 11px; letter-spacing: 0.3em; color: var(--sand); }
.ft__addr { font-size: 13px; color: var(--dim); line-height: 1.9; }
.ft__links { display: flex; gap: 22px; font-family: var(--f-sign); font-size: 15px; letter-spacing: 0.08em; }
.ft__copy { margin-top: 34px; font-size: 11px; color: rgba(242, 228, 198, 0.45); letter-spacing: 0.08em; }
.ft__copy span { display: block; margin-top: 4px; }
@media (min-width: 900px) {
  .ft { padding-bottom: 40px; }
  .ft__big { font-size: 26vw; }
  .ft__row { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .ft__copy span { display: inline; margin: 0; }
}

/* ---------- スマホの下のボタン ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 10px;
  background: rgba(20, 13, 9, 0.88); border: 1px solid rgba(214, 177, 122, 0.3);
  transform: translateY(160%); transition: transform 0.6s var(--ease);
}
.dock.is-on { transform: none; }
.dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 6px; font-weight: 800; font-size: 14px; letter-spacing: 0.1em; border: 1px solid var(--line); }
.dock__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock__btn--red { background: var(--red); border-color: var(--red); }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- カーソル ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; }
  .cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--red); }
  .cursor__ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(242, 228, 198, 0.5); display: grid; place-items: center; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background-color 0.4s, border-color 0.4s; }
  .cursor__ring b { font-family: var(--f-sign); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; color: var(--ink); opacity: 0; transition: opacity 0.3s; padding-left: 0.1em; }
  .cursor.is-label .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--sand); border-color: var(--sand); }
  .cursor.is-label .cursor__ring b { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.is-link .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--red); }
}

/* ---------- ヒーローの出方 ---------- */
.hero__line { overflow: hidden; padding: 0.06em 0.12em 0.1em; margin: -0.06em -0.12em -0.1em; }
.hero-done .hero__line { overflow: visible; }
.hero__line-in { display: block; }
.js .hero__line-in { transform: translateY(108%); }
.hero-in .hero__line-in { transform: none; transition: transform 1.3s var(--ease); }
.hero-in .hero__line--red .hero__line-in { transition-delay: 0.14s; }
.js .hero__pre, .js .hero__tag, .js .hero__ground { opacity: 0; transform: translateY(14px); }
.hero-in .hero__pre, .hero-in .hero__tag, .hero-in .hero__ground { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero-in .hero__tag { transition-delay: 0.45s; }
.hero-in .hero__ground { transition-delay: 0.7s; }

/* ---------- 撮影用・動きを減らす ---------- */
.is-capture .hd, .is-capture .dock, .is-capture .cursor, .is-capture .grain { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-split] .ln > span, .js [data-reveal] { transform: none; opacity: 1; }
  .js .finish__photo { clip-path: none; }
  .js .night__head { opacity: 1; }
  .tumbleweed { display: none; }
}
