/* =====================================================================
   メクバリ LP — スタイル
   色・書体・角丸・影は製品のデザイントークン（web/src/lib/design-tokens.ts /
   docs/spec/24 トンマナ）に合わせる。LP なので文字サイズだけ製品より大きく取る。
   - 日本語: Noto Sans JP（見出し 800/900・本文 400/500）
   - 数値・英字ラベル: Inter
   - 意味のある色: Primary=操作・強調 / Success=活用 / Danger=リスク（未承認・機微）
   - グラデーション・テクスチャ・ハードシャドウは使わない
   ===================================================================== */

:root {
  /* ブランド */
  --primary: #0B5DB8;
  --primary-d: #094C97;
  --sky: #3BB9F5;
  --tint: #EAF1FB;
  --ink: #16203F;

  /* ニュートラル */
  --canvas: #F7F8FB;
  --surface: #FFFFFF;
  --border: #ECEFF5;
  --border-strong: #E4E8F0;
  --border-hover: #CFE0F6;
  --divider: #F1F4FA;
  --fill: #F8FAFC;
  --mid: #41506F;
  --muted: #7B8698;
  --faint: #A3ADC0;

  /* セマンティック */
  --success: #109657;
  --success-tint: #E7F5EE;
  --danger: #DC2626;
  --danger-tint: #FDECEC;
  --caution: #EF5315;
  --ref: #CBD3E1;

  /* 部品 */
  --r-badge: 6px;
  --r-control: 9px;
  --r-card: 14px;
  --r-outer: 18px;
  --sh-sm: 0 1px 2px rgba(22, 32, 63, .06);
  --sh-md: 0 4px 12px rgba(22, 32, 63, .08);
  --sh-lg: 0 12px 28px rgba(22, 32, 63, .12);

  --jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --num: "Inter", system-ui, sans-serif;

  --hd: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--jp);
  font-size: 17px;
  line-height: 2;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pc { display: inline; }
.sp { display: none; }
@media (max-width: 640px) { .pc { display: none; } .sp { display: inline; } }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap, .narrow { padding: 0 16px; } body { font-size: 16px; } }

h1, h2, h3 { margin: 0; font-feature-settings: "palt"; letter-spacing: .01em; }
.num { font-family: var(--num); font-feature-settings: "tnum"; letter-spacing: -.025em; }

