/*
 * 026 トップページ（J037 回15）
 * 元：top-design-v9.html の <style>（代表が承認した見本。キャラクター統一・関わる厚さの動き・AI の取り組み・取引実績の固定追従）。
 *
 * 決まり
 * - functions.php で is_front_page() のときだけ読む。
 * - 今の style.css とクラス名がぶつかるため、すべて .p-top（front-page.php の <main>）の下に閉じ込めた。
 *   見本で <html> に付けていた状態のクラス（is-ready・is-still・kv-on・kv-off・kv-stop・wk-on・sb-ok）は、top.js が .p-top に付ける。
 * - 例外（.p-top の外に書いたもの）：html のスクロール位置、dialog を開いている間のスクロール止め、
 *   今のヘッダー・フッター・body への最小限の手当て（末尾の 今のテーマとの継ぎ目 の節）。
 * - 動きはすべて .is-ready の下だけ。.is-ready が付かなければ（JS なし・動きを減らす設定）、何も隠さない。
 * - 色は 026 のパレットとデザインシステムの色の中だけ。書体はゴシック体と Montserrat だけ。
 */

html { scroll-padding-top: var(--header-height, 76px); scroll-behavior: smooth; }
/* 窓（dialog）を開いているあいだは、後ろのページをスクロールさせない（QA 回14 M1） */
html:has(dialog[open]) { overflow: hidden; }

.p-top {
  --or: #E2670C;
  --or-deep: #B85009;
  --or-pale: #FCF0E5;
  --or-soft2: #F4B27A;
  --ink: #1B1917;
  --ink2: #3A3734;
  --gray: #7C7772;
  --wash: #F9F9F8;
  --wash2: #F2F2F1;
  --line: #E3E0DC;
  --mid: #C9C5C0;
  --pict: #B3AEA8;
  --white: #FFFFFF;
  --sans: "游ゴシック体", YuGothic, "Yu Gothic", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  --head: "Noto Sans JP", "游ゴシック体", YuGothic, "Yu Gothic", "Hiragino Sans", sans-serif;
  --num: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(24px, 6vw, 96px);
  --fs-h2: clamp(36px, 4.2vw, 64px);
  --fs-lead: 20px;
  --fs-body: 17px;
  --gap: clamp(24px, 3vw, 48px);
  --sec: clamp(104px, 11vw, 176px);
  --pill: 999px;
  /* ヘッダーの高さ。回16から site-chrome.css が --header-height を見本どおり PC 76px・スマホ 60px に決める */
  --hd: var(--header-height, 76px);
  --fv-h: 100vh;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dl: 18.4s;
}
@media (max-width: 767px) {
  .p-top { --fs-h2: 30px; --fs-lead: 17px; --fs-body: 16px; --sec: 88px; }
}
.p-top, .p-top * { box-sizing: border-box; margin: 0; padding: 0; }
.p-top { display: block; font-family: var(--sans); font-size: var(--fs-body); line-height: 1.9; letter-spacing: 0.04em; color: var(--ink2);
  background: var(--white); font-weight: 500; line-break: strict; word-break: auto-phrase; -webkit-font-smoothing: antialiased; }
.p-top a { color: inherit; }
.p-top ul, .p-top ol { list-style: none; }
.p-top svg { display: block; }
.p-top .p-top-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.p-top .p-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.p-top .nw { white-space: nowrap; }
.p-top .ln { display: block; }
.p-top br.sp-br { display: none; }
.p-top .sp { display: none; }
.p-top .pc { display: block; }
.p-top h1, .p-top h2, .p-top h3 { font-family: var(--head); color: var(--ink); font-feature-settings: "palt"; word-break: auto-phrase; }
.p-top h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.p-top .sec { padding: var(--sec) var(--pad); position: relative; }
.p-top .in-w { max-width: 1320px; margin: 0 auto; }
.p-top .g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.p-top .lead { font-size: var(--fs-lead); line-height: 1.95; text-wrap: pretty; }
.p-top .lead p + p { margin-top: 14px; }
.p-top .rule { border-top: 1px solid var(--line); }
.p-top .no { font-family: var(--num); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; color: var(--ink2); }
.p-top b, .p-top .k-b { font-weight: 700; color: var(--ink); }

/* 吹き出し（お客様の一言）。かぎ括弧の代わりに、形で言った言葉を示す */
.p-top .say { position: relative; display: inline-block; background: var(--wash2); color: var(--ink); border-radius: 0.7em;
  padding: 0 0.5em; margin: 0 0.15em; line-height: 1.5; font-weight: 700; }
.p-top .say::after { content: ""; position: absolute; left: 0.7em; bottom: -0.34em; width: 0.6em; height: 0.4em; background: inherit;
  clip-path: polygon(0 0, 100% 0, 0 100%); }

/* ボタン：丸い端・枠線なし。墨が基本、オレンジは最後の1つだけ。style.css の .btn（枠線・transition）を打ち消す */
.p-top .btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 32px;
  border: 0; border-radius: var(--pill); background: var(--ink); color: var(--white); font-size: 17px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.04em; transition: none; }
.p-top .btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink2); transform: scaleX(0); transform-origin: right center;
  transition: transform .45s var(--ease); }
