/* まるめ自動車（業種別サンプル⑤・コードの 3D のトゥーン調）。2026-11-11。見た目の正は ../../DESIGN.md、文の正は ../../CONTENTS.md */
/* jpfont:start */
@font-face{font-family:"Dela Gothic One";src:url(../fonts/dela-gothic-one-400.5063a50f.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap;}
@font-face{font-family:"Zen Kaku Gothic New";src:url(../fonts/zen-kaku-gothic-new-500.0b1f2b35.woff2) format("woff2");font-style:normal;font-weight:500;font-display:swap;}
@font-face{font-family:"Zen Kaku Gothic New";src:url(../fonts/zen-kaku-gothic-new-700.6ccb3b71.woff2) format("woff2");font-style:normal;font-weight:700;font-display:swap;}
@font-face{font-family:"Marume Kana";src:url(../fonts/zen-antique-kana-400.23f112f0.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+3041-30FF;}
@font-face{font-family:"League Gothic";src:url(../fonts/league-gothic-400.32eaa932.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap;}
/* jpfont:end */

:root {
  --night: #141A26;
  --ink: #0B0D12;
  --cream: #EFE4C8;
  --yellow: #F2C230;
  --steel: #8E99A8;
  --vh: 1vh;
  --f-head: "Dela Gothic One", "Zen Kaku Gothic New", sans-serif;
  --f-body: "Zen Kaku Gothic New", sans-serif;
  --f-comic: "Marume Kana", "Zen Kaku Gothic New", sans-serif;
  --f-num: "League Gothic", "Zen Kaku Gothic New", sans-serif;
}

/* 土台 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 500;
  line-height: 1.7;
  font-feature-settings: "palt";
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.cl-p { display: inline-block; }
.nw { white-space: nowrap; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ページ頭 */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 22px;
  padding: 24px 34px 0;
  pointer-events: none;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.hd > * { pointer-events: auto; }
.hd.solid { background: rgba(20, 26, 38, .97); padding: 12px 34px 12px; box-shadow: 0 3px 0 var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; margin-right: auto; }
.logo-eyes { width: 46px; height: 23px; flex: none; overflow: visible; }
.logo-txt { display: flex; flex-direction: column; }
.logo-ja { font-family: var(--f-head); font-size: 25px; letter-spacing: .05em; text-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.logo-en { margin-top: 6px; font-family: var(--f-num); font-size: 13px; letter-spacing: .32em; color: var(--yellow); }

/* 丸目（ロゴ・工場のこと・フッター）。さわると、まばたき */
.eye circle:first-child { fill: var(--yellow); stroke: var(--ink); stroke-width: 4; }
.eye .shine { fill: #fff; }
.eye { transform-box: fill-box; transform-origin: center; }
.logo:hover .eye, .blink .eye, .ft-eyes:hover .eye { animation: blink .38s ease-in-out; }
.about-eyes .eye { animation: blink 4.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 45%, 55% { transform: scaleY(.12); } }
.about-eyes .eye { animation-name: blinkLoop; }
@keyframes blinkLoop { 0%, 88%, 100% { transform: scaleY(1); } 92%, 94% { transform: scaleY(.12); } }

.hd-nav { display: flex; gap: 24px; }
.hd-nav a { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-shadow: 2px 2px 0 var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.hd-nav a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 22px 12px;
  border: 3px solid var(--ink); border-radius: 999px;
  font-family: var(--f-body); font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1;
  color: var(--ink); white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-tel { background: var(--yellow); }
.btn-line, .btn-menu { background: var(--cream); }
.hd-tel { padding: 9px 18px 10px; font-size: 14px; min-height: 40px; }
.btn-menu { display: none; padding: 8px 16px 9px; font-size: 13px; min-height: 40px; }

/* スマホのメニュー（画面全体の1コマ） */
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--night); opacity: 0; transition: opacity .25s; }
.mnav.on { opacity: 1; }
.mnav-in {
  position: absolute; inset: 8px; display: flex; flex-direction: column;
  padding: 76px 26px 28px;
  border: 3px solid var(--cream); border-radius: 6px; box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--ink);
  background: radial-gradient(rgba(11, 13, 18, .5) 30%, transparent 33%) 0 0 / 7px 7px;
}
.mnav nav a {
  display: block; padding: 12px 0;
  font-family: var(--f-head); font-size: 30px; letter-spacing: .04em; line-height: 1.2;
  text-shadow: 3px 3px 0 var(--ink);
  border-bottom: 2px dashed rgba(239, 228, 200, .25);
}
.mnav-close {
  position: absolute; top: 18px; right: 18px;
  padding: 8px 16px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--cream); color: var(--ink); font-weight: 700; font-size: 13px; box-shadow: 3px 3px 0 var(--ink);
}
.mnav-tel { margin-top: auto; width: 100%; padding: 18px; font-size: 18px; }

/* 見せ場（スクロールで動く 3D） */
.show { position: relative; height: calc(var(--vh) * 960); }
.stage { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.frame {
  position: absolute; inset: 10px; pointer-events: none;
  border: 3px solid var(--cream); border-radius: 6px;
  box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--ink);
}
.dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 13, 18, .62) 30%, transparent 33%);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, transparent 58%, #000 100%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, transparent 58%, #000 100%);
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; margin: 0; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .32em; color: rgba(239, 228, 200, .75);
  transition: opacity .4s;
}
.scroll-hint::after {
  content: ""; display: block; width: 2px; height: 26px; margin: 8px auto 0; background: var(--yellow);
  animation: hint 1.6s ease-in-out infinite; transform-origin: top;
}
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.scroll-hint.off { opacity: 0; }