/* ---------- 読了プログレス ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--sky); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- ヘッダー ---------- */
.site-hd { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.hd { display: flex; align-items: center; gap: 24px; height: var(--hd); }
.logo { display: block; flex: 0 0 auto; }
.logo img { height: 28px; width: auto; }
.hnav { display: flex; gap: 22px; margin-left: auto; font-size: 13.5px; font-weight: 700; }
.hnav a { color: var(--mid); text-decoration: none; white-space: nowrap; transition: color .15s; }
.hnav a:hover, .hnav a.on { color: var(--primary); }
@media (max-width: 1000px) { .hnav { display: none; } .hd .btn { margin-left: auto; } }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: var(--r-control); font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); box-shadow: var(--sh-md); }
.btn-secondary { background: var(--surface); color: var(--mid); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--border-hover); color: var(--primary); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { box-shadow: var(--sh-lg); }
.btn-sm { font-size: 13.5px; padding: 10px 18px; }
.btn-lg { font-size: 17px; padding: 18px 30px; }
.btn .ar { font-family: var(--num); transition: transform .2s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
@media (max-width: 640px) { .btn-lg { width: 100%; font-size: 16px; } .hd .btn-sm { padding: 9px 12px; font-size: 12.5px; } }

/* ---------- 汎用：セクション ---------- */
section { padding: 120px 0; position: relative; }
@media (max-width: 640px) { section { padding: 80px 0; } }
.bg-canvas { background: var(--canvas); }
.bg-ink { background: var(--ink); color: #fff; }

.label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; }
.label .en { font-family: var(--num); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.label .ja { font-size: 14px; font-weight: 700; color: var(--primary); padding-left: 14px; position: relative; }
.label .ja::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 2px; background: var(--primary); transform: translateY(-50%); }
.bg-ink .label .en { color: var(--sky); }
.bg-ink .label .ja { color: var(--sky); }
.bg-ink .label .ja::before { background: var(--sky); }

.h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; line-height: 1.45; margin: 0 0 24px; }
.lede { font-size: clamp(16px, 1.6vw, 18px); line-height: 2.05; color: var(--mid); max-width: 720px; margin: 0; }
.lede b { color: var(--ink); }
.bg-ink .lede { color: rgba(255, 255, 255, .78); }
.bg-ink .lede b { color: #fff; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .label { justify-content: center; }

/* 蛍光マーカー：表示されたら左から引かれる（読む位置の合図） */
.mk { background-image: linear-gradient(rgba(59, 185, 245, .32), rgba(59, 185, 245, .32)); background-repeat: no-repeat; background-position: 0 88%; background-size: 0% .38em; padding: 0 .08em; transition: background-size 1s var(--ease) .25s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.in .mk, .mk.in, .no-js .mk { background-size: 100% .38em; }
.c-primary { color: var(--primary); }
.c-danger { color: var(--danger); }
.bg-ink .c-primary { color: var(--sky); }

/* 次のセクションへの「問い」 */
.next-q { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 84px auto 0; text-decoration: none; color: var(--ink); max-width: 640px; text-align: center; }
.next-q small { font-family: var(--num); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.next-q span { font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; line-height: 1.6; }
.next-q i { width: 1px; height: 44px; background: var(--border-hover); position: relative; overflow: hidden; }
.next-q i::after { content: ""; position: absolute; left: 0; top: -44px; width: 1px; height: 44px; background: var(--primary); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 44px; } }
.bg-ink .next-q { color: #fff; }
.bg-ink .next-q i { background: rgba(255, 255, 255, .2); }
.bg-ink .next-q i::after { background: var(--sky); }

/* ---------- スクロールで現れる ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- カード ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--sh-sm); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: 72px 0 96px; background: var(--canvas); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: 44px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--primary); background: var(--tint); border-radius: var(--r-badge); padding: 6px 12px; margin: 0 0 28px; line-height: 1.6; }
.kick .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: blink 1.6s ease-in-out infinite; flex: 0 0 auto; }
@keyframes blink { 50% { opacity: .25; } }
.hero h1 { font-size: clamp(24px, 7.1vw, 50px); font-weight: 900; line-height: 1.36; }
@media (min-width: 1001px) { .hero h1 { font-size: clamp(32px, 3.05vw, 44px); } }
.hero h1 .ln { display: block; white-space: nowrap; }
.js .hero h1 .ln { opacity: 0; transform: translateY(.4em); animation: rise .9s var(--ease) forwards; }
.js .hero h1 .ln:nth-child(2) { animation-delay: .12s; }
.js .hero h1 .ln:nth-child(3) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 .c-primary { position: relative; }
.hero .lead { font-size: clamp(16px, 1.55vw, 18px); line-height: 2.05; color: var(--mid); margin: 30px 0 0; max-width: 560px; }
.hero .lead b { color: var(--ink); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.hero .actions .sub { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 12.5px; font-weight: 700; color: var(--mid); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-badge); padding: 4px 10px; line-height: 1.7; }
.chips li.soon { color: var(--muted); border-style: dashed; }

/* =====================================================================
   ギャップ（使っている人 vs 会社が把握）
   ===================================================================== */
.gap { margin-top: 56px; display: grid; gap: 26px; }
.gap-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
@media (max-width: 720px) { .gap-row { grid-template-columns: 1fr; gap: 8px; } }
.gap-row .k { font-size: 15px; font-weight: 700; line-height: 1.6; }
.gap-row .k small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.bar-track { position: relative; height: 64px; border-radius: var(--r-control); background: var(--divider); overflow: visible; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: var(--r-control); background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.bar-fill.known { background: var(--primary); }
.in .bar-fill { transform: scaleX(1); }
.bar-val { position: absolute; top: 50%; transform: translateY(-50%); left: 18px; color: #fff; font-family: var(--num); font-weight: 800; font-size: 30px; letter-spacing: -.025em; line-height: 1; z-index: 2; }
.bar-val small { font-family: var(--jp); font-size: 17px; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.bar-hole { position: absolute; top: -6px; bottom: -6px; left: var(--from); right: var(--to); border: 2px dashed var(--danger); border-radius: var(--r-control); opacity: 0; transition: opacity .6s 1.4s; display: flex; align-items: center; justify-content: center; }
.in .bar-hole { opacity: 1; }
.bar-hole span { font-size: clamp(12px, 1.5vw, 15px); font-weight: 800; color: var(--danger); background: var(--surface); padding: 0 8px; line-height: 1.5; white-space: nowrap; }
@media (max-width: 720px) { .bar-track { height: 52px; } .bar-val { font-size: 24px; left: 12px; } }

.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr; } }
.fact { padding: 28px 26px; }
.fact .no { font-family: var(--num); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.fact h3 { font-size: 19px; font-weight: 800; line-height: 1.6; margin: 10px 0 12px; }
.fact p { margin: 0; font-size: 14.5px; line-height: 2; color: var(--mid); }
.fact .stat { font-family: var(--num); font-weight: 800; color: var(--ink); }
.src { font-size: 12px; color: var(--muted); margin: 28px 0 0; line-height: 1.9; border-left: 2px solid var(--border-strong); padding-left: 14px; }

/* =====================================================================
   本命の主張（1文ずつ読ませる）
   ===================================================================== */
.essay { font-size: clamp(17px, 2vw, 21px); line-height: 2.15; font-weight: 500; }
.essay p { margin: 0 0 30px; }
.js .essay .s { color: var(--ink); opacity: var(--o, .18); transition: opacity .25s linear; }
.essay .intro { text-align: center; font-weight: 700; font-size: clamp(16px, 1.9vw, 19px); color: var(--mid); }
.shout { font-size: clamp(28px, 5vw, 52px); font-weight: 900; line-height: 1.45; text-align: center; margin: 44px 0 64px; font-feature-settings: "palt"; }
.shout.m { font-size: clamp(24px, 4vw, 40px); }
.ask { text-align: center; margin: 56px 0; }
.ask small { display: block; font-size: 13px; font-weight: 700; color: var(--danger); margin-bottom: 8px; }
.ask div { font-size: clamp(22px, 3.4vw, 34px); font-weight: 900; line-height: 1.55; }
.voices { display: flex; flex-direction: column; gap: 14px; margin: 64px 0 20px; }
.voice { align-self: flex-start; max-width: 80%; font-size: clamp(15px, 1.8vw, 18px); font-weight: 700; color: var(--mid); background: var(--canvas); border: 1px solid var(--border); border-radius: 18px 18px 18px 4px; padding: 12px 20px; line-height: 1.8; }
.voice:nth-child(2) { align-self: flex-end; border-radius: 18px 18px 4px 18px; }
.js .voice.rv { transform: translateX(-24px); }
.js .voice.rv:nth-child(2) { transform: translateX(24px); }
.js .voice.rv.in { transform: none; }
.answer { text-align: center; font-size: clamp(26px, 4.4vw, 44px); font-weight: 900; color: var(--primary); margin: 36px 0 44px; line-height: 1.5; }
.remember { text-align: center; margin-top: 80px; }
.remember p { font-weight: 700; margin: 0 0 6px; font-size: clamp(16px, 1.9vw, 19px); }

/* =====================================================================
   2段階（見る → 止める）
   ===================================================================== */
.stages { margin-top: 56px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
@media (max-width: 1000px) { .stages { grid-template-columns: 1fr; } }
.stage-tabs { display: flex; flex-direction: column; gap: 12px; }
.stage-consult { margin-top: 24px; padding: 20px 22px 0; border-top: 1px solid var(--border); }
.stage-consult .consult-label { color: var(--primary); font-size: 12px; font-weight: 700; margin: 0 0 6px; }
.stage-consult h3 { font-size: 20px; margin: 0 0 6px; }
.stage-consult p { font-size: 14px; line-height: 1.9; color: var(--mid); margin: 0; }
.stage-tab { display: block; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px 22px; cursor: pointer; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.stage-tab:hover { border-color: var(--border-hover); }
.stage-tab[aria-selected="true"] { border-color: var(--primary); box-shadow: var(--sh-md); }
.stage-tab .top { display: flex; align-items: center; gap: 10px; }
.stage-tab .step { font-family: var(--num); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.stage-tab[aria-selected="true"] .step { color: var(--primary); }
.stage-tab .plan { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--mid); background: var(--divider); border-radius: var(--r-badge); padding: 1px 8px; }
.stage-tab h3 { font-size: 20px; font-weight: 800; margin: 6px 0 4px; line-height: 1.5; }
.stage-tab p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--mid); }
.stage-tab .timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(0); }
.stage-tab[aria-selected="true"] .timer.run { animation: timer var(--dur, 6s) linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }

.stage-panel[hidden] { display: none; }

/* ポリシー表 */
.policy { margin-top: 72px; }
.policy h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.policy > p { margin: 0 0 20px; font-size: 14.5px; color: var(--mid); line-height: 1.9; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--sh-sm); }
.ptbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; line-height: 1.6; }
.ptbl th, .ptbl td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.ptbl thead th { background: var(--fill); font-size: 12.5px; font-weight: 700; color: var(--mid); }
.ptbl tbody tr:last-child th, .ptbl tbody tr:last-child td { border-bottom: 0; }
.ptbl tbody th { font-weight: 700; width: 34%; }
.ptbl tbody th small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.act { display: inline-block; font-size: 12.5px; font-weight: 700; border-radius: var(--r-badge); padding: 2px 10px; }
.act-rec { color: var(--mid); background: var(--divider); }
.act-block { color: var(--danger); background: var(--danger-tint); }
.js .ptbl td .act { opacity: 0; transform: scale(.85); transition: opacity .4s, transform .4s var(--ease); transition-delay: var(--d, 0s); }
.js .in .ptbl td .act { opacity: 1; transform: none; }

/* プラン */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; box-shadow: 0 1px 2px rgba(22, 32, 63, .04), 0 18px 40px -20px rgba(22, 32, 63, .18); }
/* プラン名は色付きのヘッダーで示す。個別見積はプランではないので色を付けない */
.plan-hd { position: relative; isolation: isolate; overflow: hidden; padding: 30px 28px 28px; color: #fff; background: linear-gradient(140deg, #2F80E0 0%, var(--primary) 48%, var(--primary-d) 100%); }
.plan-hd::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 14px 14px; mask-image: linear-gradient(200deg, #000 0%, transparent 60%); }
.plan-hd::after { content: ""; position: absolute; right: -70px; top: -90px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 68%); }
.plan-card.block .plan-hd { background: linear-gradient(140deg, #34457E 0%, var(--ink) 52%, #0C1430 100%); }
.plan-card.custom { background: transparent; border: 1.5px dashed var(--border-strong); box-shadow: none; }
.plan-card.custom .plan-hd { background: var(--canvas); color: var(--ink); }
.plan-card.custom .plan-hd::before, .plan-card.custom .plan-hd::after { display: none; }
.plan-card .what { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); }
.plan-card.custom .what { background: var(--surface); border-color: var(--border-strong); color: var(--mid); }
.plan-card h3 { font-size: 26px; font-weight: 900; letter-spacing: .01em; margin: 16px 0 0; }
.plan-card .for { margin: 6px 0 0; min-height: 3.6em; font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .8); }
@media (max-width: 900px) { .plan-card .for { min-height: 0; } }
.plan-card.custom .for { color: var(--mid); }
.plan-inc { margin: 24px 28px 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.plan-card ul { margin: 0; padding: 12px 28px 28px; list-style: none; font-size: 14px; line-height: 1.8; }
.plan-card li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--mid); }
.plan-card li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.2 2.3 2.3 4.7-4.9' fill='none' stroke='%230B5DB8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan-card.block li::before { background-color: #E7EAF3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.2 2.3 2.3 4.7-4.9' fill='none' stroke='%2316203F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-card.custom li::before { background-color: var(--divider); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.2 2.3 2.3 4.7-4.9' fill='none' stroke='%237B8698' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-card li.inh { font-weight: 700; color: var(--ink); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--divider); }
.plan-card li.inh::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 5.5v7M5.5 9h7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.plan-card .surf { margin-top: auto; padding-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.plan-note { font-size: 13px; color: var(--muted); margin: 20px 0 0; line-height: 1.9; }

/* =====================================================================
   管理画面（固定スクリーン＋スクロールで解説が進む）
   ===================================================================== */
.tour { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; margin-top: 56px; }
@media (max-width: 1000px) { .tour { grid-template-columns: 1fr; gap: 0; } }
.tour-screen { position: sticky; top: calc(var(--hd) + 32px); align-self: start; }
@media (max-width: 1000px) { .tour-screen { display: none; } }
.shot { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-outer); box-shadow: var(--sh-lg); overflow: hidden; }
.shot-stage { position: relative; aspect-ratio: 16 / 10; background: var(--canvas); overflow: hidden; }
.shot-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 0%); opacity: 0; transition: opacity .6s var(--ease); }
.shot-stage img.on { opacity: 1; }
.tour-cap { font-size: 12px; color: var(--faint); margin: 12px 0 0; text-align: right; }
.tour-steps { padding: 8vh 0 20vh; }
@media (max-width: 1000px) { .tour-steps { padding: 0; } }
.tour-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .4s; }
.tour-step.on { opacity: 1; }
@media (max-width: 1000px) { .tour-step { min-height: 0; opacity: 1; padding: 40px 0; border-top: 1px solid var(--border); } .tour-step:first-child { border-top: 0; padding-top: 0; } }
.tour-step .en { font-family: var(--num); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.tour-step h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; line-height: 1.55; margin: 8px 0 12px; }
.tour-step p { margin: 0; font-size: 15.5px; line-height: 2; color: var(--mid); }
.tour-step .m-shot { display: none; margin-top: 20px; }
@media (max-width: 1000px) { .tour-step .m-shot { display: block; border: 1px solid var(--border-strong); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-md); } }