.p-top .btn:hover::before, .p-top .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.p-top .btn .arw { font-family: var(--num); display: inline-block; transition: transform .35s var(--ease); }
.p-top .btn:hover .arw, .p-top .btn:focus-visible .arw { transform: translateX(5px); }
.p-top .btn.or { background: var(--or); font-size: 22px; min-height: 84px; padding: 0 56px; }
.p-top .btn.or::before { background: var(--or-deep); }
.p-top a:focus-visible { outline: 3px solid var(--or-deep); outline-offset: 4px; }
.p-top .tlink { color: var(--or-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
  transition: text-underline-offset .3s var(--ease); }
.p-top .tlink .arw { display: inline-block; transition: transform .35s var(--ease); }
.p-top .tlink:hover { text-underline-offset: 3px; }
.p-top .tlink:hover .arw { transform: translateX(6px); }

/* ===== 1 ファーストビュー：画面幅いっぱい（回19 J037 kv2-design.html・design.md 21-9）=====
   左に言葉（見出し1つ＋ボタン1つ）、右半分以上に1枚の情景（これやりたい が形になる）。補足の一行・一文・目盛り・ラベルは置かない
   - 中央の枠（max-width）をやめ、絵の列は画面の右端まで。言葉の左端はヘッダーのロゴにそろえる（--pad）
   - 背景：右に斜めの淡いオレンジの面（::before）。絵の中の大きな丸は右端で切れ、床は画面の左端から右端まで
     （SVG の外へはみ出して描き、.fv の overflow: hidden で切る。だから横スクロールは出ない）
   - 絵は列の下端に置き、床が画面（ファーストビュー）の下端まで続く */
.p-top .fv { position: relative; overflow: hidden; min-height: var(--fv-h); background: var(--white); display: flex;
  padding: calc(var(--hd) + clamp(12px, 2vh, 28px)) 0 0 var(--pad); }
.p-top .fv::before { content: ""; position: absolute; inset: 0; background: #FEF6EE; clip-path: polygon(66% 0, 100% 0, 100% 100%, 49% 100%); }
.p-top .fv-in { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); align-items: end; }
.p-top .fv-tx { align-self: center; padding-bottom: clamp(48px, 10vh, 120px); }
/* 見出しは1つの文。前半（時代に合わせたプロジェクトマネジメントで、）を一段小さく、後半（これやりたいを実現する。）をいちばん大きく。
   全部を同じ大きさにすると左の列に収まるのが約43pxまで下がるため、核の後半を最大にした（design.md 21-2） */
.p-top .fv h1 { font-weight: 900; color: var(--ink); }
.p-top .fv h1 .ln { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.p-top .fv h1 .ln > span { display: block; white-space: nowrap; }
.p-top .fv h1 .h-a { display: block; font-size: clamp(24px, 2.75vw, 50px); font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink2); }
.p-top .fv h1 .h-b { display: block; margin-top: clamp(10px, 1.6vh, 22px); font-size: clamp(56px, 6.5vw, 128px); line-height: 1.12; letter-spacing: -0.03em; }
.p-top .fv h1 .em { color: var(--or); }
.p-top .fv .fv-go { margin-top: clamp(28px, 5vh, 60px); }
.p-top .fv-art { position: relative; align-self: end; will-change: transform; }
.p-top .kv-wrap { position: relative; }
/* 動きを止める／動かすボタン（JS で動きがあるときだけ出す）。.tg-st＝流れの中に置く */
.p-top .kv-tg { position: absolute; top: 0; right: 0; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border: 0; border-radius: var(--pill); background: var(--wash2); color: var(--ink2); font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer; transition: background-color .2s ease; }
.p-top .kv-tg:hover { background: var(--line); }
.p-top .kv-tg:focus-visible { outline: 3px solid var(--or-deep); outline-offset: 3px; }
.p-top .kv-tg svg { width: 10px; height: 10px; fill: currentColor; }
.p-top .kv-tg .i-play, .p-top .kv-tg[aria-pressed="true"] .i-stop { display: none; }
.p-top .kv-tg[aria-pressed="true"] .i-play { display: block; }
.p-top .kv-tg[hidden], .p-top.is-still .kv-tg { display: none; }
.p-top .kv-tg.tg-st { position: static; }
.p-top .kv-tg.tg-dk { background: var(--ink2); color: var(--white); }
.p-top .kv-tg.tg-dk:hover { background: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }
.p-top .kv-tg.tg-dk:focus-visible { outline-color: var(--or-soft2); }

/* 止めるボタン：この絵は右上に旗が立つので、左上に置く */
.p-top .fv .kv-tg { left: 0; right: auto; }

/* キービジュアルの絵（.kv2）。ここに書いた形＝できあがった形（止まった絵）。JS なしでも、この形で見える。
   絵は列の幅いっぱい。背の低い画面では高さで抑え、右下にそろえる（preserveAspectRatio="xMaxYMax meet"） */
.p-top .kv2 { width: 100%; height: auto; max-height: calc(var(--fv-h) - var(--hd) - clamp(12px, 2vh, 28px)); overflow: visible; }
.p-top .kv2 .k2-pop, .p-top .kv2 .k2-blk, .p-top .kv2 .k2-bar, .p-top .kv2 .k2-ck, .p-top .kv2 .k2-sp { transform-box: fill-box; transform-origin: 50% 50%; }
.p-top .kv2 .k2-bar { transform-origin: 50% 100%; }
.p-top .kv2 .k2-flag { transform-box: fill-box; transform-origin: 50% 100%; }
.p-top .kv2 .k2-cloth { transform-box: fill-box; transform-origin: 0 50%; }
.p-top .kv2 .k2-bub { transform-box: fill-box; transform-origin: 60% 100%; }

/* 768〜1023px：2列だと見出しの前半が列に収まらないため、言葉 → 絵 の縦並びにする（前は 767px 以下だけ縦） */
@media (max-width: 1023px) {
  .p-top .fv { display: block; padding: calc(var(--hd) + 32px) var(--pad) 48px; }
  .p-top .fv::before { clip-path: polygon(100% 34%, 100% 100%, 0 100%, 0 72%); }
  .p-top .fv-in { display: block; }
  .p-top .fv-tx { padding-bottom: 0; }
  .p-top .fv h1 .h-a { font-size: clamp(22px, 3.6vw, 34px); }
  .p-top .fv h1 .h-b { font-size: clamp(46px, 8.4vw, 80px); }
  .p-top .fv-art { max-width: 640px; margin: 28px auto 0; }
  .p-top .kv2 { max-height: none; }
}
/* スマホ（390px を基準） */
@media (max-width: 767px) {
  .p-top .fv { padding-top: calc(var(--hd) + 24px); padding-bottom: 40px; }
  .p-top .fv h1 .h-a { font-size: 22px; line-height: 1.5; letter-spacing: -0.02em; }
  .p-top .fv h1 .h-b { margin-top: 8px; font-size: 48px; line-height: 1.16; letter-spacing: -0.035em; }
  .p-top .fv .fv-go { margin-top: 28px; }
  .p-top .fv .fv-go .btn { width: 100%; }
  .p-top .fv-art { margin: 28px -16px 0; }
}

/* ===== 2 取引実績 =====
   PC：左の列が sticky でセクションの中に固定追従し、右の列に業種ごとの場面が縦に並ぶ。
   JS が動くと .p-top に .wk-on が付き、いま見ている業種の箱が出る。JS なしでは箱を出さず、場面ごとの業種名を見せる */
.p-top .wk-hd { align-items: end; }
.p-top .wk-hd .kk { grid-column: 1 / span 12; font-size: 16px; font-weight: 700; color: var(--ink2); letter-spacing: 0.12em; }
.p-top .wk-hd h2 { grid-column: 1 / span 7; margin-top: 14px; }
.p-top .wk-hd .lead { grid-column: 8 / span 5; font-size: 18px; color: var(--ink); padding-bottom: 6px; }
.p-top .wk { margin-top: clamp(56px, 6vw, 96px); }
.p-top .wk-l { grid-column: 1 / span 4; }
.p-top .wk-st { position: sticky; top: calc(var(--hd) + 24px); padding-top: 8px; }
.p-top .wk-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.p-top .wk-nums > div { border-top: 1px solid var(--line); padding-top: 18px; }
.p-top .wk-nums .n { font-family: var(--num); font-weight: 800; font-size: clamp(60px, 5.4vw, 88px); line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-top .wk-nums .n small { font-family: var(--head); font-size: 0.24em; font-weight: 700; letter-spacing: 0.02em; margin-left: 6px; }
.p-top .wk-nums .d { margin-top: 12px; font-size: 15px; line-height: 1.65; font-weight: 700; color: var(--ink2); }
.p-top .wk-now { display: none; margin-top: 28px; padding: 16px 22px 16px; background: var(--wash); border-radius: 16px; }
.p-top.wk-on .wk-now { display: block; }
.p-top .wk-now .lb { font-size: 14px; font-weight: 700; color: var(--ink2); }
.p-top .wk-now .row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 2px; }
.p-top .wk-now .nm { font-family: var(--head); font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: 0; }
.p-top .wk-now .ct { font-family: var(--num); font-weight: 800; font-size: 44px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.p-top .wk-now .ct b { font-weight: 800; }
.p-top .wk-now .ct small { font-family: var(--head); font-size: 16px; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.p-top .wk-now .sub { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink2); line-height: 1.6; }
.p-top .wk-list, .p-top .wk-steps { list-style: none; }
.p-top .wk-list { margin-top: 20px; }
.p-top .wk-list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 0 7px 20px;
  border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; color: var(--ink2); line-height: 1.5; }
.p-top .wk-list li:last-child { border-bottom: 1px solid var(--line); }
.p-top .wk-list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--mid);
  transition: height .3s var(--ease), margin-top .3s var(--ease), background-color .3s ease; }
.p-top .wk-list .c { font-family: var(--num); font-weight: 700; white-space: nowrap; }
.p-top .wk-list .c small { font-family: var(--sans); font-size: 13px; margin-left: 2px; }
.p-top .wk-list li[aria-current="true"] { color: var(--ink); font-weight: 700; }
.p-top .wk-list li[aria-current="true"]::before { height: 22px; margin-top: -11px; background: var(--ink); }
.p-top .wk-ctl { margin-top: 16px; }
.p-top .wk-r { grid-column: 5 / span 8; }
.p-top .wk-sc { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.p-top .wk-sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-bottom: 14px; }
.p-top .wk-sh h3 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.p-top .wk-sh .ct { font-family: var(--num); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1.2; }
.p-top .wk-sh .ct small { font-family: var(--head); font-size: 15px; font-weight: 700; margin-left: 3px; }
.p-top .wk-sh .sub { flex-basis: 100%; font-size: 15px; font-weight: 700; color: var(--ink2); line-height: 1.6; }
@media (min-width: 768px) {
  /* PC：JS が動いているときは、業種名と件数は左の箱が出すので、場面ごとの見出しは読み上げ用に残して見た目からは外す */
  .p-top.wk-on .wk-sh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.p-top .wk-fig { background: var(--wash); border-radius: 20px; padding: clamp(12px, 1.6vw, 24px) clamp(12px, 1.6vw, 24px) 22px; }
.p-top .wk-fig svg { width: 100%; height: auto; overflow: visible; }
.p-top .wk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4px; text-align: center; }
.p-top .wk-steps li { position: relative; padding: 0 10px; }
.p-top .wk-steps li + li::before { content: "→"; position: absolute; left: 0; top: 0; transform: translateX(-50%); font-family: var(--num); font-weight: 700; font-size: 18px; line-height: 1.5; color: var(--gray); }
.p-top .wk-steps b { display: block; font-family: var(--head); font-size: clamp(17px, 1.4vw, 20px); color: var(--ink); line-height: 1.5; letter-spacing: 0.02em; }
.p-top .wk-steps span { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--ink2); line-height: 1.6; }
.p-top .wk-fn { margin-top: 8px; font-size: 14px; color: var(--ink2); }

