/* =========================================================
   TenpoNote LP — drafts/claude（v2・明るい版）
   地はアプリの画面と同じ白。色はアプリの中にある色だけを使う。
   写真は店の昼の光。実画面は MacBook とスマホに入れて見せる。
   ========================================================= */

@font-face { font-family: "TN Gothic"; src: url("./assets/fonts/zen-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TN Gothic"; src: url("./assets/fonts/zen-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "TN Gothic"; src: url("./assets/fonts/zen-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "TN Num"; src: url("./assets/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #ffffff;          /* アプリの画面の白 */
  --wash: #f3f6fb;           /* アプリの背景の薄い青灰 */
  --cream: #fff5e8;          /* 日次売上の棒の橙を、紙に薄く刷ったもの */
  --ink: #1b2232;            /* アプリの見出しの濃紺 */
  --ink-2: #545d70;
  --rule: #e1e6ee;
  --register: #3a62df;       /* 売上登録の「登録する」ボタンの青 */
  --register-deep: #2a4cc0;  /* 同じ青を一段深く（報告書の章の地） */
  --bar: #f5913a;            /* 月次報告書の日次売上の棒の橙 */
  --bar-ink: #b35a10;        /* 白地に置く橙の字 */
  --lunch: #e8a33a;          /* 時間帯ボタン「Lunch & Cafe」の山吹 */
  --line-green: #05a647;     /* 公式LINE */
  --gothic: "TN Gothic", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --num: "TN Num", "Helvetica Neue", Arial, sans-serif;
  --app: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: clip;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--register); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--bar); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { display: inline-block; }
.ln { display: block; }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- 文字 ---------- */
.h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(27px, 3.1vw, 44px);
  line-height: 1.42;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  text-wrap: balance;
}
.h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; line-height: 1.5; font-feature-settings: "palt"; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--bar-ink); }
.sec-head { max-width: 760px; margin: 0 0 clamp(36px, 4.4vw, 60px); }
.sec-head .h2 + .sec-lead { margin-top: 20px; }
.sec-lead { color: var(--ink-2); font-size: 16.5px; text-wrap: pretty; }
.sec-head-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.sec-head-row .sec-lead { margin: 0; }
.plan { display: inline-block; margin-left: .55em; padding: 0 9px; border-radius: 999px; background: #e7edfd; color: var(--register-deep); font-family: var(--num); font-size: 11.5px; font-weight: 700; line-height: 1.75; letter-spacing: .04em; vertical-align: 2px; white-space: nowrap; }
.demo-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.3;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-main { background: var(--register); color: #fff; box-shadow: 0 12px 26px -12px rgba(58, 98, 223, .75); }
.btn-main:hover { background: var(--register-deep); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfd6e2; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 12px 26px -12px rgba(5, 166, 71, .7); }
.btn-line:hover { transform: translateY(-1px); }
.btn-s { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.link-btn { border: 0; background: none; padding: 6px 2px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 14px; }

/* ---------- ヘッダー ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 12px var(--gutter);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-head.is-solid { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 var(--rule), 0 10px 30px -24px rgba(27, 34, 50, .4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--num); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.head-nav { margin-left: auto; display: flex; gap: 28px; }
.head-nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.head-nav a:hover { color: var(--register); }

/* =========================================================
   1. ヒーロー：お店の写真の上に、ダッシュボードと今日の一マス
   入力の実演は「レジはそのまま」の章の下へ移した
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 980px); display: grid; background: #eef1f6; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 36%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 63%); }
.hero-inner {
  width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 112px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 0 clamp(24px, 3vw, 44px);
}
.hero-copy { align-self: center; padding-bottom: clamp(40px, 7vh, 88px); }
.kicker { margin: 0 0 20px; font-size: 15.5px; font-weight: 700; letter-spacing: .08em; color: var(--bar-ink); }
.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(32px, 3.75vw, 56px);
  line-height: 1.3;
  letter-spacing: .01em;
  font-feature-settings: "palt";
}
.hero-title .ln:last-child { color: var(--register); }
.hero-lead { margin: 24px 0 0; font-size: 17px; line-height: 1.95; color: #343c4e; max-width: 34em; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); text-wrap: balance; }
.hero-facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts li::before { content: ""; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--bar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* 右：MacBook のダッシュボードと、手前と奥に浮かぶ数字の札 */
.hero-device { position: relative; align-self: end; margin: 0 0 clamp(18px, 4vh, 44px); }
.hero-laptop { max-width: 720px; margin: 0 0 0 auto; filter: drop-shadow(0 44px 40px rgba(27, 34, 50, .3)); }
.hero-laptop .laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 26px 46px -20px rgba(27, 34, 50, .48), 0 0 0 1px rgba(27, 34, 50, .05); font-family: var(--app); color: #1f2937; letter-spacing: 0; line-height: 1.4; white-space: nowrap; animation: bob 5.6s ease-in-out infinite alternate; }
.float b { font-family: var(--num); font-weight: 800; font-variant-numeric: tabular-nums; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 6px; } }
/* 手前：28日のマス（オープニングで入った一日分） */
.f-cell { left: -3%; top: 30%; flex-direction: column; align-items: stretch; gap: 4px; width: 158px; padding: 11px 14px 13px; box-shadow: inset 0 0 0 2.5px var(--bar), 0 34px 54px -22px rgba(179, 90, 16, .55); animation-duration: 5.2s; }
.fc-day { display: flex; align-items: baseline; gap: 5px; font-weight: 700; font-size: 16px; }
.fc-day small { font-size: 11.5px; color: #6b7280; }
.fc-w { position: absolute; right: 13px; top: 12px; font-size: 11.5px; font-weight: 700; color: #0f766e; }
.f-cell b { text-align: right; font-size: 22px; }
/* 奥：今月の目標（少し小さく、影も浅く） */
.f-goal { right: 5%; top: -17%; z-index: 1; flex-wrap: wrap; width: 214px; gap: 2px 8px; padding: 10px 14px 12px; scale: .94; box-shadow: 0 18px 36px -20px rgba(27, 34, 50, .4), 0 0 0 1px rgba(27, 34, 50, .05); animation-duration: 7s; animation-delay: -2.4s; }
.fg-k { font-size: 12.5px; font-weight: 700; color: #92400e; }
.f-goal b { margin-left: auto; font-size: 19px; color: #d97706; }
.fg-bar { flex: 1 0 100%; height: 8px; border-radius: 99px; background: #eef0f4; overflow: hidden; }
.fg-bar span { display: block; width: 94%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #f97316); }
/* 手前：人件費の割合 */
.f-cost { right: -2%; bottom: 17%; gap: 8px; font-size: 14px; font-weight: 700; animation-duration: 6.3s; animation-delay: -3.6s; }
.f-cost b { font-size: 18px; }
.hero-cap { position: absolute; right: 0; bottom: -4px; z-index: 4; margin: 0; padding: 2px 10px; border-radius: 99px; background: rgba(255, 255, 255, .86); font-size: 11.5px; color: var(--ink-2); }

/* 入力の実演（使い方の章の下） */
.stage { margin: 0; display: grid; gap: 14px; position: relative; }
.stage-form { position: relative; z-index: 3; transform-origin: 0 0; will-change: transform, opacity; }
.stage-cal { position: relative; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 14px 14px; box-shadow: 0 26px 50px -24px rgba(27, 34, 50, .45), 0 0 0 1px rgba(27, 34, 50, .05); }
.stage-cal-cap { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.stage-cal-m { font-family: var(--num); color: var(--ink-2); font-weight: 600; }
.stage-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; color: var(--ink-2); }
.replay { border: 0; border-radius: 999px; padding: 6px 14px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; opacity: .25; pointer-events: none; transition: opacity .3s; }
.replay.is-on { opacity: 1; pointer-events: auto; }
.register-input { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 112px); }
.h-ri { margin: 0 0 16px; font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.45; letter-spacing: .02em; font-feature-settings: "palt"; text-wrap: balance; }
.ri-copy > p:last-child { color: #343c4e; text-wrap: pretty; }
.register-input .stage { width: min(100%, 540px); justify-self: end; }

/* 実画面のスクショと、その上に重ねる入力 */
.shot { position: relative; container-type: inline-size; overflow: hidden; background: #fff; isolation: isolate; }
.shot img { width: 100%; }
.ov { position: absolute; display: flex; align-items: center; pointer-events: none; font-family: var(--app); color: #1f2937; white-space: nowrap; letter-spacing: 0; }
.shot-form { border-radius: 16px; box-shadow: 0 30px 60px -26px rgba(27, 34, 50, .5), 0 0 0 1px rgba(27, 34, 50, .06); }
.shot-week { border-radius: 8px; box-shadow: 0 0 0 1px var(--rule); }
.ov-date { left: 4.5%; top: 21.4%; width: 18.2%; height: 6.4%; background: #fff; padding-left: 1.6%; font-size: 2.25cqw; }
.ov-amount { left: 4.4%; top: 40.6%; width: 40%; height: 8.6%; padding-left: 1.2%; font-size: 2.3cqw; }
.ov-guests { left: 52.3%; top: 40.6%; width: 40%; height: 8.6%; padding-left: 1.2%; font-size: 2.3cqw; }
.ov-memo { left: 4.4%; top: 73%; width: 60%; height: 8.2%; padding-left: 1.2%; font-size: 2.1cqw; background: #fff; opacity: 0; }
.ov-memo.is-on { opacity: 1; }
.ov-amount.is-typing::after, .ov-guests.is-typing::after, .ov-memo.is-typing::after { content: ""; width: 2px; height: 1.2em; margin-left: 2px; background: #1f2937; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ov-weather { left: 46.9%; top: 59.5%; width: 10.6%; height: 7.6%; border-radius: .8cqw; box-shadow: inset 0 0 0 .25cqw var(--register); background: rgba(58, 98, 223, .1); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s; }
.ov-weather.is-on { opacity: 1; transform: none; }
.ov-submit { left: 3.6%; top: 87.3%; width: 93.5%; height: 10.7%; border-radius: 1.6cqw; background: rgba(0, 0, 0, 0); transition: background-color .15s; }
.ov-submit.is-press { background: rgba(0, 0, 0, .22); }
.tap { position: absolute; width: 5.4cqw; height: 5.4cqw; margin: -2.7cqw 0 0 -2.7cqw; border-radius: 50%; background: rgba(245, 145, 58, .6); box-shadow: 0 0 0 .7cqw rgba(245, 145, 58, .25); opacity: 0; pointer-events: none; transition: left .45s cubic-bezier(.3, .7, .2, 1), top .45s cubic-bezier(.3, .7, .2, 1), opacity .2s, transform .12s; }
.tap.is-on { opacity: 1; }
.tap.is-down { transform: scale(.7); }
.ov-cell28 { left: 39.7%; top: 31%; width: 26.4%; height: 66%; background: #fff; transition: clip-path .5s cubic-bezier(.6, 0, .2, 1); clip-path: inset(0 0 0 0); }
.ov-cell28.is-filled { clip-path: inset(0 0 100% 0); }
.ov-ring28 { left: 33.4%; top: 27.2%; width: 33.2%; height: 72.6%; border-radius: .6cqw; box-shadow: inset 0 0 0 .45cqw var(--bar); opacity: 0; transition: opacity .3s; }
.ov-ring28.is-on { opacity: 1; animation: ring 1.6s ease-out 1; }
@keyframes ring { 0% { box-shadow: inset 0 0 0 .45cqw var(--bar), 0 0 0 0 rgba(245, 145, 58, .6); } 100% { box-shadow: inset 0 0 0 .45cqw var(--bar), 0 0 0 2.4cqw rgba(245, 145, 58, 0); } }

/* =========================================================
   2. 業種：写真を選ぶと、最初の設定の言葉が入れ替わる
   ========================================================= */
.trades { background: var(--paper); padding: clamp(80px, 9vw, 128px) 0; }
.trades-box { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.trade-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trade { appearance: none; border: 0; padding: 0; margin: 0; background: none; color: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; min-width: 0; }
.trade-photo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; isolation: isolate; background: var(--wash); box-shadow: 0 0 0 0 var(--bar); transition: box-shadow .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.trade-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.trade:nth-child(1) .trade-photo img { object-position: 46% 50%; }
.trade:hover .trade-photo img { transform: scale(1.03); }
.trade.is-on .trade-photo { box-shadow: 0 0 0 4px var(--bar), 0 24px 40px -24px rgba(179, 90, 16, .6); transform: translateY(-6px); }
.trade-photo::after { content: ""; position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--bar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.trade.is-on .trade-photo::after { transform: scale(1); }
.trade-name { margin-top: 14px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.trade-sub { font-size: 13px; line-height: 1.6; color: var(--ink-2); }

.words-card { display: flex; flex-direction: column; gap: 20px; padding: 30px 30px 28px; border-radius: 22px; background: var(--wash); }
.words-cap { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.words-cap b { color: var(--ink); font-size: 20px; margin-right: .2em; }
.words-dl { margin: 0; display: grid; gap: 18px; }
.words-dl dt { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .06em; }
.words-dl dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-family: var(--app); font-weight: 700; font-size: 14px; color: #374151; letter-spacing: 0; }
[data-w="zones"] .chip:first-child { background: var(--lunch); color: #fff; box-shadow: none; }
[data-w="zones"] .chip:not(:first-child) { background: #eef0f4; box-shadow: none; color: #6b7280; }
.is-swap .chip, .is-swap [data-w="store"] { animation: roll .5s cubic-bezier(.2, .8, .2, 1) both; }
.is-swap .chip:nth-child(2) { animation-delay: .06s; }
.is-swap .chip:nth-child(3) { animation-delay: .12s; }
@keyframes roll { 0% { transform: translateY(10px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.words-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }

/* =========================================================
   3. レジはそのまま：レシートが出て、写す数字に丸がつく
   ========================================================= */
.register { background: var(--wash); padding: clamp(80px, 9vw, 128px) 0; }
.register-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.register-copy > p { color: #343c4e; text-wrap: pretty; }
.register-copy .h2 { margin-bottom: 24px; }
.receipt-wrap { position: relative; padding-top: 12px; }
.printer { position: relative; z-index: 2; height: 24px; max-width: 352px; margin: 0 auto; border-radius: 8px 8px 3px 3px; background: #3b4354; box-shadow: inset 0 -7px 0 #232938; }
.receipt {
  position: relative; max-width: 312px; margin: -6px auto 0;
  padding: 24px 24px 32px;
  background: #fff; color: #2b2f38;
  font-family: "Menlo", "Osaka-Mono", "MS Gothic", monospace; font-size: 13.5px; line-height: 2;
  filter: drop-shadow(0 18px 24px rgba(27, 34, 50, .14));
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.9s steps(14, end);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
}
.is-printed .receipt { clip-path: inset(0 0 0 0); }
.r-line { display: flex; justify-content: space-between; margin: 0; white-space: nowrap; }
.r-center { justify-content: center; }
.r-small { font-size: 11px; color: #8b919c; }
.r-rule { height: 1px; margin: 8px 0; background: repeating-linear-gradient(90deg, #a4aab4 0 4px, transparent 4px 8px); }
.r-hit { position: relative; }
.r-ring { position: absolute; left: -10px; top: 50%; width: calc(100% + 20px); height: 44px; margin-top: -22px; fill: none; stroke: var(--bar); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset .7s ease-out; }
.is-ringed-1 .r-ring-1, .is-ringed-2 .r-ring-2 { stroke-dashoffset: 0; }
.carry { list-style: none; margin: 32px auto 0; padding: 0; max-width: 352px; display: grid; gap: 10px; }
.carry li { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; background: #fff; font-size: 15px; transform: translateX(-14px); opacity: 0; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.carry li.is-on { transform: none; opacity: 1; }
.carry-from { font-family: var(--num); font-weight: 700; text-align: right; }
.carry-arrow { position: relative; height: 2px; background: var(--bar); border-radius: 2px; }
.carry-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 2px solid var(--bar); border-right: 2px solid var(--bar); transform: rotate(45deg); }
.carry-to { font-weight: 700; }
.csv-note { margin-top: 40px; padding: 28px; border-radius: 20px; background: #fff; }
.csv-note > p { color: var(--ink-2); font-size: 15px; }
.shot-csv { margin-top: 18px; border-radius: 12px; box-shadow: 0 0 0 1px var(--rule); }
.mark { border-radius: 1.2cqw; box-shadow: inset 0 0 0 .34cqw var(--bar); clip-path: inset(-4cqw 100% -4cqw -4cqw); transition: clip-path .7s cubic-bezier(.6, 0, .2, 1); }
.is-marked .mark { clip-path: inset(-4cqw); }
.is-marked .mark + .mark { transition-delay: .5s; }
.mark::after { position: absolute; top: -1.6cqw; left: -1.6cqw; width: 3.6cqw; height: 3.6cqw; min-width: 20px; min-height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--bar); color: #fff; font-family: var(--num); font-weight: 800; font-size: max(11px, 1.6cqw); }
.mark-csv-line::after { content: "1"; }
.mark-csv-steps::after { content: "2"; }
.mark-csv-line { left: 25%; top: 86.2%; width: 48%; height: 6.8%; }
.mark-csv-steps { left: 1.6%; top: 36.6%; width: 46.6%; height: 7%; }
.mark-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.mk { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--bar); color: #fff; font-family: var(--num); font-weight: 800; font-size: 11px; vertical-align: 1px; }

/* =========================================================
   4. 一日が一マスに：MacBook の中のカレンダーが埋まる
   ========================================================= */
.month { background: var(--paper); padding: clamp(80px, 9vw, 128px) 0 clamp(72px, 8vw, 112px); }
.cal { margin: 0; }
.laptop { position: relative; max-width: 1080px; margin: 0 auto; }
.laptop-body { position: relative; z-index: 1; width: 100%; pointer-events: none; }
.laptop-screen { position: absolute; z-index: 2; left: 13.411458%; top: 12.011719%; width: 73.242188%; height: 61.425781%; overflow: hidden; background: #fff; }
.shot-cal { width: 100%; height: 100%; }
.shot-cal img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.daymask { position: absolute; background: #fff; transition: clip-path .32s cubic-bezier(.6, 0, .2, 1); clip-path: inset(0 0 0 0); }
.daymask.is-off { clip-path: inset(0 0 100% 0); }
.pin { position: absolute; width: 3.4cqw; height: 3.4cqw; min-width: 20px; min-height: 20px; margin: -1.7cqw 0 0 -1.7cqw; display: grid; place-items: center; border-radius: 50%; background: var(--bar); color: #fff; font-family: var(--num); font-weight: 800; font-size: max(11px, 1.5cqw); box-shadow: 0 0 0 .4cqw rgba(245, 145, 58, .28); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.is-notes .pin { opacity: 1; transform: none; }
.is-notes .pin-23 { transition-delay: .5s; }
.is-notes .pin-24 { transition-delay: 1s; }
.pin-17 { left: 77.5%; top: 61%; }
.pin-23 { left: 63.2%; top: 77.8%; }
.pin-24 { left: 77.5%; top: 77.8%; }
.notes { list-style: none; margin: clamp(8px, 2vw, 24px) auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--cream); }
.note-n { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bar); color: #fff; font-family: var(--num); font-weight: 800; font-size: 13px; }
.note-day { font-size: 13px; font-weight: 700; color: var(--bar-ink); line-height: 1.6; }
.note-t { font-size: 16px; font-weight: 700; line-height: 1.6; }
.cal .demo-note { text-align: center; }

/* =========================================================
   5. 報告書が一日ずつ埋まる（青い章）
   ========================================================= */
.report { background: var(--register-deep); color: #fff; padding: clamp(84px, 9vw, 132px) 0 clamp(72px, 8vw, 112px); }
.report .sec-lead { color: rgba(255, 255, 255, .86); }
.eyebrow-on { color: #ffd2a6; }
.report-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.report-fig { position: sticky; top: 80px; }
.report-sheet { width: min(100%, calc((100svh - 150px) * .7067)); margin: 0 auto; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 50px 90px -40px rgba(4, 12, 48, .7); }
.shot-report { border-radius: 4px; }
.ov-r { background: #fff; font-weight: 700; font-size: 2.4cqw; color: #1f2937; font-variant-numeric: tabular-nums; padding-left: .2cqw; }
.ov-r-sales { left: 6.6%; top: 21.5%; width: 38%; height: 2.8%; }
.ov-r-cost { left: 52.4%; top: 21.5%; width: 38%; height: 2.8%; }
.ov-r-profit { left: 6.6%; top: 28.8%; width: 38%; height: 2.8%; }
.ov-r-rate { left: 52.4%; top: 28.8%; width: 38%; height: 2.8%; }
.ov-bars { top: 38.6%; height: 11.4%; right: 11.6%; background: #fff; }
.ov-lower { left: 4%; top: 56%; width: 92%; height: 44%; background: rgba(255, 255, 255, .88); transition: background-color .5s; }
.ov-lower.is-done { background: rgba(255, 255, 255, 0); }
.report-day { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.report-day span { font-family: var(--num); font-weight: 800; color: #fff; margin-right: .3em; }
.report-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 30px; border-left: 2px solid rgba(255, 255, 255, .22); transition: border-color .3s; }
.step:first-child { min-height: 50svh; justify-content: flex-start; padding-top: 4svh; }
.step:last-child { min-height: 62svh; }
.step.is-on { border-left-color: var(--bar); }
.step p { margin: 0; }
.step-day { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #ffd2a6; }
.step-big { margin: 6px 0 10px !important; font-family: var(--num); font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.step:last-child .step-big { font-family: var(--gothic); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); }
.step-text { font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .9); max-width: 26em; }
.report .plan { background: rgba(255, 255, 255, .16); color: #fff; }
.report-note { color: rgba(255, 255, 255, .72); text-align: center; margin-top: 36px; }

/* =========================================================
   6. 目標まであと：スマホのホーム画面と、押せる残り金額
   ========================================================= */
.goal { background: var(--cream); padding: clamp(80px, 9vw, 128px) 0; }
.goal-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.goal-phone { position: relative; }
.goal-phone::before { content: ""; position: absolute; inset: 12% 4% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 145, 58, .32), rgba(245, 145, 58, 0)); z-index: 0; }
.phone { position: relative; z-index: 1; width: min(100%, 330px); margin: 0 auto; padding: 10px; border-radius: 48px; background: #1d2230; box-shadow: 0 0 0 2px #39404f, 0 50px 80px -36px rgba(27, 34, 50, .55); }
.phone img { width: 100%; border-radius: 38px; }
.phone-cam { position: absolute; z-index: 2; top: 20px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #0f121a; }
.goal-main > p { color: #343c4e; }
.goal-main .h2 { margin-bottom: 20px; }
.goal-box { margin-top: 30px; padding: 30px 32px 28px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -40px rgba(179, 90, 16, .45); }
.goal-label { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.goal-num { margin: 4px 0 0; font-family: var(--num); font-weight: 800; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.goal-num.is-over { color: var(--register); }
.goal-bar { margin-top: 20px; height: 14px; border-radius: 999px; background: #f1ebe2; overflow: hidden; }
.goal-bar span { display: block; height: 100%; width: 94%; border-radius: inherit; background: linear-gradient(90deg, #f6c453, var(--bar)); transition: width .8s cubic-bezier(.3, .7, .2, 1); }
.goal-pct { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }
.goal-pct b { font-family: var(--num); font-weight: 800; font-size: 18px; color: var(--bar-ink); }
.goal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.goal-voice { margin: 16px 0 0; font-size: 18px; font-weight: 700; color: var(--bar-ink); }
.goal-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }

/* =========================================================
   7. シフト：時刻の線が11時から23時まで流れる
   ========================================================= */
.shift { background: var(--paper); padding: clamp(80px, 9vw, 128px) 0 0; }
.shift .sec-head { margin-bottom: 0; }
.shift-track { position: relative; height: 190svh; }
.shift-fig { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 72px var(--gutter) 24px; }
.shift-scroll { overflow-x: auto; scrollbar-width: none; border-radius: 16px; box-shadow: 0 0 0 1px var(--rule), 0 40px 70px -46px rgba(27, 34, 50, .5); }
.shift-scroll::-webkit-scrollbar { display: none; }
.shot-shift { border-radius: 16px; }
.ov-cost { left: 66.8%; top: 3.5%; width: 8.4%; height: 8.4%; border-radius: .6cqw; box-shadow: 0 0 0 .3cqw var(--bar); }
.cursor { position: absolute; top: 15.5%; height: 76%; width: 0; left: 15.55%; border-left: .22cqw solid var(--register); pointer-events: none; }
.cursor::before { content: ""; position: absolute; top: -.6cqw; left: -.75cqw; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: var(--register); }
.cursor-tag { position: absolute; top: 100%; left: 0; transform: translate(-50%, .5cqw); display: flex; gap: .7em; align-items: baseline; white-space: nowrap; padding: .35em .9em; border-radius: 999px; background: var(--register); color: #fff; font-family: var(--gothic); font-weight: 700; font-size: max(12px, 1.2cqw); }
.cursor-tag b { font-family: var(--num); font-weight: 800; }

/* =========================================================
   5b. 作った理由：写真と声は左に止めて、右で話が進む
   ========================================================= */
.why { background: var(--cream); padding: clamp(84px, 9vw, 128px) 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.why-side { position: sticky; top: 96px; display: grid; gap: 30px; }
.why-photo { aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -46px rgba(179, 90, 16, .55); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-quote { position: relative; margin: 0; padding: 34px 0 0 4px; }
.why-quote::before { content: "\201C"; position: absolute; left: -4px; top: -30px; font-family: var(--num); font-weight: 800; font-size: 120px; line-height: 1; color: var(--bar); }
.why-quote p { margin: 0; font-weight: 700; font-size: clamp(23px, 2.5vw, 36px); line-height: 1.38; letter-spacing: .02em; font-feature-settings: "palt"; }
.why-quote footer { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.why-body .h2 { margin-bottom: 30px; }
.why-steps { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid rgba(245, 145, 58, .4); }
.why-steps li { position: relative; padding: 0 0 26px; }
.why-steps li::before { content: ""; position: absolute; left: -34px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--bar); }
.why-steps li:last-child::before { background: var(--bar); }
.why-k { display: block; font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--bar-ink); letter-spacing: .04em; }
.why-steps p { margin: 4px 0 0; color: #343c4e; text-wrap: pretty; }
.why-grow { margin-top: 6px; padding: 24px 26px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -48px rgba(179, 90, 16, .6); }
.why-grow p { color: #343c4e; text-wrap: pretty; }
.why-sign { margin: 22px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }

/* =========================================================
   9. 料金
   ========================================================= */
.price { background: var(--cream); padding: clamp(84px, 9vw, 128px) 0; }
.ledger { max-width: 1040px; margin: 0 auto; padding: 8px 32px 20px; border-radius: 24px; background: #fff; box-shadow: 0 40px 70px -50px rgba(179, 90, 16, .5); }
.lg-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(92px, 150px)); align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); }
.lg-row > span { text-align: center; }
.lg-row > .lg-k { text-align: left; padding: 10px 12px 10px 0; font-size: 15px; line-height: 1.6; }
.lg-top { position: sticky; top: 68px; z-index: 2; min-height: 104px; background: #fff; border-bottom: 2px solid var(--ink); }
.lg-p { position: relative; z-index: 0; }
.lg-tax { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); }
.lg-p b { display: block; font-family: var(--num); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.lg-p em { display: block; font-style: normal; font-family: var(--num); font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.lg-p small { margin-left: 2px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.lg-mark::before { content: ""; position: absolute; inset: 10px 8px; border-radius: 14px; background: #e9eefd; z-index: -1; }
.lg-mark b { color: var(--register-deep); }
.lg-group { margin: 0; padding: 24px 0 8px; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--bar-ink); }
.y { color: var(--register); font-weight: 700; font-size: 18px; }
.n { color: #b9c0cc; }
.t { font-size: 13.5px; font-weight: 700; }
.price-foot { max-width: 1040px; margin: 32px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.price-foot p { margin: 0; flex: 1 1 320px; font-size: 14px; color: var(--ink-2); }

/* =========================================================
   10. よくある質問
   ========================================================= */
.faq { background: var(--paper); padding: clamp(84px, 9vw, 128px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; font-size: 17px; font-weight: 500; line-height: 1.6; text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--num); font-weight: 800; font-size: 22px; color: var(--bar); }
.faq summary::after { content: ""; width: 16px; height: 16px; justify-self: end; background: linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 16px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 16px 2px no-repeat; }
.faq details p { margin: 0; padding: 0 44px 24px 38px; color: #343c4e; font-size: 15.5px; }

/* =========================================================
   11. まずは今日の一日分から（写真の章）
   ========================================================= */
.close { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 12vw, 180px) 0; }
.close-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.close-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 38%, rgba(255,255,255,.2) 58%, rgba(255,255,255,0) 70%); }
.close-inner > * { max-width: 560px; }
.close-title { margin: 0 0 22px; font-weight: 700; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.32; letter-spacing: .02em; font-feature-settings: "palt"; }
.close-inner > p { color: #343c4e; font-size: 16.5px; }
.close-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.close-login { margin-top: 18px !important; font-size: 14px; color: var(--ink-2); }
.close-login a { margin-left: .5em; font-weight: 700; }

/* ---------- フッター ---------- */
.site-foot { background: var(--wash); padding: 40px 0 48px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.foot-nav a:hover { text-decoration: underline; }
.foot-c { margin: 0 0 0 auto; font-size: 13px; color: var(--ink-2); font-family: var(--num); }
.foot-note { flex-basis: 100%; order: 9; margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }

/* =========================================================
   4b. 曜日と天気と時間帯で、お店の波が見える（カレンダーの章の続き）
   ========================================================= */
.wave { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: center; }
.h-wave { margin: 0 0 18px; font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.45; letter-spacing: .02em; font-feature-settings: "palt"; text-wrap: balance; }
.wave-head > p { color: #343c4e; text-wrap: pretty; }
.wave-story { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; }
.wave-card { margin: 0; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--cream); }
.wave-card:has(> .wave-photo[hidden]) { justify-content: center; }
.wave-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.wave-photo img { width: 100%; height: 100%; object-fit: cover; }
.wave-card figcaption { padding: 18px 20px 22px; display: grid; gap: 4px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.wave-card figcaption b { font-size: 17px; line-height: 1.5; color: var(--ink); }
.wave-n { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px; border-radius: 50%; background: var(--bar); color: #fff; font-family: var(--num); font-weight: 800; font-size: 13px; }
.wave-arrow { align-self: center; justify-self: center; width: 16px; height: 16px; margin-left: -6px; border-top: 3px solid var(--bar); border-right: 3px solid var(--bar); transform: rotate(45deg); }

/* 月末の写真の帯 */
.band { position: relative; isolation: isolate; height: clamp(320px, 40vw, 560px); overflow: hidden; }
/* 月末の写真：報告書とPCは実画面の合成なので反転しない（文字が裏返る）。PCの上端から報告書の下端までが入る高さ */
.band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.62) 30%, rgba(255,255,255,0) 52%); }
.band-cap { position: absolute; left: var(--gutter); bottom: clamp(28px, 4vw, 56px); max-width: 11em; margin: 0; font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.45; font-feature-settings: "palt"; }

/* =========================================================
   6. 経費の中身：カテゴリを開くと取引先の内訳
   ========================================================= */
.cats { background: var(--paper); padding: clamp(84px, 9vw, 128px) 0; }
.cats-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cats-card { padding: 28px 28px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 40px 70px -50px rgba(27, 34, 50, .45); }
.cats-cap { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.cats-cap b { font-family: var(--num); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); color: var(--ink); font-variant-numeric: tabular-nums; }
.cats-bar, .kids-bar { display: flex; gap: 2px; height: 18px; border-radius: 999px; overflow: hidden; background: #eef0f4; }
.cats-bar i, .kids-bar i { display: block; height: 100%; width: 0; transition: width .9s cubic-bezier(.3, .7, .2, 1), opacity .3s; }
[data-c="labor"] { background: #8b5cf6; }   /* アプリの人件費の紫 */
[data-c="food"] { background: #dc2626; }    /* アプリの食材の赤 */
[data-c="rent"] { background: #64748b; }    /* アプリの地代家賃の灰 */
[data-c="util"] { background: #0ea5e9; }    /* アプリの水道光熱費の水色 */
[data-c="stock"] { background: #f87171; }   /* アプリの仕入・材料費の赤（淡く） */
.is-food .cats-bar i:not([data-c="food"]) { opacity: .22; }
.cats-list { list-style: none; margin: 16px 0 0; padding: 0; }
.cat { border-bottom: 1px solid var(--rule); }
.cat:last-child { border-bottom: 0; }
.cat-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 62px 18px; align-items: center; gap: 12px; width: 100%; padding: 14px 6px; border: 0; background: none; color: inherit; text-align: left; font: inherit; }
button.cat-row { cursor: pointer; border-radius: 12px; transition: background-color .2s; }
button.cat-row:hover { background: var(--wash); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.cat-name { font-weight: 700; font-size: 15.5px; line-height: 1.5; }
.cat-name small { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--register); }
.is-open .cat-name small { visibility: hidden; }
.cat-row b { font-family: var(--num); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.cat-row em { font-style: normal; text-align: right; font-family: var(--num); font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chev { justify-self: center; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .3s; }
[aria-expanded="true"] .chev { margin-top: 4px; transform: rotate(-135deg); }
.cat-kids { max-height: 0; overflow: hidden; transition: max-height .55s cubic-bezier(.3, .7, .2, 1); }
.is-open .cat-kids { max-height: 360px; }
.kids-bar { height: 10px; margin: 2px 6px 8px 30px; }
.kids-bar i:nth-child(1) { background: #f08a8a; }
.kids-bar i:nth-child(2) { background: #dc2626; }
.kids-bar i:nth-child(3) { background: #fbbcbc; }
.cat-kids ul { list-style: none; margin: 0 0 0 30px; padding: 0; }
.cat-kids li { display: grid; grid-template-columns: minmax(0, 1fr) auto 62px 18px; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px dashed var(--rule); font-size: 14.5px; }
.kid-name small { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #fdecec; color: #b42318; font-size: 11.5px; font-weight: 700; }
.cat-kids li b { font-family: var(--num); font-weight: 700; font-variant-numeric: tabular-nums; }
.cat-kids li em { font-style: normal; text-align: right; font-family: var(--num); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.kids-note { margin: 2px 0 14px 36px; font-size: 12px; color: var(--ink-2); }
.cats-side { display: grid; gap: 18px; }
.cats-photo { aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; }
.cats-photo img { width: 100%; height: 100%; object-fit: cover; }
.cats-real { margin: 0; }
.shot-real { border-radius: 14px; box-shadow: 0 0 0 1px var(--rule), 0 24px 40px -30px rgba(27, 34, 50, .4); }
.cats-real .demo-note { margin-top: 10px; }

/* シフトの写真 */
.shift-photo { margin-top: 44px; aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden; }
.shift-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

/* =========================================================
   0. 最初の動き（約3.5秒）。op.js が html に .op-on を付けたときだけ出る
   今日の一日分が28日のマスに入る → 月のマスが色で埋まる → マスが一列に並んで報告書の棒になる → TenpoNote がヘッダーの位置に収まる
   動きはCSSの keyframes だけで終わる。JS は「時間が来たら外す」「押したらとばす」だけ
   ========================================================= */
@property --tn-n { syntax: "<integer>"; inherits: false; initial-value: 10000; }
@property --tn-k { syntax: "<integer>"; inherits: false; initial-value: 10; }
@property --tn-r { syntax: "<integer>"; inherits: false; initial-value: 0; }
@counter-style tn-pad3 { system: extends decimal; pad: 3 "0"; }

.op { display: none; }
.op-on .op { display: block; position: fixed; inset: 0; z-index: 90; overflow: hidden; cursor: pointer; animation: opEnd .01s linear 3.85s forwards; }
.op-veil { position: absolute; inset: 0; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); animation: opFade .45s ease 3.15s forwards; }
.op-stage { --G: min(760px, 88vw, 112svh); --cw: calc(var(--G) / 7); --ch: calc(var(--G) * .1); position: absolute; left: 50%; top: 50%; width: var(--G); height: calc(var(--G) * .5); transform: translate(-50%, -46%); animation: opFade .25s ease 2.8s forwards; }

/* 1手目：今日の売上が大きく打たれる */
.op-date { position: absolute; left: 0; right: 0; bottom: calc(50% + clamp(40px, 6.6vw, 84px)); margin: 0; text-align: center; font-weight: 700; font-size: clamp(15px, 1.7vw, 21px); letter-spacing: .08em; color: var(--bar-ink); opacity: 0; animation: opIn .25s ease .1s forwards, opFade .2s ease .92s forwards; }
.op-num { position: absolute; left: 50%; top: 50%; z-index: 2; margin: 0; transform: translate(-50%, -50%); font-family: var(--num); font-weight: 800; font-size: clamp(60px, 12vw, 150px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; color: var(--ink); text-shadow: 0 4px 40px rgba(255, 255, 255, .9); opacity: 0; animation: opIn .25s ease .12s forwards, opNum .4s cubic-bezier(.65, 0, .25, 1) .95s forwards; }
.op-yen { margin-right: .04em; font-size: .52em; vertical-align: .62em; color: var(--bar-ink); }
.op-count { --tn-k: calc((var(--tn-n) - 500) / 1000); --tn-r: calc(var(--tn-n) - var(--tn-k) * 1000); counter-reset: tnk var(--tn-k) tnr var(--tn-r); animation: opCount .7s cubic-bezier(.15, .7, .25, 1) .15s both; }
.op-count::after { content: counter(tnk) "," counter(tnr, tn-pad3); }
@keyframes opCount { from { --tn-n: 10000; } to { --tn-n: 25800; } }
/* 28日（火）のマスへ縮んで入る：マスの中心はステージの中心から (-2/7, +0.2) × G */
@keyframes opNum { 80% { opacity: 1; } to { transform: translate(calc(-50% - var(--G) * .28571), calc(-50% + var(--G) * .2)) scale(.1); opacity: 0; } }

/* 2手目：月のマスが現れ、一日ずつ時間帯の色で埋まる */
.op-grid { position: absolute; inset: 0; border-radius: 12px; background-color: #fff; background-image: linear-gradient(90deg, var(--rule) 1px, transparent 1px), linear-gradient(var(--rule) 1px, transparent 1px); background-size: var(--cw) 100%, 100% var(--ch); box-shadow: 0 0 0 1px var(--rule), 0 40px 70px -40px rgba(27, 34, 50, .4); opacity: 0; animation: opIn .3s ease .75s forwards, opFade .25s ease 1.85s forwards; }
.op-dow { position: absolute; left: 0; right: 0; bottom: 100%; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding-bottom: 6px; text-align: center; font-size: clamp(11px, 1.2vw, 14px); font-weight: 700; color: var(--ink-2); }
.op-dow span:nth-child(6) { color: #2563eb; }
.op-dow span:nth-child(7) { color: #dc2626; }
.op-grid > b { position: absolute; font-family: var(--num); font-weight: 700; font-size: clamp(9px, calc(var(--G) * .017), 13px); line-height: 1; color: #6b7280; }
.op-ring { position: absolute; left: var(--cw); top: calc(var(--ch) * 4); width: var(--cw); height: var(--ch); border-radius: 6px; box-shadow: inset 0 0 0 2.5px var(--bar); opacity: 0; animation: opRing .7s ease-out 1.27s forwards; }
@keyframes opRing { 0% { opacity: 0; box-shadow: inset 0 0 0 2.5px var(--bar), 0 0 0 0 rgba(245, 145, 58, .6); } 30% { opacity: 1; } 100% { opacity: 1; box-shadow: inset 0 0 0 2.5px var(--bar), 0 0 0 calc(var(--G) * .03) rgba(245, 145, 58, 0); } }
.op-bars { position: absolute; inset: 0; }
.op-bars i { position: absolute; width: calc(var(--cw) * .36); transform-origin: 50% 100%; animation: opFly .5s cubic-bezier(.65, 0, .25, 1) calc(1.95s + var(--fd)) forwards; }
/* 時間帯の色（アプリの Dinner の青・Lunch & Cafe の山吹・Morning の桃） */
.op-bars i::before, .op-bars i::after { content: ""; position: absolute; inset: 0; border-radius: 2px 2px 0 0; }
.op-bars i::before { background: linear-gradient(to top, #3b82f6 0 45%, #f59e0b 45% 80%, #f472b6 80% 100%); transform: scaleY(0); transform-origin: 50% 100%; animation: opGrow .4s cubic-bezier(.2, .8, .2, 1) var(--gd) forwards; }
/* 報告書の棒になると、日次売上の棒の橙に */
.op-bars i::after { background: var(--bar); opacity: 0; animation: opIn .3s ease 2.15s forwards; }
@keyframes opGrow { to { transform: scaleY(1); } }
@keyframes opFly { to { transform: translate(var(--tx), var(--ty)) scale(0.37634, 4.8); } }
.op-say { position: absolute; left: -12vw; right: -12vw; top: calc(100% + clamp(18px, 3.4vh, 38px)); margin: 0; text-align: center; font-weight: 700; font-size: clamp(18px, 2.4vw, 30px); letter-spacing: .04em; color: var(--ink); opacity: 0; }
.op-say-1 { animation: opUp .35s ease 1.15s forwards, opFade .2s ease 1.85s forwards; }

/* 3手目：マスが一列に並んで、7月の報告書の棒になる */
.op-base { position: absolute; left: 0; right: 0; top: calc(var(--G) * 0.47); height: 2px; background: var(--ink); opacity: 0; transform: scaleX(0); transform-origin: 0 50%; animation: opBase .45s ease 2.1s forwards; }
@keyframes opBase { to { opacity: .45; transform: none; } }
.op-total { position: absolute; left: 0; top: calc(var(--G) * .02); display: flex; align-items: baseline; gap: 12px; margin: 0; opacity: 0; animation: opUp .35s ease 2.2s forwards; }
.op-total span { font-weight: 700; font-size: clamp(13px, 1.5vw, 17px); color: var(--ink-2); }
.op-total b { font-family: var(--num); font-weight: 800; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.op-say-2 { animation: opUp .35s ease 2.2s forwards; }

/* 4手目：TenpoNote が真ん中に出て、ヘッダーの店名の位置にぴったり収まる */
.op-brand { position: fixed; left: var(--gutter); top: 15px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--num); font-weight: 800; font-size: 20px; line-height: 1.9; letter-spacing: -.01em; color: var(--ink); opacity: 0; transform: translate(calc(50vw - var(--gutter) - 50%), calc(50svh - 15px - 50%)) scale(2.6); animation: opIn .25s ease 2.9s forwards, opBrand .45s cubic-bezier(.65, 0, .25, 1) 3.15s forwards, opFade .2s ease 3.6s forwards; }
.op-brand img { width: 30px; height: 30px; border-radius: 8px; }
@keyframes opBrand { to { transform: none; } }
.op-skip { position: absolute; right: var(--gutter); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 3; border: 0; border-radius: 999px; padding: 8px 18px; background: rgba(27, 34, 50, .78); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .1em; cursor: pointer; opacity: 0; animation: opIn .3s ease .5s forwards, opFade .2s ease 2.75s forwards; }

@keyframes opIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes opFade { from { opacity: 1; } to { opacity: 0; } }
@keyframes opUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes opEnd { to { visibility: hidden; pointer-events: none; } }

/* 幕が上がると、ヒーローが下から入る（写真は少し寄った所から戻る） */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroPhoto { from { transform: scale(1.06); } to { transform: none; } }
.op-on .hero-copy > * { animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) 3.38s both; }
.op-on .hero-copy > :nth-child(2) { animation-delay: 3.44s; }
.op-on .hero-copy > :nth-child(3) { animation-delay: 3.5s; }
.op-on .hero-copy > :nth-child(4) { animation-delay: 3.56s; }
.op-on .hero-copy > :nth-child(5) { animation-delay: 3.62s; }
.op-on .hero-device { animation: heroIn 1s cubic-bezier(.2, .7, .2, 1) 3.3s both; }
.op-on .hero-photo { animation: heroPhoto 1.6s cubic-bezier(.2, .7, .2, 1) 3.1s both; }
.op-on .site-head { animation: opIn .3s ease 3.5s both; }
/* とばしたとき：幕だけ0.3秒で消し、ヒーローはそのまま出す */
.op-skipping .op { animation: opAllOut .3s ease forwards !important; }
.op-skipping .hero-copy > *, .op-skipping .hero-device, .op-skipping .hero-photo, .op-skipping .site-head { animation: none !important; }
@keyframes opAllOut { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@media (max-width: 760px) {
  .op-brand { font-size: 18px; transform: translate(calc(50vw - var(--gutter) - 50%), calc(50svh - 15px - 50%)) scale(2.1); }
  .op-stage { transform: translate(-50%, -52%); }
}

/* 日ごとの位置（2026年7月・デモ店の売上。高さは日の売上に比例し、足すと ¥2,443,912） */
.op-grid > b:nth-of-type(1) { left: calc(var(--cw) * 2 + 5px); top: calc(var(--ch) * 0 + 3px); }
.op-grid > b:nth-of-type(2) { left: calc(var(--cw) * 3 + 5px); top: calc(var(--ch) * 0 + 3px); }
.op-grid > b:nth-of-type(3) { left: calc(var(--cw) * 4 + 5px); top: calc(var(--ch) * 0 + 3px); }
.op-grid > b:nth-of-type(4) { left: calc(var(--cw) * 5 + 5px); top: calc(var(--ch) * 0 + 3px); }
.op-grid > b:nth-of-type(5) { left: calc(var(--cw) * 6 + 5px); top: calc(var(--ch) * 0 + 3px); }
.op-grid > b:nth-of-type(6) { left: calc(var(--cw) * 0 + 5px); top: calc(var(--ch) * 1 + 3px); }
.op-grid > b:nth-of-type(7) { left: calc(var(--cw) * 1 + 5px); top: calc(var(--ch) * 1 + 3px); }
.op-grid > b:nth-of-type(8) { left: calc(var(--cw) * 2 + 5px); top: calc(var(--ch) * 1 + 3px); }
.op-grid > b:nth-of-type(9) { left: calc(var(--cw) * 3 + 5px); top: calc(var(--ch) * 1 + 3px); }
.op-grid > b:nth-of-type(10) { left: calc(var(--cw) * 4 + 5px); top: calc(var(--ch) * 1 + 3px); }
.op-grid > b:nth-of-type(11) { left: calc(var(--cw) * 5 + 5px); top: calc(var(--ch) * 1 + 3px); }
.op-grid > b:nth-of-type(12) { left: calc(var(--cw) * 6 + 5px); top: calc(var(--ch) * 1 + 3px); }
.op-grid > b:nth-of-type(13) { left: calc(var(--cw) * 0 + 5px); top: calc(var(--ch) * 2 + 3px); }
.op-grid > b:nth-of-type(14) { left: calc(var(--cw) * 1 + 5px); top: calc(var(--ch) * 2 + 3px); }
.op-grid > b:nth-of-type(15) { left: calc(var(--cw) * 2 + 5px); top: calc(var(--ch) * 2 + 3px); }
.op-grid > b:nth-of-type(16) { left: calc(var(--cw) * 3 + 5px); top: calc(var(--ch) * 2 + 3px); }
.op-grid > b:nth-of-type(17) { left: calc(var(--cw) * 4 + 5px); top: calc(var(--ch) * 2 + 3px); }
.op-grid > b:nth-of-type(18) { left: calc(var(--cw) * 5 + 5px); top: calc(var(--ch) * 2 + 3px); }
.op-grid > b:nth-of-type(19) { left: calc(var(--cw) * 6 + 5px); top: calc(var(--ch) * 2 + 3px); }
.op-grid > b:nth-of-type(20) { left: calc(var(--cw) * 0 + 5px); top: calc(var(--ch) * 3 + 3px); }
.op-grid > b:nth-of-type(21) { left: calc(var(--cw) * 1 + 5px); top: calc(var(--ch) * 3 + 3px); }
.op-grid > b:nth-of-type(22) { left: calc(var(--cw) * 2 + 5px); top: calc(var(--ch) * 3 + 3px); }
.op-grid > b:nth-of-type(23) { left: calc(var(--cw) * 3 + 5px); top: calc(var(--ch) * 3 + 3px); }
.op-grid > b:nth-of-type(24) { left: calc(var(--cw) * 4 + 5px); top: calc(var(--ch) * 3 + 3px); }
.op-grid > b:nth-of-type(25) { left: calc(var(--cw) * 5 + 5px); top: calc(var(--ch) * 3 + 3px); }
.op-grid > b:nth-of-type(26) { left: calc(var(--cw) * 6 + 5px); top: calc(var(--ch) * 3 + 3px); }
.op-grid > b:nth-of-type(27) { left: calc(var(--cw) * 0 + 5px); top: calc(var(--ch) * 4 + 3px); }
.op-grid > b:nth-of-type(28) { left: calc(var(--cw) * 1 + 5px); top: calc(var(--ch) * 4 + 3px); }
.op-grid > b:nth-of-type(29) { left: calc(var(--cw) * 2 + 5px); top: calc(var(--ch) * 4 + 3px); }
.op-grid > b:nth-of-type(30) { left: calc(var(--cw) * 3 + 5px); top: calc(var(--ch) * 4 + 3px); }
.op-grid > b:nth-of-type(31) { left: calc(var(--cw) * 4 + 5px); top: calc(var(--ch) * 4 + 3px); }
.op-bars .d1 { left: calc(var(--cw) * 2.32); top: calc(var(--G) * 0.069); height: calc(var(--G) * 0.021); --tx: calc(var(--G) * -0.34101); --ty: calc(var(--G) * 0.38); --gd: 1.38s; --fd: 0.004s; }
.op-bars .d2 { left: calc(var(--cw) * 3.32); top: calc(var(--G) * 0.03722); height: calc(var(--G) * 0.05278); --tx: calc(var(--G) * -0.45161); --ty: calc(var(--G) * 0.38); --gd: 1.39s; --fd: 0.008s; }
.op-bars .d3 { left: calc(var(--cw) * 4.32); top: calc(var(--G) * 0.04828); height: calc(var(--G) * 0.04172); --tx: calc(var(--G) * -0.56221); --ty: calc(var(--G) * 0.38); --gd: 1.4s; --fd: 0.012s; }
.op-bars .d4 { left: calc(var(--cw) * 5.32); top: calc(var(--G) * 0.0489); height: calc(var(--G) * 0.0411); --tx: calc(var(--G) * -0.67281); --ty: calc(var(--G) * 0.38); --gd: 1.41s; --fd: 0.016s; }
.op-bars .d5 { left: calc(var(--cw) * 6.32); top: calc(var(--G) * 0.05075); height: calc(var(--G) * 0.03925); --tx: calc(var(--G) * -0.78341); --ty: calc(var(--G) * 0.38); --gd: 1.42s; --fd: 0.02s; }
.op-bars .d6 { left: calc(var(--cw) * 0.32); top: calc(var(--G) * 0.17366); height: calc(var(--G) * 0.01634); --tx: calc(var(--G) * 0.10599); --ty: calc(var(--G) * 0.28); --gd: 1.43s; --fd: 0.024s; }
.op-bars .d8 { left: calc(var(--cw) * 2.32); top: calc(var(--G) * 0.15116); height: calc(var(--G) * 0.03884); --tx: calc(var(--G) * -0.11521); --ty: calc(var(--G) * 0.28); --gd: 1.44s; --fd: 0.032s; }
.op-bars .d9 { left: calc(var(--cw) * 3.32); top: calc(var(--G) * 0.1641); height: calc(var(--G) * 0.0259); --tx: calc(var(--G) * -0.22581); --ty: calc(var(--G) * 0.28); --gd: 1.45s; --fd: 0.036s; }
.op-bars .d10 { left: calc(var(--cw) * 4.32); top: calc(var(--G) * 0.16445); height: calc(var(--G) * 0.02555); --tx: calc(var(--G) * -0.33641); --ty: calc(var(--G) * 0.28); --gd: 1.46s; --fd: 0.04s; }
.op-bars .d11 { left: calc(var(--cw) * 5.32); top: calc(var(--G) * 0.17203); height: calc(var(--G) * 0.01797); --tx: calc(var(--G) * -0.447); --ty: calc(var(--G) * 0.28); --gd: 1.47s; --fd: 0.044s; }
.op-bars .d12 { left: calc(var(--cw) * 6.32); top: calc(var(--G) * 0.1588); height: calc(var(--G) * 0.0312); --tx: calc(var(--G) * -0.5576); --ty: calc(var(--G) * 0.28); --gd: 1.48s; --fd: 0.048s; }
.op-bars .d13 { left: calc(var(--cw) * 0.32); top: calc(var(--G) * 0.26894); height: calc(var(--G) * 0.02106); --tx: calc(var(--G) * 0.3318); --ty: calc(var(--G) * 0.18); --gd: 1.49s; --fd: 0.052s; }
.op-bars .d15 { left: calc(var(--cw) * 2.32); top: calc(var(--G) * 0.26632); height: calc(var(--G) * 0.02368); --tx: calc(var(--G) * 0.1106); --ty: calc(var(--G) * 0.18); --gd: 1.5s; --fd: 0.06s; }
.op-bars .d16 { left: calc(var(--cw) * 3.32); top: calc(var(--G) * 0.27396); height: calc(var(--G) * 0.01604); --tx: calc(var(--G) * 0); --ty: calc(var(--G) * 0.18); --gd: 1.51s; --fd: 0.064s; }
.op-bars .d17 { left: calc(var(--cw) * 4.32); top: calc(var(--G) * 0.27751); height: calc(var(--G) * 0.01249); --tx: calc(var(--G) * -0.1106); --ty: calc(var(--G) * 0.18); --gd: 1.52s; --fd: 0.068s; }
.op-bars .d18 { left: calc(var(--cw) * 5.32); top: calc(var(--G) * 0.2728); height: calc(var(--G) * 0.0172); --tx: calc(var(--G) * -0.2212); --ty: calc(var(--G) * 0.18); --gd: 1.53s; --fd: 0.072s; }
.op-bars .d19 { left: calc(var(--cw) * 6.32); top: calc(var(--G) * 0.27217); height: calc(var(--G) * 0.01783); --tx: calc(var(--G) * -0.3318); --ty: calc(var(--G) * 0.18); --gd: 1.54s; --fd: 0.076s; }
.op-bars .d20 { left: calc(var(--cw) * 0.32); top: calc(var(--G) * 0.36983); height: calc(var(--G) * 0.02017); --tx: calc(var(--G) * 0.5576); --ty: calc(var(--G) * 0.08); --gd: 1.55s; --fd: 0.08s; }
.op-bars .d22 { left: calc(var(--cw) * 2.32); top: calc(var(--G) * 0.35794); height: calc(var(--G) * 0.03206); --tx: calc(var(--G) * 0.33641); --ty: calc(var(--G) * 0.08); --gd: 1.56s; --fd: 0.088s; }
.op-bars .d23 { left: calc(var(--cw) * 3.32); top: calc(var(--G) * 0.315); height: calc(var(--G) * 0.075); --tx: calc(var(--G) * 0.22581); --ty: calc(var(--G) * 0.08); --gd: 1.57s; --fd: 0.092s; }
.op-bars .d24 { left: calc(var(--cw) * 4.32); top: calc(var(--G) * 0.37426); height: calc(var(--G) * 0.01574); --tx: calc(var(--G) * 0.11521); --ty: calc(var(--G) * 0.08); --gd: 1.58s; --fd: 0.096s; }
.op-bars .d25 { left: calc(var(--cw) * 5.32); top: calc(var(--G) * 0.36956); height: calc(var(--G) * 0.02044); --tx: calc(var(--G) * 0.00461); --ty: calc(var(--G) * 0.08); --gd: 1.59s; --fd: 0.1s; }
.op-bars .d26 { left: calc(var(--cw) * 6.32); top: calc(var(--G) * 0.36996); height: calc(var(--G) * 0.02004); --tx: calc(var(--G) * -0.10599); --ty: calc(var(--G) * 0.08); --gd: 1.6s; --fd: 0.104s; }
.op-bars .d27 { left: calc(var(--cw) * 0.32); top: calc(var(--G) * 0.46078); height: calc(var(--G) * 0.02922); --tx: calc(var(--G) * 0.78341); --ty: calc(var(--G) * -0.02); --gd: 1.61s; --fd: 0.108s; }
.op-bars .d28 { left: calc(var(--cw) * 1.32); top: calc(var(--G) * 0.48282); height: calc(var(--G) * 0.00718); --tx: calc(var(--G) * 0.67281); --ty: calc(var(--G) * -0.02); --gd: 1.27s; --fd: 0.112s; }

/* ---------- 撮影用・動きを減らす ---------- */
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   画面の幅ごと（基本の定義より後ろに置く）
   ========================================================= */
@media (max-width: 1180px) {
  .trades-box { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 108px; row-gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .hero-veil { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.84) 48%, rgba(255,255,255,.2) 68%, rgba(255,255,255,0) 82%); }
  .hero-photo { object-position: 78% 40%; }
  .hero-device { width: min(100%, 640px); justify-self: center; }
  .register-input { grid-template-columns: minmax(0, 1fr); }
  .register-input .stage { justify-self: center; }
  .sec-head-row { grid-template-columns: minmax(0, 1fr); }
  .register-grid { grid-template-columns: minmax(0, 1fr); }
  .receipt-wrap { order: 2; }
  .report-body { grid-template-columns: minmax(0, 1fr); }
  .report-fig { top: 72px; z-index: 0; }
  .report-sheet { width: min(100%, 420px, calc((100svh - 120px) * .7067)); }
  .report-steps { position: relative; z-index: 1; margin-top: 30svh; }
  .step, .step:first-child, .step:last-child { min-height: 0; margin: 0 0 56svh; padding: 20px 22px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -24px rgba(4, 12, 48, .6); }
  .step:last-child { margin-bottom: 10svh; }
  .step.is-on { border: 0; }
  .step-day { color: var(--bar-ink); }
  .step-text { color: #343c4e; font-size: 16px; }
  .step .plan { background: #e7edfd; color: var(--register-deep); }
  .goal-grid { grid-template-columns: minmax(0, 1fr); }
  .goal-phone { order: 2; }
  .phone { width: min(78%, 300px); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-side { position: static; order: 2; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .close-veil { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 55%, rgba(255,255,255,.4) 80%, rgba(255,255,255,.15) 100%); }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .head-nav { display: none; }
  .site-head { justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 18px; }
  .hero { min-height: 100svh; align-items: start; }
  .hero-inner { padding: 88px 20px 0; row-gap: 26px; }
  .hero-photo { object-position: 82% 50%; }
  .hero-veil { background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,.45) 60%, rgba(255,255,255,0) 72%); }
  .kicker { font-size: 12.5px; margin-bottom: 12px; letter-spacing: .04em; }
  .hero-title { font-size: clamp(21px, 7.1vw, 34px); letter-spacing: .01em; }
  .hero-lead { margin-top: 14px; font-size: 14.5px; line-height: 1.85; }
  .br-l { display: none; }
  .hero-cta { margin-top: 18px; gap: 10px; }
  .hero-cta .btn { min-height: 50px; padding: 0 22px; font-size: 15px; }
  .fine { font-size: 12px; margin-top: 10px; }
  .hero-facts { margin-top: 14px; gap: 4px 14px; font-size: 12px; }
  .hero-facts li::before { width: 15px; height: 15px; background-size: 9px; }
  .hero-device { margin-bottom: 26px; }
  .float { padding: 8px 10px; border-radius: 12px; gap: 6px; }
  .f-cell { width: 116px; left: -1%; top: 14%; padding: 8px 10px 9px; gap: 2px; }
  .fc-day { font-size: 13px; }
  .fc-w { right: 9px; top: 8px; font-size: 10px; }
  .f-cell b { font-size: 16px; }
  .f-goal { width: 150px; right: 2%; top: -20%; padding: 7px 10px 9px; }
  .fg-k { font-size: 10.5px; }
  .f-goal b { font-size: 14px; }
  .fg-bar { height: 6px; }
  .f-cost { right: 0; bottom: 12%; font-size: 11.5px; }
  .f-cost b { font-size: 14px; }
  .f-cost .dot { width: 9px; height: 9px; }
  .hero-cap { font-size: 10.5px; }
  .stage { width: min(100%, 400px); margin: 0 auto; gap: 10px; }
  .stage-cal { padding: 8px 10px 10px; }
  .trade-list { gap: 10px; }
  .trade-photo { border-radius: 12px; }
  .trade-name { margin-top: 10px; font-size: 14.5px; }
  .trade-sub { font-size: 11.5px; }
  .trade-photo::after { width: 24px; height: 24px; right: 8px; top: 8px; background-size: 13px; }
  .words-card { padding: 22px 20px; }
  .csv-note { padding: 22px 18px; }
  .notes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .note { padding: 14px 16px; }
  .laptop { margin: 0 -8px; }
  .shift-track { height: 170svh; }
  .shift-fig { padding: 64px 20px 20px; }
  .shot-shift { width: 900px; border-radius: 0; }
  .goal-box { padding: 24px 20px; }
  .goal-actions .btn { width: 100%; white-space: normal; }
  .why-quote::before { font-size: 96px; top: -24px; }
  .why-grow { padding: 20px 18px; }
  .ledger { padding: 4px 14px 14px; border-radius: 18px; }
  .lg-row { grid-template-columns: minmax(0, 1fr) repeat(3, 56px); min-height: 48px; }
  .lg-row > .lg-k { font-size: 13px; line-height: 1.55; padding-right: 8px; }
  .lg-top { top: 60px; min-height: 80px; }
  .lg-p b { font-size: 12px; }
  .lg-p em { font-size: 14px; }
  .lg-p small { display: block; margin: 0; font-size: 10px; }
  .lg-tax { font-size: 11.5px; letter-spacing: 0; }
  .lg-mark::before { inset: 6px 2px; border-radius: 10px; }
  .t { font-size: 11.5px; line-height: 1.4; }
  .faq summary { font-size: 15.5px; gap: 12px; padding: 18px 2px; }
  .faq details p { padding: 0 8px 20px 32px; font-size: 14.5px; }
  .close { padding: 88px 0 96px; }
  .close-photo { object-position: 78% 50%; }
  .close-veil { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.86) 70%, rgba(255,255,255,.7) 100%); }
  .close-cta .btn { flex: 1 1 100%; }
  .foot-c { margin-left: 0; }
}

@media (max-width: 400px) {
  .f-goal { display: none; }
  .hero-cta .btn { padding: 0 16px; font-size: 14px; }
  .lg-row { grid-template-columns: minmax(0, 1fr) repeat(3, 48px); }
  .lg-p em { font-size: 12.5px; letter-spacing: -.02em; }
  .lg-p b { font-size: 11px; }
  .trade-sub { display: none; }
  .btn-s { padding: 0 14px; font-size: 13.5px; }
}

/* 新しい章の幅ごと（基本の定義より後ろ） */
@media (max-width: 960px) {
  .wave { grid-template-columns: minmax(0, 1fr); }
  .cats-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wave-story { grid-template-columns: minmax(0, 1fr); }
  .wave-arrow { margin: 14px auto 18px; transform: rotate(135deg); }
  .cats-card { padding: 20px 12px 14px; border-radius: 18px; }
  .cats-cap { padding: 0 6px; }
  .cat-row { grid-template-columns: 10px minmax(0, 1fr) auto 48px 14px; gap: 8px; }
  .cat-name small { display: block; margin: 0; }
  .cat-row b { font-size: 14.5px; }
  .cat-kids ul, .kids-note { margin-left: 18px; }
  .kids-bar { margin-left: 24px; }
  .cat-kids li { grid-template-columns: minmax(0, 1fr) auto 48px 14px; gap: 8px; font-size: 13.5px; }
  .kid-name small { display: inline-block; margin: 2px 0 0; }
  .band { height: 320px; }
  .band::after { background: linear-gradient(0deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 38%, rgba(255,255,255,0) 60%); }
  .shift-photo { aspect-ratio: 3 / 2; }
}

/* =========================================================
   運営者情報・プライバシーポリシー・404（同じヘッダーと足元を使う）
   ========================================================= */
.head-back { margin-left: auto; color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.head-back:hover { color: var(--register); }
.legal { padding: 132px 0 104px; }
.legal-in { max-width: 720px; margin: 0 auto; }
.legal h1 { margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.45; letter-spacing: .02em; text-wrap: balance; }
.legal-date { margin: 0 0 36px; font-size: 13.5px; color: var(--ink-2); font-family: var(--gothic); }
.legal h2 { margin: 36px 0 10px; padding-top: 26px; border-top: 1px solid var(--rule); font-size: 17.5px; line-height: 1.6; }
.legal ul { margin: 0 0 1em; padding-left: 1.4em; }
.legal li + li { margin-top: 4px; }
.nf { min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 0; padding: 120px var(--gutter) 80px; text-align: center; }
.nf .nf-code { margin: 0 0 10px; font-family: var(--num); font-weight: 800; font-size: clamp(56px, 9vw, 96px); line-height: 1; letter-spacing: -.02em; color: var(--bar); }
.nf h1 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 30px); line-height: 1.5; }
.nf p { margin: 0 0 28px; color: var(--ink-2); }
@media (max-width: 760px) {
  .legal { padding: 104px 0 80px; }
  .legal h2 { margin-top: 30px; padding-top: 22px; font-size: 16.5px; }
}