/* =====================================================================
   12のパターン（自己チェック）
   ===================================================================== */
.check { margin-top: 48px; }
.cgroup { margin-top: 36px; }
.cgroup-hd { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 14px; }
.cgroup-hd .gid { font-family: var(--num); font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); border-radius: var(--r-badge); padding: 3px 10px; letter-spacing: .06em; }
.cgroup-hd .t { font-size: 17px; font-weight: 800; }
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cgrid { grid-template-columns: 1fr; } }
.ccell { position: relative; display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px 16px 14px; cursor: pointer; box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.ccell:hover { border-color: var(--border-hover); box-shadow: var(--sh-md); transform: translateY(-2px); }
.ccell .n { font-family: var(--num); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.ccell .h { font-size: 15px; font-weight: 800; line-height: 1.6; margin: 4px 0 6px; padding-right: 28px; }
.ccell .d { font-size: 12.5px; line-height: 1.85; color: var(--mid); }
.ccell .box { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.ccell .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease); }
.ccell .cov { margin-top: 12px; font-size: 11.5px; font-weight: 700; border-radius: var(--r-badge); padding: 3px 8px; align-self: flex-start; line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: max-height .35s var(--ease), opacity .3s, padding .35s; }
.ccell[aria-pressed="true"] { border-color: var(--primary); box-shadow: var(--sh-md); }
.ccell[aria-pressed="true"] .box { background: var(--primary); border-color: var(--primary); }
.ccell[aria-pressed="true"] .box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ccell[aria-pressed="true"] .cov { max-height: 60px; opacity: 1; padding-top: 3px; padding-bottom: 3px; }
.cov.live { color: var(--success); background: var(--success-tint); }
.cov.soon { color: var(--primary); background: var(--tint); }
.cov.part { color: var(--mid); background: var(--divider); }

.tally { position: sticky; bottom: 16px; z-index: 20; margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 16px 20px; box-shadow: var(--sh-lg); }
.tally .cnt { font-family: var(--num); font-weight: 800; font-size: 34px; letter-spacing: -.025em; line-height: 1; min-width: 88px; }
.tally .cnt small { font-size: 15px; color: rgba(255, 255, 255, .5); margin-left: 2px; }
.tally .msg-t { flex: 1; min-width: 220px; font-size: 14.5px; line-height: 1.8; }
.tally .msg-t b { color: var(--sky); }
.tally .btn { font-size: 14px; padding: 11px 18px; }
.tally.bump .cnt { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.18); } }
@media (max-width: 640px) { .tally { gap: 10px 14px; padding: 14px 16px; } .tally .cnt { font-size: 28px; min-width: 0; } .tally .btn { width: 100%; } }
.note { font-size: 13px; color: var(--muted); line-height: 2; margin: 28px 0 0; border-left: 2px solid var(--border-strong); padding-left: 14px; }

