/* free-ccbox.aiqlue.com ランディングページ共通スタイル */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --ink: #0a0a0a;
  --ink-2: #666a70;
  --ink-3: #9aa0a8;
  --line: #e2e5ea;
  --bg: #ffffff;
  --bg-page: #0a0a0a;
  --bg-soft: #f5f6f8;
  --brand: #c50018;
  --brand-dark: #9e0013;
  --brand-tint: #fdf0f1;
  --blue: #0b41f0;
  --blue-ui: #0061E2;
  --ok: #0f9d58;
  --ok-tint: #e6f6ee;
  --info-tint: #e7ecff;
  --warn: #c2540a;
  --warn-tint: #fdeee0;

  --page-pad: 2px;
  --r-frame: 24px;
  --tile: 118px;
  --r-card: 20px;
  --r-md: 13px;
  --r-sm: 9px;
  --r-pill: 999px;
  --content: 1160px;
  --head-h: 70px;

  --fs-body: clamp(14px, .5vw + 10.2px, 16px);
  --fs-sm: clamp(13.5px, .375vw + 10.65px, 15px);
  --fs-xs: clamp(12px, .14vw + 11.5px, 13.5px);

  --shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .05);
  --shadow-float: 0 14px 44px rgba(16, 24, 40, .12);
  --ease: cubic-bezier(.2, .6, .35, 1);
  --ease-drama: cubic-bezier(.16, 1, .3, 1); /* easeOutExpo */
  --dur: .3s;
  --sans: "Inter", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  --num: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg-page);
  font-family: var(--sans);
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.9;
  font-size: 16px;
}

h1, h2, h3, h4, .stat .num, .btn, .kicker, .pill-kicker, .eyebrow, .mock-title b {
  font-feature-settings: "palt";
}

img { max-width: 100%; }

a { color: var(--brand); transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
br.sp { display: none; }

.ico { display: block; width: 22px; height: 22px; flex-shrink: 0; fill: none;
  stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 20px; height: 20px; }

/* ─── frame panels ─── */
main { padding: var(--page-pad); }
main > section { padding: 0; }
main > section + section { margin-top: var(--page-pad); }

.hero .container,
.stats-band .container,
.section .container {
  width: 100%; max-width: none;
  background: var(--bg); border-radius: var(--r-frame); overflow: hidden;
  padding: 104px max(40px, calc((100% - var(--content)) / 2));
}
.hero .container { padding-top: 48px; padding-bottom: 44px; }

.notch {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84.00 84.00'><path d='M0 0 H6.00 A14.49 14.49 0 0 1 16.24 4.24 L79.76 67.76 A14.49 14.49 0 0 1 84.00 78.00 V84.00 H0 Z' fill='white'/></svg>"),
    linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84.00 84.00'><path d='M0 0 H6.00 A14.49 14.49 0 0 1 16.24 4.24 L79.76 67.76 A14.49 14.49 0 0 1 84.00 78.00 V84.00 H0 Z' fill='white'/></svg>"),
    linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-size: var(--tile) var(--tile), calc(100% - var(--tile)) 100%, var(--tile) calc(100% - var(--tile));
  mask-size: var(--tile) var(--tile), calc(100% - var(--tile)) 100%, var(--tile) calc(100% - var(--tile));
  -webkit-mask-position: top right, top left, bottom right;
  mask-position: top right, top left, bottom right;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ─── boot intro（TOPのローディング演出。JS が .js-boot を付けたときのみ表示）─── */
.boot { display: none; }
.js-boot { overflow: hidden; }
.js-boot .boot {
  display: grid; place-items: center;
  position: fixed; inset: var(--page-pad); z-index: 200;
  background: var(--bg); border-radius: var(--r-frame);
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.js-boot.boot-done .boot { opacity: 0; visibility: hidden; }
.boot-mark { display: block; width: clamp(51px, 5.5vw, 64px); height: auto;
  animation: boot-in .34s var(--ease) both; }
.boot-mark .bubble { fill: var(--brand); }
.boot-mark .eye {
  fill: var(--ink); transform-box: fill-box; transform-origin: center;
  animation: boot-blink 1.1s var(--ease) .25s both;
}
@keyframes boot-in {
  from { opacity: 0; transform: scale(.86); }
  to { opacity: 1; transform: none; }
}
@keyframes boot-blink {
  0%, 33% { transform: scaleY(1); }
  36.7% { transform: scaleY(.05); }
  40.5%, 63% { transform: scaleY(1); }
  66.7% { transform: scaleY(.05); }
  70.5%, 100% { transform: scaleY(1); }
}
/* ヘッダーは上から、main は下から定位置へ。終了状態は .boot-done 側に持たせる */
.js-boot .site-header { opacity: 0; transform: translateY(-34px); }
.js-boot main { opacity: 0; transform: translateY(64px); }
.boot-done .site-header {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-drama), transform 1.1s var(--ease-drama);
}
.boot-done main {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-drama) .12s, transform 1.5s var(--ease-drama) .12s;
}

/* ─── header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: none; padding: 0 var(--page-pad);
}
.site-header .container {
  display: flex; align-items: center; gap: 32px;
  width: 100%; max-width: none; height: var(--head-h);
  background: var(--bg); border-radius: 0 0 var(--r-frame) var(--r-frame);
  padding: 0 max(28px, calc((100% - var(--content)) / 2));
  transition: border-radius var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck .container { box-shadow: 0 4px 20px rgba(10, 10, 10, .12); }
.site-header .container:has(.nav-toggle:checked) { border-radius: 0; }

.brand {
  display: flex; align-items: baseline; gap: 14px;
  color: var(--ink); text-decoration: none; flex-shrink: 0;
}
.brand .brand-logo { display: block; height: 50px; width: auto; align-self: baseline; }
.brand small {
  position: relative;
  font-size: 12px; font-weight: 700; line-height: 1; color: var(--brand); white-space: nowrap;
  /* ロゴ SVG（viewBox 119.46）のワードマーク「ccbox」のベースライン y=110 に揃える */
  bottom: calc(50px * (119.46 - 110) / 119.46 + 2px);
}
.header-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.header-nav a.nav-link {
  color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500;
  white-space: nowrap; line-height: 1.4;
  transition: color var(--dur) var(--ease);
}
.header-nav a.nav-link:hover { color: var(--brand); }
.header-cta { flex-shrink: 0; }

