/* ===== B2 下層ページ: b2.css の上に重ねる。下層だけで読み込む（3-9s3・2026-11-19） =====
   決まり1: 色・影・角丸・動きは b2.css の変数と部品を使う。新しい色は足さない
   決まり2: 14px 未満の字はここで決めない。小さい字が要る所は b2.css の .eb .chip .note をそのまま使う
   決まり3: クラス名は sb- で始める（b2.css の短い名前と重ねない）。本文の枠は main.b2s
   構成: A 下層の共通部品 → B まだ組み直していない節（今の HTML のまま B2 の地に置く） */

/* ---------- A-1 パンくず（main の外） ---------- */
.sb-bc{padding-top:20px;font-size:14px;line-height:1.5;color:var(--ink3)}
.sb-bc ol{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px}
.sb-bc li{display:flex;align-items:center;gap:10px}
.sb-bc li+li::before{content:"";width:6px;height:6px;border-top:1.5px solid #AEB5BE;border-right:1.5px solid #AEB5BE;transform:rotate(45deg)}
.sb-bc a{padding:6px 0;color:var(--ink2)}
.sb-bc a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.sb-bc [aria-current]{font-weight:700;color:var(--ink)}

/* ---------- A-2 下層の最初の画面: 左に文、右に青い舞台。舞台が無いページは .solo ---------- */
.sb-hero{padding:14px 0 76px;overflow:hidden}
.sb-hg{display:grid;grid-template-columns:1fr calc(var(--w)*.5) calc(var(--w)*.04) calc(var(--w)*.46) 1fr;align-items:stretch}
.sb-hc{grid-column:2;grid-row:1;padding:30px 0 34px}
.sb-hero.solo .sb-hc{grid-column:2/5;max-width:46em;padding-bottom:0}
.sb-hc .lead{margin-top:20px}
.sb-aim{margin-top:18px;padding-left:16px;border-left:3px solid var(--blue);font-size:17px;font-weight:700;line-height:1.8;max-width:34em}
.sb-hp{margin-top:14px;font-size:15px;line-height:1.9;color:var(--ink2);max-width:42em}
.sb-hbg{grid-column:4/6;grid-row:1;position:relative;overflow:hidden;background-color:var(--blue);border-radius:28px 0 0 28px}
.sb-hbg::after{content:"";position:absolute;right:-90px;top:14%;width:220px;height:300px;border-radius:16px;background:rgba(255,255,255,.08);transform:rotate(6deg)}
.sb-hst{grid-column:4;grid-row:1;position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:432px;padding:64px 4px 48px 36px}
/* 舞台の左上の札。字は data-k から出す（本文の文字に入れない。compare_dist の対象は本文だけ） */
.sb-k{position:absolute;left:20px;top:18px;background:rgba(255,255,255,.16);color:#fff}
.sb-k::before{content:attr(data-k)}

/* ---------- A-3 舞台に置く成果物見本（型3）: 斜めに3枚重ねる。押すと b2.js の拡大表示が開く ---------- */
.sb-docs{display:flex;align-items:center;justify-content:center;width:100%}
.sb-docs li{position:relative;flex:none;width:37%;rotate:-7deg;translate:0 14px;z-index:1}
.sb-docs li:nth-child(2){width:43%;margin:0 -9%;rotate:-1deg;translate:0 -6px;z-index:3}
.sb-docs li:nth-child(3){rotate:6deg;translate:0 20px;z-index:2}
.sb-doc{position:relative;display:block;width:100%;border-radius:4px;background:#fff;box-shadow:0 1px 2px rgba(2,30,90,.25),0 22px 44px -18px rgba(2,24,80,.6);cursor:zoom-in;transition:transform .35s var(--ease)}
.sb-doc img{width:100%;border-radius:4px}
.sb-doc:hover{transform:translateY(-4px)}
.sb-doc:active{transform:scale(.98)}
.sb-doc:hover .zb,.sb-doc:focus-visible .zb{background:var(--blue);color:#fff}
.sb-hst .sb-doc:focus-visible{outline-color:#fff}
.motion .sb-hst:not(.run) .sb-docs li{opacity:0}
.sb-hst.run .sb-docs li{animation:rise .6s var(--ease) both;animation-delay:var(--d,0s)}

/* ---------- A-4 副ボタン（面談の予約など）。主ボタンは b2.css の .btn-p ---------- */
.btn-s{background:var(--soft);color:var(--ink)}
.btn-s:hover{background:var(--line);transform:translateY(-2px)}

/* ---------- A-5 節の中の部品 ---------- */
.sb-tiles{margin-top:44px}
.b2s .tile>p+p{margin-top:8px}
.sb-g2{display:grid;grid-template-columns:7fr 5fr;gap:20px;margin-top:44px;align-items:stretch}
.sb-kvc{border-radius:20px;padding:6px 28px}
/* 右の列と高さをそろえ、行の間で余りを分ける */
.sb-kvc .key-value{height:100%}
.sb-side{display:flex;flex-direction:column;gap:20px;min-width:0}
/* 大事な1文: 青みの面に、印と太字 */
.sb-key{display:flex;gap:16px;align-items:flex-start;background:var(--blues);border-radius:20px;padding:24px 26px}
.sb-key .ri{width:40px;height:40px;border-radius:12px;background:#fff}
.sb-key p{font-size:17px;font-weight:700;line-height:1.8;padding-top:4px}
/* 確かめの並び: 薄灰の面に、b2.css の .cks を入れる */
.sb-box{flex:1;background:var(--soft);border-radius:20px;padding:10px 26px 22px}
.sb-box .cks{margin-top:0}
.sb-box .cks li{font-size:15px;line-height:1.8}
.sb-box .cks li:first-child{border-top:0}

/* ---------- A-6 項目と内容の表（.key-value）。見出し行は読み上げ用に残し、画面には出さない ---------- */
.b2s .key-value{width:100%;border-collapse:collapse}
.b2s .key-value thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.b2s .key-value th,.b2s .key-value td{text-align:left;vertical-align:top;padding:20px 0;border-top:1px solid var(--line);font-size:16px;line-height:1.85}
.b2s .key-value tbody tr:first-child>*{border-top:0}
.b2s .key-value tbody th{width:11.5em;padding-right:20px;font-weight:700}
.b2s .key-value td{color:var(--ink2)}

@media (max-width:1100px){
 .sb-hg{grid-template-columns:minmax(0,1fr);width:var(--w);margin-inline:auto}
 .sb-hc,.sb-hero.solo .sb-hc,.sb-hbg,.sb-hst{grid-column:1}
 .sb-hc{padding:18px 0 0}
 .sb-hbg,.sb-hst{grid-row:2;margin-top:36px}
 .sb-hbg{border-radius:24px}.sb-hbg::after{display:none}
 .sb-hst{min-height:0;padding:68px 24px 52px}
 .sb-docs{max-width:540px}
 .sb-g2{grid-template-columns:1fr}
 /* 3枚のカードは、2列にすると1枚余る。幅があるうちは3列のまま、狭くなったら1列にする */
 .sb-tiles{grid-template-columns:repeat(3,1fr);gap:14px}
}
@media (max-width:900px){
 .sb-tiles{grid-template-columns:1fr}
}
@media (max-width:760px){
 .sb-bc{padding-top:14px}
 .sb-hero{padding:6px 0 60px}
 .sb-hc{padding-top:14px}
 .sb-aim{font-size:16px}
 .sb-hbg,.sb-hst{margin-top:32px}
 .sb-hst{padding:60px 14px 44px}
 .sb-k{left:12px;top:12px}
 .sb-tiles,.sb-g2{margin-top:32px}
 .sb-g2,.sb-side{gap:14px}
 .sb-kvc{padding:4px 20px}
 .sb-key{padding:20px}
 .sb-key p{font-size:16px}
 .sb-box{padding:6px 20px 20px}
 .b2s .key-value,.b2s .key-value tbody,.b2s .key-value tr,.b2s .key-value th,.b2s .key-value td{display:block;width:100%}
 .b2s .key-value tbody th{width:100%;padding:16px 0 2px}
 .b2s .key-value td{border-top:0;padding:0 0 16px}
 .b2s .key-value tbody tr+tr th{border-top:1px solid var(--line)}
}

/* ========== B まだ組み直していない節 ==========
   今の HTML（.page-section・.container・.eyebrow・.section-body ほか）のまま、B2 の地・書体・色で見せる。
   節を B2 の部品で組み直したら、その節はここの決まりから外れる（クラスが .sec に替わるため） */
.b2s .page-section{padding:88px 0}
.b2s .page-section:nth-of-type(even){background:var(--soft)}
.b2s .container{width:var(--w);margin-inline:auto}
.b2s .eyebrow{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px 0 10px;border-radius:999px;margin:0 8px 18px 0;background:var(--soft);color:var(--ink2);font-size:14px;font-weight:700;line-height:1;white-space:nowrap}
.b2s .eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue)}
.b2s .page-section:nth-of-type(even) .eyebrow{background:#fff}
.b2s .page-section h1{font-size:clamp(30px,3.45vw,44px);line-height:1.3;font-weight:900}
.b2s .page-section h1,.b2s .page-section h2{max-width:24em}
.b2s .section-body{margin-top:24px;max-width:46em;font-size:16px;line-height:1.9;color:var(--ink2)}
.b2s .page-section:has(table) .section-body{max-width:none}
.b2s .section-body>*+*{margin-top:14px}
.b2s .section-body>h3{margin-top:32px;color:var(--ink)}
.b2s .section-body>h3:first-child{margin-top:0}
.b2s .section-body>h3+*{margin-top:6px}
.b2s .section-body>p{max-width:46em}
.b2s .section-body ul:not([class]){display:grid;gap:12px}
.b2s .section-body ul:not([class])>li{position:relative;padding-left:22px}
.b2s .section-body ul:not([class])>li::before{content:"";position:absolute;left:4px;top:.82em;width:6px;height:6px;border-radius:50%;background:var(--blue)}
.b2s .section-body li>p{margin-top:6px}
.b2s .section-body a:not(.button){color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.b2s .section-body a:not(.button):hover{color:var(--blue-d)}
.b2s .text-link{display:inline-block;margin-top:24px;font-size:15px}
.b2s .condition{background:var(--blues);border-radius:14px;padding:12px 18px;font-size:15px;line-height:1.8;color:var(--ink);max-width:46em}
.b2s .section-body li>.condition{background:var(--soft);padding:8px 14px;border-radius:10px;width:fit-content}
/* 順番のある工程。番号は ol の番号を丸の中に出す */
.b2s .timeline{counter-reset:sbt;display:grid;gap:12px;max-width:52em;margin-top:20px}
.b2s .timeline>li{counter-increment:sbt;position:relative;background:#fff;border-radius:16px;padding:20px 24px 20px 72px;box-shadow:var(--sh)}
.b2s .timeline>li::before{content:counter(sbt);position:absolute;left:22px;top:20px;width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:15px;font-weight:700;line-height:1}
.b2s .timeline h3{font-size:18px;color:var(--ink)}
.b2s .timeline p{font-size:15px;line-height:1.85;margin-top:4px}
/* 3列の分担表 */
.b2s .roles{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;background:#fff;border-radius:20px;box-shadow:var(--sh);overflow:hidden;margin-top:24px;font-size:15px;line-height:1.8}
.b2s .roles th,.b2s .roles td{text-align:left;vertical-align:top;padding:16px 22px;border-top:1px solid var(--line)}
.b2s .roles thead th{border-top:0;background:#EAECEF;font-size:14px;font-weight:700;color:var(--ink2)}
.b2s .roles td:first-child:not(:last-child){width:12.5em;font-weight:700;color:var(--ink)}
.b2s .roles thead th:first-child:not(:last-child){width:12.5em}
/* ボタン: 見た目は b2.css の .btn .btn-p と、上の .btn-s に合わせる */
.b2s .cta-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.b2s .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 26px;border-radius:12px;font-weight:700;font-size:16px;line-height:1;white-space:nowrap;background:var(--blue);color:#fff;box-shadow:0 1px 2px rgba(5,88,221,.3),0 10px 22px -10px rgba(5,88,221,.6);transition:transform .2s var(--ease),background .2s,box-shadow .2s}
.b2s .button:hover{background:var(--blue-d);transform:translateY(-2px)}
.b2s .button:active{transform:scale(.98)}
.b2s .button-secondary{background:var(--soft);color:var(--ink);box-shadow:none}
.b2s .button-secondary:hover{background:var(--line)}
/* 最後の相談の節: 青い舞台 */
.b2s .page-section.cta-section{background:#fff;padding:96px 0 112px}
.b2s .cta-section>.container{background-color:var(--blue);background-image:radial-gradient(rgba(255,255,255,.16) 1.2px,transparent 1.7px);background-size:22px 22px;border-radius:32px;padding:72px;color:#fff}
.b2s .cta-section h2{font-size:clamp(28px,3.6vw,46px);line-height:1.3}
.b2s .cta-section .eyebrow,.b2s .page-section.cta-section:nth-of-type(even) .eyebrow{background:rgba(255,255,255,.16);color:#fff}
.b2s .cta-section .eyebrow::before{background:#fff}
.b2s .cta-section .section-body{font-size:17px;color:rgba(255,255,255,.92)}
.b2s .cta-section .button{background:#fff;color:var(--blue);box-shadow:0 10px 24px -12px rgba(2,30,90,.6)}
.b2s .cta-section .button:hover{background:#fff}
.b2s .cta-section .button-secondary{background:rgba(255,255,255,.16);color:#fff;box-shadow:none}
.b2s .cta-section .button-secondary:hover{background:rgba(255,255,255,.28)}
.b2s .cta-section :focus-visible{outline-color:#fff}

@media (max-width:1100px){
 .b2s .cta-section>.container{padding:64px 48px}
}
@media (max-width:760px){
 .b2s .page-section{padding:60px 0}
 .b2s .page-section.cta-section{padding:60px 0 68px}
 .b2s .cta-section>.container{padding:44px 24px;border-radius:24px}
 .b2s .cta-section .section-body{font-size:16px}
 .b2s .cta-actions{gap:10px}
 .b2s .cta-actions .button{width:100%}
 .b2s .timeline>li{padding:18px 18px 18px 60px}
 .b2s .timeline>li::before{left:16px;top:18px}
 /* 分担表は、行ごとの箱にする。列の名前は、今のサイトと同じく CSS で添える（3列の表だけ） */
 .b2s .roles,.b2s .roles tbody,.b2s .roles tr,.b2s .roles td{display:block;width:100%}
 .b2s .roles{background:none;box-shadow:none;border-radius:0;overflow:visible}
 .b2s .roles thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .b2s .roles tr{background:#fff;border-radius:16px;box-shadow:var(--sh);padding:6px 18px 14px}
 .b2s .roles tr+tr{margin-top:12px}
 .b2s .roles td,.b2s .roles td:first-child:not(:last-child){width:100%;padding:12px 0 0;border-top:0}
 .b2s .roles td:first-child:not(:last-child){font-size:17px}
 .b2s .roles td:nth-child(2):not(:last-child)::before,.b2s .roles td:nth-child(3)::before{display:block;font-size:14px;font-weight:700;color:var(--ink3);line-height:1.6}
 .b2s .roles td:nth-child(2):not(:last-child)::before{content:"ノンズが行う作業"}
 .b2s .roles td:nth-child(3)::before{content:"事務所が判断すること"}
}

/* ========== C /service/ の完成で足した部品（3-9s6・2026-11-19） ==========
   トップの部品（.who .oc3 .mn3 .g08 .tb8 .e13 .fl15 .cl4 .g16 .t16 .g17 .cta19 ほか）は b2.css のまま使う。
   ここには、下層で足りない分だけを書く */

/* ---------- C-1 今いるページの印（ヘッダー）。色は、柱の色か青 ---------- */
.ni[aria-current]::before{content:"";position:absolute;left:11px;right:11px;bottom:-3px;height:3px;border-radius:3px;background:var(--c,var(--blue))}
.acc[data-cur]>button>span::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c,var(--blue));margin-right:10px;vertical-align:2px}

/* ---------- C-2 札の行・最初の画面の足した所 ---------- */
.sb-ebs{display:flex;flex-wrap:wrap;align-items:center}
.b2s .who{flex-wrap:wrap;gap:8px 12px}
.b2s .who .eb+.eb{margin-left:-4px}
.sb-hc>.note{margin-top:16px}
.sb-hero .jump{margin-top:36px}
.b2s .tile>p a,.b2s .condition a{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.b2s .tile>p a:hover,.b2s .condition a:hover{color:var(--blue-d)}
.b2s .condition a{margin-left:8px;white-space:nowrap}
.b2s .sec>.wrap>.condition{margin-top:24px}

/* ---------- C-3 頼める仕事: 下段を4枚にする・線引きの帯・確かめた条件 ---------- */
/* 札の字は折り返す（折り返さないと、狭い幅でカードが画面より広くなる） */
/* /service/ でも実画面を既存の枠に収め、左上から見せる（3-9i2） */
.b2s .ow>img,.b2s .mv>img{object-fit:cover;object-position:left top}
.mn .sb-st{margin-top:8px}
.mn .sb-st .chip{white-space:normal}
.b2s .band{margin-inline:0;margin-top:44px}
.sb-g08{margin-top:20px}
.b2s .e13{margin-top:32px}

/* ---------- C-4 相談から運用まで: 3段の帯。番号はトップ 09 と同じ 0・1・2 ---------- */
/* 3列の決まり（.fl15.f3）は b2.css にある。トップ 09 と同じ */
.b2s .fl15.f3 .bx>.chip{display:flex;width:fit-content;margin:0 0 10px}
.b2s .fl15.f3 .bx>.tl{margin-top:14px}
.sb-opt .chip{margin-right:10px;vertical-align:3px;background:var(--soft)}
.b2s .sec>.wrap>.note{margin-top:20px}

/* ---------- C-5 整備・設定: 柱ごとの薄灰の面。中に白いカードを置く ---------- */
.sb-pn{margin-top:20px;background:var(--soft);border-radius:28px;padding:32px}
.b2s .condition+.sb-pn{margin-top:28px}
.sb-pn2{display:grid;grid-template-columns:5fr 7fr;gap:12px 40px;align-items:start}
.sb-pn .eb{margin-bottom:12px}
.sb-pn h3{font-size:22px;line-height:1.5;font-weight:900}
.sb-pb{font-size:16px;line-height:1.9;color:var(--ink2)}
.sb-pb>p+p{margin-top:6px}
/* 事務所が決めること: 1行の札にして、ノンズの作業の文と見分ける */
.sb-dk{display:inline-block;margin-top:10px;padding:5px 12px;border-radius:8px;background:var(--soft);color:var(--ink);font-size:14px;font-weight:700;line-height:1.6}
.sb-pn .sb-pb .sb-dk{background:#fff}
.b2s .timeline.sb-tl2{grid-template-columns:1fr 1fr;max-width:none;margin-top:24px}
.sb-tl2>li:last-child:nth-child(odd){grid-column:1/-1}
.b2s .timeline .sb-dk{margin-top:10px;font-size:14px;line-height:1.6}
.sb-pn>.cl4{margin-top:12px}

/* ---------- C-6 月額伴走: 4枚のカード ---------- */
.sb-g4{grid-template-columns:repeat(4,1fr)}
.sb-g4 .t16 h3{font-size:19px;line-height:1.5}
.sb-g4 .t16 p+p{margin-top:8px}
.t16 .sb-cn{align-self:stretch;margin-top:12px;padding:8px 12px;border-radius:10px;background:var(--soft);color:var(--ink);font-size:14px;line-height:1.7}

/* ---------- C-7 文のかたまり・行わないこと・費用 ---------- */
.sb-pr{margin-top:24px;max-width:46em;font-size:16px;line-height:1.9;color:var(--ink2)}
.sb-pr>p+p{margin-top:12px}
.b2s .sb-pr+.roles{margin-top:32px}
.sb-no{border-radius:20px;padding:6px 28px}
.sb-no li{display:flex;align-items:center;gap:14px;padding:17px 0;border-top:1px solid var(--line);font-size:17px;font-weight:700;line-height:1.6}
.sb-no li:first-child{border-top:0}
.sb-x{width:28px;height:28px;border-radius:50%;background:var(--soft);color:var(--ink3);display:grid;place-items:center;flex:none}
.sb-x .ic{width:14px;height:14px;stroke-width:2.4}
.sb-pc{border-radius:20px;padding:10px 28px 24px}
.sb-pc .cks{margin-top:0}
.sb-pc .cks li{font-size:16px;font-weight:700;line-height:1.8;padding:16px 0}
.sb-pc .cks li:first-child{border-top:0}
.sb-pc .cks li:last-child{padding-bottom:0}
.sb-pc .sb-s{margin-top:2px;font-size:15px;font-weight:400;color:var(--ink2)}
.sb-pc.sb-pr{margin-top:0;max-width:none;padding:26px 28px}

/* ---------- C-8 最後の相談の節（b2.css の .cta19 に足す分） ---------- */
.sb-ebw{background:rgba(255,255,255,.16);color:#fff}
.sb-ebw i{background:#fff}
.b2s .cta19 h2+p{margin-top:18px}

@media (max-width:1100px){
 .sb-pn2{grid-template-columns:1fr}
 .sb-g4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
 .b2s .timeline.sb-tl2{grid-template-columns:1fr}
}
@media (max-width:760px){
 .sb-hero .jump{margin-top:28px}
 .sb-g4{grid-template-columns:minmax(0,1fr)}
 .b2s .band{margin-top:32px}
 .sb-g08{margin-top:14px}
 .sb-pn{padding:20px 16px;border-radius:24px}
 .sb-pn h3{font-size:20px}
 .b2s .condition a{display:inline-block;margin-left:0;white-space:normal}
 .sb-no{padding:4px 20px}
 .sb-no li{font-size:16px;padding:14px 0}
 .sb-pc{padding:6px 20px 20px}
 .sb-pc.sb-pr{padding:20px}
}

/* ========== D /security/・/flow/・/faq/ で足した部品（3-9s6・2026-11-19） ==========
   トップの部品（.ask .tl6 .tile .g4r .rt .c4 .cl4 .g11 .c11 .tl11 .fq .fqa .cq .dt ほか）は b2.css のまま使う */

/* ---------- D-1 最初の画面: 舞台に置く絵のカード・入口が4つのとき・文だけの型 ---------- */
.sb-pic{width:100%;border-radius:20px;overflow:hidden;background:#FCF9F8;box-shadow:0 1px 2px rgba(2,30,90,.25),0 22px 44px -18px rgba(2,24,80,.6)}
.sb-pic img{width:100%}
.sb-jump4{grid-template-columns:repeat(4,1fr)}
.sb-hero.solo{padding-bottom:64px}
.sb-hero.solo .sb-hc{padding-bottom:0}

/* ---------- D-2 節の中の部品 ---------- */
.b2s .sec>.wrap>.timeline{margin-top:32px}
.b2s .sec>.wrap>.sb-pr,.b2s .sec>.wrap>.cl4{margin-top:20px}
.b2s .timeline+.sb-pr{margin-top:24px}
.b2s .sec>.wrap>.tl6:not(.sb-tiles),.b2s .sec>.wrap>.ask{margin-top:44px}
.b2s .sec>.wrap>.ask+.tl6:not(.sb-tiles){margin-top:20px}
.b2s .c4 .tile{flex:1}
.b2s .c4 .tile h3{margin:16px 0 8px}
.sb-g2r{grid-template-columns:5fr 7fr}
.sb-smp .dt{box-shadow:var(--sh)}
.sb-smp .dt b{font-size:19px}
.sb-smp .dt .pp{aspect-ratio:1/.86}
.sb-smp .note{margin-top:14px}
.sb-ch{font-size:19px;line-height:1.5;padding:16px 0 6px}
.sb-pc>.sb-s{padding-top:14px;border-top:1px solid var(--line);margin-top:16px}
.sb-g2>.sb-pr{margin-top:0;padding-top:6px}
/* 点の並び: 白いカードに、青い点の行。.c2 で2列 */
.sb-ls{border-radius:20px;padding:6px 28px}
.sb-ls li{position:relative;padding:15px 0 15px 22px;border-bottom:1px solid var(--line);font-size:16px;font-weight:700;line-height:1.7}
.sb-ls li:last-child{border-bottom:0}
.sb-ls li::before{content:"";position:absolute;left:2px;top:1.6em;width:8px;height:8px;border-radius:50%;background:var(--blue)}
.sb-ls.c2{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;margin-top:44px}
.sb-ls.c2 li:nth-last-child(2):nth-child(odd){border-bottom:0}
.sb-mt{margin-top:20px}
.sb-key .sb-s{padding-top:2px;font-size:15px;font-weight:400;line-height:1.8;color:var(--ink2)}
/* 段の番号の印（b2.css の .ri の中に数字を置く） */
.sb-n{font-size:18px;font-weight:700;line-height:1}
.b2s .tile h3 .chip{margin-left:10px;vertical-align:3px}
.b2s .sec>.wrap>.g11{margin-top:44px}

/* ---------- D-3 よくある質問: 答えの段落とリンク ---------- */
.b2s .fqa .an p+p{margin-top:8px}
.b2s .fqa .an a{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.b2s .fqa summary>span:nth-child(2){min-width:0}

@media (max-width:1100px){
 .sb-jump4{grid-template-columns:repeat(2,1fr)}
 .sb-g2r{grid-template-columns:1fr}
 .sb-smp{max-width:420px}
}
@media (max-width:760px){
 .sb-jump4{grid-template-columns:1fr}
 .sb-hero.solo{padding-bottom:48px}
 .sb-ls{padding:4px 20px}
 .sb-ls.c2{grid-template-columns:1fr;margin-top:32px}
 .sb-ls.c2 li:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--line)}
 .b2s .sec>.wrap>.tl6:not(.sb-tiles),.b2s .sec>.wrap>.ask,.b2s .sec>.wrap>.g11{margin-top:32px}
}

/* ========== E /training/・/maintenance/・/mints/・/contact/ で足した部品（3-9s6・2026-11-19） ========== */
/* ---------- E-1 最初の画面: 条件の帯・舞台に置く白い紙・入口が2つのとき ---------- */
.sb-hc .condition{margin-top:16px}
.sb-sheet{width:100%;background:#fff;border-radius:16px;padding:8px 24px 22px;box-shadow:0 1px 2px rgba(2,30,90,.25),0 22px 44px -18px rgba(2,24,80,.6)}
.sb-sheet .cks{margin-top:0}
.sb-sheet .cks li{font-size:16px;font-weight:700;line-height:1.8;padding:15px 0}
.sb-sheet .cks li:first-child{border-top:0}
.sb-sheet .sb-s{margin-top:2px;font-size:15px;font-weight:400;color:var(--ink2)}
.sb-jump2{grid-template-columns:repeat(2,1fr)}

/* ---------- E-2 並びの型 ---------- */
.b2s .timeline.sb-tl3{grid-template-columns:repeat(3,1fr);max-width:none}
.sb-g4.sb-g3{grid-template-columns:repeat(3,1fr)}
.sb-g2e{grid-template-columns:1fr 1fr}
.b2s .sec>.wrap>.g16{margin-top:44px}
/* 右の列の、カードでない文だけ。カード（.sb-pc）は列の先頭に置くので 0 のまま（/flow/ の「期間の目安」と同じ） */
.b2s .g17>div>.sb-pr:not(.sb-pc){margin-top:16px}
.sb-pr .tl{margin-top:4px}
/* カードの中に置く点の並び・×の並び（外側のカードの余白を使う） */
.sb-lsn{padding:0}
.b2s .sec>.wrap>.sb-kvc{margin-top:44px}
.sb-non{padding:0}
.sb-non li{font-size:16px}
/* 出典つきの事実の表（mints）。見出し行も見せる。字は1文字も変えない */
.b2s .sb-facts .key-value thead{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
.b2s .sb-facts .key-value thead th{padding:14px 0;font-size:14px;font-weight:700;color:var(--ink3);border-top:0}
.b2s .sb-facts .key-value tbody tr:first-child>*{border-top:1px solid var(--line)}
.b2s .sb-facts .key-value tbody th{width:58%;padding-right:32px;font-weight:500;color:var(--ink)}
.b2s .sb-facts .key-value td{font-size:15px;overflow-wrap:anywhere}
.b2s .sb-facts a,.b2s .sb-src a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.sb-src ul{display:grid;gap:14px;margin-top:6px;font-size:15px;line-height:1.8;color:var(--ink2)}
/* 注意の帯（b2.css の .wn）の中の文 */
.sb-wn p+p{margin-top:6px}
.sb-wn p:first-child{font-weight:700}

/* ---------- E-3 相談申込: 差し込み口の仮の枠・押せないボタン ---------- */
.sb-form{margin-top:32px;border:1.5px dashed #C9CED6;border-radius:24px;background:var(--soft);padding:26px 28px 28px}
.sb-form h3{margin-top:14px;font-size:17px}
.sb-form .sb-ls{margin-top:6px}
.sb-form .sb-ls li{border-bottom-color:#DDE1E6}
.sb-opts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sb-ls .sb-opts li{position:static;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:14px;font-weight:500;line-height:1.6}
.sb-ls .sb-opts li::before{display:none}
.b2s .btn[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}
.b2s .btn[disabled]:hover{transform:none}

@media (max-width:1100px){
 .b2s .timeline.sb-tl3{grid-template-columns:1fr}
 .sb-g4.sb-g3{grid-template-columns:repeat(2,1fr)}
 .sb-g2e{grid-template-columns:1fr}
}
@media (max-width:760px){
 .sb-jump2,.sb-g4.sb-g3{grid-template-columns:1fr}
 .sb-sheet{padding:6px 18px 18px}
 .b2s .sec>.wrap>.g16{margin-top:32px}
 .b2s .sb-facts .key-value thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .b2s .sb-facts .key-value tbody th{width:100%;padding-right:0}
 .b2s .sb-facts .key-value tbody tr:first-child>th{border-top:0}
 .sb-form{padding:20px 18px 22px;border-radius:20px}
}
/* 確認表の見本（/security/ の最初の画面・CheckSheet.astro） */
.cs{position:relative;width:min(100%,400px);margin:0}
.cs-p{background:#fff;border-radius:6px;box-shadow:0 1px 2px rgba(2,30,90,.25),0 22px 44px -18px rgba(2,24,80,.6)}
.cs-back{position:absolute;inset:10px -14px -12px 18px;rotate:5deg;background:#EAF0FB}
.cs-sheet{position:relative;rotate:-2deg;padding:26px 24px 22px}
.cs-s{font-size:14px;font-weight:700;color:var(--ink3);line-height:1.5}
.cs-t{font-size:21px;font-weight:900;line-height:1.4;margin-top:4px}
.cs-u{font-size:14px;color:var(--ink2);line-height:1.6;margin-top:2px;padding-bottom:12px;border-bottom:2px solid var(--ink)}
.cs-l{margin-top:6px}
.cs-l li{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 6px;border-bottom:1px solid var(--line);font-size:15px;font-weight:700;line-height:1.4}
.cs-l b{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--soft);color:var(--ink2);font-size:14px}
.cs-n{flex:none}
.cs-x{flex:1;display:grid;gap:5px;justify-items:end}
.cs-x i{display:block;height:5px;border-radius:3px;background:var(--line);width:70%}.cs-x i+i{width:45%}
.cs-l li.on{flex-wrap:wrap;row-gap:4px;background:var(--p2s);border-radius:8px;border-bottom-color:transparent;margin:3px -6px;padding:8px 12px}
.cs-l li.on b{background:var(--p2);color:#fff}
.cs-a{margin-left:auto;display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;background:#fff;color:var(--p2);font-size:14px;font-weight:700;white-space:nowrap}
.cs-a .ic{width:14px;height:14px}
.cs-f{display:grid;gap:5px;margin-top:16px}.cs-f i{display:block;height:5px;border-radius:3px;background:var(--line);width:88%}.cs-f i+i{width:60%}
.motion .sb-hst:not(.run) .cs-p,.motion .sb-hst:not(.run) .cs-l li{opacity:0}
.sb-hst.run .cs-p{animation:rise .6s var(--ease) both}
.sb-hst.run .cs-sheet{animation-delay:.14s}
.sb-hst.run .cs-l li{animation:rise .5s var(--ease) both;animation-delay:var(--d,0s)}
@media (max-width:520px){.cs-sheet{padding:20px 16px 18px}.cs-t{font-size:18px}.cs-l li{gap:8px}.cs-a{padding:3px 8px}.cs-back{inset:8px -6px -10px 12px}}
@media (prefers-reduced-motion:reduce){.sb-hst.run .cs-p,.sb-hst.run .cs-l li{animation:none}}

/* 3-15 相談申込: 自社フォーム。ボットよけの欄は .sb-trap（本文用の .sb-hp とは別の名前にした） */
.sb-fm{position:relative;width:100%;max-width:760px;margin:32px auto 0;padding:32px;background:#fff;border-radius:16px;box-shadow:var(--sh)}
.sb-fm .note{font-size:14px}
.sb-ff{margin-top:28px;min-width:0}
.sb-ff>label,.sb-ff legend{display:block;font-size:16px;font-weight:700;line-height:1.8;margin-bottom:8px}
.sb-ff fieldset{border:0;padding:0;margin:0;min-width:0}
.sb-ff legend{padding:0}
.sb-rq{color:var(--ink2)}
.sb-ff>input{display:block;width:100%;height:52px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:16px}
.sb-choices{display:flex;flex-wrap:wrap;gap:10px}
.sb-choice{display:flex;align-items:center;gap:10px;min-height:48px;max-width:100%;padding:10px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font-size:16px;line-height:1.7;cursor:pointer}
.sb-choice input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--blue)}
.sb-choice:has(input:checked){border-color:var(--blue);background:var(--soft)}
.sb-ff>input:focus,.sb-choice input:focus{border-color:var(--blue);outline:2px solid var(--blue);outline-offset:3px}
.sb-choice:focus-within{border-color:var(--blue)}
.sb-er{margin-top:8px;color:#B42318;font-size:14px;line-height:1.8}
.sb-ff.is-err>input,.sb-ff.is-err .sb-choice{border-color:#B42318}
.sb-fe,.sb-fs{margin-top:24px;padding:16px;border:1.5px solid #B42318;border-radius:12px;font-size:16px;line-height:1.9}
.sb-fe p+p,.sb-fe ul{margin-top:10px}
.sb-fe a,.sb-fm noscript a{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.sb-fs{color:#B42318}
.sb-fm .sb-trap{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden}
.sb-sb{margin-top:32px}
.b2s .sb-sb:disabled{opacity:.6;cursor:wait}
.sb-sb+.note,.sb-fm noscript p{margin-top:12px}
@media (max-width:560px){
 .sb-fm{padding:24px 16px}
 .sb-choices{flex-direction:column}
 .sb-choice{width:100%}
 .sb-sb{width:100%}
}

/* 相談申込: Google フォームの枠。高さはフォームの実測に合わせる（2026-11-26 実測。枠の幅320〜1100pxで、フォームは2,554〜2,264px）。
   枠が短いと、スマホで送信ボタンが枠の外に隠れる。送信後は中が短い画面に替わるので、枠を縮めて先頭を見せる（縮める合図は contact.astro の onload） */
.sb-gform{display:block;width:100%;border:0;height:2300px}
.sb-gform.sent{height:480px}
@media (max-width:560px){
 .sb-gform{height:2640px}
 .sb-gform.sent{height:480px}
}

/* 受付の画面: 予約の案内のカード */
/* .sb-pc.sb-pr（余白0・幅いっぱい）より強くするため、3つ重ねて書く */
.sb-pc.sb-pr.sb-bk{margin-top:32px;max-width:720px;padding-top:24px}
.sb-bk h2{font-size:24px;line-height:1.4;margin-bottom:10px}
.sb-bk .btn{margin-top:18px}
.sb-bk .note{margin-top:12px}
@media (max-width:560px){
 .sb-pc.sb-pr.sb-bk{margin-top:26px}
 .sb-bk h2{font-size:22px}
 .sb-bk .btn{width:100%}
}