/* =====================================================================
   選ばれる理由
   ===================================================================== */
.reasons { margin-top: 56px; }
.reason { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.reason:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 640px) { .reason { grid-template-columns: 1fr; gap: 6px; padding: 28px 0; } }
.reason .no { font-family: var(--num); font-size: clamp(36px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--sky); }
.reason h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; line-height: 1.55; margin: 0 0 10px; }
.reason p { margin: 0; font-size: 15px; line-height: 2; color: rgba(255, 255, 255, .78); }

/* =====================================================================
   導入の流れ
   ===================================================================== */
.flow { position: relative; margin-top: 56px; padding-left: 64px; }
.flow::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--border-strong); }
.flow .rail { position: absolute; left: 19px; top: 8px; width: 2px; height: calc(100% - 16px); background: var(--primary); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.fstep { position: relative; padding: 0 0 44px; }
.fstep:last-child { padding-bottom: 0; }
.fstep .sn { position: absolute; left: -64px; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--num); font-weight: 800; font-size: 15px; color: var(--muted); background: var(--surface); border: 2px solid var(--border-strong); transition: background-color .3s, color .3s, border-color .3s; }
.fstep.on .sn { background: var(--primary); border-color: var(--primary); color: #fff; }
.fstep h3 { font-size: 19px; font-weight: 800; margin: 4px 0 6px; line-height: 1.55; }
.fstep p { margin: 0; font-size: 15px; line-height: 2; color: var(--mid); max-width: 680px; }
.fstep .meta { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--primary); background: var(--tint); border-radius: var(--r-badge); padding: 2px 10px; }
@media (max-width: 640px) { .flow { padding-left: 52px; } .fstep .sn { left: -52px; width: 34px; height: 34px; font-size: 13px; } .flow::before, .flow .rail { left: 16px; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { margin-top: 44px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; font-weight: 800; font-size: 16.5px; line-height: 1.8; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--num); color: var(--primary); margin-right: 12px; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 26px 26px; font-size: 15px; line-height: 2.05; color: var(--mid); }
.faq .a small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* =====================================================================
   最終CTA / フッター
   ===================================================================== */
.final { text-align: center; }
.final h2 { font-size: clamp(28px, 4.6vw, 48px); font-weight: 900; line-height: 1.5; margin: 0 0 28px; }
.final p { font-size: 16px; line-height: 2.05; color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0 auto 8px; }
.final .hl { color: #fff; font-weight: 800; }
.final .nums { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 36px 0 40px; padding: 0; list-style: none; }
.final .nums li { border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-card); padding: 16px 22px; min-width: 150px; }
.final .nums .v { font-family: var(--num); font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.final .nums .v small { font-family: var(--jp); font-size: 14px; margin-left: 2px; }
.final .nums .k { font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 6px; }
.final .small { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-top: 18px; }

.site-ft { background: #0F1730; color: rgba(255, 255, 255, .55); padding: 48px 0 40px; font-size: 13px; }
.site-ft .top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 24px; }
.site-ft .top img { height: 26px; width: auto; }
.site-ft .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-ft a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-ft a:hover { color: #fff; }
.site-ft .cr { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; font-size: 12px; line-height: 1.95; }

/* モバイル追従CTA */
.m-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none; transform: translateY(140%); transition: transform .4s var(--ease); }
.m-cta .btn { width: 100%; box-shadow: var(--sh-lg); padding: 15px 20px; font-size: 15px; }
.m-cta.show { transform: none; }
@media (max-width: 640px) { .m-cta { display: block; } }

/* =====================================================================
   動きを減らす設定の人には、アニメーションを止めて最終状態を見せる
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .essay .s { opacity: 1; }
  .mk { background-size: 100% .38em; }
  .bar-fill { transform: none; }
  .bar-hole { opacity: 1; }
  .tour-step { opacity: 1; }
}

.m-shot.crop-bottom img { aspect-ratio: 16 / 8; width: 100%; object-fit: cover; object-position: 50% 100%; }


/* 管理画面ツアー：画面を大きく */
.tour { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; }
.tour-step { min-height: 54vh; }
@media (max-width: 1000px) { .tour { grid-template-columns: 1fr; } .tour-step { min-height: 0; } }


.stage-tab .step { font-family: var(--jp); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 640px) { .tally { bottom: 12px; } }

/* =====================================================================
   ヒーロー：訴求まわり
   ===================================================================== */
.hero .kick { margin-bottom: 22px; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 30px 0 0; max-width: 520px; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.proof > div { padding: 14px 12px 12px; border-left: 1px solid var(--border-strong); }
.proof > div:first-child { border-left: 0; padding-left: 0; }
.proof dt { font-size: 11.5px; font-weight: 700; color: var(--muted); line-height: 1.5; }
.proof dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; line-height: 1.2; }
.proof dd .num { font-size: 28px; font-weight: 800; }
.proof dd small { font-size: 13px; margin-left: 2px; }
.hero .actions { margin-top: 28px; }
.hero-note { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; display: flex; flex-wrap: wrap; gap: 0 14px; }
.hero-note span { white-space: nowrap; }
@media (max-width: 640px) { .proof dd .num { font-size: 22px; } .proof dt { font-size: 10.5px; } }

/* デモ下のステップ表示（LP側の注釈。製品の画面ではない） */
.demo-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: ds; }
.demo-steps li { counter-increment: ds; position: relative; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--faint); padding-top: 12px; transition: color .3s; }
.demo-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--border-strong); transition: background-color .3s; }
.demo-steps li::after { content: counter(ds); font-family: var(--num); margin-right: 6px; }
.demo-steps li.on { color: var(--ink); }
.demo-steps li.on::before, .demo-steps li.done::before { background: var(--primary); }
.demo-steps li.done { color: var(--mid); }
.demo-steps li::after { display: none; }
@media (max-width: 640px) { .demo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; } }