/* ─── mobile drawer ─── */
.nav-toggle { display: none; }
.nav-burger {
  display: none; width: 50px; height: 50px; flex-shrink: 0;
  border: none; border-radius: 50%; background: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger .bars { display: block; width: 19px; height: 13px; position: relative; }
.nav-burger .bars::before, .nav-burger .bars::after, .nav-burger .bars i {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: #fff; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-burger .bars::before { top: 0; }
.nav-burger .bars i { top: 5.5px; }
.nav-burger .bars::after { bottom: 0; }
.nav-toggle:checked ~ .nav-burger .bars::before { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger .bars i { opacity: 0; }
.nav-toggle:checked ~ .nav-burger .bars::after { transform: translateY(-5.5px) rotate(-45deg); }

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); border-radius: var(--r-pill);
  min-height: 50px; padding: 0 28px; text-decoration: none;
  font-weight: 700; font-size: 14.5px; line-height: 1;
  border: 1px solid var(--ink);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
a.btn, button.btn { color: #fff; }
.btn .ico { width: 17px; height: 17px; }
.btn:hover { background: #2c2c32; border-color: #2c2c32; transform: translateY(-1px); }
.btn.btn-primary { background: var(--brand); border-color: var(--brand); border-radius: var(--r-pill); }
.btn.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.btn-large { min-height: clamp(56px, 1.1vw + 51.7px, 68px); padding: 0 clamp(32px, 1.7vw + 25.4px, 50px);
  font-size: clamp(17px, 1.25vw + 7.5px, 22px); }
.header-cta.btn { min-height: 44px; padding: 0 22px; font-size: 14px; }

/* ─── hero ─── */
.hero .container { text-align: center; }
.hero .eyebrow {
  display: inline-block;
  font-size: clamp(14px, 1.5vw + 2.6px, 20px); font-weight: 700; letter-spacing: .04em; color: var(--brand);
  margin-bottom: 20px; line-height: 1.6;
}
.hero h1 {
  font-size: clamp(32px, 3.8vw, 56px); line-height: 1.3; margin: 0 0 26px;
  font-weight: 700; letter-spacing: .01em;
}
.hero h1 .grad { color: var(--brand); }
.hero .lead {
  font-size: var(--fs-body); color: var(--ink); max-width: 1000px; margin: 0 auto 40px;
  text-align: center; line-height: 1.95;
  font-feature-settings: "palt"; letter-spacing: .02em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .cta-note {
  font-size: var(--fs-body); color: var(--ink-2); margin-top: 20px; line-height: 1.8;
  font-feature-settings: "palt"; letter-spacing: .01em;
}

.prompt-box {
  max-width: 760px; margin: 0 auto 38px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 26px;
}
.prompt-box .prompt-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--brand); margin-bottom: 14px; line-height: 1;
}
.prompt-box .prompt-text { color: var(--ink); font-size: var(--fs-sm); min-height: 52px; margin: 0; }
.prompt-box .prompt-text .caret {
  display: inline-block; width: 2px; height: 1.1em; background: var(--brand);
  vertical-align: text-bottom; margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.prompt-box .prompt-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 15px; background: var(--bg); line-height: 1.5;
}
.chip.on { color: var(--brand); border-color: var(--brand); background: var(--brand-tint); }
.prompt-box .send {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border-radius: 10px;
  font-weight: 700; font-size: 13.5px;
  padding: 13px 22px; text-decoration: none; white-space: nowrap; line-height: 1;
  transition: background var(--dur) var(--ease);
}
.prompt-box .send:hover { background: #2c2c32; color: #fff; }

/* ─── stats ─── */
.stats-band .container {
  background: none; border-radius: 0; overflow: visible;
  max-width: var(--content); padding: 0;
}
.stats-band .stats-note {
  text-align: center; font-size: var(--fs-body); color: #fff;
  margin: 0 0 22px; padding: 26px 0 0;
  font-feature-settings: "palt"; letter-spacing: .01em;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--page-pad); }
.stat {
  background: var(--bg); border-radius: var(--r-frame);
  padding: 34px 26px 30px; text-align: left;
}
.stat .num {
  font-family: var(--num); font-size: clamp(30px, 2.7vw, 42px); font-weight: 700; line-height: 1.1;
  letter-spacing: -.02em; color: var(--ink);
}
.stat .num span { font-size: .46em; color: var(--brand); margin-left: 3px; letter-spacing: 0; }
.stat .label { font-size: var(--fs-xs); color: var(--ink-2); margin-top: 10px; line-height: 1.6; }

/* アンカーの着地位置：ヘッダー下端に gap の境界が来る高さ */
main > section[id] { scroll-margin-top: calc(var(--head-h) + var(--page-pad)); }

/* 別ページからアンカー付きで開いたとき、着地位置が確定するまで main を隠す */
.js-anchorland main { opacity: 0; }

/* アンカー移動：着地先とそれ以降を、ひとかたまりのまま下から定位置へ。
   フェードは着地先のみ（.reveal と競合させない） */
.anchor-in, .anchor-in-follow { --anchor-dur: .8s; }
.anchor-in-follow { animation: anchor-slide var(--anchor-dur) var(--ease-drama) both; }
.anchor-in {
  animation: anchor-slide var(--anchor-dur) var(--ease-drama) both,
             anchor-fade .7s var(--ease-drama) both;
}
@keyframes anchor-slide {
  from { transform: translateY(18px); }
  to { transform: none; }
}
@keyframes anchor-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .anchor-in, .anchor-in-follow { animation: none; }
}

/* ─── sections ─── */
.section-head { max-width: 880px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--num);
  font-size: clamp(14px, 1vw + 6.4px, 18px); font-weight: 700; letter-spacing: .16em;
  color: var(--brand); margin-bottom: 18px; line-height: 1.4;
}
.section-head h2 { font-size: clamp(26px, 3vw, 42px); font-weight: 700; line-height: 1.34; margin: 0 0 18px; letter-spacing: .01em; }
.section-head p { color: var(--ink); margin: 0; font-size: var(--fs-body); text-align: center; line-height: 1.95; }

/* ─── product mock（アプリ画面のイメージ） ─── */
.demo {
  display: grid; grid-template-columns: 1fr 1.15fr;
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: var(--bg); box-shadow: var(--shadow-card);
  max-width: 1040px; margin: 0 auto;
}
.demo-chat { padding: 28px 24px; border-right: 1px solid var(--line); }
.demo-chat .bubble {
  max-width: 92%; font-size: var(--fs-sm); line-height: 1.8; padding: 13px 17px;
  margin-bottom: 14px; border-radius: 16px;
}
.bubble.user { background: var(--ink); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.bubble.ai { background: var(--bg-soft); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble .who { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .6; margin-bottom: 4px; }
.demo-app { background: var(--bg-soft); padding: 26px; }

.mock-window {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-float); overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
  overflow-wrap: normal; word-break: keep-all;
}
/* 数値・ラベル・ステータスは語中で折り返さない */
.mock-window .mock-title b,
.mock-window .mock-kpi em,
.mock-window .mock-kpi b,
.mock-window .mock-row .pill,
.mock-window .bar-row span,
.mock-window .audit-lines .line,
.mock-window .toggle-row span,
.mock-window .share-mock small { white-space: nowrap; }
/* アドレスバーは折り返さず、入り切らなければ省略 */
.mock-window .mock-bar span {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar i:nth-child(1) { background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span {
  flex: 1; margin-left: 8px; font-size: 11.5px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 12px; line-height: 1.5;
}
.mock-body { padding: 18px; flex: 1; }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.mock-title b { font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mock-btn { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--ink);
  border-radius: 9px; padding: 7px 13px; white-space: nowrap; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; }
.mock-kpi { min-width: 0; }
.mock-kpi em { display: block; font-style: normal; font-size: 11px; color: var(--ink-2); line-height: 1.4; }
.mock-kpi b { display: block; font-size: 17px; font-weight: 700; font-family: var(--num);
  line-height: 1.2; letter-spacing: -.01em; margin-top: 3px; }
/* KPI の数値はカード幅に追従（非対応ブラウザは上の 15px 固定にフォールバック）*/
@supports (container-type: inline-size) {
  .mock-body { container-type: inline-size; }
  .mock-kpi b { font-size: clamp(12px, 5.7cqi, 24px); }
}
.mock-kpi b.up { color: var(--ok); }
.mock-rows .mock-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 2px; font-size: 12.5px; }
.mock-rows .mock-row:last-child { border-bottom: none; }
.mock-row .pill { font-size: 11px; font-weight: 700; border-radius: var(--r-pill); padding: 3px 11px; white-space: nowrap; }
.pill.g { background: var(--ok-tint); color: #0b7a45; }
.pill.b { background: var(--info-tint); color: var(--blue); }
.pill.o { background: var(--warn-tint); color: var(--warn); }

/* ─── pillars ─── */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; text-align: left; }
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar.rev .pillar-visual { order: -1; }
.pillar-text .pill-kicker {
  display: flex; align-items: baseline; gap: 14px;
  font-size: var(--fs-body); font-weight: 700; letter-spacing: .06em; color: var(--brand);
  margin-bottom: 18px; line-height: 1.6;
}
.pillar-text .pill-kicker b {
  flex-shrink: 0;
  font-family: var(--num); font-size: clamp(34px, 2.6vw, 46px); font-weight: 700;
  line-height: 1; letter-spacing: -.03em;
  transform: translateY(3px); /* 光学調整 */
}
.pillar-text .pill-kicker span {
  position: relative; padding-left: 16px;
}
.pillar-text .pill-kicker span::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 8px; height: 1.5px; background: currentColor;
}
.pillar-text h3 { font-size: clamp(21px, 2.1vw, 28px); font-weight: 700; line-height: 1.45; margin: 0 0 20px; }
.pillar-text ul { padding: 0; margin: 0; list-style: none; }
.pillar-text li { color: var(--ink-2); font-size: var(--fs-sm); margin-bottom: 15px; padding-left: 22px; position: relative; }
.pillar-text li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pillar-text li b { color: var(--ink); }
.pillar-note {
  margin-top: 22px; font-size: var(--fs-xs); color: var(--ink-2);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px;
}
.pillar-visual .mock-window { height: auto; }

/* ─── share dialog mock ─── */
.share-mock .row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 8px; }
.share-mock .row.sel { border-color: var(--brand); background: var(--brand-tint); }
.share-mock .radio { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-3); flex-shrink: 0; }
.share-mock .row.sel .radio { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.share-mock small { color: var(--ink-2); margin-left: auto; font-size: 11.5px; }
.member-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.member-chips span { font-size: 12px; font-weight: 500; background: var(--brand-tint); color: var(--brand-dark); border-radius: var(--r-pill); padding: 4px 12px; }
.member-chips span.add { color: var(--ink-2); background: none; border: 1px dashed var(--line); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 12px 2px 0; }
.toggle { width: 36px; height: 20px; border-radius: var(--r-pill); background: var(--blue-ui); position: relative; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* ─── AI engines ─── */
.engine-hero { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 24px 20px; margin-bottom: 10px; text-align: center; }
.engine-hero b { font-size: 16.5px; letter-spacing: .01em; }
.engine-hero em { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.vendor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vendor { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 700; padding: 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); }
.vendor small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-2); line-height: 1.6; }
.vendor .v-dot { width: 34px; height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--brand); background: var(--brand-tint); border-radius: var(--r-sm); }