/* ===== 3 時代の変化 ＋ 4 こうなれたら ===== */
.p-top .s-pain { padding-top: 0; }
/* style.css の旧トップの .why（高さ・背景・余白・光の飾り）を打ち消す */
.p-top .why { position: static; min-height: 0; padding: clamp(56px, 6vw, 96px) 0 0; grid-template-rows: none; background: none; overflow: visible; align-items: start; }
.p-top .why::before { content: none; }
.p-top .why .lt { grid-column: 1 / span 6; }
.p-top .why .big { font-family: var(--head); font-size: clamp(30px, 3vw, 46px); font-weight: 900; line-height: 1.3; color: var(--ink); letter-spacing: -0.03em; font-feature-settings: "palt"; }
.p-top .why .big .pre { font-size: 0.56em; font-weight: 700; color: var(--ink2); letter-spacing: 0; margin-bottom: 0.4em; }
.p-top .why .big .em { color: var(--or); }
.p-top .why .rt { grid-column: 8 / span 5; }
.p-top .why .rt > p { font-size: 18px; line-height: 1.95; }
.p-top .why .cap { margin-top: 36px; font-size: 16px; font-weight: 700; color: var(--ink2); }
.p-top .fl { margin-top: clamp(32px, 3.4vw, 52px); max-width: 560px; }
.p-top .fl svg { width: 100%; height: auto; overflow: visible; }
.p-top .fl-lb { position: relative; height: 64px; margin-top: 10px; }
.p-top .fl-lb p { position: absolute; top: 0; transform: translateX(-50%); text-align: center; white-space: nowrap; line-height: 1.35; }
.p-top .fl-lb b { display: block; font-family: var(--head); font-size: clamp(18px, 1.5vw, 22px); color: var(--ink); letter-spacing: 0.02em; }
.p-top .fl-lb span { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--ink2); }
.p-top .fl-lb .me span { color: var(--or-deep); }
.p-top .q3 { margin-top: 12px; }
.p-top .q3 li { display: grid; grid-template-columns: 3.2em 1fr; align-items: baseline; padding: 18px 0; font-family: var(--head); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; color: var(--ink); letter-spacing: 0; }
.p-top .q3 li:last-child { border-bottom: 1px solid var(--line); }
.p-top .q3 .no { font-size: 16px; }
.p-top .pain-h { margin-top: clamp(96px, 10vw, 160px); align-items: end; }
.p-top .pain-h h2 { grid-column: 1 / span 8; }
.p-top .pain-h .sub { grid-column: 9 / span 4; font-size: 19px; font-weight: 700; color: var(--ink); padding-bottom: 8px; }
.p-top .pains { margin-top: clamp(40px, 4vw, 64px); }
.p-top .pains li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 26px 0; align-items: baseline; }
.p-top .pains li:last-child { border-bottom: 1px solid var(--line); }
.p-top .pains .who { grid-column: 1 / span 3; font-size: 16px; font-weight: 700; color: var(--ink2); letter-spacing: 0.08em; }
.p-top .pains .t { grid-column: 4 / span 9; font-family: var(--head); font-size: clamp(20px, 1.75vw, 26px); font-weight: 700; color: var(--ink); line-height: 1.6; letter-spacing: 0; }
.p-top .s-pain .after { margin-top: 40px; font-size: 19px; }

/* ===== 5 山場：墨の面（1か所目） ===== */
.p-top .s3 { background: var(--ink); color: var(--white); }
.p-top .s3 .pre { color: var(--mid); font-weight: 700; font-size: 20px; }
.p-top .s3 h2 { color: var(--white); font-size: clamp(40px, 5.2vw, 84px); font-weight: 900; letter-spacing: -0.03em; margin-top: 16px; line-height: 1.2; }
.p-top .pipe { margin: clamp(56px, 6vw, 96px) calc(var(--pad) * -1) 0; }
.p-top .pipe svg { width: 100%; height: auto; }
.p-top .pipe-ctl { display: flex; justify-content: flex-end; margin-top: 14px; }
.p-top .pipe .drift { transform-box: view-box; }
.p-top .roots { margin-top: clamp(48px, 5vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.p-top .roots li { border-top: 1px solid var(--ink2); padding-top: 22px; font-family: var(--head); font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; color: var(--white); line-height: 1.5; }
.p-top .roots .no { display: block; color: var(--mid); margin-bottom: 10px; }
.p-top .base { margin-top: clamp(72px, 7vw, 120px); }
.p-top .base small { display: block; font-size: 18px; font-weight: 700; color: var(--mid); }
.p-top .base p { margin-top: 12px; font-family: var(--head); font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; line-height: 1.55; color: var(--mid); letter-spacing: -0.01em; max-width: 26em; }
.p-top .base p b { color: var(--white); }

/* ===== 6 何が残るか（工程の帯） ===== */
.p-top .s3b { align-items: center; }
.p-top .s3b .lead { grid-column: 1 / span 5; color: var(--ink); }
.p-top .s3b .lead p:first-child { font-family: var(--head); font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink2); }
.p-top .s3b .lead p:first-child b { color: var(--ink); font-weight: 900; }
.p-top .band { grid-column: 7 / span 6; }
.p-top .band .row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 16px; }
.p-top .band .row + .row { margin-top: 12px; }
.p-top .band .lb { font-size: 16px; font-weight: 700; color: var(--ink); }
.p-top .band .seg { display: flex; gap: 4px; }
.p-top .band .seg span { height: 60px; display: flex; align-items: center; justify-content: center; background: var(--wash2); border-radius: 10px;
  font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; letter-spacing: 0; }
.p-top .band .seg .v { background: var(--or-soft2); }
.p-top .band .seg.tags span { height: auto; background: none; font-size: 15px; color: var(--ink2); white-space: normal; text-align: center; line-height: 1.45; padding-top: 6px; }
.p-top .band .seg.tags .v2 { color: var(--or-deep); }
.p-top .band .note { margin-top: 20px; font-size: 14px; color: var(--ink2); }

/* ===== 7 026も、毎日AIと一緒に働いています ===== */
.p-top .s-ai { background: var(--wash); }
.p-top .ai-h { align-items: end; }
.p-top .ai-h h2 { grid-column: 1 / span 7; }
.p-top .ai-h .lead { grid-column: 8 / span 5; font-size: 18px; color: var(--ink); padding-bottom: 6px; }
.p-top .ai-row { margin-top: clamp(56px, 6vw, 96px); align-items: start; }
.p-top .ai-card { grid-column: span 6; }
.p-top .ai-card h3 { margin-top: 28px; display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2vw, 30px); font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.p-top .ai-card h3 .no { font-size: 15px; }
.p-top .ai-card p { margin-top: 12px; font-size: 17px; line-height: 1.9; }
.p-top .ai-card .note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.8; color: var(--ink2); }
/* ブラウザの枠（上に丸い点3つの帯）。画面はこの中に入れる */
.p-top .brw { background: var(--white); border: 1px solid var(--mid); border-radius: 14px; overflow: hidden; }
.p-top .brw-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--wash2); border-bottom: 1px solid var(--line); }
.p-top .brw-bar i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--mid); }
/* 枠の大きさは aspect-ratio で決めるので、画像・動画のファイルがまだ無いときも高さは崩れない */
.p-top .brw-scr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--white); }
/* 01 AIバーチャルオフィスの動画：枠は DOJO と同じ 16:10。録画（16:9）は切らずに収める（上下に薄い余白） */
.p-top .brw-video .brw-scr { background: var(--wash2); }
.p-top .brw-video video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: var(--wash2); }
.p-top .brw-video.is-zoomable .brw-scr { cursor: zoom-in; }
/* 大きく見る：枠の右上の小さな札。墨の地に白文字 */
.p-top .vid-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border: 0; border-radius: var(--pill); background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer; }
.p-top .vid-zoom[hidden] { display: none; }
.p-top .vid-zoom:hover { background: var(--ink2); }
.p-top .vid-zoom:focus-visible { outline: 3px solid var(--or-deep); outline-offset: 3px; }
.p-top .vid-zoom svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* 重ねる窓（dialog）。Esc と 閉じる で閉じる。録画を最大 1280px（原寸）まで、画面の高さに収まる大きさで。
   .p-top * の margin: 0 で中央寄せが消えないよう、margin: auto をここで書く */