/* 場面ごとの文（コミックのコマの文字） */
.cue {
  position: absolute; z-index: 5;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility 0s .35s, transform .35s;
}
.cue.on { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s, transform .35s; }

.cue-hero { left: 7vw; top: 22%; max-width: 46vw; transform: translateY(14px); }
.cue-hero.on { transform: none; }
.hero-h {
  margin: 0;
  font-family: var(--f-head); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 80px); line-height: 1.22; letter-spacing: .02em;
  text-shadow: 5px 5px 0 var(--ink);
}
.hero-sub {
  display: inline-block; margin: 22px 0 0; padding: 6px 14px 7px;
  background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700; font-size: 15px; letter-spacing: .08em;
  transform: rotate(-1.5deg);
}

.cue-box { left: 6vw; bottom: 13%; transform: translateY(14px) rotate(-1.2deg); }
.cue-box.on { transform: rotate(-1.2deg); }
.box {
  position: relative; margin: 0; padding: 22px 22px 16px;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  font-family: var(--f-comic); font-size: 20px; line-height: 1.55; letter-spacing: .04em;
}
.box-n {
  position: absolute; top: -17px; left: 14px;
  padding: 3px 10px 4px;
  background: var(--yellow); border: 3px solid var(--ink);
  font-family: var(--f-head); font-weight: 400; font-size: 14px; letter-spacing: .12em; line-height: 1;
}
.box-note { display: block; margin-top: 6px; font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: .06em; opacity: .75; }

.cue-sfx {
  font-family: var(--f-head); font-size: clamp(48px, 6.4vw, 96px); line-height: 1; letter-spacing: .02em;
  color: var(--yellow); white-space: nowrap;
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-9deg) scale(.55);
}
.cue-sfx.on { transform: rotate(-9deg) scale(1); transition: opacity .2s, visibility 0s, transform .5s cubic-bezier(.3, 1.7, .5, 1); }
.sfx-lift { right: 9vw; top: 24%; }
.sfx-click { right: 12vw; top: 30%; transform: rotate(7deg) scale(.55); }
.sfx-click.on { transform: rotate(7deg) scale(1); }
.sfx-fold { right: 12vw; bottom: 16%; transform: rotate(6deg) scale(.55); }
.sfx-fold.on { transform: rotate(6deg) scale(1); }

.cue-end { left: 7vw; top: 50%; max-width: 40vw; transform: translateY(calc(-50% + 14px)); }
.cue-end.on { transform: translateY(-50%); }
.end-sfx {
  margin: 0;
  font-family: var(--f-head); font-size: clamp(34px, 3.7vw, 54px); line-height: 1.15;
  color: var(--yellow); white-space: nowrap;
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
}
.end-txt { margin: 18px 0 0; font-size: 16px; line-height: 1.8; text-shadow: 2px 2px 0 var(--ink); }
.end-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.end-hint {
  display: flex; align-items: center; gap: 10px; margin: 22px 0 0;
  font-size: 12px; letter-spacing: .2em; color: rgba(239, 228, 200, .8);
}
.end-hint span { color: var(--yellow); font-family: var(--f-num); font-size: 16px; }