/* ─── admin mock ─── */
.admin-mock .bar-row { display: grid; grid-template-columns: 76px 1fr 44px; gap: 10px; align-items: center; font-size: 12.5px; margin-bottom: 10px; }
.admin-mock .bar { height: 9px; border-radius: var(--r-pill); background: var(--bg-soft); overflow: hidden; }
.admin-mock .bar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--blue-ui); }
.admin-mock .bar-row span:last-child { text-align: right; color: var(--ink-2); }
.audit-lines { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.audit-lines .line { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-2); padding: 3px 0; }
.audit-lines .line .ico { width: 13px; height: 13px; color: var(--ok); }

/* ─── templates ─── */
/* 4列 × 2行。タイトル・補足とも1行に収まる寸法 */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 14px; }
.tpl {
  display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px;
}
.tpl > span:last-child { min-width: 0; }
.tpl .dot { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--brand); background: var(--brand-tint); border-radius: var(--r-md); }
.tpl .dot .ico { width: 22px; height: 22px; }
.tpl small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-2); line-height: 1.7; margin-top: 2px; }

/* ─── steps ─── */
.steps { counter-reset: step; max-width: 800px; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.steps li { counter-increment: step; position: relative; padding: 0 0 34px 70px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px;
  border-radius: 2px; background: var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--num); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 6px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.steps p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }

/* ─── trust ─── */
.trust-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.trust { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 26px; font-size: var(--fs-sm); color: var(--ink-2); text-align: left; }
.trust b { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 16px; margin-bottom: 12px; line-height: 1.5; }
.trust b .ico { width: 24px; height: 24px; color: var(--brand); }

/* ─── movie（クリック再生のファサード） ─── */
#movie .container { background: #eceef2; } /* 白いサムネを浮かせるため、この面だけ薄いグレー */
.demo-link { text-align: center; margin: 28px 0 0; font-size: var(--fs-body); }
.demo-link a { color: var(--brand); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.demo-link a:hover { color: var(--brand-dark); }
.movie {
  position: relative; max-width: 880px; margin: 0 auto 40px; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: #000; box-shadow: var(--shadow-card);
}
.movie > .movie-poster, .movie > iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.movie-poster { display: block; }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.movie-poster:hover img { transform: scale(1.02); }
.movie-poster:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.movie-play {
  position: absolute; left: 50%; top: 82%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 8px 24px rgba(197, 0, 24, .35);
  transition: transform .3s var(--ease);
}
.movie-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -9px;
  border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #fff;
}
.movie-poster:hover .movie-play { transform: scale(1.08); }
.movie iframe { border: 0; }
.movie iframe:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
  .movie-poster img, .movie-play { transition: none; }
  .movie-poster:hover img, .movie-poster:hover .movie-play { transform: none; }
}