.p-top .vid-dlg { width: min(1280px, 94vw, calc((100vh - 120px) * 16 / 9)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 14px;
  background: var(--ink); color: var(--white); overflow: hidden; }
.p-top .vid-dlg::backdrop { background: #1B1917; opacity: 0.88; }
.p-top .vid-dlg-hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 20px; }
.p-top .vid-dlg-hd p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; color: var(--white); }
.p-top .vid-close { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--gray); border-radius: var(--pill);
  background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 14px; font-weight: 700; cursor: pointer; }
.p-top .vid-close:hover { background: var(--ink2); }
.p-top .vid-close:focus-visible { outline: 3px solid var(--or-soft2); outline-offset: 3px; }
.p-top .vid-close svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.p-top .vid-close small { font-size: 12px; font-weight: 500; color: var(--mid); }
.p-top .vid-dlg-scr { position: relative; aspect-ratio: 16 / 9; background: var(--wash2); }
.p-top .vid-dlg-scr video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.p-top .vid-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: var(--pill); background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; }
.p-top .vid-play[hidden] { display: none; }
.p-top .vid-play:hover { background: var(--ink2); }
.p-top .vid-play:focus-visible { outline: 3px solid var(--or-deep); outline-offset: 3px; }
.p-top .vid-play svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.p-top .vid-play small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.4; }
.p-top .vid-play span { line-height: 1.4; text-align: left; white-space: nowrap; }
.p-top .ai-vid .vid-len { margin: 0; font-size: 14px; color: var(--ink2); }
.p-top .vid-cap { margin-top: 24px; }
.p-top .vid-cap .kk { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink2); letter-spacing: 0.12em; }
.p-top .vid-cap ol { margin: 10px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.p-top .vid-cap li { display: grid; grid-template-columns: 2em minmax(0, 1fr); align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 1.7; color: var(--ink); }
/* 02 PMaaS-DOJO の画面：寄せずに全体を見せる（J037 代表の指示）。画像の縦横比は4枚とも違うので、
   object-fit: contain で枠（16:10）に切らずに収め、余りは枠の地（白）のまま */
.p-top .sl { position: absolute; inset: 0; opacity: 0; }
.p-top .sl.sl1 { opacity: 1; }
.p-top .sl img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; }
.p-top .ai-ctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; min-height: 36px; }
.p-top .dots { display: flex; gap: 8px; }
.p-top .dots i { position: relative; display: block; width: 28px; height: 6px; border-radius: 3px; background: var(--mid); overflow: hidden; }
.p-top .dots b { position: absolute; inset: 0; background: var(--ink); opacity: 0; }
.p-top .dots i:first-child b { opacity: 1; }
/* 数字の帯（J034 資料 P.05 の3つの成果。白い面1枚を縦の罫線で3つに区切る。オレンジは大きな数字だけ） */
.p-top .ai-nums { margin-top: clamp(56px, 5.6vw, 88px); background: var(--white); border-radius: 20px;
  padding: clamp(32px, 3.4vw, 52px) clamp(24px, 3.4vw, 56px) clamp(28px, 2.6vw, 40px); }