/* 部品の札 */
.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.lines line { stroke-linecap: round; }
.lines .l-out { stroke: var(--ink); stroke-width: 6; }
.lines .l-in { stroke: var(--cream); stroke-width: 2.2; }
.lines circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5; }
.tags { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.tag {
  position: absolute; left: 0; top: 0;
  padding: 7px 12px 8px;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap; line-height: 1.2;
  opacity: 0; will-change: transform, opacity;
}
.tag b { display: block; font-family: var(--f-comic); font-size: 16px; letter-spacing: .04em; }
.tag .t-what { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.tag .t-price { font-family: var(--f-num); font-size: 22px; letter-spacing: .02em; margin-left: 4px; }
.tag .t-yen { font-size: 11px; font-weight: 700; }

/* ---- 見せ場の下の段 ---- */
.sec { position: relative; padding: 130px 7vw; }
.sec-cream {
  background: var(--cream) radial-gradient(rgba(11, 13, 18, .07) 30%, transparent 33%) 0 0 / 8px 8px;
  color: var(--ink);
}
.sec-h {
  margin: 0 0 20px;
  font-family: var(--f-head); font-weight: 400;
  font-size: clamp(30px, 4.2vw, 58px); line-height: 1.28; letter-spacing: .02em;
  text-shadow: 4px 4px 0 var(--ink);
}
.sec-cream .sec-h { text-shadow: 4px 4px 0 var(--yellow); }
.sec-lead { margin: 0 0 44px; max-width: 38em; font-size: 17px; line-height: 1.9; }

/* 段の中身：下から出る */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.rv-in { opacity: 1; transform: none; }

/* 3つの答え */
.ans-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 48px; }
.ans {
  position: relative; padding: 30px 24px 24px;
  background: var(--cream); border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink);
}
.ans:nth-child(1) { rotate: -1deg; }
.ans:nth-child(2) { rotate: .8deg; }
.ans:nth-child(3) { rotate: -.6deg; }
.ans-q {
  position: absolute; top: -20px; left: 18px; margin: 0;
  padding: 7px 16px 8px; border-radius: 999px 999px 999px 4px;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-comic); font-size: 16px; letter-spacing: .04em; line-height: 1.2; white-space: nowrap;
}
.ans-a { margin: 14px 0 12px; font-family: var(--f-head); font-size: 26px; line-height: 1.35; }
.ans-a .num { font-family: var(--f-num); font-size: 46px; letter-spacing: .01em; line-height: 1; margin: 0 2px; }
.ans-a .yen { font-family: var(--f-body); font-weight: 700; font-size: 15px; }
.ans-a .ans-k { font-family: var(--f-body); font-weight: 700; font-size: 14px; margin-right: 4px; }
.ans-a .ans-sep { margin: 0 8px; font-size: 20px; opacity: .5; }
.ans-pair { white-space: nowrap; }
.ans-s { margin: 0; font-size: 13px; line-height: 1.75; opacity: .85; }

/* 料金（伝票） */
.slip {
  position: relative; max-width: 780px; padding: 30px 36px 26px;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 9px 9px 0 var(--ink);
  rotate: -.5deg;
}
.slip-h { margin: 0; padding-bottom: 14px; border-bottom: 3px solid var(--ink); font-family: var(--f-head); font-size: 17px; letter-spacing: .08em; }
.pr { margin: 0; }
.pr-row { display: flex; align-items: baseline; gap: 16px; padding: 14px 0 13px; border-bottom: 2px dotted rgba(11, 13, 18, .4); }
.pr-row dt { font-weight: 700; font-size: 16px; line-height: 1.5; }
.pr-row dt small { display: block; font-weight: 500; font-size: 12px; opacity: .72; margin-top: 2px; }
.pr-row dd { margin: 0 0 0 auto; white-space: nowrap; }
.pr-n { font-family: var(--f-num); font-size: 36px; line-height: 1; letter-spacing: .01em; }
.pr-yen { font-weight: 700; font-size: 13px; margin-left: 2px; }
.pr-pre { margin: 0 6px 0 0; }
.slip-note { margin: 18px 0 0; font-size: 13px; line-height: 1.7; }