/* =====================================================================
   製品モック：設計サイズで描いて、枠に合わせて縮小する
   （文字や部品の比率が崩れず、どの画面幅でも同じ見え方になる）
   ===================================================================== */
.fit { position: relative; width: 100%; height: calc(var(--dh) * var(--s, .5) * 1px); }
.fit > .dsk { position: absolute; left: 0; top: 0; width: calc(var(--dw) * 1px); height: calc(var(--dh) * 1px); transform: scale(var(--s, .5)); transform-origin: 0 0; }
.hero-fit { --dw: 960; --dh: 740; }
@media (max-width: 1000px) { .hero-fit { --dw: 600; --dh: 850; } }
.stage-fit { --dw: 880; --dh: 560; }
@media (max-width: 640px) { .stage-fit { --dw: 560; --dh: 640; } }
@media (min-width: 1241px) { .hero .demo { margin-right: -64px; } }

/* ---- ブラウザ ---- */
.bw { position: absolute; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px rgba(22, 32, 63, .18), 0 0 0 1px rgba(22, 32, 63, .1); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif; color: #1f1f1f; letter-spacing: 0; line-height: 1.5; container-type: inline-size; -webkit-font-smoothing: antialiased; }
.hero-fit .bw { left: 80px; top: 0; width: 880px; height: 570px; }
.stage-fit .bw { left: 0; top: 0; width: 880px; height: 560px; }
@media (max-width: 1000px) { .hero-fit .bw { left: 0; width: 600px; height: 600px; } }
@media (max-width: 640px) { .stage-fit .bw { width: 560px; height: 640px; } }
.bw svg { display: block; }
.bw-top { height: 38px; flex: 0 0 38px; display: flex; align-items: flex-end; gap: 14px; padding: 0 10px 0 14px; background: #DEE1E6; }
.bw-lights { display: flex; gap: 8px; align-self: center; }
.bw-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.bw-lights i:nth-child(2) { background: #FEBC2E; }
.bw-lights i:nth-child(3) { background: #28C840; }
.bw-tabs { display: flex; align-items: flex-end; flex: 1; min-width: 0; }
.bw-tab { position: relative; height: 31px; width: 210px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; font-size: 12px; color: #3C4043; border-radius: 10px 10px 0 0; }
.bw-tab.on { background: #fff; }
.bw-tab:not(.on) + .bw-tab:not(.on)::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: #A9AEB5; }
.bw-tab .fav { width: 16px; height: 16px; flex: 0 0 16px; }
.bw-tab .tt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-tab .tx { color: #5F6368; width: 16px; text-align: center; font-size: 14px; line-height: 1; }
.bw-newtab { align-self: center; color: #5F6368; padding: 0 8px; }
.bw-bar { height: 42px; flex: 0 0 42px; display: flex; align-items: center; gap: 4px; padding: 0 10px; background: #fff; border-bottom: 1px solid #E1E4E8; }
.bw-ic { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: #5F6368; border-radius: 50%; position: relative; transition: background-color .2s, box-shadow .3s; }
.bw-ic.dim { color: #BDC1C6; }
.bw-omni { flex: 1; min-width: 0; height: 30px; margin: 0 6px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 15px; background: #EDF0F3; font-size: 13.5px; color: #1F1F1F; white-space: nowrap; overflow: hidden; }
.bw-omni .path { color: #6F747A; overflow: hidden; text-overflow: ellipsis; }
.bw-ext img { width: 18px; height: 18px; border-radius: 4px; }
.bw-ext.ping { background: #E8F0FE; box-shadow: 0 0 0 3px rgba(11, 93, 184, .18); }
.bw-prof { width: 24px; height: 24px; border-radius: 50%; background: #5B7BA6; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; margin-left: 4px; }
.bw-page { position: relative; flex: 1; min-height: 0; display: flex; background: #fff; overflow: hidden; }

/* ---- 生成AIチャット（架空のサービス） ---- */
.ca { flex: 1; min-width: 0; display: flex; }
.ca-side { width: 236px; flex: 0 0 236px; display: flex; flex-direction: column; padding: 10px 8px 8px; background: #F9F9F9; border-right: 1px solid #ECECEC; font-size: 13px; color: #2B2B2B; }
@container (max-width: 640px) { .ca-side { display: none; } }
.ca-brand { display: flex; align-items: center; gap: 9px; padding: 6px 8px 10px; font-size: 14.5px; font-weight: 700; }
.ca-brand .lg { width: 22px; height: 22px; }
.ca-brand .sp { margin-left: auto; color: #6B6B6B; }
.ca-new, .ca-search { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; color: #2B2B2B; }
.ca-new svg, .ca-search svg { color: #555; }
.ca-sec { font-size: 11.5px; color: #8F8F8F; font-weight: 600; padding: 16px 8px 5px; }
.ca-item { padding: 7px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-item.on { background: #ECECEC; }
.ca-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 4px; border-top: 1px solid #ECECEC; }
.ca-user .av { width: 30px; height: 30px; border-radius: 50%; background: #7D8AA0; color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; flex: 0 0 30px; }
.ca-user .nm { font-size: 13px; font-weight: 600; line-height: 1.35; }
.ca-user .pl { font-size: 11.5px; color: #8F8F8F; line-height: 1.35; }
.ca-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ca-hd { height: 50px; flex: 0 0 50px; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 18px; }
.ca-model { display: flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 600; color: #383838; }
.ca-model svg { color: #8F8F8F; }
.ca-hd .grow { flex: 1; }
.ca-pill { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #E3E3E3; border-radius: 16px; font-size: 13px; color: #383838; }
.ca-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 28px 10px; }
.ca-empty { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-bottom: 36px; transition: padding .4s; }
.ca-empty h2 { font-size: 25px; font-weight: 600; margin: 0 0 22px; letter-spacing: 0; color: #1F1F1F; }
.ca-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; width: 100%; max-width: 620px; margin: 0 auto; padding: 0 0 18px; font-size: 14.5px; line-height: 1.75; }
.ca-u { align-self: flex-end; max-width: 80%; background: #F1F1F1; border-radius: 20px; padding: 9px 16px; white-space: pre-wrap; word-break: break-word; }
.ca-a { display: flex; gap: 12px; }
.ca-a .aav { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; border: 1px solid #E3E3E3; display: grid; place-items: center; margin-top: 1px; }
.ca-a .aav svg { width: 15px; height: 15px; }
.ca-a .txt p { margin: 0 0 6px; }
.ca-a .acts { display: flex; gap: 10px; color: #8F8F8F; margin-top: 6px; }
.ca-comp { width: 100%; max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid #E3E3E3; border-radius: 26px; padding: 13px 14px 9px 18px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); transition: box-shadow .25s, border-color .25s; }
.ca-comp.focus { border-color: #CFCFCF; box-shadow: 0 4px 16px rgba(0, 0, 0, .09); }
.ca-ta { min-height: 25px; max-height: 210px; overflow: hidden; font-size: 14.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; tab-size: 6; -moz-tab-size: 6; color: #1F1F1F; }
.ca-ta:empty::before, .ca-ta .ph { content: attr(data-ph); color: #9B9B9B; }
.ca-ta .caret { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; background: #1F1F1F; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ca-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #5D5D5D; }
.ca-row .cb { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #E3E3E3; display: grid; place-items: center; }
.ca-row .tl { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13px; }
.ca-row .grow { flex: 1; }
.ca-send { width: 34px; height: 34px; border-radius: 50%; background: #D7D7D7; color: #fff; display: grid; place-items: center; transition: background-color .2s, transform .15s; }
.ca-send.on { background: #1F1F1F; }
.ca-send.press { transform: scale(.88); }
.ca-foot { text-align: center; font-size: 11.5px; color: #8F8F8F; margin: 9px 0 0; }

/* ---- メクバリ拡張が出すUI（実装の文言・見た目どおり） ---- */
.x-notice { position: absolute; top: 16px; right: 16px; width: 360px; padding: 18px; border: 1px solid #E4E8F0; border-radius: 14px; background: #fff; color: #16203F; box-shadow: 0 12px 32px rgba(22, 32, 63, .18); font-family: "Noto Sans JP", -apple-system, "Hiragino Sans", sans-serif; font-size: 13px; line-height: 1.6; z-index: 5; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .45s var(--ease); pointer-events: none; }
.x-notice.show { opacity: 1; transform: none; }
.x-notice h4 { margin: 0 28px 6px 0; font-size: 15px; font-weight: 700; }
.x-notice p { margin: 0; color: #41506F; }
.x-notice .x { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: #7B8698; font-size: 20px; line-height: 1; transition: background-color .15s; }
.x-notice .x.hover { background: #F1F4FA; color: #16203F; }
.x-notice .toggle { display: inline-block; margin-top: 14px; padding: 8px 13px; border-radius: 9px; background: #0B5DB8; color: #fff; font-weight: 700; }
.x-veil { position: absolute; inset: 0; z-index: 6; background: rgba(15, 23, 42, .45); display: flex; align-items: center; justify-content: center; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; opacity: 0; transition: opacity .25s; pointer-events: none; }
.x-veil.show { opacity: 1; }
.x-card { width: 480px; background: #fff; color: #111827; border-radius: 12px; padding: 20px; box-shadow: 0 16px 48px rgba(0, 0, 0, .28); transform: translateY(10px) scale(.98); transition: transform .4s var(--ease); }
.x-veil.show .x-card { transform: none; }
.x-card .t { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.x-card .b { font-size: 13px; line-height: 1.7; margin: 0 0 12px; color: #374151; }
.x-card .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.x-card .acts span { font-size: 13px; padding: 7px 14px; border-radius: 8px; border: 1px solid transparent; transition: transform .12s, box-shadow .12s; }
.x-card .acts .primary { background: #0B5DB8; color: #fff; }
.x-card .acts .ghost { background: #fff; color: #374151; border-color: #D1D5DB; }
.x-card .acts .press { transform: scale(.95); box-shadow: 0 0 0 3px rgba(11, 93, 184, .2); }
.x-card .note { font-size: 11px; line-height: 1.6; color: #6B7280; margin: 10px 0 0; }
.x-card .note a { display: block; color: #6B7280; text-decoration: underline; }
.x-toast { position: absolute; right: 16px; bottom: 16px; z-index: 5; max-width: 360px; padding: 12px 14px; background: #0B5DB8; color: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .24); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 13px; line-height: 1.6; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .45s var(--ease); }
.x-toast.show { opacity: 1; transform: none; }

/* ---- 管理画面（メクバリ）の小窓：介入ログ ----
   製品のカード（白・1px境界・角丸14px）をそのまま浮かせる。ブラウザ枠は付けない。 */
.hero-fit .bw { z-index: 1; }
.aw { position: absolute; left: 0; top: 452px; width: 420px; z-index: 2; background: #fff; border: 1px solid #E4E8F0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 56px rgba(22, 32, 63, .16), 0 2px 6px rgba(22, 32, 63, .06); font-family: "Noto Sans JP", -apple-system, "Hiragino Sans", sans-serif; color: #16203F; letter-spacing: 0; line-height: 1.5; }
@media (max-width: 1000px) { .aw { left: 70px; top: 560px; width: 460px; } }
.aw-hd { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid #ECEFF5; }
.aw-hd .lg { height: 14px; width: auto; }
.aw-hd .sep { width: 1px; height: 14px; background: #E4E8F0; }
.aw-hd .tn { font-size: 12px; font-weight: 700; color: #41506F; }
.aw-hd .crumb { margin-left: auto; font-size: 11px; color: #7B8698; }
.aw-hd .crumb i { font-style: normal; margin: 0 5px; color: #A3ADC0; }
.aw-bd { padding: 14px 16px 6px; }
.aw-title b { display: block; font-size: 13.5px; font-weight: 700; }
.aw-title span { display: block; font-size: 11px; color: #7B8698; margin-top: 2px; }
.aw table { width: calc(100% + 32px); margin: 12px -16px 0; border-collapse: collapse; font-size: 12.5px; }
.aw th { text-align: left; font-size: 11px; font-weight: 700; color: #41506F; background: #F8FAFC; padding: 7px 16px; border-top: 1px solid #ECEFF5; border-bottom: 1px solid #ECEFF5; }
.aw td { padding: 9px 16px; border-bottom: 1px solid #F1F4FA; transition: background-color .6s; white-space: nowrap; }
.aw tr:last-child td { border-bottom: 0; }
.aw .r, .aw td.n { text-align: right; }
.aw td.n { font-family: "Inter", -apple-system, sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; }
.aw td.n b { font-weight: 600; display: inline-block; min-width: 20px; transition: color .3s; }
.aw .delta { font-style: normal; font-family: "Inter", -apple-system, sans-serif; font-size: 10.5px; font-weight: 700; color: #0B5DB8; background: #EAF1FB; border-radius: 6px; padding: 1px 6px; margin-right: 8px; opacity: 0; transform: translateX(6px); display: inline-block; transition: opacity .3s, transform .4s var(--ease); }
.aw tr.bump td { background: #F5F9FE; }
.aw tr.bump td.n b { color: #0B5DB8; }
.aw tr.bump .delta { opacity: 1; transform: none; }

/* ---- マウスカーソル（ヒーローの実演のみ） ---- */
.cur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 20; pointer-events: none; transform: translate(620px, 470px); transition: transform .7s cubic-bezier(.45, .05, .25, 1); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.cur::after { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: rgba(11, 93, 184, .35); transform: scale(0); opacity: 0; }
.cur.click::after { animation: clk .45s ease-out; }
@keyframes clk { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---- 2段階デモ：タブを選ぶたびに介入の瞬間を再生 ---- */
.stage-panel .x-toast, .stage-panel .x-veil { transition-delay: .7s; }
.stage-panel.play .x-toast { opacity: 1; transform: none; }
.stage-panel.play .x-veil { opacity: 1; }
.stage-panel.play .x-veil .x-card { transform: none; transition-delay: .7s; }
.stage-panel .ca-u, .stage-panel .ca-a { animation: msgIn .5s var(--ease) both; }
.stage-panel .ca-a { animation-delay: .35s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.demo-cap { font-size: 12px; color: var(--faint); margin: 12px 0 0; text-align: right; }

/* ---- 管理画面ツアーの枠（ブラウザ風）と注目枠 ---- */
.shot-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--border); }
.shot-bar .lights { display: flex; gap: 7px; flex: 0 0 auto; }
.shot-bar .lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.shot-bar .lights i:nth-child(2) { background: #FEBC2E; }
.shot-bar .lights i:nth-child(3) { background: #28C840; }
.shot-bar .omni { flex: 1; min-width: 0; max-width: 420px; height: 26px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 13px; background: #EDF0F3; color: #3C4043; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif; font-size: 12.5px; letter-spacing: 0; line-height: 1; white-space: nowrap; overflow: hidden; }
.shot-bar .omni svg { color: #5F6368; flex: 0 0 auto; }
.shot-bar .omni .path { color: #6F747A; overflow: hidden; text-overflow: ellipsis; }
.spot { position: absolute; z-index: 2; left: var(--sx, 0%); top: var(--sy, 0%); width: var(--sw, 100%); height: var(--sh, 100%); border: 2px solid var(--primary); border-radius: 10px; box-shadow: 0 0 0 200vmax rgba(22, 32, 63, .26); pointer-events: none; opacity: 0; transition: left .8s var(--ease), top .8s var(--ease), width .8s var(--ease), height .8s var(--ease), opacity .4s; }
.spot.on { opacity: 1; }
.shot-stage { overflow: hidden; }