.p-top .ai-nums .kk { font-size: 15px; font-weight: 700; color: var(--ink2); letter-spacing: 0.12em; }
.p-top .ai-nums h3 { margin-top: 8px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.p-top .ai-nums ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-top .ai-nums li { display: flex; flex-direction: column; padding: 32px clamp(20px, 2.4vw, 40px) 4px; }
.p-top .ai-nums li:first-child { padding-left: 0; }
.p-top .ai-nums li:last-child { padding-right: 0; }
.p-top .ai-nums li + li { border-left: 1px solid var(--line); }
/* min-height 3em＝ラベル2行分。ラベルが1行・2行に分かれても、大きな数字の高さがそろう */
.p-top .ai-nums .lb { display: flex; align-items: center; gap: 10px; min-height: 3em; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.p-top .ai-nums .lb svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-top .ai-nums .n { margin-top: 18px; font-family: var(--num); font-weight: 800; font-size: clamp(80px, 7.6vw, 124px); line-height: 1; letter-spacing: -0.04em;
  color: var(--or-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-top .ai-nums .n small { font-family: var(--head); font-size: 0.36em; font-weight: 900; letter-spacing: 0; margin: 0 2px; }
.p-top .ai-nums .n .k { color: var(--ink); }
.p-top .ai-nums .d { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.8; color: var(--ink2); }
.p-top .ai-nums .fn { margin-top: 24px; font-size: 14px; color: var(--ink2); }

/* ===== 8 AIと人の分担 ===== */
.p-top .s6 .hl { align-items: end; }
.p-top .s6 h2 { grid-column: 1 / span 8; }
.p-top .s6 .hl .sub2 { grid-column: 1 / span 8; margin-top: 18px; font-size: 19px; font-weight: 700; color: var(--ink); }
.p-top .split { margin-top: clamp(48px, 5vw, 80px); }
.p-top .split .heads { display: flex; gap: 6px; align-items: flex-end; }
.p-top .split .heads > div { color: var(--ink); font-weight: 700; font-size: 18px; line-height: 1.5; }
.p-top .split .heads .ai, .p-top .split .subs .ai { flex: 27; }
.p-top .split .heads .hu, .p-top .split .subs .hu { flex: 8; }
.p-top .split .heads b { display: block; font-family: var(--num); font-weight: 800; font-size: clamp(88px, 10vw, 168px); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.p-top .split .heads .ai b { color: var(--gray); }
.p-top .split .heads .hu b { color: var(--or); }
.p-top .cells { margin-top: 16px; display: grid; grid-template-columns: repeat(35, 1fr); gap: 5px; }
.p-top .cells i { display: block; height: 56px; border-radius: 8px; background: var(--line); }
.p-top .cells i.h { background: var(--or); }
.p-top .split .subs { display: flex; gap: 6px; margin-top: 14px; font-size: 16px; color: var(--ink2); font-weight: 700; }
.p-top .s6 .cols { margin-top: clamp(48px, 5vw, 80px); }
.p-top .s6 .cols .lead { grid-column: 1 / span 6; font-size: 18px; }
.p-top .s6 .cols .lead2 { grid-column: 8 / span 5; font-size: 18px; }
.p-top .s6 .key { color: var(--ink); font-weight: 700; }

/* ===== 9 026とは ===== */
.p-top .s-about { background: var(--wash); }
.p-top .s-about .g12 { align-items: center; }
.p-top .s-about .tx { grid-column: 1 / span 6; }
.p-top .s-about .art { grid-column: 8 / span 5; }
.p-top .s-about .art svg { width: 100%; height: auto; }
.p-top .s-about .lead { margin-top: 36px; font-size: 18px; }
.p-top .stance { margin-top: clamp(72px, 7vw, 112px); padding-top: 36px; border-top: 1px solid var(--line); }
.p-top .stance p { font-family: var(--head); font-size: clamp(24px, 2.4vw, 36px); font-weight: 700; color: var(--ink); line-height: 1.7; letter-spacing: -0.01em; max-width: 30em; }
.p-top .stance .say { background: var(--line); }

/* ===== 10 PMaaS と4つのサービス（J037 svc-design.html・design.md 20章） =====
   このセクションの 1199px 以下・767px 以下の指定も、ここにまとめた（ほかのセクションの媒体別の節には書かない） */
/* 頭：左に PMaaS のワードマーク、右にセクションの見出し（4つの役割を1文で） */
.p-top .s-svc .svc-hd { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); align-items: end; }
.p-top .s-svc .svc-mark { font-family: var(--num); font-weight: 800; font-size: clamp(96px, 10vw, 152px); line-height: .92; letter-spacing: -0.035em;
  color: var(--or); margin-left: -0.04em; }
.p-top .s-svc .svc-read { margin-top: 14px; font-family: var(--num); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; color: var(--ink2); }
.p-top .s-svc .svc-def { margin-top: 10px; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.p-top .s-svc h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; padding-bottom: 6px; }

/* 1つから4つに分かれる線（ツリー）。真ん中の札＝PMaaS、横の線は1枚目と4枚目の中心のあいだ、各カードの上に短い縦の線 */
.p-top .s-svc .svc-tree { position: relative; height: 72px; margin-top: 40px; }
.p-top .s-svc .svc-tree .node { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 1; white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: 10px; padding: 7px 20px 8px; border-radius: var(--pill); background: var(--ink); color: var(--white);
  font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: 0.04em; }
.p-top .s-svc .svc-tree .node b { font-family: var(--num); font-weight: 800; color: var(--white); letter-spacing: 0.02em; }
.p-top .s-svc .svc-tree .stem { position: absolute; left: calc(50% - 1px); top: 20px; width: 2px; height: 52px; background: var(--or-soft2); }
.p-top .s-svc .svc-tree .bar { position: absolute; left: calc((100% - 3 * 24px) / 8); right: calc((100% - 3 * 24px) / 8); bottom: 0; height: 2px;
  background: var(--or-soft2); transform-origin: center; }

/* 4枚のカード：枠線なし、薄い面。上に情景、下にサービス名（大）・役割・説明 */
.p-top .s-svc .svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 24px; align-items: stretch; }
.p-top .s-svc .svc-card { position: relative; display: flex; flex-direction: column; background: var(--wash); border-radius: 20px; padding: 14px 14px 26px; }
.p-top .s-svc .svc-card::before { content: ""; position: absolute; left: calc(50% - 1px); top: -24px; width: 2px; height: 24px; background: var(--or-soft2); }
.p-top .s-svc .svc-card.is-auto { background: #FEF6EE; }
.p-top .s-svc .svc-scene { position: relative; border-radius: 12px; background: var(--wash2); }
.p-top .s-svc .svc-scene svg { width: 100%; height: auto; }
.p-top .s-svc .svc-tx { padding: 0 10px; }
.p-top .s-svc .svc-nm { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.p-top .s-svc .svc-nm .no { color: var(--or-deep); }
/* 字の大きさは、いちばん長い KUROKO（約4.6em）が、どの幅でもカードの右端から20px以上内側に収まる値（計算は dev-notes 15章 15-2） */
.p-top .s-svc .svc-nm .nm { font-family: var(--num); font-weight: 800; font-size: clamp(34px, 2.9vw, 48px); line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.p-top .s-svc .svc-card h3 { margin-top: 14px; font-size: 21px; font-weight: 700; line-height: 1.45; letter-spacing: 0; }
.p-top .s-svc .svc-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.85; letter-spacing: 0.02em; }
.p-top .s-svc .svc-card .cond { color: var(--ink); font-weight: 700; }
/* AUTO の印：PRO・KUROKO に足して使う（情景の左上。文字＋記号で、色だけに頼らない） */
.p-top .s-svc .svc-plus { position: absolute; left: 24px; top: 24px; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 4px 4px;
  border-radius: var(--pill); background: var(--white); color: var(--or-deep); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: 0.02em; }
.p-top .s-svc .svc-plus i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--or-deep); color: var(--white);
  font-style: normal; font-family: var(--num); font-weight: 800; font-size: 16px; line-height: 1; }
/* 1200〜1365px：情景の幅が印（約250px）より狭く、左上に置くと2行に折れて人と AI の印を隠す。
   この幅だけ、情景の外（カードの最後、説明の下）に1行で置く。最後に置くのは、4枚の名前の高さをそろえたままにするため */
@media (min-width: 1200px) and (max-width: 1365px) {
  .p-top .s-svc .svc-plus { position: static; order: 1; align-self: flex-start; margin: 16px 0 0 10px; white-space: nowrap;
    gap: 5px; padding: 3px 10px 3px 3px; font-size: clamp(12px, 1vw, 13px); }
  .p-top .s-svc .svc-plus i { width: 20px; height: 20px; font-size: 15px; }
}

/* 締め：どれが合うかは一緒に決める（4つを見たあとに次の行動を置くため、4枚の下） */
.p-top .s-svc .svc-ft { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin-top: 40px; }
.p-top .s-svc .svc-ft p { font-size: 18px; font-weight: 700; color: var(--ink); }
.p-top .s-svc .svc-ft .tlink { font-size: 18px; }

/* 動き：ツリーの横線が真ん中から伸び、4枚が左から順に浮き上がる（.is-ready の下だけ。JS なし・動きを減らす設定では最初から全部見える） */
.p-top.is-ready .s-svc .svc-tree .bar { transform: scaleX(0); transition: transform .9s var(--ease) .15s; }
.p-top.is-ready .s-svc .svc-tree.is-in .bar { transform: scaleX(1); }
.p-top.is-ready .s-svc .svc-card.rv { transition-delay: calc(var(--d, 0s) * 2 + .25s); }

/* 1199px 以下：4枚を縦に並べ、左の縦の線で1つにつなぐ */
@media (max-width: 1199px) {
  .p-top .s-svc .svc-hd { grid-template-columns: 1fr; row-gap: 28px; }
  .p-top .s-svc .svc-tree { height: auto; margin-top: 44px; }
  .p-top .s-svc .svc-tree .node { position: static; transform: none; }
  .p-top .s-svc .svc-tree .stem, .p-top .s-svc .svc-tree .bar { display: none; }
  .p-top .s-svc .svc-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 0; padding: 18px 0 0 26px; position: relative; }
  .p-top .s-svc .svc-cards::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 56px; width: 2px; background: var(--or-soft2); }
  .p-top .s-svc .svc-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); grid-template-areas: "nm sc" "h3 sc" "p p";
    column-gap: 16px; padding: 18px 18px 22px; }
  .p-top .s-svc .svc-card::before { left: -8px; top: 52px; width: 8px; height: 2px; }
  .p-top .s-svc .svc-tx { display: contents; }
  .p-top .s-svc .svc-scene { grid-area: sc; align-self: start; }
  .p-top .s-svc .svc-nm { grid-area: nm; margin-top: 4px; flex-direction: column; gap: 6px; }
  .p-top .s-svc .svc-card h3 { grid-area: h3; margin-top: 8px; }
  .p-top .s-svc .svc-card p { grid-area: p; }
  .p-top .s-svc .svc-card.is-auto { grid-template-areas: "nm sc" "h3 sc" "pl pl" "p p"; }
  .p-top .s-svc .svc-plus { position: static; grid-area: pl; margin-top: 14px; background: var(--white); }
  .p-top .s-svc .svc-ft { margin-top: 36px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .p-top .s-svc .svc-card { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "nm sc" "h3 sc" "p sc"; column-gap: 32px; padding: 20px 20px 24px 28px; }
  .p-top .s-svc .svc-card.is-auto { grid-template-areas: "nm sc" "h3 sc" "pl sc" "p sc"; }
  .p-top .s-svc .svc-card p { align-self: start; }
}
/* 767px 以下 */
@media (max-width: 767px) {
  .p-top .s-svc .svc-mark { font-size: 76px; }
  .p-top .s-svc .svc-read { margin-top: 10px; font-size: 13px; letter-spacing: 0.06em; }
  .p-top .s-svc .svc-def { font-size: 17px; }
  .p-top .s-svc h2 { font-size: 25px; }
  .p-top .s-svc .svc-tree { margin-top: 32px; }
  .p-top .s-svc .svc-tree .node { font-size: 15px; padding: 6px 16px 7px; }
  .p-top .s-svc .svc-cards { padding-left: 20px; }
  .p-top .s-svc .svc-cards::before { left: 13px; }
  .p-top .s-svc .svc-card { column-gap: 10px; padding: 14px 14px 18px 16px; }
  .p-top .s-svc .svc-card::before { left: -7px; width: 7px; top: 44px; }
  .p-top .s-svc .svc-nm .nm { font-size: 32px; }
  .p-top .s-svc .svc-card h3 { font-size: 17px; margin-top: 10px; }
  .p-top .s-svc .svc-card p { font-size: 15px; margin-top: 12px; }
  .p-top .s-svc .svc-ft { display: block; }
  .p-top .s-svc .svc-ft p, .p-top .s-svc .svc-ft .tlink { font-size: 17px; }
  .p-top .s-svc .svc-ft .tlink { display: inline-block; margin-top: 14px; }
}