/* 直し方（ドアのへこみ） */
.fix { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6vw; align-items: center; }
.fix .sec-lead { margin-bottom: 0; }
.fix-panel {
  position: relative; aspect-ratio: 4 / 3;
  background: var(--night); border: 3px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); overflow: hidden;
}
#dent { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.fix-hint {
  position: absolute; left: 50%; bottom: 16px; margin: 0; transform: translateX(-50%);
  padding: 7px 14px 8px; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; pointer-events: none;
  transition: opacity .3s;
}
.fix-hint.off { opacity: 0; }
.pop {
  position: absolute; left: 50%; top: 18%; margin: 0;
  font-family: var(--f-head); font-size: clamp(44px, 6vw, 80px); line-height: 1; color: var(--yellow); white-space: nowrap;
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink);
  transform: translateX(-50%) rotate(-8deg) scale(.5); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .5s cubic-bezier(.3, 1.7, .5, 1);
}
.pop.on { opacity: 1; transform: translateX(-50%) rotate(-8deg) scale(1); }
.fix-again { position: absolute; right: 14px; bottom: 14px; font-size: 13px; padding: 8px 14px 9px; min-height: 40px; }

/* 流れ（5つのコマ） */
.fl { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 26px; }
.fl-c {
  position: relative; grid-column: span 2; padding: 34px 24px 22px;
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink);
}
.fl-c:nth-child(4), .fl-c:nth-child(5) { grid-column: span 3; }
.fl-c:nth-child(odd) { rotate: -.7deg; }
.fl-c:nth-child(even) { rotate: .6deg; }
.fl-n {
  position: absolute; top: -30px; left: 16px;
  font-family: var(--f-head); font-size: 58px; line-height: 1; color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink);
}
.fl-h { display: block; font-family: var(--f-head); font-weight: 400; font-size: 22px; letter-spacing: .04em; }
.fl-c p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.8; }

/* 工場のこと */
.about { text-align: center; }
.about-eyes { display: block; width: 120px; height: 60px; margin: 0 auto 26px; overflow: visible; }
.about-txt { max-width: 34em; margin: 0 auto; font-size: 17px; line-height: 2.05; }

/* アクセス */
.ac { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; max-width: 820px; margin: 36px 0 0; }
.ac div { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 2px dashed rgba(239, 228, 200, .3); }
.ac dt { flex: none; min-width: 3.5em; font-family: var(--f-head); font-size: 14px; letter-spacing: .1em; color: var(--yellow); }
.ac dd { margin: 0; font-weight: 700; font-size: 17px; }

/* 予約 */
.reserve { text-align: center; }
.rs-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin: 40px 0 20px; }
.rs-btns .btn { font-size: 17px; padding: 16px 32px 17px; min-height: 56px; }
.rs-note { margin: 0; font-size: 14px; }

/* 下 */
.ft { position: relative; padding: 70px 7vw 60px; text-align: center; border-top: 3px solid var(--ink); font-size: 13px; line-height: 1.8; }
.ft p { margin: 0; }
.ft-eyes { display: block; width: 92px; height: 46px; margin: 0 auto 18px; overflow: visible; cursor: pointer; }
.ft-name { font-family: var(--f-head); font-size: clamp(36px, 6vw, 84px); line-height: 1.1; text-shadow: 5px 5px 0 var(--ink); margin-bottom: 16px !important; }
.ft-credit { margin-top: 22px !important; font-size: 11px; letter-spacing: .12em; color: rgba(239, 228, 200, .6); }