/* ─── final CTA ─── */
.cta-section .container {
  width: 100%; max-width: none;
  background: none; border-radius: 0; overflow: visible; color: #fff;
  padding: 88px max(40px, calc((100% - var(--content)) / 2)); text-align: center;
}
.cta-band { max-width: 800px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(25px, 2.8vw, 36px); font-weight: 700; margin: 0 0 16px; line-height: 1.4; }
.cta-band p { margin: 0 0 36px; color: rgba(255, 255, 255, .9); font-size: var(--fs-body); }

/* ─── 下層ページの登場（main のみ。JS が .js-pageintro を付けたときのみ）─── */
.js-pageintro main.page { opacity: 0; transform: translateY(28px); }
.pageintro-done main.page {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-drama), transform 1.1s var(--ease-drama);
}
/* ページ先頭にいないとき（スクロール位置の復元・戻る操作）は演出せず即表示 */
.pageintro-skip main.page { transition: none; }

/* ─── article pages ─── */
.page { padding: var(--page-pad); }
.page .container {
  width: 100%; max-width: none;
  background: var(--bg); border-radius: var(--r-frame);
  padding: 76px max(28px, calc((100% - 820px) / 2));
  font-size: var(--fs-sm);
}
.page h1 { font-size: clamp(27px, 3vw, 38px); line-height: 1.4; margin: 0 0 10px; font-weight: 700; }
.page .page-meta { color: var(--ink-2); font-size: 13.5px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.page h2 { font-size: 21px; margin: 48px 0 14px; padding-left: 14px; border-left: 4px solid var(--brand); border-radius: 2px; font-weight: 700; line-height: 1.5; }
.page h3 { font-size: 18px; margin: 32px 0 8px; line-height: 1.5; }
.page ol, .page ul { padding-left: 1.6em; }
.page li { margin-bottom: 8px; }
.page table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 14px;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.page th, .page td { border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.page th { background: var(--bg-soft); }
.page tr:last-child th, .page tr:last-child td { border-bottom: none; }
.notice { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; font-size: var(--fs-sm); color: var(--ink-2); }

/* ─── form ─── */
.inquiry-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 36px 32px; margin: 32px 0; }
.inquiry-form .form-row { margin-bottom: 22px; }
.inquiry-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.inquiry-form label .req { font-size: 11px; font-weight: 700; color: #fff; background: var(--brand);
  border-radius: var(--r-pill); padding: 3px 9px; margin-left: 8px; vertical-align: 1px; }
.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form select,
.inquiry-form textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; background: var(--bg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.inquiry-form textarea { min-height: 120px; resize: vertical; }
.inquiry-form .form-hint { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.inquiry-form > .form-hint { text-align: center; margin-bottom: 16px; }
.inquiry-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-form button { font-family: inherit; border: none; cursor: pointer;
  display: flex; width: 100%; max-width: 480px; margin-inline: auto; }
.form-msg { padding: 16px 18px; font-size: var(--fs-sm); margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.form-msg.ok { background: var(--ok-tint); border-color: #bfe6d2; color: #0b7a45; }
.form-msg.ng { background: var(--brand-tint); border-color: #f3c8cc; color: var(--brand-dark); }

/* ─── footer ─── */
.site-footer { background: var(--bg-page); padding: 0 var(--page-pad) var(--page-pad); }
.site-footer .container {
  width: 100%; max-width: none;
  background: var(--bg); border-radius: var(--r-frame);
  padding: 0 max(40px, calc((100% - var(--content)) / 2));
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center; padding: 38px 0 26px; border-bottom: 1px solid var(--line); }
.footer-nav a { color: var(--ink-2); font-size: 13.5px; text-decoration: none; }
.footer-nav a:hover { color: var(--brand); }
.footer-corp { display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.corp-item { display: flex; align-items: center; gap: 16px; max-width: 460px; }
.corp-item > a { display: block; flex-shrink: 0; line-height: 0; }
.corp-item img { width: 66px; height: 66px; flex-shrink: 0; object-fit: contain; }
.corp-item p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }
.footer-legal { text-align: center; padding: 26px 0 38px; }
.footer-legal p { margin: 2px 0; font-size: 12.5px; color: var(--ink-2); }

/* ─── scroll reveal ─── */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
  /* stats は4枚まとめて右からスライドイン */
  .js-reveal .stats.reveal { transform: translate3d(72px, 0, 0);
    transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js-reveal .stats.reveal.is-in { transform: none; }
}
.stats-band { overflow: hidden; }

/* ─── responsive ─── */
/* 狭い PC 幅ではヘッダーを段階的に詰める */
@media (max-width: 1120px) {
  .header-nav { gap: 22px; }
  .site-header .container { gap: 22px; }
}
@media (max-width: 1040px) {
  .brand small { display: none; }
}

@media (max-width: 1000px) {
  .pillar { grid-template-columns: 1fr; gap: 32px; }
  .pillar.rev .pillar-visual { order: 0; }
  .demo { grid-template-columns: 1fr; }
  .demo-chat { border-right: none; border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --head-h: 60px; }
  .nav-burger { display: flex; }
  .brand small { display: none; }
  .header-nav {
    position: fixed; inset: var(--head-h) 0 auto; margin: 0 var(--page-pad);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); max-height: 0; overflow: hidden;
    border-radius: 0 0 var(--r-frame) var(--r-frame);
    box-shadow: 0 14px 26px rgba(10, 10, 10, .14);
    transition: max-height var(--dur) var(--ease);
  }
  .nav-toggle:checked ~ .header-nav { max-height: 70vh; overflow-y: auto; }
  .header-nav a.nav-link { padding: 17px 24px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .header-nav a.nav-link:last-child { border-bottom: none; }
  .header-cta.btn { margin-left: auto; }
}

@media (max-width: 760px) {
  :root { --r-frame: 16px; --tile: 53px; }
  .movie-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .movie-play::after { margin: -10px 0 0 -6px; border-width: 10px 0 10px 17px; }
  .notch {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48.00 48.00'><path d='M0 0 H4.00 A9.66 9.66 0 0 1 10.83 2.83 L45.17 37.17 A9.66 9.66 0 0 1 48.00 44.00 V48.00 H0 Z' fill='white'/></svg>"),
      linear-gradient(#000, #000), linear-gradient(#000, #000);
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48.00 48.00'><path d='M0 0 H4.00 A9.66 9.66 0 0 1 10.83 2.83 L45.17 37.17 A9.66 9.66 0 0 1 48.00 44.00 V48.00 H0 Z' fill='white'/></svg>"),
      linear-gradient(#000, #000), linear-gradient(#000, #000);
  }
  br.pc { display: none; }
  br.sp { display: inline; }
  .site-header .container { gap: 10px; padding: 0 14px; }
  .brand .brand-logo { height: 40px; }
  .header-cta.btn { min-height: 40px; padding: 0 14px; font-size: 12.5px; }
  .nav-burger { width: 40px; height: 40px; }
  .nav-burger .bars { width: 17px; height: 11px; }
  .nav-burger .bars i { top: 4.5px; }
  .nav-toggle:checked ~ .nav-burger .bars::before { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger .bars::after { transform: translateY(-4.5px) rotate(-45deg); }
  .hero .container,
  .section .container { padding: 56px 18px; }
  .cta-section .container { padding: 56px 18px; }
  .page .container { padding: 44px 18px; }
  .site-footer .container { padding: 0 18px; }
  .hero h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .hero .lead,
  .section-head p { text-align: justify; text-align-last: left; }
  .section-head { margin-bottom: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* 狭い端末ではモック内を詰めて各行を1行に収める */
  .demo-app { padding: 16px; }
  .mock-body { padding: 14px; }
  .mock-cards { gap: 6px; }
  .mock-kpi { padding: 8px 9px; }
  .mock-title b { font-size: 12.5px; }
  .mock-btn { font-size: 10.5px; padding: 6px 10px; }
  .stat { padding: 24px 18px 22px; }
  .stats-band .stats-note { padding-top: 20px; margin-bottom: 16px; }
  .hero .container { padding-top: 36px; padding-bottom: 32px; }
  .vendor-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .steps li { padding-left: 58px; padding-bottom: 28px; }
  .steps li::before { width: 38px; height: 38px; font-size: 13px; }
  .steps li:not(:last-child)::after { left: 18px; top: 44px; }
  .footer-nav {
    display: grid; grid-template-columns: 1fr 1fr; justify-items: start;
    gap: 14px 10px; padding: 30px 0 24px;
  }
  .footer-nav a { font-size: 12.5px; white-space: nowrap; }
  .inquiry-form > .form-hint { text-align: left; }
  .footer-corp { gap: 20px; }
}

@media (max-width: 360px) {
  .site-header .container { gap: 8px; padding: 0 10px; }
  .brand .brand-logo { height: 36px; }
  .header-cta.btn { padding: 0 11px; font-size: 12px; }
}