/* ===== 11 予算（予算のつまみと 026の進め役の立ち位置で、関わる厚さを見せる） =====
   data-lv：0＝少なめ／1＝ほどほど／2＝多め。ここに書いた形＝1（ほどほど） */
.p-top .s8 .g12 { align-items: end; padding-top: 48px; }
.p-top .s8 h2 { grid-column: 1 / span 12; }
.p-top .bd { grid-column: 1 / span 7; position: relative; margin-top: clamp(28px, 3vw, 44px); max-width: 680px; }
.p-top .bd-fig { width: 100%; height: auto; overflow: visible; }
.p-top .bd .mv { transform-box: view-box; transform-origin: 0 0; transition: transform 1.1s var(--ease); }
.p-top .bd .ps, .p-top .bd .gf { transition: opacity .6s ease; }
.p-top .bd .b-k { transform: translate(150px, 372px) scale(1.15); }
.p-top .bd .b-me { transform: translate(320px, 372px) scale(1.15); }
.p-top .bd .b-d { transform: translate(490px, 372px) scale(-1.15, 1.15); }
.p-top .bd .p0, .p-top .bd .p2, .p-top .bd .g3 { opacity: 0; }
.p-top .bd[data-lv="0"] .b-k { transform: translate(205px, 384px) scale(1.3); }
.p-top .bd[data-lv="0"] .b-me { transform: translate(320px, 284px) scale(.92); }
.p-top .bd[data-lv="0"] .b-d { transform: translate(435px, 384px) scale(-1.3, 1.3); }
.p-top .bd[data-lv="0"] .p1, .p-top .bd[data-lv="0"] .g2 { opacity: 0; }
.p-top .bd[data-lv="0"] .p0 { opacity: 1; }
.p-top .bd[data-lv="2"] .b-k { transform: translate(166px, 298px) scale(.92); }
.p-top .bd[data-lv="2"] .b-me { transform: translate(320px, 392px) scale(1.35); }
.p-top .bd[data-lv="2"] .b-d { transform: translate(474px, 298px) scale(-.92, .92); }
.p-top .bd[data-lv="2"] .p1 { opacity: 0; }
.p-top .bd[data-lv="2"] .p2, .p-top .bd[data-lv="2"] .g3 { opacity: 1; }
/* 予算のつまみ：見えるのは自前の溝とつまみ。操作は、その上に重ねた透明の input range（キーボード・支援技術に対応） */
.p-top .bd-ctl { margin-top: 14px; }
.p-top .bd-ctl label { display: block; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0.08em; }
.p-top .bd-sl { position: relative; height: 40px; margin-top: 2px; }
.p-top .bd-tr { position: absolute; left: 16px; right: 16px; top: 15px; height: 10px; border-radius: var(--pill); background: var(--line); }
.p-top .bd-tr b { position: absolute; top: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gray); }
.p-top .bd-tr b:nth-child(1) { left: 0; } .p-top .bd-tr b:nth-child(2) { left: 50%; } .p-top .bd-tr b:nth-child(3) { left: 100%; }
.p-top .bd-fl { position: absolute; left: -16px; top: 0; bottom: 0; width: calc(50% + 16px); border-radius: var(--pill); background: var(--or-soft2); transition: width 1.1s var(--ease); }
.p-top .bd-th { position: absolute; left: 50%; top: -10px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--ink);
  border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--mid); transition: left 1.1s var(--ease); }
.p-top .bd[data-lv="0"] .bd-th { left: 0; } .p-top .bd[data-lv="0"] .bd-fl { width: 16px; }
.p-top .bd[data-lv="2"] .bd-th { left: 100%; } .p-top .bd[data-lv="2"] .bd-fl { width: calc(100% + 32px); }
.p-top .bd-r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.p-top .bd-r:disabled { cursor: default; }
.p-top .bd-r::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 40px; }
.p-top .bd-r::-moz-range-thumb { width: 32px; height: 40px; border: 0; }
.p-top .bd-sl:has(.bd-r:focus-visible) .bd-th { outline: 3px solid var(--or-deep); outline-offset: 3px; }
.p-top .bd-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; list-style: none; }
.p-top .bd-st li { position: relative; padding-top: 12px; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--ink2); }
.p-top .bd-st li small { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink2); }
.p-top .bd-st .s1 { text-align: center; } .p-top .bd-st .s2 { text-align: right; }
.p-top .bd-st li::before { content: ""; position: absolute; top: 0; width: 2.4em; height: 4px; border-radius: 2px; background: var(--or-deep); opacity: 0; transition: opacity .4s ease; }
.p-top .bd-st .s0::before { left: 0; } .p-top .bd-st .s1::before { left: 50%; margin-left: -1.2em; } .p-top .bd-st .s2::before { right: 0; }
.p-top .bd[data-lv="0"] .bd-st .s0, .p-top .bd[data-lv="1"] .bd-st .s1, .p-top .bd[data-lv="2"] .bd-st .s2 { color: var(--ink); font-weight: 700; }
.p-top .bd[data-lv="0"] .bd-st .s0::before, .p-top .bd[data-lv="1"] .bd-st .s1::before, .p-top .bd[data-lv="2"] .bd-st .s2::before { opacity: 1; }
.p-top .bd .kv-tg { top: 0; right: 0; }
.p-top .s8 .lead { grid-column: 8 / span 5; font-size: 18px; }
.p-top .s8 .lead .go { margin-top: 24px; }