/* スマホの下の帯（見せ場が終わってから） */
.sbar { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 70;
  transform: translate(-50%, 20px);
  padding: 12px 20px; border: 2px solid var(--cream); border-radius: 10px;
  background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.nojs { position: fixed; top: 40%; left: 0; right: 0; text-align: center; }

/* PC の幅が狭いときは、ページの中のメニューをしまう */
@media (max-width: 1080px) {
  .hd-nav { display: none; }
}

/* スマホ */
@media (max-width: 760px) {
  .hd { padding: 18px 18px 0; gap: 10px; }
  .hd.solid { padding: 10px 18px; }
  .logo { gap: 8px; }
  .logo-eyes { width: 36px; height: 18px; }
  .logo-ja { font-size: 19px; }
  .logo-en { font-size: 10px; margin-top: 5px; }
  .hd-tel { display: none; }
  .btn-menu { display: inline-flex; }
  .frame { inset: 7px; border-width: 2.5px; }

  .cue-hero { left: 7vw; right: 7vw; top: 14%; max-width: none; }
  .hero-h { font-size: clamp(32px, 9.6vw, 46px); text-shadow: 4px 4px 0 var(--ink); }
  .hero-sub { margin-top: 16px; font-size: 13px; }

  .cue-box { left: 6vw; right: auto; top: 15%; bottom: auto; }
  .box { font-size: 16px; padding: 20px 16px 12px; box-shadow: 5px 5px 0 var(--ink); }
  .box-n { font-size: 12px; }

  .cue-sfx { font-size: clamp(40px, 13vw, 60px); -webkit-text-stroke: 3px var(--ink); text-shadow: 4px 4px 0 var(--ink); }
  .sfx-lift { right: 6vw; top: auto; bottom: 22%; }
  .sfx-click { right: 8vw; top: auto; bottom: 24%; }
  .sfx-fold { right: 8vw; bottom: 12%; }

  .cue-end { left: 6vw; right: 6vw; top: auto; bottom: 7%; max-width: none; transform: translateY(14px); }
  .cue-end.on { transform: none; }
  .end-sfx { font-size: clamp(30px, 9vw, 40px); -webkit-text-stroke: 3px var(--ink); text-shadow: 4px 4px 0 var(--ink); }
  .end-txt { font-size: 14px; margin-top: 10px; }
  .end-btns { gap: 10px; margin-top: 14px; }
  .end-btns .btn { padding: 10px 16px 11px; font-size: 14px; }
  .end-hint { margin-top: 14px; font-size: 11px; }

  .tag { padding: 5px 9px 6px; border-width: 2.5px; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
  .tag b { font-size: 13px; }
  .tag .t-what { font-size: 10px; }
  .tag .t-price { font-size: 17px; }
  .tag .t-yen { font-size: 10px; }
  .lines .l-out { stroke-width: 5; }
  .lines .l-in { stroke-width: 1.8; }

  .sec { padding: 88px 6vw; }
  .sec-h { font-size: clamp(28px, 8.2vw, 40px); text-shadow: 3px 3px 0 var(--ink); }
  .sec-cream .sec-h { text-shadow: 3px 3px 0 var(--yellow); }
  .sec-lead { font-size: 15px; margin-bottom: 34px; }

  .ans-list { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 44px; }
  .ans-a { font-size: 24px; }
  .ans-a .num { font-size: 40px; }
  .ans-pair { display: block; }
  .ans-a .ans-sep { display: none; }

  .slip { padding: 22px 18px 20px; box-shadow: 6px 6px 0 var(--ink); }
  .slip-h { font-size: 14px; }
  .pr-row { gap: 10px; }
  .pr-row dt { font-size: 14.5px; }
  .pr-n { font-size: 30px; }

  .fix { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fix-panel { box-shadow: 6px 6px 0 var(--ink); }

  .fl { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 52px; }
  .fl-c, .fl-c:nth-child(4), .fl-c:nth-child(5) { grid-column: auto; }

  .about-txt { font-size: 15px; text-align: left; }
  .ac { grid-template-columns: minmax(0, 1fr); }
  .rs-btns { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .rs-note { font-size: 13px; }

  .ft { padding-bottom: 110px; }
  .ft-info { font-size: 12px; }

  .sbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--night); border-top: 3px solid var(--cream); box-shadow: 0 -3px 0 var(--ink);
    transform: translateY(110%); transition: transform .3s;
  }
  .sbar.on { transform: none; }
  .sbar .btn { flex: 1; font-size: 15px; padding: 12px 10px 13px; }
  .toast { bottom: 96px; }
}

/* 動きを減らす設定のとき */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .ans, .fl-c, .slip { rotate: none; }
  .eye, .about-eyes .eye { animation: none !important; }
  .cue-sfx, .cue-sfx.on, .pop, .pop.on { transition: opacity .2s; }
}
