/* トリホー！LP — 株式会社AMICO
   色：黄×黒＋RECの赤。中央の縦長カラムを「フィルム」に見立てた構成。
   書体：Noto Sans JP／Noto Serif JP／Inter／JetBrains Mono の4つだけ。 */

/* 会社HPと行き来するとき、画面をふわっと切り替える（HP側と対の指定） */
@view-transition { navigation: auto; }

:root {
  --ink: #121212;
  --paper: #f4f1e8;
  --white: #ffffff;
  --yellow: #ffdd00;
  --red: #ff3b2f;
  --gray: #5f5c55;
  --soft: #ebe7da;
  --line: #06c755;
  --f-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-en: "Inter", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --shadow: 5px 5px 0 var(--ink);
  --pad: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8;
  background: var(--paper) radial-gradient(circle, rgba(18, 18, 18, .16) 1.1px, transparent 1.6px) 0 0 / 20px 20px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b, strong { font-weight: 900; }
.serif { font-family: var(--f-serif); font-weight: 900; letter-spacing: .02em; }

/* マーカー（見えたら左から引かれる） */
mark {
  color: inherit;
  background: linear-gradient(transparent 62%, var(--yellow) 62%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js .mk mark, .js .reason h3 mark { background-size: 0 100%; transition: background-size .8s cubic-bezier(.2, .8, .2, 1) .25s; }
.js .mk.in mark { background-size: 100% 100%; }
.js .reason.in h3 mark { background-size: 100% 100%; transition-delay: 1.25s; }

/* ---------- 全体レイアウト ---------- */
.reel {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  background: var(--white);
  overflow: clip;
}
.side { display: none; }

@media (min-width: 1080px) {
  .stage { display: grid; grid-template-columns: minmax(0, 1fr) 440px minmax(0, 1fr); align-items: start; }
  .reel { max-width: none; width: 440px; border-inline: 3px solid var(--ink); overflow: visible; }
  /* フィルムの送り穴 */
  .reel::before, .reel::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 22px;
    background: var(--ink);
    -webkit-mask: repeating-linear-gradient(to bottom, #000 0 9px, transparent 9px 23px, #000 23px 32px), linear-gradient(#000, #000);
    -webkit-mask-size: 10px 100%, 100% 100%;
    -webkit-mask-position: center, center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: xor;
    mask: repeating-linear-gradient(to bottom, #000 0 9px, transparent 9px 23px, #000 23px 32px) center / 10px 100% no-repeat, linear-gradient(#000, #000);
    mask-composite: exclude;
    pointer-events: none;
  }
  .reel::before { left: -25px; }
  .reel::after { right: -25px; }

  .side { display: flex; position: sticky; top: 0; height: 100vh; align-items: center; }
  .side-l { justify-content: flex-end; padding-right: 64px; }
  .side-r { justify-content: flex-start; padding-left: 72px; }
  .dock { display: none !important; }
}

/* ---------- ロゴ ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-en); font-weight: 900; font-style: italic; font-size: 23px; line-height: 1; letter-spacing: -.01em;
  color: var(--white); text-decoration: none;
}
.logo em { color: var(--yellow); }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.blinker { animation: blink 1.2s steps(2, jump-none) infinite; }

/* ---------- 左パネル ---------- */
.side-inner { width: 300px; text-align: right; }
.side .btn { padding: 12px 56px 13px 20px; }
.side .btn span { font-size: 16px; white-space: nowrap; }
.logo-lg {
  font-size: 40px; padding: 14px 24px 14px 20px; border-radius: 14px;
  background: var(--ink); box-shadow: 5px 5px 0 var(--yellow), 5px 5px 0 2px var(--ink);
}
.logo-lg .dot { width: 14px; height: 14px; }
.side-copy { margin-top: 30px; font-family: var(--f-serif); font-size: 22px; font-weight: 900; line-height: 1.55; }
.side-copy mark { font-family: var(--f-sans); }
.gcam { width: 104px; margin: 20px 20px 14px auto; overflow: visible; animation: bob 3.4s ease-in-out infinite; }
.gcam-head { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.gcam-eye { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* ---------- 右の目次 ---------- */
.index-ttl { font-family: var(--f-en); font-weight: 900; font-style: italic; font-size: 28px; letter-spacing: -.01em; margin-bottom: 16px; }
.index li + li { margin-top: 2px; }
.index a {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 12px 6px 8px; border-radius: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--gray); text-decoration: none;
  transition: color .2s, background .2s, transform .2s;
}
.index a i { font-family: var(--f-mono); font-style: normal; font-size: 11px; color: #a39f94; }
.index a:hover { color: var(--ink); }
.index a.on { color: var(--ink); background: var(--yellow); transform: translateX(6px); box-shadow: 3px 3px 0 var(--ink); }
.index a.on i { color: var(--ink); }
.index a.on::before { content: "▶"; font-size: 9px; margin-right: -6px; color: var(--red); }

/* ---------- 上部バー（下の赤線＝読み進み） ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  margin: 10px 10px 0; padding: 10px 10px 12px 16px;
  background: var(--ink); border-radius: 14px;
}
.scrollrec { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; border-radius: 2px; background: #3a3a3a; overflow: hidden; }
.scrollrec::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font-size: 13px; font-weight: 900; text-decoration: none; line-height: 1.3;
}

/* ---------- 流れるタグ ---------- */
.tags { overflow: hidden; padding: 16px 0 6px; }
.tags-track { display: flex; gap: 8px; width: max-content; animation: slide 36s linear infinite; }
.tags span {
  flex: none; padding: 5px 13px; border: 2px solid var(--ink); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; background: var(--white);
}
.tags span:nth-child(3n + 1) { background: var(--yellow); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- HERO ---------- */
.hero { padding: 18px var(--pad) 40px; }
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--ink); }
.eyebrow::before { transform: rotate(52deg); }
.eyebrow::after { transform: rotate(-52deg); }

h1 { margin-top: 14px; font-weight: 900; line-height: 1.22; }
h1 span { display: block; }
.h1-a { font-size: 40px; letter-spacing: .02em; }
.h1-b { margin: 4px 0 4px -6px; }
.h1-b b {
  display: inline-block;
  font-size: 54px; line-height: 1.28; letter-spacing: -.02em;
  padding: 0 4px 2px; background: var(--yellow);
  transform: rotate(-2.5deg); box-shadow: var(--shadow);
}
.h1-c { font-family: var(--f-serif); font-size: 46px; margin-top: 8px; letter-spacing: .01em; }
.js .hero h1 span { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero h1 .h1-b { animation: stampin .5s cubic-bezier(.3, 1.6, .6, 1) .35s both; }
.js .hero h1 .h1-c { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes stampin { from { opacity: 0; transform: scale(1.6) rotate(6deg); } }

/* FVの吹き出し */
.shout {
  position: relative; width: fit-content; margin: 26px 0 0 6px; padding: 9px 18px 10px;
  border: 3px solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: var(--shadow);
  font-size: 19px; font-weight: 900; line-height: 1.5; transform: rotate(-2deg);
}
.shout span { display: block; }
.shout::after {
  content: ""; position: absolute; left: 54px; bottom: -11px; width: 16px; height: 16px;
  background: var(--white); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
}
.js .shout { animation: shoutin .5s cubic-bezier(.3, 1.7, .6, 1) 1.1s both; }
@keyframes shoutin { from { opacity: 0; transform: rotate(-8deg) scale(.6); } }
.shout + .vf { margin-top: 22px; }

/* 撮影中のモニター */
.vf {
  position: relative; margin-top: 26px;
  background: var(--ink); color: var(--white);
  border-radius: 20px; padding: 12px; box-shadow: 6px 6px 0 var(--yellow), 6px 6px 0 3px var(--ink);
}
.vf-top, .vf-bottom, .cam-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; }
.vf-top { padding: 2px 6px 10px; }
.rec { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; letter-spacing: .08em; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2, jump-none) infinite; }
.tc { letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.vf-pill { padding: 1px 8px; border: 1.5px solid var(--yellow); color: var(--yellow); border-radius: 5px; font-weight: 700; }
.vf-body { position: relative; border-radius: 12px; overflow: hidden; background: var(--paper); }
.scene { width: 100%; height: auto; }
.corner { position: absolute; width: 20px; height: 20px; border: 3px solid var(--ink); opacity: .85; }
.c1 { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.c2 { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.c3 { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.c4 { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* 社長の身ぶり・口の動き */
.arm-wave { transform-box: fill-box; transform-origin: 0% 100%; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 50% { transform: rotate(-9deg); } }
.mouth { transform-box: fill-box; transform-origin: 50% 50%; }
.talk .mouth { animation: talk .28s ease-in-out infinite alternate; }
@keyframes talk { to { transform: scaleY(2.3); } }
.cam-hand { animation: camsway 3s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes camsway { 50% { transform: rotate(3deg); } }
.cone { animation: conepulse 2.4s ease-in-out infinite; }
@keyframes conepulse { 50% { opacity: .22; } }

/* 顔を追う枠 */
.af {
  position: absolute; left: 63%; top: 27%; width: 17%; aspect-ratio: 1;
  border: 2.5px solid var(--yellow); border-radius: 6px;
  box-shadow: 0 0 0 1.5px var(--ink);
}
.af em {
  position: absolute; left: -2.5px; top: -17px; padding: 0 5px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--f-mono); font-style: normal; font-size: 9.5px; font-weight: 700; line-height: 14px; border-radius: 3px;
}
.af.hunt { animation: hunt .7s cubic-bezier(.3, 1.4, .6, 1); }
@keyframes hunt {
  0% { transform: scale(1.7) translate(-8%, 6%); border-color: #fff; }
  45% { transform: scale(1.25) translate(5%, -4%); border-color: #fff; }
  100% { transform: none; border-color: var(--yellow); }
}
.cutchip {
  position: absolute; left: 47%; bottom: 4px; transform: translateX(-50%);
  padding: 0 9px; border-radius: 6px; background: var(--ink); color: var(--white);
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.cutchip b { color: var(--yellow); font-weight: 700; }

/* 質問と回答の吹き出し（しっぽの位置を固定して上へ伸びる） */
.say {
  position: absolute; z-index: 2; min-width: 104px; max-width: 52%; padding: 6px 11px 7px;
  border: 2.5px solid var(--ink); border-radius: 14px; color: var(--ink);
  font-size: 13px; font-weight: 900; line-height: 1.4;
  transition: transform .3s cubic-bezier(.3, 1.7, .6, 1), opacity .15s;
}
.say::after {
  content: ""; position: absolute; bottom: -8px; width: 12px; height: 12px;
  background: inherit; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
}
.say-q { left: 3%; bottom: 73.8%; background: var(--yellow); transform-origin: 60px 100%; }
.say-q::after { left: 54px; }
.say-a { right: 3%; bottom: 64.1%; background: var(--white); transform-origin: calc(100% - 84px) 100%; }
.say-a::after { right: 78px; }
.js .say { opacity: 0; transform: scale(.5); }
.js .say.show { opacity: 1; transform: none; }
.say span.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: blink .7s steps(2, jump-none) infinite; }
.vf-bottom { margin-top: 8px; padding: 9px 4px 2px; gap: 6px; border-top: 1px solid #3a3a3a; }
.vf-bottom span { flex: 1; display: grid; gap: 1px; font-size: 9.5px; letter-spacing: .12em; color: #9c9a93; }
.vf-bottom b { font-family: var(--f-sans); font-size: 13px; letter-spacing: 0; color: var(--white); }
.vf-bottom span + span { padding-left: 8px; border-left: 1px solid #3a3a3a; }

/* テープ見出し */
.tape {
  width: fit-content; margin-top: 12px; padding: 5px 14px 6px;
  background: var(--ink); color: var(--white);
  font-size: 19px; font-weight: 900; line-height: 1.45;
}
.tape b { color: var(--yellow); font-size: 1.15em; }
.tape-1 { margin-top: 30px; transform: rotate(-1.5deg); }
.tape-2 { margin-left: 14px; transform: rotate(1deg); }

/* ボタン */
.btn {
  position: relative; display: grid; gap: 0; width: 100%;
  margin-top: 28px; padding: 13px 62px 14px 26px;
  border: 3px solid var(--ink); border-radius: 999px;
  text-decoration: none; text-align: center; line-height: 1.35;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.btn small { font-size: 11.5px; font-weight: 700; }
.btn span { font-size: 18px; font-weight: 900; }
.btn .arrow {
  position: absolute; right: 12px; top: 50%; width: 38px; height: 38px; margin-top: -19px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--white); font-style: normal; font-weight: 900;
  transition: transform .15s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn-main { background: var(--yellow); color: var(--ink); }
.btn-main::after, .btn-line::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .75) 50%, transparent 58%) no-repeat 180% 0 / 250% 100%;
  animation: sheen 3.8s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { background-position: 180% 0; } 100% { background-position: -80% 0; } }
.btn-line { background: var(--line); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); margin-top: 16px; }
.btn-ghost span { font-family: var(--f-mono); font-size: 15px; font-weight: 700; }

/* ---------- 流れる帯 ---------- */
.band { overflow: hidden; background: var(--ink); color: var(--white); border-block: 3px solid var(--ink); padding: 9px 0; }
.band-track { display: flex; width: max-content; animation: slide 22s linear infinite; }
.band span { flex: none; padding: 0 16px; font-family: var(--f-en); font-weight: 900; font-style: italic; font-size: 17px; line-height: 1.5; white-space: nowrap; }
.band span:nth-child(even) { color: var(--yellow); font-style: normal; font-size: 15px; }
.band-y { background: var(--yellow); color: var(--ink); }
.band-y span:nth-child(even) { color: var(--red); }

/* ---------- セクション共通 ---------- */
.sec { padding: 54px var(--pad) 56px; }
.label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-en); font-style: italic; font-size: 13px; font-weight: 800; letter-spacing: .1em;
}
.label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
h2 { margin-top: 10px; font-size: 31px; font-weight: 900; line-height: 1.4; }
h2.serif { font-size: 34px; line-height: 1.45; }
.lead { margin-top: 16px; }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-dark h2 mark { background: none !important; color: var(--yellow); font-family: var(--f-sans); }
.sec-dark .lead { color: #d9d6cc; }
.sec-y { background: var(--yellow); border-block: 3px solid var(--ink); }

/* スクロールで出る */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- 再生画面（ABOUT） ---------- */
.player {
  margin-top: 28px; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  background: var(--ink); color: var(--white); box-shadow: var(--shadow); text-align: left;
}
.pl-screen {
  position: relative; height: 216px; color: var(--ink);
  background:
    linear-gradient(rgba(18, 18, 18, .06) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(18, 18, 18, .06) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--paper);
}
.pl-slides li {
  position: absolute; inset: 0; display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center;
  padding: 18px 22px 18px 24px;
  opacity: 0; transform: translateX(22px); transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.pl-slides li.on { opacity: 1; transform: none; pointer-events: auto; }
.pl-ico { width: 92px; max-height: 160px; justify-self: center; }
.pl-slides li.on .pl-ico { animation: icopop .5s cubic-bezier(.3, 1.6, .6, 1); }
@keyframes icopop { from { transform: scale(.6) rotate(-10deg); } }
.pl-ch { font-family: var(--f-en); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--red); }
.pl-slides h3 { font-size: 30px; font-weight: 900; line-height: 1.3; }
.pl-slides li p:last-child { margin-top: 4px; font-size: 13.5px; line-height: 1.65; }
html:not(.js) .pl-screen { height: auto; }
html:not(.js) .pl-slides li { position: static; opacity: 1; transform: none; }

.pl-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.pl-play {
  position: relative; flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; padding: 0;
  background: var(--yellow); cursor: pointer;
}
.pl-play::before, .pl-play::after { content: ""; position: absolute; top: 9px; width: 4px; height: 12px; background: var(--ink); border-radius: 1px; }
.pl-play::before { left: 10px; }
.pl-play::after { right: 10px; }
.paused .pl-play::before, .pl-play.is-static::before { left: 11px; top: 8px; width: 0; height: 0; background: none; border-radius: 0; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.paused .pl-play::after, .pl-play.is-static::after { display: none; }
.pl-seek { flex: 1; display: flex; gap: 4px; }
.pl-seek button { position: relative; flex: 1; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; }
.pl-seek button::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 3px; background: #4a4a4a; transition: transform .15s; }
.pl-seek button:hover::before { transform: scaleY(1.5); }
.pl-seek i { position: absolute; left: 0; top: 8px; height: 6px; width: 0; border-radius: 3px; background: var(--red); }
.pl-seek .cur i::after { content: ""; position: absolute; right: -6px; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid var(--white); }
.pl-time { flex: none; font-family: var(--f-mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.pl-time b { font-weight: 700; }
.pl-title { padding: 0 14px 12px; font-size: 13px; font-weight: 700; }
.by { margin-top: 30px; padding-top: 14px; border-top: 2px dashed var(--ink); font-size: 13px; }

/* 再生画面の小物 */
.pl-icons { display: flex; gap: 10px; margin-left: auto; }
.pl-icons i { display: block; width: 14px; height: 14px; }
.ic-vol { background: var(--white); clip-path: polygon(0 32%, 30% 32%, 62% 4%, 62% 96%, 30% 68%, 0 68%); }
.ic-gear { border: 3.5px dotted var(--white); border-radius: 50%; }
.ic-full { background: linear-gradient(var(--white), var(--white)) 0 0 / 5px 2px no-repeat, linear-gradient(var(--white), var(--white)) 0 0 / 2px 5px no-repeat, linear-gradient(var(--white), var(--white)) 100% 100% / 5px 2px no-repeat, linear-gradient(var(--white), var(--white)) 100% 100% / 2px 5px no-repeat, linear-gradient(var(--white), var(--white)) 100% 0 / 5px 2px no-repeat, linear-gradient(var(--white), var(--white)) 100% 0 / 2px 5px no-repeat, linear-gradient(var(--white), var(--white)) 0 100% / 5px 2px no-repeat, linear-gradient(var(--white), var(--white)) 0 100% / 2px 5px no-repeat; }

/* ---------- STRENGTH（業界歴8年×AI） ---------- */
.sec-paper {
  border-top: 3px solid var(--ink);
  background:
    linear-gradient(rgba(18, 18, 18, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(18, 18, 18, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--paper);
}
.yrs-h { line-height: 1.2; }
.yrs { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.yrs b {
  font-family: var(--f-en); font-weight: 900; font-style: italic; font-size: 132px; line-height: .95; letter-spacing: -.04em;
  color: var(--ink); -webkit-text-stroke: 0; text-shadow: 6px 6px 0 var(--yellow);
  font-variant-numeric: tabular-nums;
}
.yrs i { font-style: normal; font-family: var(--f-serif); font-size: 54px; line-height: 1; }
.yrs b.go { animation: tick .14s ease-out; }
.lib { margin-top: 28px; border-radius: 18px; overflow: hidden; background: #1b1b1b; color: var(--white); box-shadow: 5px 5px 0 var(--yellow), 5px 5px 0 3px var(--ink); }
.lib-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: #2c2c2c; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.lib-head em { font-style: normal; color: var(--yellow); }
/* 編集者（PC）→ AI が能力を受け継ぐ絵 */
.lib-scene { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(rgba(18, 18, 18, .06) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(18, 18, 18, .06) 1px, transparent 1px) 0 0 / 20px 20px, var(--paper); }
.lib-scene svg { width: 100%; height: auto; }
.typing-hand { animation: typing .22s ease-in-out infinite alternate; }
@keyframes typing { to { transform: translateY(2.5px); } }
.ph-mini { animation: phmini 2.4s linear infinite; }
@keyframes phmini { to { transform: translateX(42px); } }
.flowline { animation: flowdash .5s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -10; } }
.ai-bob { animation: bob 2.8s ease-in-out infinite; }
.ai-ring { transform-box: fill-box; transform-origin: 50% 50%; animation: airing 1.6s ease-out infinite; }
@keyframes airing { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.22); opacity: 0; } }
.twinkle { transform-box: fill-box; transform-origin: 50% 50%; animation: twinkle 1.4s ease-in-out infinite alternate; }
.twinkle.t2 { animation-delay: .7s; }
@keyframes twinkle { from { transform: scale(.5) rotate(-20deg); opacity: .4; } }
/* 編集者からAIへ流れる「能力」 */
.skill {
  position: absolute; left: 33%; padding: 0 9px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--yellow); font-size: 11px; font-weight: 900; line-height: 20px; white-space: nowrap;
  opacity: 0; animation: skillfly 3.2s linear infinite;
}
.s1 { top: 17%; } .s2 { top: 41%; animation-delay: .8s; } .s3 { top: 27%; animation-delay: 1.6s; } .s4 { top: 50%; animation-delay: 2.4s; }
@keyframes skillfly {
  0% { left: 44%; opacity: 0; transform: scale(.6); }
  12% { opacity: 1; transform: scale(1); }
  76% { opacity: 1; transform: scale(1); }
  100% { left: 72%; opacity: 0; transform: scale(.35); }
}
.who { position: absolute; bottom: 5px; padding: 0 9px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 10.5px; font-weight: 700; line-height: 19px; white-space: nowrap; }
.who-l { left: 4%; }
.who-r { right: 4%; background: var(--yellow); color: var(--ink); font-weight: 900; box-shadow: 0 0 0 2px var(--ink); }
/* AIが仕上げた動画 */
.lib-out { position: relative; padding: 12px 14px 16px; }
.lib-out-ttl { text-align: center; font-size: 12.5px; font-weight: 900; }
.lib-vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 9px; }
.lib-vids i { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; border: 2px dashed #555; opacity: .5; transform: scale(.86); transition: opacity .2s, transform .4s cubic-bezier(.3, 1.8, .6, 1), background .2s, border-color .2s; }
.lib-vids i::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -4px; border-left: 11px solid transparent; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.run .lib-vids i { opacity: 1; transform: none; border: 2px solid var(--yellow); background: var(--yellow); }
.run .lib-vids i::after { border-left-color: var(--ink); }
.run .lib-vids i:nth-child(even) { background: var(--white); border-color: var(--white); }
.run .lib-vids i:nth-child(1) { transition-delay: .7s; } .run .lib-vids i:nth-child(2) { transition-delay: 1.2s; } .run .lib-vids i:nth-child(3) { transition-delay: 1.7s; } .run .lib-vids i:nth-child(4) { transition-delay: 2.2s; }
.run .lib-vids i:nth-child(1)::after { transition: border-color .1s .7s; } .run .lib-vids i:nth-child(2)::after { transition: border-color .1s 1.2s; } .run .lib-vids i:nth-child(3)::after { transition: border-color .1s 1.7s; } .run .lib-vids i:nth-child(4)::after { transition: border-color .1s 2.2s; }
.lib-hq {
  position: absolute; right: 6px; bottom: 6px; z-index: 1; padding: 2px 12px; border-radius: 8px;
  background: var(--red); color: var(--white); box-shadow: 0 0 0 2.5px var(--ink);
  font-family: var(--f-en); font-style: italic; font-weight: 900; font-size: 16px; letter-spacing: -.01em;
  opacity: 0; transform: scale(1.8) rotate(8deg); transition: opacity .2s, transform .35s cubic-bezier(.3, 1.6, .6, 1);
}
.done .lib-hq { opacity: 1; transform: rotate(-4deg); }

/* ---------- WHY ---------- */
#why { padding-bottom: 104px; }
.reasons { display: grid; gap: 56px; margin-top: -56px; padding: 0 var(--pad) 60px; background: linear-gradient(var(--ink) 120px, var(--paper) 120px); }
.reason {
  position: relative; border: 3px solid var(--ink); border-radius: 20px;
  background: var(--white); box-shadow: var(--shadow);
  padding-bottom: 24px; text-align: center;
}

/* カチンコ */
.clap { position: relative; margin: -3px -3px 0; }
.clap-arm, .clap-base { display: block; border: 3px solid var(--ink); }
.clap-arm {
  height: 22px; border-radius: 17px 17px 0 0; border-bottom: 0;
  background: repeating-linear-gradient(-55deg, var(--ink) 0 18px, var(--yellow) 18px 36px);
  transform-origin: 0 100%;
}
.clap-base { display: flex; align-items: center; justify-content: center; gap: 10px; height: 34px; background: var(--ink); color: var(--white); }
.clap-base span { font-family: var(--f-en); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: .16em; }
.clap-base b { font-family: var(--f-en); font-style: italic; font-weight: 900; font-size: 19px; color: var(--yellow); }
.js .rv .clap-arm { transform: rotate(-9deg); transition: transform .16s cubic-bezier(.6, 0, .9, .4) .35s; }
.js .rv.in .clap-arm { transform: none; }
.js .rv.in .clap { animation: clapshake .25s .5s; }
@keyframes clapshake { 30% { transform: translateY(3px); } 60% { transform: translateY(-1px); } }

.usual { margin: 22px 18px 0; font-size: 15px; font-weight: 700; color: var(--gray); line-height: 1.6; }
.then {
  position: relative; width: fit-content; margin: 34px auto 12px; padding: 1px 16px;
  background: var(--red); color: var(--white); font-weight: 900; font-size: 14px; border-radius: 999px;
}
.then::before { content: ""; position: absolute; left: 50%; top: -26px; height: 20px; border-left: 3px dotted var(--ink); }
.reason h3 { font-size: 27px; font-weight: 900; line-height: 1.45; padding: 0 12px; }
.reason .body { margin: 20px 20px 0; text-align: left; font-size: 14px; }

/* カード内を順番に出す */
.js .reason > :not(.clap) { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.js .reason.in > :not(.clap) { opacity: 1; transform: none; }
.js .reason.in > .usual { transition-delay: .55s; }
.js .reason > .then { transform: scale(.3); }
.js .reason.in > .then { transition: opacity .2s .9s, transform .4s cubic-bezier(.3, 1.8, .6, 1) .9s; }
.js .reason.in > h3 { transition-delay: 1.1s; }
.js .reason.in > .cam, .js .reason.in > .player, .js .reason.in > .edit, .js .reason.in > .shelf { transition-delay: 1.3s; }
.js .reason.in > .body { transition-delay: 1.45s; }

/* ---------- 撮影中のUI（共通） ---------- */
.cam {
  margin: 22px 18px 0; padding: 10px; border-radius: 16px; text-align: left;
  background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--yellow);
}
.cam-top { padding: 0 4px 8px; font-size: 11px; }
.batt { position: relative; width: 24px; height: 11px; border: 1.5px solid var(--white); border-radius: 3px; padding: 1.5px; }
.batt::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: var(--white); border-radius: 0 1px 1px 0; }
.batt i { display: block; width: 72%; height: 100%; background: var(--yellow); border-radius: 1px; }
.cam-view {
  position: relative; height: 150px; border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 100% 33.34%,
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 33.34% 100%,
    #242424;
}
.cam-view .corner { border-color: var(--white); width: 16px; height: 16px; border-width: 2.5px; }
.cam-note { margin-top: 8px; padding: 0 2px; font-size: 11px; line-height: 1.5; color: #a8a59c; text-align: right; }
.cam-note.dark { margin: 0; padding: 0 12px 10px; color: var(--gray); }

/* 01：カット数だけ増える */
.cut { position: absolute; left: 26px; top: 50%; transform: translateY(-54%); line-height: 1; }
.cut small { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--yellow); }
.cut b { display: block; margin-top: 4px; font-family: var(--f-en); font-weight: 900; font-size: 62px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cut .plus { position: absolute; right: -30px; top: 16px; font-family: var(--f-en); font-style: italic; font-weight: 900; font-size: 18px; color: var(--yellow); opacity: 0; }
.cut .plus.go { animation: plus .4s ease-out; }
@keyframes plus { 0% { opacity: 1; transform: translateY(8px); } 100% { opacity: 0; transform: translateY(-14px); } }
.cut b.go { animation: tick .18s ease-out; }
@keyframes tick { 0% { transform: translateY(5px); opacity: .5; } }
.fee { position: absolute; right: 18px; bottom: 20px; padding: 6px 12px 7px; border-radius: 10px; background: var(--yellow); color: var(--ink); line-height: 1.3; }
.fee small { display: block; font-size: 10px; font-weight: 700; }
.fee b { font-size: 16px; }
.fee::before { content: "LOCK"; position: absolute; right: 8px; top: -17px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--yellow); }

/* 02：1か月の再生バー */
.player-mini { margin: 22px 18px 0; box-shadow: 4px 4px 0 var(--yellow); border-width: 2.5px; border-radius: 16px; }
.pl-screen.month { height: auto; padding: 16px 14px 14px; text-align: center; }
.month-ttl { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--gray); }
.month-big { font-size: 25px; font-weight: 900; line-height: 1.25; }
.month-big b { font-family: var(--f-en); font-size: 58px; line-height: 1; color: var(--red); margin: 0 4px; vertical-align: -5px; }
.month-sub { font-size: 12.5px; font-weight: 700; }
.month-seek { position: relative; padding: 30px 14px 4px; }
.month-track { position: relative; height: 8px; border-radius: 2px; background: repeating-linear-gradient(90deg, #5a5a5a 0 2.7%, transparent 2.7% 3.3333%); }
.month-day { position: absolute; left: 36.667%; width: 2.7%; top: -4px; bottom: -4px; background: var(--yellow); border-radius: 2px; }
.month-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); border-radius: 2px; opacity: .9; transition: width 1.4s cubic-bezier(.4, 0, .2, 1) .2s; }
.month-knob {
  position: absolute; top: 26px; left: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--red);
  transition: left 1.4s cubic-bezier(.4, 0, .2, 1) .2s;
}
.month-knob em {
  position: absolute; left: 50%; bottom: 17px; transform: translateX(-50%) scale(0); transform-origin: 50% 100%;
  padding: 0 8px; border-radius: 6px; background: var(--yellow); color: var(--ink);
  font-style: normal; font-size: 11px; font-weight: 900; line-height: 19px; white-space: nowrap;
  transition: transform .35s cubic-bezier(.3, 1.8, .6, 1) 1.6s;
}
.run .month-fill { width: 36.667%; }
.run .month-knob { left: calc(14px + (100% - 28px) * .38); }
.run .month-knob em { transform: translateX(-50%) scale(1); }

/* 03：編集タイムライン */
.edit { margin: 22px 18px 0; border-radius: 16px; overflow: hidden; background: #1b1b1b; color: var(--white); text-align: left; box-shadow: 4px 4px 0 var(--yellow); }
.edit-head { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; background: #2c2c2c; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.st i { font-style: normal; }
.st-run { color: var(--red); animation: blink 1s steps(2, jump-none) infinite; }
.st-done { display: none; color: var(--yellow); }
.done .st-run { display: none; }
.done .st-done { display: inline; }
.edit-tracks { position: relative; display: grid; gap: 8px; padding: 14px 12px; }
.tr { display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: center; font-size: 11.5px; font-weight: 700; }
.lane { display: flex; gap: 3px; height: 24px; padding: 3px; border-radius: 5px; background: #2c2c2c; overflow: hidden; }
.lane i { display: block; height: 100%; border-radius: 3px; }
.raw i { flex: 1; background: repeating-linear-gradient(90deg, #6a6a6a 0 3px, #555 3px 6px); }
.cuts i { background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.3, 1.4, .6, 1); }
.cuts i:nth-child(1) { width: 21%; } .cuts i:nth-child(2) { width: 13%; margin-left: 4%; } .cuts i:nth-child(3) { width: 23%; } .cuts i:nth-child(4) { width: 11%; margin-left: 5%; } .cuts i:nth-child(5) { width: 15%; }
.capt i { background: var(--white); opacity: 0; transition: opacity .2s; height: 60%; align-self: center; }
.capt i:nth-child(1) { width: 13%; } .capt i:nth-child(2) { width: 9%; margin-left: 3%; } .capt i:nth-child(3) { width: 15%; margin-left: 2%; } .capt i:nth-child(4) { width: 8%; margin-left: 4%; } .capt i:nth-child(5) { width: 12%; margin-left: 2%; } .capt i:nth-child(6) { width: 10%; margin-left: 3%; }
.run .cuts i { transform: none; }
.run .capt i { opacity: 1; }
.run .cuts i:nth-child(1) { transition-delay: .3s; } .run .cuts i:nth-child(2) { transition-delay: .75s; } .run .cuts i:nth-child(3) { transition-delay: 1.15s; } .run .cuts i:nth-child(4) { transition-delay: 1.65s; } .run .cuts i:nth-child(5) { transition-delay: 2s; }
.run .capt i:nth-child(1) { transition-delay: .45s; } .run .capt i:nth-child(2) { transition-delay: .8s; } .run .capt i:nth-child(3) { transition-delay: 1.15s; } .run .capt i:nth-child(4) { transition-delay: 1.6s; } .run .capt i:nth-child(5) { transition-delay: 1.9s; } .run .capt i:nth-child(6) { transition-delay: 2.2s; }
.playhead { position: absolute; top: 8px; bottom: 8px; left: 92px; width: 2px; background: var(--red); transition: left 2.5s linear .2s; }
.playhead::before { content: ""; position: absolute; left: -5px; top: -2px; border: 6px solid transparent; border-top-color: var(--red); border-bottom: 0; }
.run .playhead { left: calc(100% - 15px); }
.edit-human { display: flex; justify-content: space-between; align-items: center; margin: 0 12px 12px; padding: 8px 12px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 900; opacity: .3; transition: opacity .3s, transform .4s cubic-bezier(.3, 1.8, .6, 1); }
.edit-human b { font-size: 15px; }
.done .edit-human { opacity: 1; transform: scale(1.03); }

/* 04：撮りながら印をつける */
.cam-boss { height: 172px; background: linear-gradient(rgba(18, 18, 18, .06) 1px, transparent 1px) 0 0 / 100% 33.34%, linear-gradient(90deg, rgba(18, 18, 18, .06) 1px, transparent 1px) 0 0 / 33.34% 100%, #e9e4d6; }
.cam-boss .corner { border-color: var(--ink); }
.bust { position: absolute; left: 50%; bottom: 0; width: 196px; margin-left: -98px; }
.run .bust .mouth { animation: talk .28s ease-in-out infinite alternate; }
.af-face { left: 50%; top: 24px; width: 82px; margin-left: -41px; }
.run .af-face { animation: hunt .7s cubic-bezier(.3, 1.4, .6, 1) .1s both; }
.tag {
  position: absolute; padding: 1px 9px; border: 2px solid var(--ink); border-radius: 7px;
  background: var(--yellow); color: var(--ink); font-size: 11.5px; font-weight: 900; line-height: 20px; white-space: nowrap;
  transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.8, .6, 1);
}
.t1 { left: 8px; top: 30px; transform-origin: 100% 50%; } .t2 { right: 8px; top: 64px; transform-origin: 0 50%; } .t3 { left: 12px; bottom: 16px; transform-origin: 100% 50%; }
.run .tag { transform: scale(1) rotate(-3deg); }
.run .t2 { transform: scale(1) rotate(3deg); }
.run .t1 { transition-delay: .6s; } .run .t2 { transition-delay: 1.4s; } .run .t3 { transition-delay: 2.2s; }
.cam-strip { position: relative; height: 12px; margin-top: 10px; border-radius: 3px; background: repeating-linear-gradient(90deg, #4a4a4a 0 3px, #3a3a3a 3px 6px); }
.cam-strip .m { position: absolute; top: -3px; width: 5px; height: 18px; border-radius: 2px; background: var(--yellow); opacity: 0; transition: opacity .15s; }
.m1 { left: 20%; } .m2 { left: 48%; } .m3 { left: 76%; }
.run .m1 { opacity: 1; transition-delay: .6s; } .run .m2 { opacity: 1; transition-delay: 1.4s; } .run .m3 { opacity: 1; transition-delay: 2.2s; }
.cam-strip .ph { position: absolute; left: 0; top: -4px; width: 2px; height: 20px; background: var(--red); transition: left 2.8s linear; }
.run .cam-strip .ph { left: 96%; }

/* 05：予約投稿がたまる */
.shelf { margin: 22px 18px 0; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--white); text-align: left; box-shadow: 4px 4px 0 var(--yellow), 4px 4px 0 2.5px var(--ink); }
.shelf-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 2.5px solid var(--ink); font-size: 12.5px; }
.av { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); }
.av::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid var(--yellow); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.shelf-head em { margin-left: auto; padding: 1px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-style: normal; font-size: 11.5px; font-weight: 700; }
.shelf-head em b { font-family: var(--f-en); font-size: 14px; color: var(--yellow); font-variant-numeric: tabular-nums; }
/* 1日分のデータ（長い1本）→ 切れ目が入る */
.shelf { position: relative; }
.raw-wrap { padding: 12px 12px 0; }
.raw-ttl { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 900; }
.raw-ttl span { display: inline-flex; align-items: center; gap: 6px; }
.recdot { width: 9px; height: 9px; border-radius: 50%; background: #b9b5a8; }
.is-rec .recdot { background: var(--red); animation: blink 1s steps(2, jump-none) infinite; }
/* 時計（撮影中に 09:30 → 17:00 へ進む） */
.clock { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 4px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); font-style: normal; font-family: var(--f-mono); font-size: 13px; line-height: 1; }
.clock svg { width: 20px; height: 20px; }
.clock b { font-weight: 700; font-variant-numeric: tabular-nums; }
.hh, .mm { transform-origin: 12px 12px; transition: transform .07s linear; }
.hh { transform: rotate(var(--hh, 285deg)); }
.mm { transform: rotate(var(--mm, 180deg)); }
/* 撮影しながら進むミニキャラ */
.walk { position: relative; height: 44px; margin-top: 2px; }
.mini { position: absolute; bottom: -1px; left: calc(var(--rec, 0) * (100% - 38px)); width: 38px; height: auto; overflow: visible; }
.is-rec .mini { animation: ministep .28s ease-in-out infinite alternate; }
.is-rec .l1 { animation: legstep .28s ease-in-out infinite alternate; }
.is-rec .l2 { animation: legstep .28s ease-in-out infinite alternate-reverse; }
.is-wrap .mini { animation: minihop .4s ease-out 2; }
@keyframes ministep { to { transform: translateY(-1.5px) rotate(2deg); } }
@keyframes legstep { to { transform: translateY(-4px); } }
@keyframes minihop { 50% { transform: translateY(-9px); } }
.rawbar { position: relative; height: 30px; margin-top: 2px; border-radius: 6px; background: #e9e5d8; transition: background .4s; }
.rawsegs { display: flex; gap: 0; height: 100%; clip-path: inset(0 calc((1 - var(--rec, 0)) * 100%) 0 0); transition: gap .9s cubic-bezier(.3, .8, .2, 1); }
.rawbar i {
  display: block; height: 100%;
  background: repeating-linear-gradient(90deg, #121212 0 6px, #333 6px 7px);
  transition: border-radius .5s, opacity .3s, transform .2s cubic-bezier(.3, 1.8, .6, 1), background .15s;
}
.rawbar i:first-child { border-radius: 6px 0 0 6px; }
.rawbar i:last-child { border-radius: 0 6px 6px 0; }
.rechead { position: absolute; top: -4px; bottom: -4px; left: calc(var(--rec, 0) * 100%); width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--red); opacity: 0; }
.is-rec .rechead { opacity: 1; }
.raw-scale { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; color: var(--gray); }
.raw-scale span:nth-child(2) { font-family: var(--f-sans); font-size: 10.5px; }
.is-cut .rawbar { background: transparent; }
.is-cut .rawsegs { gap: 4px; clip-path: none; }
.is-cut .rawbar i { border-radius: 4px; }
.rawbar i.act { background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); transform: translateY(-4px); }
.rawbar i.sent { opacity: .16; }
.scissors { position: absolute; left: 0; top: -13px; font-size: 19px; line-height: 1; font-weight: 500; color: var(--red); opacity: 0; transform: translateX(-50%); }
.is-cutting .scissors { opacity: 1; animation: snip 1.2s linear forwards; }
@keyframes snip { from { left: 0; } to { left: 100%; } }
.split-arrow { padding: 9px 0 0; text-align: center; font-size: 11.5px; font-weight: 900; }

/* アップ先の枠 */
.stock { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 9px 12px 8px; }
.stock i { position: relative; aspect-ratio: 9 / 11; border-radius: 6px; border: 2px dashed #c9c5b8; overflow: hidden; }
.stock u { display: none; position: absolute; left: 5px; right: 5px; bottom: 6px; height: 4px; border-radius: 2px; background: #555; overflow: hidden; }
.stock u::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }
.stock s { display: none; position: absolute; right: 3px; bottom: 3px; padding: 0 3px; border-radius: 3px; background: rgba(255, 255, 255, .92); color: var(--ink); font-family: var(--f-mono); font-size: 8.5px; font-weight: 700; line-height: 13px; text-decoration: none; }
/* アップ中 */
.stock i.up { border: 2px solid var(--ink); background: #2b2b2b; }
.stock i.up u { display: block; }
.stock i.up u::after { animation: upfill .45s linear forwards; }
.stock i.up::before { content: "↑"; position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-family: var(--f-en); font-weight: 900; font-size: 17px; line-height: 1; color: var(--yellow); animation: uparrow .45s ease-in-out; }
@keyframes upfill { to { transform: scaleX(1); } }
@keyframes uparrow { from { transform: translateY(8px); opacity: 0; } }
/* アップ済み */
.stock i.done { border: 2px solid var(--ink); background: var(--ink); animation: donepop .3s cubic-bezier(.3, 1.8, .6, 1); }
.stock i.done:nth-child(3n) { background: var(--yellow); }
.stock i.done::after { content: ""; position: absolute; left: 50%; top: 42%; margin: -6px 0 0 -4px; border-left: 10px solid var(--yellow); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.stock i.done:nth-child(3n)::after { border-left-color: var(--ink); }
.stock i.done::before { content: "✔"; position: absolute; left: 4px; top: 2px; font-size: 9px; line-height: 1.4; color: var(--yellow); }
.stock i.done:nth-child(3n)::before { color: var(--ink); }
.stock i.done s { display: block; }
@keyframes donepop { from { transform: scale(.82); } }
/* バーから枠へ飛ぶ1本 */
.fly { position: absolute; z-index: 3; border-radius: 4px; background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); transform-origin: 0 0; pointer-events: none; }

/* ---------- CTA ---------- */
.cta { padding: 46px var(--pad) 52px; text-align: center; background: var(--white); border-block: 3px solid var(--ink); }
.cta-top { font-weight: 900; font-size: 16px; }
.cta-big { margin-top: 6px; font-size: 33px; line-height: 1.45; }

/* ---------- ONE DAY（スクロールで時間が進む） ---------- */
.day { position: relative; margin-top: 30px; display: grid; gap: 14px; }
.day::before { content: ""; position: absolute; left: 31px; top: 14px; height: var(--h, calc(100% - 62px)); border-left: 3px dotted var(--ink); }
.day::after { content: ""; position: absolute; left: 31px; top: 14px; width: 3px; height: calc(var(--h, 0px) * var(--p, 0)); background: var(--red); }
.day li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.day time {
  position: relative; z-index: 1; display: block; text-align: center;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; line-height: 28px;
  background: var(--ink); color: var(--white); border-radius: 8px; transition: background .2s, transform .3s cubic-bezier(.3, 1.8, .6, 1);
}
.day div { padding: 10px 14px 12px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--white); }
.day b { font-size: 15.5px; }
.day p { font-size: 13px; line-height: 1.6; color: var(--gray); }
.day .is-end div { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.day .is-end p { color: var(--ink); }
.js .day li { opacity: .3; transform: translateX(12px); transition: opacity .4s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.js .day li.past { opacity: 1; transform: none; }
.day li.now time { background: var(--red); transform: scale(1.08); }

/* ---------- MENU（選べる） ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 24px; }
.chips button {
  padding: 6px 15px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white);
  font-weight: 900; font-size: 14px; line-height: 1.6; box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  transition: transform .2s cubic-bezier(.3, 1.8, .6, 1), background .15s, color .15s, box-shadow .15s;
}
.chips button:hover { transform: translateY(-2px) rotate(-1.5deg); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); box-shadow: 3px 3px 0 var(--white); transform: rotate(-2deg) scale(1.04); }
.chips button[aria-pressed="true"]::before { content: "✓ "; }
.picked-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 20px; padding: 10px 16px; border-radius: 14px;
  background: var(--ink); color: var(--white); text-decoration: none; font-size: 13.5px; font-weight: 700;
  animation: pop .35s cubic-bezier(.3, 1.6, .6, 1);
}
.picked-bar[hidden] { display: none; }
.picked-bar b { font-family: var(--f-en); font-size: 20px; color: var(--yellow); margin-right: 2px; }
.picked-bar em { font-style: normal; font-weight: 900; color: var(--yellow); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

/* ---------- STYLE（編集パターンを選ぶ） ---------- */
.mouth-on { animation: talk .28s ease-in-out infinite alternate; }
.styler { margin-top: 26px; border: 3px solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); padding: 12px; }
.st-tabs { display: flex; gap: 6px; }
.st-tabs button {
  flex: 1; padding: 7px 2px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white);
  font-size: 12.5px; font-weight: 900; line-height: 1.5; white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s, transform .25s cubic-bezier(.3, 1.8, .6, 1);
}
.st-tabs button:hover { transform: translateY(-2px); }
.st-tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); transform: scale(1.04); }
.st-screen { position: relative; margin-top: 12px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 2.5px solid var(--ink); background: #ddd; transition: background .3s; }
.st-bust { position: absolute; left: 50%; bottom: -2px; width: 62%; margin-left: -31%; transition: filter .4s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.st-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; pointer-events: none; }
.st-play { position: absolute; left: 8px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(18, 18, 18, .75); }
.st-play::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
/* バラエティ風 */
[data-style="variety"] .st-screen { background: repeating-conic-gradient(from 0deg at 50% 64%, #ffdd00 0 12deg, #ffc21a 12deg 24deg); }
[data-style="variety"] .st-variety { opacity: 1; }
[data-style="variety"] .st-bust { transform: scale(1.1) rotate(-3deg); animation: punch .45s cubic-bezier(.3, 1.6, .6, 1); }
@keyframes punch { from { transform: scale(1.5) rotate(4deg); } }
.st-telop {
  position: absolute; left: 0; right: 0; bottom: 6%; text-align: center;
  font-size: 25px; font-weight: 900; line-height: 1.2; color: var(--white); letter-spacing: .01em;
  -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; transform: rotate(-3deg);
}
.st-telop b { color: var(--yellow); font-size: 1.18em; }
[data-style="variety"] .st-telop { animation: telopin .5s cubic-bezier(.3, 1.7, .6, 1) .1s both; }
@keyframes telopin { from { transform: rotate(6deg) scale(.3); opacity: 0; } }
.st-burst {
  position: absolute; right: 5%; top: 7%; width: 68px; height: 68px; display: grid; place-items: center;
  background: var(--red); color: var(--white); font-size: 16px; font-weight: 900; transform: rotate(12deg);
  clip-path: polygon(50% 0, 61% 18%, 79% 7%, 80% 28%, 100% 30%, 87% 47%, 100% 65%, 80% 68%, 78% 90%, 60% 80%, 50% 100%, 40% 80%, 22% 90%, 20% 68%, 0 65%, 13% 47%, 0 30%, 20% 28%, 21% 7%, 39% 18%);
}
[data-style="variety"] .st-burst { animation: burst .9s ease-in-out infinite alternate; }
@keyframes burst { to { transform: rotate(4deg) scale(1.12); } }
/* インタビュー風 */
[data-style="interview"] .st-screen { background: linear-gradient(160deg, #e6ecef, #c5d0d6); }
[data-style="interview"] .st-interview { opacity: 1; }
[data-style="interview"] .st-bust { transform: translateX(10%); }
.st-name { position: absolute; left: 5%; bottom: 31%; padding: 3px 12px 4px 9px; border-left: 5px solid var(--yellow); background: rgba(255, 255, 255, .94); font-size: 15px; font-weight: 900; line-height: 1.35; letter-spacing: .08em; box-shadow: 2px 2px 0 rgba(18, 18, 18, .18); }
.st-name small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: var(--gray); }
.st-sub { position: absolute; left: 5%; right: 5%; bottom: 7%; padding: 5px 8px; border-radius: 4px; background: rgba(18, 18, 18, .84); color: var(--white); font-size: 12.5px; font-weight: 700; line-height: 1.4; text-align: center; }
[data-style="interview"] .st-name { animation: slidein .5s cubic-bezier(.2, .8, .2, 1) both; }
[data-style="interview"] .st-sub { animation: rise .5s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes slidein { from { transform: translateX(-30px); opacity: 0; } }
/* トレーラー風 */
[data-style="trailer"] .st-screen { background: radial-gradient(ellipse at 50% 42%, #33486b, #06080c 78%); }
[data-style="trailer"] .st-trailer { opacity: 1; }
[data-style="trailer"] .st-bust { filter: brightness(.42) saturate(.5); transform: scale(1.25) translateY(6%); transition-duration: .4s, 3.5s; }
.st-bar { position: absolute; left: 0; right: 0; height: 12%; background: #000; }
.st-bar-t { top: 0; } .st-bar-b { bottom: 0; }
.st-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--f-serif); font-weight: 900; font-size: 22px; line-height: 1.5; letter-spacing: .14em; color: #f4ead0; text-shadow: 0 0 18px rgba(255, 221, 0, .45); }
.st-coming { position: absolute; left: 0; right: 0; bottom: 16%; text-align: center; font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .5em; color: #c9c2ad; }
[data-style="trailer"] .st-title { animation: titlein 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes titlein { from { opacity: 0; letter-spacing: .5em; } }
.st-desc { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.st-desc b { flex: none; padding: 0 9px; border-radius: 6px; background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); font-size: 12px; line-height: 22px; }
.st-note { margin-top: 16px; font-size: 12.5px; }

/* ---------- REVIEW（専用プレイヤーでコメント→自動修正） ---------- */
.notice { display: flex; align-items: flex-end; gap: 8px; margin-top: 26px; }
.notice-av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--yellow); font-family: var(--f-en); font-style: italic; font-weight: 900; font-size: 17px; }
.notice-b { position: relative; padding: 9px 14px 10px; border: 2.5px solid var(--ink); border-radius: 16px 16px 16px 4px; background: var(--white); box-shadow: 3px 3px 0 var(--ink); line-height: 1.5; }
.notice-b b { display: block; font-size: 16px; }
.notice-b span { font-size: 12px; font-weight: 700; color: var(--gray); }
.js .notice.rv { transform: translateY(14px) scale(.85); transform-origin: 0 100%; transition: opacity .3s, transform .45s cubic-bezier(.3, 1.7, .6, 1); }
.js .notice.rv.in { transform: none; }

.rvw { margin-top: 14px; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 5px 5px 0 var(--yellow), 5px 5px 0 3px var(--ink); }
.rvw-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--ink); color: var(--white); }
.rvw-head span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-en); font-style: italic; font-weight: 900; font-size: 13px; letter-spacing: .02em; }
.rvw-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.rvw-head em { font-style: normal; font-size: 11px; font-weight: 700; }
.rvw-head em b { font-family: var(--f-en); font-size: 14px; color: var(--yellow); }
.rvw-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(160deg, #e6ecef, #c5d0d6); }
.rvw-bust { position: absolute; left: 50%; bottom: -2px; width: 60%; margin-left: -30%; }
.rvw-telop {
  position: absolute; left: 5%; right: 5%; bottom: 7%; padding: 4px 8px; border-radius: 4px;
  background: rgba(18, 18, 18, .84); color: var(--white); text-align: center;
  font-size: 12px; font-weight: 700; line-height: 1.4; transform-origin: 50% 100%;
  transition: font-size .35s cubic-bezier(.3, 1.6, .6, 1), background .3s, color .3s, padding .3s;
}
.fx-telop .rvw-telop { font-size: 19px; font-weight: 900; padding: 6px 8px; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 2.5px var(--ink); }
.rvw-vol { position: absolute; right: 9px; top: 9px; display: flex; align-items: flex-end; gap: 2.5px; height: 20px; padding: 3px 5px; border-radius: 5px; background: rgba(18, 18, 18, .75); }
.rvw-vol i { width: 3px; background: var(--yellow); border-radius: 1px; transition: height .4s; }
.rvw-vol i:nth-child(1) { height: 40%; } .rvw-vol i:nth-child(2) { height: 65%; } .rvw-vol i:nth-child(3) { height: 85%; } .rvw-vol i:nth-child(4) { height: 100%; }
.fx-bgm .rvw-vol i:nth-child(2) { height: 45%; } .fx-bgm .rvw-vol i:nth-child(3) { height: 12%; background: #777; } .fx-bgm .rvw-vol i:nth-child(4) { height: 12%; background: #777; }
.rvw-toast { position: absolute; left: 50%; top: 40%; padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: 13px; font-weight: 900; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .2s, transform .35s cubic-bezier(.3, 1.7, .6, 1); }
.rvw-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rvw-seek { display: flex; align-items: center; gap: 10px; padding: 12px 12px 8px; background: var(--ink); color: var(--white); }
.rvw-track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: #4a4a4a; }
.rvw-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--red); }
.rvw-fill::after { content: ""; position: absolute; right: -7px; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid var(--white); }
.rvw-pin { position: absolute; top: -14px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50% 50% 50% 0; background: var(--yellow); border: 2px solid var(--white); transform: rotate(-45deg); animation: pindrop .4s cubic-bezier(.3, 1.8, .6, 1); }
.rvw-pin.ok { background: #35c46a; }
@keyframes pindrop { from { transform: rotate(-45deg) translate(10px, -10px) scale(.3); opacity: 0; } }
.rvw-time { flex: none; font-family: var(--f-mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.rvw-time b { font-weight: 700; }
.rvw-quick { display: flex; flex-wrap: wrap; gap: 7px 6px; padding: 12px 12px 0; }
.rvw-quick p { flex-basis: 100%; font-size: 11.5px; font-weight: 700; color: var(--gray); }
.rvw-quick button { padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); font-size: 12.5px; font-weight: 900; line-height: 1.6; box-shadow: 2px 2px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.rvw-quick button:hover { transform: translateY(-2px); }
.rvw-quick button:active { transform: translate(2px, 2px); box-shadow: none; }
.rvw-form { display: flex; align-items: center; gap: 6px; margin: 10px 12px 0; padding: 4px 4px 4px 6px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); }
.rvw-form:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.rvw-at { flex: none; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-family: var(--f-mono); font-size: 11px; font-weight: 700; line-height: 22px; font-variant-numeric: tabular-nums; }
.rvw-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; line-height: 1.4; transform-origin: 0 50%; }
.rvw-form input::placeholder { color: #a39f94; font-size: 13px; }
.rvw-form button { flex: none; padding: 4px 14px; border: 0; border-radius: 999px; background: var(--red); color: var(--white); font-size: 12.5px; font-weight: 900; line-height: 1.6; cursor: pointer; }
.rvw-list { display: grid; gap: 6px; padding: 10px 12px 2px; min-height: 8px; }
.rvw-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 10px; background: var(--paper); font-size: 12.5px; font-weight: 700; line-height: 1.5; animation: pop .3s cubic-bezier(.3, 1.6, .6, 1); }
.rvw-list li b { font-family: var(--f-mono); font-size: 11px; color: var(--gray); }
.rvw-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvw-list li em { font-style: normal; font-size: 11px; font-weight: 900; color: var(--red); white-space: nowrap; }
.rvw-list li em.busy::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 4px; border: 2px solid var(--red); border-top-color: transparent; border-radius: 50%; vertical-align: -1px; animation: spin .7s linear infinite; }
.rvw-list li em.ok { color: #1f9d50; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- PLAN ---------- */
.plan { margin-top: 34px; border: 3px solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: 7px 7px 0 var(--yellow), 7px 7px 0 3px var(--ink); padding-bottom: 22px; }
.plan h3 { margin: 22px 18px 0; text-align: center; font-size: 22px; font-weight: 900; line-height: 1.4; }
.price { margin: 10px 18px 0; text-align: center; line-height: 1.2; }
.price b { font-family: var(--f-en); font-weight: 900; font-size: 42px; letter-spacing: -.01em; }
.price small { font-size: 14px; font-weight: 900; }
.incl { margin: 20px 18px 0; border-top: 2.5px solid var(--ink); }
.incl li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 10px 2px; border-bottom: 1.5px dashed #b9b5a8; font-size: 14px; line-height: 1.6; }
.incl b { font-size: 12.5px; background: var(--ink); color: var(--white); border-radius: 6px; text-align: center; align-self: start; line-height: 24px; }
.plan-note { margin: 16px 18px 0; font-size: 13px; font-weight: 700; text-align: center; }
.price small:first-child { margin-right: 6px; }
.plan .btn { width: calc(100% - 36px); margin: 18px 18px 0; }
.plan .btn-ghost span { font-family: var(--f-sans); font-size: 16.5px; font-weight: 900; }
dl, dd { margin: 0; }

/* 車で伺う（運転手もします） */
.road { position: relative; height: 44px; margin: 20px 18px 0; border-bottom: 3px solid var(--ink); overflow: hidden; }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; border-top: 2px dashed #c9c5b8; }
.car { position: absolute; z-index: 1; left: -64px; bottom: 0; width: 60px; animation: drive 4.6s linear infinite, carbump .32s ease-in-out infinite alternate; }
@keyframes drive { to { left: 100%; } }
@keyframes carbump { to { transform: translateY(-1.5px); } }
.drive-copy { margin: 10px 18px 0; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.6; }
.drive-copy mark { font-size: 21px; font-weight: 900; }

/* エリアを選ぶ → 出張費と合計 */
.area { margin: 22px 18px 0; padding: 14px 14px 12px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--paper); }
.area label { display: block; font-size: 14px; font-weight: 900; line-height: 1.4; }
.area label small { display: block; font-size: 11.5px; font-weight: 700; color: var(--gray); }
.sel { position: relative; margin-top: 9px; }
.sel select {
  width: 100%; padding: 10px 40px 10px 16px; border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; line-height: 1.4;
  -webkit-appearance: none; appearance: none; cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
}
.sel select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sel::after { content: ""; position: absolute; right: 17px; top: 50%; margin-top: -3px; border-top: 8px solid var(--ink); border-left: 6px solid transparent; border-right: 6px solid transparent; pointer-events: none; }
.calc { margin-top: 14px; }
.calc div { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 2px; border-bottom: 1.5px dashed #b9b5a8; font-size: 14px; }
.calc dt { font-weight: 700; }
.calc dd { font-weight: 900; }
.calc .sum { border-bottom: 0; padding: 10px 2px 0; }
.calc .sum dt { font-weight: 900; }
.calc .sum b { font-family: var(--f-en); font-size: 32px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.calc .sum span { margin-left: 2px; font-size: 13px; }
.calc .pop { animation: pop .3s cubic-bezier(.3, 1.6, .6, 1); }
.area-note { margin-top: 6px; font-size: 11.5px; line-height: 1.6; color: var(--gray); }

/* 本格編集プラン */
.plan-pro { margin-top: 40px; box-shadow: 7px 7px 0 var(--ink); }
.price-ask b { font-family: var(--f-sans); font-size: 36px; letter-spacing: .06em; }
.pro-copy { margin: 14px 18px 0; text-align: center; font-size: 18px; font-weight: 900; line-height: 1.6; }
.pro-sub { margin: 8px 22px 0; font-size: 13.5px; line-height: 1.7; }

/* ---------- FLOW ---------- */
.flow { margin-top: 28px; display: grid; gap: 12px; }
.flow li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #1f1f1f; border: 2px solid #3b3b3b; }
.flow i { font-family: var(--f-en); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; color: var(--yellow); }
.flow b { font-size: 16px; }
.flow p { font-size: 13px; line-height: 1.6; color: #c9c6bc; }
.flow li:last-child { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.flow li:last-child i, .flow li:last-child p { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; display: grid; gap: 12px; }
.faq details { border: 2.5px solid var(--ink); border-radius: 14px; background: var(--white); overflow: hidden; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 14px 46px 14px 44px; font-weight: 900; font-size: 15px; line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 15px; top: 11px; font-family: var(--f-en); font-style: italic; font-weight: 900; font-size: 21px; color: var(--red); }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; margin-top: -13px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-mono); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); }
.faq details[open] summary { background: var(--yellow); border-bottom: 2.5px solid var(--ink); }
.faq details p { padding: 14px 18px 16px; font-size: 14px; }
.faq details[open] p { animation: rise .35s cubic-bezier(.2, .8, .2, 1); }

/* ---------- CONTACT ---------- */
.contact { position: relative; padding: 60px var(--pad) 64px; background: var(--yellow); border-top: 3px solid var(--ink); }
.contact h2 { font-size: 31px; }
.contact h2 mark { background: var(--ink); color: var(--yellow); padding: 0 4px; margin-left: -4px; font-family: var(--f-sans); }
.picked { margin-top: 22px; padding: 12px 14px 14px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--white); animation: pop .35s cubic-bezier(.3, 1.6, .6, 1); }
.picked[hidden] { display: none; }
.picked-ttl { font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--gray); }
.picked-list { margin-top: 2px; font-weight: 900; font-size: 14.5px; line-height: 1.7; }
.picked-copy { margin-top: 8px; padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.contact .btn { margin-top: 26px; }
.contact .btn-ghost { margin-top: 18px; }

/* ---------- FOOTER ---------- */
.foot { padding: 34px var(--pad) 110px; background: var(--ink); color: var(--white); text-align: center; font-size: 13px; }
.foot .logo { font-size: 28px; }
.foot p { margin-top: 12px; }
.foot .copy { font-family: var(--f-mono); font-size: 11px; color: #9c9a93; }

/* ---------- スマホ固定ボタン ---------- */
.dock {
  position: fixed; z-index: 40; left: 50%; bottom: 12px; width: min(calc(100% - 24px), 456px);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 16px; text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.dock .arrow { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-style: normal; }
.dock.show { transform: translate(-50%, 0); }

@media (min-width: 1080px) { .foot { padding-bottom: 40px; } }

@media (max-width: 380px) {
  :root { --pad: 18px; }
  .h1-a { font-size: 35px; }
  .h1-b b { font-size: 47px; }
  .h1-c { font-size: 40px; }
  h2 { font-size: 28px; }
  h2.serif { font-size: 30px; }
  .cta-big { font-size: 29px; }
  .reason h3 { font-size: 24px; }
  .tape { font-size: 17px; }
  .btn span { font-size: 16.5px; }
  .contact h2 { font-size: 27px; }
  .cut b { font-size: 54px; }
  .shout { font-size: 17px; }
  .yrs b { font-size: 112px; }
  .lib-rows li { grid-template-columns: 104px 1fr 16px; }
  .pl-slides li { grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 16px 16px 18px; }
  .pl-ico { width: 76px; }
  .pl-slides h3 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .rv, .js .reason > :not(.clap), .js .day li { opacity: 1; transform: none; }
  .js .rv .clap-arm { transform: none; }
  .js .mk mark, .js .reason h3 mark { background-size: 100% 100%; }
  .js .shelf .stock i { opacity: 1; transform: none; }
  .prog i { width: 100%; } .lib-rows em { opacity: 1; } .lib-hq { opacity: 1; }
}