/* ===== 12 次の一歩：墨の面（2か所目） ===== */
.p-top .s9 { background: var(--ink); color: var(--white); padding-bottom: clamp(96px, 10vw, 152px); }
.p-top .s9 h2 { color: var(--white); font-size: clamp(44px, 6vw, 100px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.14; }
.p-top .s9 .lead { color: var(--mid); font-weight: 700; font-size: 20px; margin-top: 36px; }
.p-top .words { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 26px 20px; max-width: 1180px; }
.p-top .words li { position: relative; background: var(--ink2); color: var(--white); border-radius: 22px; padding: 14px 26px; font-size: 20px; font-weight: 700; line-height: 1.6; }
.p-top .words li::after { content: ""; position: absolute; left: 30px; bottom: -11px; width: 18px; height: 12px; background: var(--ink2); clip-path: polygon(0 0, 100% 0, 0 100%); }
.p-top .close { margin-top: clamp(64px, 6vw, 96px); align-items: center; row-gap: 32px; }
.p-top .close .act { grid-column: 1 / span 7; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.p-top .close .facts { font-size: 19px; font-weight: 700; color: var(--white); line-height: 1.7; }
.p-top .close .facts a { color: var(--white); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.p-top .close .who { grid-column: 9 / span 4; display: flex; align-items: flex-end; gap: 20px; }
.p-top .close .who svg { width: 96px; flex: none; height: auto; }
.p-top .close .who p { font-size: 19px; font-weight: 700; color: var(--white); line-height: 1.7; }

/* スマホの下の固定ボタン（トップだけ。JS が付ける .sb-ok のときだけ出す） */
.p-top .spbar { display: none; }

/* =====================================================================
   動き（すべて .p-top.is-ready の下だけ。.is-ready が無ければ、何も隠さない）
   ===================================================================== */
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes em-in { from { color: var(--ink); } to { color: var(--or); } }
@keyframes kv-enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes kv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* 1 FV のループ（10秒で一巡。CSS に書いた形＝できあがった止まった絵）
   0〜12%：頼む側の頭に、やりたいことの電球（まだ灯っていない）が浮かぶ
   14〜56%：やりたいこと と つくる側の作業が、点の流れになって AI の印へ集まり、画面に部品が1つずつ形になる
   56〜72%：画面ができあがり（チェック）、電球に灯りがともり、画面の上に旗が立つ。きらめき
   72〜90%：そのまま見せる／90〜100%：形になったものがすっと消え、また電球から始まる（人はずっと居る） */
@keyframes k2-bub { 0%, 4% { opacity: 0; transform: scale(.5); } 12%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes k2-lit { 0%, 58% { opacity: 0; } 62%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes k2-dat { 0%, 14% { opacity: 0; } 20%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes k2-flow { to { stroke-dashoffset: -28; } }
@keyframes k2-b1 { 0%, 26% { opacity: 0; transform: translateY(8px); } 31%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k2-b2 { 0%, 36% { opacity: 0; transform: translateY(8px); } 41%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k2-b3 { 0%, 46% { opacity: 0; transform: translateY(8px); } 51%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k2-bar { 0%, 37% { transform: scaleY(0); } 48%, 100% { transform: none; } }
@keyframes k2-ck { 0%, 55% { opacity: 0; transform: scale(.3); } 59% { opacity: 1; transform: scale(1.15); } 62%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k2-fl { 0%, 62% { transform: scaleY(0); } 70%, 90% { transform: none; } 96%, 100% { transform: scaleY(0); } }
@keyframes k2-wave { from { transform: skewY(0); } to { transform: skewY(5deg); } }
@keyframes k2-sp { 0%, 64% { opacity: 0; transform: scale(.2); } 69% { opacity: 1; transform: scale(1.2); } 74%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes k2-hub { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* 1 FV：見出しは1行ずつ下からせり上がり、これやりたい が少し遅れて墨からオレンジに。ボタンは下からふわっと出る */
.p-top.is-ready .fv h1 .ln > span { animation: rise .8s var(--ease) both; animation-delay: calc(.05s + var(--l) * .1s); }
.p-top.is-ready .fv h1 .em { animation: em-in .5s ease .85s both; }
.p-top.is-ready .fv .fv-go { animation: up .8s var(--ease) .55s both; }
.p-top.is-ready .fv-art .kv-wrap { animation: kv-enter 1s var(--ease) .2s both; }
.p-top.is-ready .kv2 .k2-bub { animation: k2-bub 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-lit { animation: k2-lit 10s ease infinite; }
.p-top.is-ready .kv2 .k2-dat { animation: k2-dat 10s linear infinite; }
.p-top.is-ready .kv2 .k2-dat path { animation: k2-flow 1.1s linear infinite; }
.p-top.is-ready .kv2 .k2-b1 { animation: k2-b1 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-b2 { animation: k2-b2 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-b3 { animation: k2-b3 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-bar { animation: k2-bar 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-ck { animation: k2-ck 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-flag { animation: k2-fl 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-cloth { animation: k2-wave 1.4s ease-in-out infinite alternate; }
.p-top.is-ready .kv2 .k2-sp { animation: k2-sp 10s var(--ease) infinite; }
.p-top.is-ready .kv2 .k2-hub { animation: k2-hub 3s ease-in-out infinite; }
.p-top.is-ready .kv2 .k2-bob { animation: kv-bob 1.5s ease-in-out infinite; }
.p-top.is-ready .kv2 .k2-bob2 { animation: kv-bob 1.8s ease-in-out .4s infinite; }
.p-top.is-ready .kv2 .k2-bob3 { animation: kv-bob 1.2s ease-in-out .2s infinite; }
/* キービジュアルが画面の外：その場で一時停止（戻ったら続きから） */
.p-top.is-ready.kv-off .kv2 * { animation-play-state: paused; }
/* 止めるボタン：ループを外し、止まった絵（できあがった形。JS なしと同じ絵）にする */
.p-top.is-ready.kv-stop .kv2 * { animation: none; }

/* 2 取引実績：仕事の流れを表すオレンジの点が、左から右へゆっくり進む。左の業種が切り替わるとき、ふわっと入れ替わる */
@keyframes wk-fl { to { stroke-dashoffset: -28; } }
@keyframes wk-sw { from { opacity: .15; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.p-top.is-ready .wk-fig.is-in .wk-fls path { animation: wk-fl 2s linear infinite; }
.p-top.is-ready .wk-now.fx .row, .p-top.is-ready .wk-now.fx .sub { animation: wk-sw .45s var(--ease) both; }

/* 5 山場：カードが3つの列で、左から右へよどみなく流れる（止まった絵＝列にそろって並んだ形） */
@keyframes p-flow { to { stroke-dashoffset: -56; } }
@keyframes p-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(12px); } }
.p-top.is-ready .pipe.is-in .flow { animation: p-flow 1.4s linear infinite; }
.p-top.is-ready .pipe.is-in .drift { animation: p-drift 3.2s ease-in-out infinite; }

/* 7 DOJO の画面：4枚を約18秒でループ（選ぶ → 話す → 会話が進む → AIのレビュー）。切り替えは0.8秒の重ね */
@keyframes d-s1 { 0%, 19.57% { opacity: 1; } 23.91%, 95.65% { opacity: 0; } 100% { opacity: 1; } }
@keyframes d-s2 { 0%, 19.57% { opacity: 0; } 23.91%, 41.3% { opacity: 1; } 45.65%, 100% { opacity: 0; } }
@keyframes d-s3 { 0%, 41.3% { opacity: 0; } 45.65%, 67.39% { opacity: 1; } 71.74%, 100% { opacity: 0; } }
@keyframes d-s4 { 0%, 67.39% { opacity: 0; } 71.74%, 95.65% { opacity: 1; } 100% { opacity: 0; } }
.p-top.is-ready .dojo .sl1, .p-top.is-ready .dots i:nth-child(1) b { animation: d-s1 var(--dl) linear infinite; }
.p-top.is-ready .dojo .sl2, .p-top.is-ready .dots i:nth-child(2) b { animation: d-s2 var(--dl) linear infinite; }
.p-top.is-ready .dojo .sl3, .p-top.is-ready .dots i:nth-child(3) b { animation: d-s3 var(--dl) linear infinite; }
.p-top.is-ready .dojo .sl4, .p-top.is-ready .dots i:nth-child(4) b { animation: d-s4 var(--dl) linear infinite; }
/* 画面の外：一時停止。止めるボタン：1枚目の止まった画面（JS なし・動きを減らす設定と同じ） */
.p-top.is-ready .is-off *, .p-top.is-ready .is-off ~ .ai-ctl * { animation-play-state: paused !important; }
.p-top.is-ready .is-stop *, .p-top.is-ready .is-stop ~ .ai-ctl * { animation: none !important; }

/* スクロールで、ふわっと浮き上がる */
.p-top.is-ready .rv { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.p-top.is-ready .rv.is-in { opacity: 1; transform: none; }
.p-top.is-ready .band .seg:not(.tags) { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .3s; }
.p-top.is-ready .band .row:nth-child(2) .seg { transition-delay: .55s; }
.p-top.is-ready .band.is-in .seg:not(.tags) { clip-path: inset(0 0 0 0); }
.p-top.is-ready .cells i { opacity: 0; transform: scale(.5); transition: opacity .4s ease, transform .4s var(--ease); transition-delay: calc(.2s + var(--j, 0) * .025s); }
.p-top.is-ready .split.is-in .cells i { opacity: 1; transform: none; }
.p-top.is-ready .pipe .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1) .2s; }
.p-top.is-ready .pipe.is-in .draw { stroke-dashoffset: 0; }
.p-top.is-ready .pipe .pfill { opacity: 0; transition: opacity .8s ease .9s; }
.p-top.is-ready .pipe.is-in .pfill { opacity: 1; }

/* 動きを減らす設定・#still（撮影・確認用）では、すべて止める（＝止まった絵） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p-top *, .p-top *::before, .p-top *::after { animation: none !important; transition: none !important; }
}
.p-top.is-still, .p-top.is-still *, .p-top.is-still *::before, .p-top.is-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ===== 768〜1199px ===== */
@media (min-width: 768px) and (max-width: 1199px) {
  .p-top .wk-nums { column-gap: 12px; }
  .p-top .wk-nums .n { font-size: 50px; }
  .p-top .wk-nums .d { font-size: 14px; }
  .p-top .wk-now { padding: 14px 16px; }
  .p-top .wk-now .ct { font-size: 36px; }
  .p-top .wk-list li { font-size: 15px; }
  .p-top .ai-nums .lb { font-size: 15px; }
  .p-top .ai-nums .n { font-size: 64px; }
  .p-top .ai-nums .d { font-size: 15px; }
}

/* ===== スマホ（390px を基準） ===== */
@media (max-width: 767px) {
  .p-top .g12 { display: block; }
  .p-top .pc { display: none; }
  .p-top .sp { display: block; }
  .p-top br.sp-br { display: inline; }
  .p-top .why .lt { margin-bottom: 8px; }
  .p-top .why .big { font-size: 27px; }
  .p-top .fl { margin-top: 28px; }
  .p-top .fl-lb { height: 54px; margin-top: 6px; }
  .p-top .fl-lb b { font-size: 17px; }
  .p-top .fl-lb span { font-size: 13px; margin-top: 2px; }
  /* 取引実績：固定追従をやめ、数字 → 業種ごとに 業種名と件数 → 絵 の順に縦に並べる（左の箱と一覧は出さない） */
  .p-top .wk-hd h2 { margin-top: 10px; }
  .p-top .wk-hd .lead { margin-top: 20px; font-size: 16px; padding-bottom: 0; }
  .p-top .wk { margin-top: 36px; }
  .p-top .wk-st { position: static; padding-top: 0; }
  .p-top .wk-nums .n { font-size: 60px; }
  .p-top .wk-nums .d { font-size: 14px; }
  .p-top .wk-now, .p-top.wk-on .wk-now, .p-top .wk-list { display: none; }
  .p-top .wk-ctl { display: flex; justify-content: flex-end; }
  .p-top .wk-r { margin-top: 28px; }
  .p-top .wk-sc { min-height: 0; padding: 0; }
  .p-top .wk-sc + .wk-sc { margin-top: 48px; }
  .p-top .wk-sh { margin-bottom: 10px; }
  .p-top .wk-sh h3 { font-size: 22px; }
  .p-top .wk-sh .ct { font-size: 24px; }
  .p-top .wk-sh .sub { font-size: 14px; }
  .p-top .wk-fig { border-radius: 14px; padding: 10px 6px 14px; }
  .p-top .wk-steps li { padding: 0 11px; }
  .p-top .wk-steps li + li::before { font-size: 14px; }
  .p-top .wk-steps b { font-size: 14px; letter-spacing: 0; }
  .p-top .wk-steps span { font-size: 14px; letter-spacing: 0; line-height: 1.55; }
  .p-top .wk-fn { margin-top: 28px; }
  .p-top .why { padding-top: 48px; }
  .p-top .why .rt { margin-top: 24px; }
  .p-top .why .rt > p { font-size: 16px; }
  .p-top .q3 li { font-size: 24px; grid-template-columns: 2.6em 1fr; padding: 14px 0; }
  .p-top .pain-h { margin-top: 88px; }
  .p-top .pain-h .sub { margin-top: 12px; font-size: 16px; }
  .p-top .pains { margin-top: 28px; }
  .p-top .pains li { display: block; padding: 20px 0; }
  .p-top .pains .who { display: block; font-size: 14px; }
  .p-top .pains .t { display: block; margin-top: 6px; font-size: 19px; }
  .p-top .s-pain .after { font-size: 17px; }
  .p-top .s3 .pre { font-size: 17px; }
  .p-top .pipe { margin-left: 0; margin-right: 0; }
  .p-top .roots { grid-template-columns: 1fr; row-gap: 24px; }
  .p-top .roots li { font-size: 21px; padding-top: 16px; }
  .p-top .base small { font-size: 16px; }
  .p-top .base p { font-size: 22px; }
  .p-top .s3b .lead p:first-child { font-size: 22px; }
  .p-top .band { margin-top: 40px; }
  .p-top .band .row { grid-template-columns: 52px 1fr; gap: 8px; }
  .p-top .band .lb { font-size: 13px; }
  .p-top .band .seg { gap: 3px; }
  .p-top .band .seg span { font-size: 12px; height: 48px; border-radius: 8px; }
  .p-top .band .seg.tags span { font-size: 12px; white-space: nowrap; letter-spacing: -0.02em; }
  .p-top .ai-h .lead { margin-top: 24px; font-size: 16px; }
  .p-top .ai-row { margin-top: 44px; }
  .p-top .ai-card + .ai-card { margin-top: 56px; }
  .p-top .vid-cap li { font-size: 15px; }
  .p-top .vid-play { min-height: 48px; padding: 0 20px; font-size: 15px; gap: 10px; }
  .p-top .vid-play small { font-size: 12px; }
  .p-top .ai-card h3 { margin-top: 20px; font-size: 22px; }
  .p-top .ai-card p { font-size: 16px; }
  .p-top .ai-card .note { font-size: 14px; }
  .p-top .brw { border-radius: 10px; }
  .p-top .brw-bar { height: 26px; gap: 5px; padding: 0 10px; }
  .p-top .brw-bar i { width: 7px; height: 7px; }
  /* 3つを縦に。縦の罫線を外し、項目のあいだは余白で分ける */
  .p-top .ai-nums { margin-top: 48px; padding: 28px 20px 24px; border-radius: 14px; }
  .p-top .ai-nums h3 { font-size: 22px; padding-bottom: 18px; }
  .p-top .ai-nums ul { grid-template-columns: 1fr; }
  .p-top .ai-nums li, .p-top .ai-nums li:first-child, .p-top .ai-nums li:last-child { padding: 28px 0 4px; }
  .p-top .ai-nums li + li { border-left: 0; margin-top: 12px; }
  .p-top .ai-nums .lb { font-size: 16px; min-height: 0; }
  .p-top .ai-nums .n { margin-top: 12px; font-size: 76px; }
  .p-top .ai-nums .d { margin-top: 14px; padding-top: 12px; font-size: 15px; }
  .p-top .s6 .hl .sub2 { font-size: 16px; margin-top: 14px; }
  .p-top .s-about .art { max-width: 300px; margin: 48px auto 0; }
  .p-top .s-about .lead { font-size: 16px; margin-top: 28px; }
  .p-top .stance { margin-top: 56px; padding-top: 28px; }
  .p-top .stance p { font-size: 21px; }
  .p-top .split .heads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-top .split .heads b { font-size: 88px; }
  .p-top .cells { grid-template-columns: repeat(7, 1fr); gap: 5px; }
  .p-top .cells i { height: 32px; border-radius: 7px; }
  .p-top .split .subs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; letter-spacing: 0; }
  .p-top .s6 .cols .lead, .p-top .s6 .cols .lead2 { font-size: 16px; }
  .p-top .s6 .cols .lead2 { margin-top: 14px; }
  .p-top .s8 .lead { margin-top: 36px; font-size: 16px; }
  .p-top .bd { max-width: none; }
  .p-top .bd-st { gap: 8px; }
  .p-top .bd-st li { font-size: 15px; letter-spacing: 0; }
  .p-top .bd-st li small { font-size: 14px; letter-spacing: 0.02em; }
  .p-top .s9 h2 { font-size: 40px; }
  .p-top .s9 .lead { font-size: 17px; }
  .p-top .words { gap: 22px 12px; }
  .p-top .words li { font-size: 16px; padding: 12px 18px; border-radius: 18px; }
  .p-top .words li::after { left: 22px; bottom: -10px; width: 15px; height: 11px; }
  .p-top .close .act { display: block; }
  .p-top .close .btn.or { width: 100%; min-height: 72px; font-size: 20px; padding: 0 20px; }
  .p-top .close .facts { margin-top: 20px; font-size: 19px; }
  .p-top .close .who { margin-top: 40px; }
  .p-top .close .who svg { width: 72px; }
  /* 固定ボタン：JS が付ける .sb-ok のときだけ出し、キービジュアルが画面にある間（.kv-on）は下へしまう */
  .p-top.sb-ok .spbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--white); padding: 10px 16px 14px;
    transition: transform .35s var(--ease), visibility 0s linear 0s; }
  .p-top.sb-ok.kv-on .spbar { transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .p-top .kv-tg { min-height: 32px; padding: 0 12px; font-size: 12px; }
  .p-top .spbar .btn { width: 100%; min-height: 56px; font-size: 17px; }
}

/* =====================================================================
   今のテーマとの継ぎ目（トップの見た目に要る最小限だけ）
   ヘッダー・フッターは回16で全ページ共通の site-chrome.css に移した（ヘッダーの高さ --hd もそちらで決める）。
   ===================================================================== */
/* style.css は body に overflow-x: hidden を付けている。これがあると position: sticky（取引実績の左の列・4つの関わり方の見出し）が効かない。
   clip はスクロールの箱を作らないので sticky が効き、横のはみ出しは今までどおり切れる（clip を知らないブラウザは hidden のまま） */
.home { overflow-x: hidden; overflow-x: clip; }
/* スマホの下の固定ボタンが、フッターの最後の行を隠さないようにする（見本の .ft の padding-bottom: 120px） */
@media (max-width: 767px) {
  .home .c-ft { padding-bottom: 120px; }
}
