
:root{
  --bg:#fbfaf8; --surface:#ffffff; --text:#16181c; --muted:#5a6066;
  --line:#d9dce0; --grid:#e6e9ec; --accent:#9d2b1f;
  --sans:"Yu Gothic Medium","Yu Gothic",YuGothic,"Hiragino Kaku Gothic ProN","IPAexGothic","Noto Sans JP",sans-serif;
  --mono:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#15171a; --surface:#1b1e22; --text:#e9eaec; --muted:#9aa1a9;
    --line:#343940; --grid:#262b31; --accent:#d8604f;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--sans); font-size:15.5px; line-height:1.9;
  font-feature-settings:"palt" 1; font-variant-numeric:tabular-nums;
}
.wrap{max-width:1136px; margin:0 auto; padding:0 32px}
@media (max-width:640px){ .wrap{padding:0 20px} }
.nb{word-break:keep-all; overflow-wrap:anywhere}

h1{font-size:36px; line-height:1.5; margin:0 0 20px; font-weight:600; letter-spacing:.01em; word-break:keep-all; overflow-wrap:anywhere}
h2{font-size:22px; line-height:1.5; margin:0 0 32px; font-weight:600; letter-spacing:.02em}
@media (max-width:640px){ h1{font-size:26px} h2{font-size:20px; margin-bottom:20px} }

section{padding:52px 0; border-top:1px solid var(--line)}
section.heavy{border-top-color:var(--text)}
@media (max-width:640px){ section{padding:32px 0} }
h1,h2,dd b,caption{word-break:auto-phrase}
p{word-break:normal; line-break:strict; text-wrap:pretty}
td,dd b,caption{word-break:auto-phrase}
.ledger tr.rg td,.spec td small,.gap td small{word-break:normal; text-wrap:wrap}
p.small,.ledger-note,.corp td{word-break:normal}
section > :last-child, .terms > :last-child{margin-bottom:0}
.nw{white-space:nowrap}
.lede{word-break:normal}
section > dl.rows:last-child > div:last-child{border-bottom:0}
section > table:last-child tbody tr:last-child td, section > table:last-child tbody tr:last-child th{border-bottom:0}
@media (max-width:767px){ section > table.spec:last-child tbody tr:last-child{border-bottom:0} }
@media (max-width:767px){ section > table.gap:last-child tbody tr:last-child{border-bottom:0} }
.gap td:nth-child(2){max-width:44em}
p{margin:0 0 20px; max-width:40em}
.small{font-size:14px; line-height:1.85}
.muted{color:var(--muted)}
.fig{color:var(--accent); font-weight:600}

/* 帯 */
header.site{border-bottom:1px solid var(--line)}
header.site .wrap{display:flex; align-items:baseline; gap:20px; padding-top:20px; padding-bottom:20px}
.brand{font-size:14.5px; font-weight:600; text-decoration:none; color:var(--text); white-space:nowrap}
.brand span{font-size:11px; color:var(--muted); margin-left:12px; font-weight:400}
header.site nav{margin-left:auto; display:flex; gap:20px; white-space:nowrap}
header.site nav a{font-size:13.5px; color:var(--muted); text-decoration:none}
header.site nav a:hover{color:var(--text)}
@media (max-width:640px){
  .brand span{display:none}
  header.site .wrap{padding-top:12px; padding-bottom:12px; gap:12px}
  header.site nav{gap:12px}
  header.site nav a{font-size:13px}
}

/* 冒頭：左に言い分、右に実測値 */
.hero{padding:84px 0 52px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:84px; align-items:start}
@media (max-width:1023px){ .hero{grid-template-columns:1fr; gap:52px} }
@media (max-width:640px){ .hero{padding:52px 0 32px} }
.product{max-width:none; font-size:13px; line-height:1.9; margin:0 0 12px; color:var(--muted); padding-bottom:8px; border-bottom:1px solid var(--text)}
.product b{font-size:13px}
.product b{color:var(--text); font-weight:600; margin-right:8px}
.lede{font-size:17px; line-height:1.95; margin:0 0 32px; max-width:34em}

/* 台帳 */
table{width:100%; border-collapse:collapse; font-size:14.5px}
th,td{border-bottom:1px solid var(--line); padding:12px 20px 12px 0; text-align:left; vertical-align:top}
th:last-child,td:last-child{padding-right:0}
thead th{font-size:12.5px; color:var(--muted); font-weight:400; padding-top:0; padding-bottom:8px; border-bottom:1px solid var(--text)}
.n{text-align:right; white-space:nowrap}
.ledger tr.hd td{border-bottom:0; padding-bottom:0}
.ledger tr.rg td{padding-top:4px; font-size:13px; line-height:1.7; color:var(--muted)}
.ledger td.n{font-size:22px; line-height:1.4; color:var(--accent); font-weight:600}
.ledger-note{margin-top:12px; font-size:13px; line-height:1.85; color:var(--muted)}
.ledger caption{caption-side:top; text-align:left; font-size:13px; line-height:1.9; color:var(--muted); padding-bottom:8px; border-bottom:1px solid var(--text)}
.ledger thead th{border-bottom:1px solid var(--line); padding-top:12px}

.spec td:first-child{font-weight:600; width:200px}
.spec tr.grp th{font-size:13px; font-weight:400; color:var(--muted); padding:32px 0 8px; border-bottom:1px solid var(--line)}
.spec tr.grp th.n{font-weight:400; color:var(--muted); text-align:right}
.spec td:first-child small{font-weight:400}
main a{white-space:nowrap}
.spec td:nth-child(2){width:200px}
@media (min-width:1024px){ .spec{table-layout:fixed} .spec col.c1{width:200px} .spec col.c2{width:calc(50vw - 190px)} }
@media (min-width:1136px){ .spec col.c2{width:378px} }
.spec td:nth-child(2){color:var(--muted); font-size:14px}
.spec td:first-child small{font-weight:400}
.spec td:nth-child(2) small{color:var(--muted)}
.spec td small{max-width:40em; display:block; color:var(--muted); font-size:13px; line-height:1.7; margin-top:4px}
.gap .qty{display:inline-block; min-width:calc(7em + 12px); font-weight:600; color:var(--text); white-space:nowrap; text-indent:0}
@media (min-width:768px){ .gap td:has(.qty){padding-left:calc(7em + 12px); text-indent:calc(-7em - 12px)} .gap td:has(.qty) small{text-indent:0} }
@media (max-width:767px){ .gap .qty{display:block; margin-bottom:4px; font-size:13px; color:var(--muted); font-weight:400} .spec tr.grp{border-bottom:0; padding:32px 0 4px} .spec tr.grp th{border:0!important} .gap td.obj{border-bottom:0!important; padding:32px 0 4px!important} }
.gap tr:first-child td{padding-top:0}
.gap td.obj{font-weight:600; width:200px}
.gap td[rowspan]{border-bottom:1px solid var(--line)}
.gap td small{display:block; color:var(--muted); font-size:13px; line-height:1.7; margin-top:4px}
@media (max-width:640px){ .gap thead{display:none} .gap tr{display:block; padding:12px 0; border-bottom:1px solid var(--line)} .gap td{display:block; border:0; padding:0; width:auto!important} }
@media (max-width:767px){
  .spec thead{display:none}
  .spec tr{display:block; padding:12px 0; border-bottom:1px solid var(--line)}
  .spec td{display:block; border:0; padding:0}
  .spec td:nth-child(2){margin-top:4px}
  .spec td:nth-child(3)::before{content:"返り値："; color:var(--muted)}
  .spec td:nth-child(3){font-size:14px}
}
.after-table{margin-top:20px}

/* 罫線の並び */
dl.rows{margin:0; border-top:1px solid var(--line)}
dl.rows>div{display:grid; grid-template-columns:180px 1fr; gap:0 20px; padding:20px 0; border-bottom:1px solid var(--line)}
dl.rows dt{font-size:13px; color:var(--muted); padding-top:4px}
dl.rows dd{margin:0}
dl.rows>div:not(:has(dd > span)){padding:12px 0}
dl.rows dd b{display:block; font-weight:600; margin-bottom:4px}
dl.rows dd > span{color:var(--muted); font-size:14px; display:block; max-width:44em}
dl.rows.plain>div{grid-template-columns:1fr}
dl.rows dd > span .fig{display:inline; font-size:inherit; color:var(--accent)}
@media (max-width:640px){ dl.rows>div{grid-template-columns:1fr; gap:0; padding:12px 0 20px} dl.rows dt{padding-top:0; margin-bottom:4px} }

/* 料金 */
.price{display:grid; grid-template-columns:1fr 1fr; gap:20px 84px; margin:0 0 32px}
.price .lbl{font-size:13px; color:var(--muted); display:block; margin-bottom:4px}
.price .amt{font-size:36px; color:var(--accent); font-weight:600; line-height:1.3}
.price .yen{font-size:15px; margin-left:4px; color:var(--text)}
.price .tax{display:block; font-size:13px; color:var(--muted)}
@media (max-width:640px){ .price{grid-template-columns:1fr; gap:32px} }
.terms{border-top:1px solid var(--line); padding-top:20px}

.cta{display:inline-block; background:var(--accent); color:#fff; text-decoration:none;
  padding:12px 32px; border-radius:2px; font-size:15px; font-weight:600}
.cta:hover{opacity:.9}

.corp{font-size:14px}
@media (min-width:641px){ .corp th,.corp td{padding:12px 20px 12px 0; line-height:1.85} }
.corp td{max-width:40em}
.corp th{width:200px; color:var(--muted); font-weight:400; white-space:nowrap}
@media (max-width:640px){
  .corp th,.corp td{display:block; width:auto; border-bottom:0; padding:0}
  .corp th{padding-top:12px; font-size:12.5px}
  .corp td{border-bottom:1px solid var(--line); padding-bottom:12px}
}
a{color:var(--text); text-decoration-color:var(--muted); text-underline-offset:4px}
.gap .fig{color:var(--text)}
.fig{white-space:nowrap}
.corp td,.ledger tr.rg td{text-wrap:pretty}
p.small{max-width:40em}
footer.site{border-top:1px solid var(--line); padding:32px 0 52px; font-size:13px; color:var(--muted); line-height:2}
footer.site a{color:var(--muted); white-space:nowrap}
footer.site .links{display:inline-flex; gap:20px; flex-wrap:wrap}
footer.site .addr{word-break:keep-all; overflow-wrap:anywhere}
@media (max-width:767px){ .spec td:nth-child(2){color:var(--text); width:auto} .spec td:first-child{width:auto} .spec tr.grp{border-bottom:0; padding:32px 0 4px; display:flex; justify-content:space-between} .spec tr.grp th{display:block; padding:0; border:0} .spec tbody tr.lead{padding-top:0} .spec td:first-child small{display:block; margin-top:4px} .spec td:nth-child(2)::before{content:"指定："; color:var(--muted)} }
@media (max-width:767px){ .gap td[rowspan]{border-bottom:0; padding-bottom:4px} }
.gap td:not(.obj){max-width:calc(47em + 12px)}
@media (max-width:767px){
  .gap td.obj{border-bottom:0!important; padding:32px 0 4px!important; font-size:13px; font-weight:400; color:var(--muted)}
  .gap tbody tr:first-child td.obj{padding-top:0!important}
  .gap tr{padding:12px 0 12px 12px}
  .gap tr:has(td.obj){padding-left:0}
  .gap tr:has(td.obj) td:not(.obj){padding:12px 0 0 12px}
}
@media (max-width:640px){
  footer.site .sep{display:none}
  footer.site .links{display:flex; flex-direction:column; gap:4px; margin-top:4px}
  header.site nav a{padding:12px 0}
}
.spec small.mob{display:none}
@media (max-width:767px){ .spec td:nth-child(2) small{display:none} .spec small.mob{display:block} }

/* Signature：方眼と座標点（トップページのみ） */
.survey{width:100%; height:auto; display:block}
.survey-block{max-width:494px}
.survey-cap{font-size:13px; line-height:1.9; color:var(--muted); margin:0 0 20px; padding-bottom:8px; border-bottom:1px solid var(--text); max-width:none}
.survey .gl{stroke:var(--grid); stroke-width:1}
.survey .gl.minor{stroke-dasharray:2 4}
.survey .gt{font-size:12.5px; fill:var(--muted); font-variant-numeric:tabular-nums; font-family:var(--sans)}
.survey .pt{fill:var(--text)}
.survey .ring{fill:none; stroke:var(--text); stroke-width:1}
.survey .lead{stroke:var(--text); stroke-width:1}
.survey .pl{font-size:12px; fill:var(--text); font-family:var(--sans)}
.survey .pv{font-size:12px; fill:var(--text); font-variant-numeric:tabular-nums; font-family:var(--sans)}
@media (max-width:640px){ .survey .gt{font-size:15.5px} .survey .pl,.survey .pv{font-size:17px} }
.survey-note{font-size:13px; color:var(--muted); margin-top:8px}
.biz td:first-child{font-weight:600; width:200px}
.biz td:nth-child(2){color:var(--text)}
.biz td small{display:block; color:var(--muted); font-size:13px; line-height:1.7; margin-top:4px}
.biz td a{color:var(--text)}
.biz .items{display:flex; flex-wrap:wrap; gap:4px 32px; font-weight:600}
@media (max-width:640px){ .biz .items{gap:4px 20px; font-size:14.5px; color:var(--text); font-weight:400} }
.biz tr.grp th{font-size:13px; font-weight:400; color:var(--muted); padding:32px 0 8px; border-bottom:1px solid var(--line); text-align:left}
.biz tbody tr.grp:first-child th{padding-top:0}
.hc td:first-child{font-weight:600; width:200px}
.hc td small{display:block; color:var(--muted); font-size:13px; line-height:1.7; margin-top:4px}
@media (max-width:767px){
  .biz tr,.hc tr{display:block; padding:12px 0; border-bottom:1px solid var(--line)}
  .biz td,.hc td{display:block; border:0; padding:0; width:auto!important}
  .biz td:nth-child(2),.hc td:nth-child(2){margin-top:4px}
  .biz td:first-child,.hc td:first-child{font-size:13px; color:var(--muted); font-weight:400}
  .biz td[colspan]{font-size:inherit}
  .biz tr.grp{border-bottom:0; padding:32px 0 4px}
  .biz tr.grp th{display:block; border:0; padding:0}
  .biz tbody tr.grp:first-child{padding-top:0}
}
/* ---- 明暗の手動切替 */
:root[data-theme="dark"]{
  --bg:#15171a; --surface:#1b1e22; --text:#e9eaec; --muted:#9aa1a9;
  --line:#343940; --grid:#262b31; --accent:#d8604f;
}
:root[data-theme="light"]{
  --bg:#fbfaf8; --surface:#ffffff; --text:#16181c; --muted:#5a6066;
  --line:#d9dce0; --grid:#e6e9ec; --accent:#9d2b1f;
}
@view-transition{ navigation: auto; }
::view-transition-old(root),::view-transition-new(root){ animation-duration:.2s }
@media (prefers-reduced-motion: reduce){ ::view-transition-old(root),::view-transition-new(root){ animation:none } }

/* ---- 帯：項目が増えたので折り返しと現在地 */
header.site nav{flex-wrap:wrap; row-gap:4px}
header.site nav a[aria-current="page"]{color:var(--text); text-decoration:underline; text-decoration-color:var(--muted); text-underline-offset:6px}
.theme-btn{font:inherit; font-size:12.5px; color:var(--muted); background:none; border:1px solid var(--line); border-radius:2px; padding:4px 12px; cursor:pointer; white-space:nowrap}
.theme-btn:hover{color:var(--text); border-color:var(--muted)}
@media (max-width:767px){
  header.site .wrap{flex-wrap:wrap}
  header.site nav{order:3; width:100%; margin-left:0; flex-wrap:wrap; gap:4px 20px}
  header.site nav a{padding:8px 0}
  header.site nav a.nav-inq:not([aria-current]){display:none}
  .staging-bar .long{display:none}
  .theme-btn{margin-left:auto}
}
.skip{position:absolute; left:-9999px} .skip:focus{left:20px; top:8px; background:var(--bg); padding:8px 12px; z-index:10}
:focus-visible{outline:2px solid var(--text); outline-offset:2px}

/* ---- ステージング表示（本番では外す） */
.staging-bar{font-size:12.5px; color:var(--muted); border-bottom:1px solid var(--line); padding:4px 0}
.staging-bar .wrap{display:flex; gap:12px}
.staging-bar span:first-child{white-space:nowrap}

/* ---- 下層ページの冒頭 */
.page-head{padding:84px 0 52px}
@media (max-width:640px){ .page-head{padding:52px 0 32px} }
.page-head .lede{max-width:40em}
.crumb{font-size:13px; color:var(--muted); margin:0 0 12px}
.crumb a{color:var(--muted)}

/* ---- 一覧の表（専門役務など） */
table.list{table-layout:fixed; max-width:800px}
.list td{word-break:normal; line-break:strict; text-wrap:pretty}
.list td:first-child{font-weight:600; width:200px; word-break:keep-all; overflow-wrap:anywhere}
.list tr.grp th{font-size:13px; font-weight:400; color:var(--muted); padding:32px 0 8px; border-bottom:1px solid var(--text); text-align:left}
.list tbody tr.grp:first-child th{padding-top:0}
.list td small{display:block; color:var(--muted); font-size:13px; line-height:1.7; margin-top:4px}
@media (max-width:767px){
  .list tr{display:block; padding:12px 0; border-bottom:1px solid var(--line)}
  .list td{display:block; border:0; padding:0; width:auto!important}
  .list td:nth-child(2){margin-top:4px}
  .list tr.grp{border-bottom:0; padding:32px 0 4px}
  .list tr.grp th{display:block; border:0; padding:0}
  .list tbody tr.grp:first-child{padding-top:0}
  section > table.list:last-child tbody tr:last-child{border-bottom:0}
}

/* ---- 位置情報基盤：IDが変わる仕組みの図解 */
.idsim{margin:0}
.sim-head{display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 20px; padding-bottom:8px; border-bottom:1px solid var(--text); font-size:13px; color:var(--muted)}
.sim-head b{color:var(--text); font-weight:600}
.sim-head .ctl{margin-left:auto; display:flex; gap:8px}
.sim-btn{font:inherit; font-size:13px; color:var(--text); background:none; border:1px solid var(--line); border-radius:2px; padding:4px 12px; cursor:pointer; min-height:32px}
.sim-btn:hover{border-color:var(--muted)}
.sim-bar{height:2px; background:var(--line); margin:0 0 0; overflow:hidden}
.sim-bar i{display:block; height:100%; background:var(--text); transform-origin:left; transform:scaleX(1)}
.sim-body{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 84px; align-items:start}
@media (max-width:1023px){ .sim-body{grid-template-columns:1fr; gap:32px} }
.sim-stage{position:relative}
.sim-canvas{height:440px; cursor:grab}
.sim-canvas:active{cursor:grabbing}

.sim-canvas canvas{display:block; width:100%!important; height:100%!important; touch-action:none}
.sim-label{text-shadow:0 0 2px var(--bg),0 0 2px var(--bg),0 0 4px var(--bg),0 0 4px var(--bg); position:absolute; left:0; top:0; pointer-events:none; font-size:12px; line-height:1.5; text-align:center; white-space:nowrap; padding:0 0 12px}
.sim-label::after{content:''; position:absolute; left:50%; bottom:0; width:1px; height:12px; background:var(--text)}
.sim-place{display:block; color:var(--muted)}
.sim-id{display:block; font-family:var(--mono); font-variant-numeric:tabular-nums; letter-spacing:.04em}
.sim-log table{font-size:13.5px}
.sim-log caption{caption-side:top; text-align:left; font-size:13px; color:var(--muted); padding:12px 0 8px}
.sim-log td{font-variant-numeric:tabular-nums; padding:8px 12px 8px 0}
.sim-log td:nth-child(2){font-family:var(--mono); letter-spacing:.04em}
.sim-log tr.replay td{color:var(--muted)}
.sim-log tr:has(+ tr.replay) td{border-bottom-color:var(--text)}
.sim-log th{white-space:nowrap}
@media (max-width:640px){ .sim-log table{font-size:12.5px} }
@media (pointer:coarse){ .fine-only{display:none} }
.sim-log tr.replay td:last-child{color:var(--text)}
.sim-log tbody tr{height:41px}
.sim-table{min-height:calc(41px * 7 + 44px)}
.idsim.touch .sim-canvas{cursor:auto}
.sim-note{font-size:13px; color:var(--muted); margin-top:12px}
.idsim.no-webgl .sim-canvas{display:flex; align-items:center; height:auto; padding:32px 0; color:var(--muted); font-size:14px; cursor:auto}
.idsim.no-webgl .sim-canvas::before{content:"この端末では3D表示を使えないため、図解を表示していません。仕組みは下の説明のとおりです。"}

/* ---- フォーム */
.form{max-width:640px}
.form .row{display:grid; grid-template-columns:200px 1fr; gap:4px 20px; padding:12px 0; border-bottom:1px solid var(--line); align-items:start}
.form label{font-size:14px; padding-top:8px}
.form .req{font-size:12px; color:var(--muted); margin-left:8px}
.form input[type=text],.form input[type=email],.form input[type=tel],.form textarea{font:inherit; font-size:15.5px; color:var(--text); background:var(--surface); border:1px solid var(--line); border-radius:2px; padding:8px 12px; width:100%}
.form textarea{min-height:168px; resize:vertical}
.form [aria-invalid="true"]{border-color:var(--accent)}
.form .check{display:flex; gap:12px; align-items:flex-start; padding:12px 0; font-size:14px; text-wrap:pretty}
.form-note{font-size:14px; color:var(--muted); margin:0 0 12px}
.form .check input{width:20px; height:20px; margin-top:4px}
.form .send{padding-top:20px; display:flex; gap:20px; align-items:center; flex-wrap:wrap}
.form button.cta{border:0; cursor:pointer; font:inherit; font-weight:600}
.form [data-form-status]{font-size:14px; color:var(--text); margin:0}
@media (max-width:640px){ .form .row{grid-template-columns:1fr} .form label{padding-top:0} }

/* ---- 方針などの長文 */
.doc h3{font-size:16px; font-weight:600; margin:32px 0 8px}
.doc ol,.doc ul{margin:0 0 20px; padding-left:20px; max-width:40em}
.doc li{margin:0 0 4px}
.doc .kv{display:grid; grid-template-columns:120px 1fr; gap:4px 20px; max-width:40em; margin:0 0 20px}

.corp{max-width:800px}

@media (max-width:767px){ table.list{display:block; width:100%; table-layout:auto; max-width:none} .list tbody{display:block} .list colgroup{display:none} }
@media (max-width:767px){ header.site nav a.nav-inq{display:none!important} }
.crumb [aria-current="page"]{color:var(--text); text-decoration:none}
.page-head h1.ruled{border-top:1px solid var(--text); padding-top:12px}
.sim-log tbody td{height:41px}
@media (max-width:640px){ .sim-canvas{height:260px} }

.h2-row{display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 20px; max-width:800px}
.h2-row .count{font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums}
.mono{font-family:var(--mono); font-variant-numeric:tabular-nums}

@media (max-width:640px){ .h2-row{display:block} .h2-row .count{display:block; margin:0 0 20px; padding-bottom:8px; border-bottom:1px solid var(--line); font-family:var(--mono)} }
.form{max-width:800px}
.price .pre{font-size:15px; margin-right:4px; color:var(--text)}

.corp td a{white-space:normal; text-decoration-color:var(--line)}
.corp td a:hover{text-decoration-color:var(--text)}
/* ================= v2：無機質さをなくす層 =================
   方向は「測る会社」のまま、藍・墨・紙の3色で面を作り、電波の動きと図解で見せる */
:root{
  --ink:#0d1b2a; --ink2:#13263a; --ai:#165e83; --ai-l:#9fd3e6; --paper:#f5f3ee; --shu:#c8442a;
  --bg:#f5f3ee; --surface:#ffffff; --accent:#c8442a;
}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){ --paper:#11161c; --bg:#11161c; } }
:root[data-theme="dark"]{ --paper:#11161c; --bg:#11161c; }

/* 文字の階層を強く（ジャンプ率） */
h1{font-size:clamp(30px, 4.4vw, 60px); line-height:1.32; letter-spacing:.01em; font-weight:700}
h2{font-size:clamp(22px, 2.4vw, 32px); line-height:1.45; font-weight:700}
.eyebrow{display:inline-flex; align-items:center; gap:12px; font-size:13px; letter-spacing:.12em; color:var(--ai); font-weight:600; margin:0 0 20px}
.eyebrow::before{content:""; width:32px; height:1px; background:currentColor}
.cta{box-shadow:0 8px 24px -12px rgba(200,68,42,.7); transition:transform .2s, box-shadow .2s}
.cta:hover{transform:translateY(-2px); box-shadow:0 14px 28px -12px rgba(200,68,42,.8); opacity:1}
.cta-ghost{display:inline-block; padding:12px 28px; border:1px solid currentColor; border-radius:2px; text-decoration:none; color:inherit; font-weight:600; font-size:15px}
.cta-ghost:hover{background:rgba(255,255,255,.08)}

/* 全幅の面 */
.band{position:relative; padding:136px 0}
.band-paper{background:var(--paper)}
.band-white{background:var(--surface)}
.band-dark{background:var(--ink); color:#e8eef3; --text:#e8eef3; --muted:#9fb0bf; --line:#2a3d52}
.band-dark a{color:#e8eef3}
.band-dark .eyebrow{color:var(--ai-l)}
.grain::after{content:""; position:absolute; inset:0; pointer-events:none; opacity:.08; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
@media (max-width:767px){ .band{padding:84px 0} }
main > section.band:first-child{margin-top:0}
main{display:block}
main > .wrap > section:first-child{border-top:0}

/* 冒頭（トップ） */
.hero2{position:relative; min-height:min(86vh, 860px); display:flex; align-items:flex-end; overflow:hidden; background:var(--ink); color:#eef3f7}
.hero2 canvas[data-signal]{position:absolute; inset:0; width:100%; height:100%; display:block; --sig-bg:#0d1b2a; --sig-a:#165e83; --sig-b:#9fd3e6}
.hero2 canvas.no-gl{background:radial-gradient(ellipse at 30% 40%, #165e83 0, #0d1b2a 60%)}
.hero2::before{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(13,27,42,0) 30%, rgba(13,27,42,.85) 100%); z-index:1; pointer-events:none}
.hero2 .wrap{position:relative; z-index:2; padding-top:136px; padding-bottom:84px; width:100%}
.hero2 h1{max-width:15em; color:#fff; text-shadow:0 2px 30px rgba(13,27,42,.6)}
.hero2 .lede{color:#c9d6e0; font-size:18px; max-width:36em}
.hero2 .actions{display:flex; gap:20px; flex-wrap:wrap; align-items:center}
.hud{position:absolute; right:32px; top:120px; z-index:2; font-family:var(--mono); font-size:12px; line-height:1.9; color:#9fd3e6; text-align:right; letter-spacing:.06em}
.hud b{display:block; color:#fff; font-weight:400; font-size:13px}
@media (max-width:767px){ .hud{display:none} .hero2{min-height:640px} .hero2 .lede{font-size:16px} }

/* 下層ページの冒頭（暗い帯） */
.head-band{position:relative; overflow:hidden; background:var(--ink); color:#eef3f7; --text:#eef3f7; --muted:#9fb0bf; --line:#2a3d52}
.head-band canvas[data-signal]{position:absolute; inset:0; width:100%; height:100%; opacity:.55; --sig-bg:#0d1b2a; --sig-a:#165e83; --sig-b:#9fd3e6}
.head-band::before{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(13,27,42,.92) 0, rgba(13,27,42,.55) 60%, rgba(13,27,42,.2) 100%); pointer-events:none}
.head-band .wrap{position:relative; z-index:2}
.head-band .page-head{padding:120px 0 84px}
.head-band .crumb, .head-band .crumb a{color:#9fb0bf}
.head-band .crumb [aria-current="page"]{color:#eef3f7}
.head-band .product{color:#9fd3e6; border-bottom-color:rgba(159,211,230,.35)}
.head-band .product b{color:#fff}
.head-band h1{color:#fff}
.head-band .lede{color:#c9d6e0}
.head-band .small.muted{color:#9fb0bf}
.head-band h1.ruled{border-top-color:rgba(255,255,255,.4)}
@media (max-width:767px){ .head-band .page-head{padding:84px 0 52px} }

/* 3本柱（図解つきのパネル） */
.pillars{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px; margin-top:52px}
@media (max-width:1023px){ .pillars{grid-template-columns:1fr} }
.pillar{position:relative; background:var(--surface); border:1px solid var(--line); padding:32px; display:flex; flex-direction:column; transition:border-color .25s, transform .25s}
.pillar:hover{border-color:var(--ai); transform:translateY(-4px)}
.pillar .no{font-family:var(--mono); font-size:12px; color:var(--ai); letter-spacing:.12em}
.pillar h3{font-size:22px; margin:8px 0 12px; font-weight:700}
.pillar p{font-size:14.5px; color:var(--muted); margin:0 0 20px}
.pillar ul{list-style:none; margin:auto 0 0; padding:0; border-top:1px solid var(--line)}
.pillar li{border-bottom:1px solid var(--line); padding:12px 0; font-size:14.5px}
.pillar li a{color:var(--text); text-decoration:none; display:flex; justify-content:space-between; gap:12px}
.pillar li a::after{content:"→"; color:var(--ai); transition:transform .2s}
.pillar li a:hover::after{transform:translateX(4px)}
.pillar .illo{height:180px; margin:-8px -8px 20px; display:flex; align-items:center; justify-content:center}
.illo svg{width:100%; height:100%}
.illo .s{stroke:var(--ai); fill:none; stroke-width:1.4}
.illo .f1{fill:color-mix(in srgb, var(--ai) 14%, transparent); stroke:var(--ai); stroke-width:1.2}
.illo .f2{fill:color-mix(in srgb, var(--ai) 30%, transparent); stroke:var(--ai); stroke-width:1.2}
.illo .k{fill:var(--shu); stroke:none}
.illo .r{stroke:var(--shu); fill:none; stroke-width:1.2; opacity:.7}

/* 数字の帯 */
.figures{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:0; margin-top:52px; border-top:1px solid var(--line)}
@media (max-width:1023px){ .figures{grid-template-columns:repeat(2, minmax(0,1fr))} }
.figure{padding:32px 20px 0 0; border-right:1px solid var(--line); margin-bottom:32px}
.figure:last-child{border-right:0}
@media (max-width:1023px){ .figure:nth-child(2n){border-right:0} }
.figure .v{display:block; font-size:clamp(34px, 4vw, 52px); font-weight:700; line-height:1.1; color:#fff; font-variant-numeric:tabular-nums; letter-spacing:-.01em}
.figure .v small{font-size:16px; font-weight:400; margin-left:4px; color:#c9d6e0}
.figure .l{display:block; font-size:13.5px; color:var(--muted); margin-top:12px; line-height:1.7}

/* 2列の導入（文と図） */
.split{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:84px; align-items:center}
@media (max-width:1023px){ .split{grid-template-columns:1fr; gap:52px} }

/* 棒グラフ */
.bars{margin:32px 0 0; padding:0; list-style:none; max-width:800px}
.bars li{display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 2fr) 64px; gap:12px 20px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); font-size:14.5px}
.bars .track{height:10px; background:color-mix(in srgb, var(--ai) 12%, transparent); position:relative; overflow:hidden}
.bars .fill{position:absolute; inset:0; background:var(--ai); transform-origin:left; transform:scaleX(1)}
.bars li.hi .fill{background:var(--shu)}
.bars .pct{font-variant-numeric:tabular-nums; text-align:right; font-weight:700}
@media (max-width:640px){ .bars li{grid-template-columns:1fr 56px} .bars .track{grid-column:1 / -1; grid-row:2} }
.src{font-size:12.5px; color:var(--muted); margin-top:12px}

/* 2つの段階 */
.levels{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; margin-top:32px}
@media (max-width:767px){ .levels{grid-template-columns:1fr} }
.level{border:1px solid var(--line); background:var(--surface); padding:32px; position:relative}
.level::before{content:""; position:absolute; left:0; top:0; right:0; height:4px}
.level.gold::before{background:#b8913a}
.level.plat::before{background:#8a9aa8}
.level .tag{font-size:12px; letter-spacing:.12em; color:var(--muted)}
.level h3{font-size:24px; margin:4px 0 12px}
.level dl{margin:20px 0 0; display:grid; grid-template-columns:auto 1fr; gap:8px 20px; font-size:14.5px}
.level dt{color:var(--muted)}
.level dd{margin:0}

/* 流れ（手順） */
.flow{list-style:none; margin:32px 0 0; padding:0; display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); counter-reset:s}
.flow li{position:relative; padding:20px 20px 20px 0; border-top:2px solid var(--line); counter-increment:s; font-size:14.5px}
.flow li::before{content:counter(s, decimal-leading-zero); display:block; font-family:var(--mono); font-size:12px; color:var(--ai); margin-bottom:8px}
.flow li.us{border-top-color:var(--shu)}
.flow li.us::after{content:"当社が支援"; position:absolute; top:-26px; left:0; font-size:11.5px; color:var(--shu); letter-spacing:.06em}
@media (max-width:767px){ .flow{grid-template-columns:1fr} .flow li{border-top:0; border-left:2px solid var(--line); padding:12px 0 12px 20px} .flow li.us{border-left-color:var(--shu)} .flow li.us::after{position:static; display:block; margin-top:4px} }

/* 確認されるもの（4つ） */
.checks{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px; margin-top:32px}
@media (max-width:1023px){ .checks{grid-template-columns:repeat(2, minmax(0,1fr))} }
@media (max-width:480px){ .checks{grid-template-columns:1fr} }
.check{border-top:2px solid var(--ai); padding-top:20px}
.check .illo{height:96px; justify-content:flex-start; margin:0 0 12px}
.check .illo svg{width:auto}
.check h3{font-size:16px; margin:0 0 8px}
.check p{font-size:14px; color:var(--muted); margin:0}

/* スクロールで登場（JSがない時は最初から表示） */
[data-reveal-item]{will-change:opacity, transform}

/* 既存部品の調整 */
.band-dark table th, .band-dark table td{border-bottom-color:var(--line)}
.band-white .pillar, .band-white .level{background:var(--paper)}
.hc td:first-child{width:260px}
.hc tr td{padding-top:20px; padding-bottom:20px}
.hc .tag{display:inline-block; font-size:11.5px; color:var(--ai); border:1px solid currentColor; padding:0 8px; margin-left:8px; border-radius:2px; vertical-align:middle}
.pillar{min-width:0}
.illo svg{max-width:100%}
@media (max-width:640px){ .pillar{padding:20px} .pillar .illo{height:150px; margin:0 0 12px} }
.hero2 .eyebrow{color:var(--ai-l)}
.figure{padding-left:20px}
.figure:first-child{padding-left:0}
.figure .v{font-size:clamp(30px, 3.2vw, 46px); white-space:nowrap}
@media (max-width:1023px){ .figure:nth-child(2n+1){padding-left:0} }
.pillar li a > span:first-child{flex:1}
.pillar li small{display:block; font-size:12.5px; color:var(--muted); margin-top:4px; line-height:1.6}
.pillar li a{white-space:normal}

/* ===== v2.1：採点の指摘で直したところ ===== */
/* AIの型を外す：光る影・浮く動き・暗いグラデーション・文字の影 */
.cta{box-shadow:none; border-bottom:3px solid #8f2f1d; transition:background .2s}
.cta:hover{transform:none; box-shadow:none; background:#b23a23}
.hero2::before{display:none}
.hero2 h1{text-shadow:none}
.hero2 .wrap{background:linear-gradient(90deg, rgba(13,27,42,.88) 0, rgba(13,27,42,.6) 55%, rgba(13,27,42,0) 100%)}
.hud{top:auto; bottom:20px; right:32px; font-family:var(--sans); font-size:12px; color:#9fb0bf; margin:0}
.pillar:hover{transform:none}

/* 3本柱：02を横長、03を横置き */
.pillars{grid-template-columns:repeat(3, minmax(0,1fr))}
.pillar.wide{grid-column:span 2}
.pillar.wide ul{columns:2; column-gap:32px}
.pillar.wide li{break-inside:avoid}
.pillar.row{grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap:0 32px; align-items:start}
.pillar.row .illo{grid-row:1 / span 4; margin:0; height:220px}
.pillar.row ul{grid-column:3; grid-row:1 / span 4; margin:0}
@media (max-width:1023px){ .pillar.wide{grid-column:auto} .pillar.wide ul{columns:1} .pillar.row{display:flex} .pillar.row .illo{height:180px} }

/* 数字：看板の数字を大きく（ジャンプ率） */
.bigfig{display:block; padding:20px 0 52px; border-bottom:1px solid var(--line)}
.bf-v{display:block; font-size:clamp(56px, 11vw, 148px); line-height:1; font-weight:700; color:var(--shu); font-variant-numeric:tabular-nums; letter-spacing:-.02em}
.bf-v small{font-size:clamp(18px, 2vw, 28px); color:#e8eef3; margin-left:12px; font-weight:400; letter-spacing:0}
.bf-l{display:block; margin-top:20px; max-width:40em; color:#9fb0bf; font-size:14.5px}
.figures{grid-template-columns:repeat(3, minmax(0,1fr)); border-top:0; margin-top:0}
@media (max-width:767px){ .figures{grid-template-columns:1fr} .figure{border-right:0; border-bottom:1px solid var(--line); padding-left:0} }

/* ハイプ・サイクル：3列の帯 */
.hype{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:0; margin-top:52px}
.hype > div{padding:4px 32px 4px 20px; border-left:2px solid var(--ai)}
.hy-t{display:block; font-size:clamp(20px, 2vw, 28px); font-weight:700; line-height:1.4}
.hy-d{display:block; margin-top:12px; color:var(--muted); font-size:14.5px}
@media (max-width:767px){ .hype{grid-template-columns:1fr; gap:32px} }

/* 下層の冒頭：数字を見出しのように */
.head-band.has-figure .page-head{display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:0 84px; align-items:end}
.head-band.has-figure .page-head > *:not(.head-figure){grid-column:1}
.head-band .head-figure{grid-column:2; grid-row:1 / span 6; align-self:end; margin:0; border-left:2px solid var(--shu); padding-left:32px}
.hf-v{display:block; font-size:clamp(64px, 9vw, 128px); line-height:1; font-weight:700; color:var(--shu); font-variant-numeric:tabular-nums}
.hf-v small{font-size:24px; color:#e8eef3; margin-left:8px; font-weight:400}
.hf-l{display:block; margin-top:20px; font-size:13.5px; color:#9fb0bf; max-width:24em}
@media (max-width:1023px){ .head-band.has-figure .page-head{display:block} .head-band .head-figure{margin-top:32px} }
.head-band:not(:has(canvas)){background:radial-gradient(ellipse at 85% 30%, #13324a 0, var(--ink) 60%)}

/* 段階の色は3色の中で */
.level.gold::before{background:var(--ai); height:3px}
.level.plat::before{background:var(--text); height:6px}

/* 確認項目のアイコンを小さく */
.check{display:grid; grid-template-columns:40px 1fr; gap:12px; align-items:start}
.check .illo{height:40px; margin:0}
.check .illo svg{width:40px; height:40px}
@media (max-width:640px){ .checks{grid-template-columns:1fr 1fr} }

/* 照合の流れ（公共調達データ） */
.matchflow{list-style:none; margin:52px 0 0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:0}
.matchflow li{position:relative; padding:32px 52px 32px 0; border-top:2px solid var(--ai)}
.matchflow li:not(:last-child)::after{content:"→"; position:absolute; right:20px; top:28px; font-size:28px; color:var(--shu)}
.matchflow .mf-no{display:block; font-family:var(--mono); font-size:12px; color:var(--ai)}
.matchflow b{display:block; font-size:clamp(20px, 2vw, 26px); margin:8px 0 12px}
.matchflow li > span:last-child{color:var(--muted); font-size:14.5px}
@media (max-width:767px){ .matchflow{grid-template-columns:1fr} .matchflow li{padding-right:0} .matchflow li:not(:last-child)::after{content:"↓"; right:0} }

/* 公共調達データの冒頭（暗い帯の中の台帳） */
.proc-hero{padding:0}
.proc-hero .hero{padding:120px 0 84px}
.proc-hero h1{max-width:11em; color:#fff}
.proc-hero .lede{color:#c9d6e0}
.proc-hero .ledger caption{color:#9fb0bf; border-bottom-color:rgba(255,255,255,.4)}
.proc-hero .ledger td{border-bottom-color:#2a3d52}
.proc-hero .ledger tr.hd td.name{color:#fff; font-weight:600}
.proc-hero .ledger td.n{font-size:clamp(28px, 3.4vw, 44px); color:var(--shu)}
.proc-hero .ledger tr.rg td{color:#9fb0bf}
.proc-hero .ledger-note{color:#9fb0bf}
.proc-hero .product, .proc-hero .eyebrow{color:var(--ai-l)}

/* 段の区切りは帯が受け持つので、section の罫線は消す */
.band > .wrap > *:first-child{margin-top:0}
section.band{border-top:0}
.band-dark .price .amt{color:var(--shu)}
.band-dark .price .yen{color:#e8eef3}
.band-dark .terms{border-top-color:var(--line)}
.band-dark .small.muted, .band-dark p.muted{color:#9fb0bf}

/* スマホ：ナビは「お問い合わせ」を残し、「会社概要」を外す */
@media (max-width:767px){ header.site nav a.nav-inq{display:inline!important} header.site nav a[href*="company"]:not([aria-current]){display:none} }

/* 登場は不透明度だけ（撮影や途中停止で線がずれないように） */
.hype + .ledger-note{margin-top:52px}
.lv-price{margin:20px 0 0; padding-top:20px; border-top:1px solid var(--line)}
.lv-price .lbl{display:block; font-size:13px; color:var(--muted)}
.lv-price .amt{font-size:36px; font-weight:700; color:var(--shu); font-variant-numeric:tabular-nums}
.lv-price .yen{font-size:15px; margin-left:4px}
.cmp{margin-top:32px; font-size:14.5px}
.cmp th{font-size:13px; color:var(--muted); font-weight:400}
.cmp td:first-child{width:160px; color:var(--muted)}
.cmp td:last-child, .cmp th:last-child{background:color-mix(in srgb, var(--ai) 7%, transparent); padding-left:20px}
.cmp td.fig{color:var(--shu); font-weight:700}
@media (max-width:767px){ .cmp thead{display:none} .cmp tr{display:block; padding:12px 0; border-bottom:1px solid var(--line)} .cmp td{display:block; border:0; padding:4px 0; width:auto!important} .cmp td:nth-child(2)::before{content:"既存の認証："; color:var(--muted)} .cmp td:nth-child(3)::before{content:"ASPICゴールド："; color:var(--ai)} .cmp td:last-child{padding-left:12px} }

/* 当社が手掛ける先進事業 */
.advgrid{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:0; margin-top:52px; border-top:1px solid var(--text)}
.adv-item{white-space:normal; display:flex; flex-direction:column; padding:32px 32px 32px 0; text-decoration:none; color:var(--text); border-right:1px solid var(--line); min-width:0}
.adv-item + .adv-item{padding-left:32px}
.adv-item:last-child{border-right:0}
.adv-field{font-size:13px; letter-spacing:.08em; color:var(--ai); font-weight:600}
.adv-name{font-size:clamp(22px, 2.2vw, 30px); font-weight:700; line-height:1.4; margin:12px 0 20px}
.adv-desc{font-size:14.5px; color:var(--muted); line-height:1.85}
.adv-go{margin-top:auto; padding-top:32px; font-size:14px; color:var(--text)}
.adv-go::after{content:" →"; color:var(--shu)}
.adv-item:hover .adv-name{color:var(--ai)}
@media (max-width:1023px){ .advgrid{grid-template-columns:1fr} .adv-item, .adv-item + .adv-item{padding:32px 0; border-right:0; border-bottom:1px solid var(--line)} }
/* v2.2 トップの場所IDパネル（自社特許の方式を、その場で見せる） */
.adv-name{word-break:keep-all; overflow-wrap:anywhere}
.hero2 .wrap{display:grid; grid-template-columns:minmax(0,1fr) 360px; column-gap:52px; align-items:end}
.hero2 .wrap > *:not(.idpanel){grid-column:1}
.idpanel{grid-column:2; grid-row:1 / span 4; align-self:end; border:1px solid rgba(159,211,230,.35); background:rgba(13,27,42,.82); padding:20px 20px 16px; color:#eef3f7; font-size:13px}
.idp-h{display:flex; justify-content:space-between; gap:12px; margin:0 0 12px; color:var(--ai-l); letter-spacing:.06em}
.idp-h span{color:#8aa0b2; letter-spacing:0; font-size:12px}
.idp-cur{font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace; font-size:30px; letter-spacing:.04em; color:#fff; margin:0 0 12px; font-variant-numeric:tabular-nums; white-space:nowrap}
.idp-cur.flip{animation:idflip .5s ease-out}
@keyframes idflip{from{opacity:.15; transform:translateY(-6px)} to{opacity:1; transform:none}}
.idp-bar{height:2px; background:rgba(159,211,230,.18); margin:0 0 20px}
.idp-bar i{display:block; height:100%; background:var(--shu); transform-origin:left; transform:scaleX(1)}
.idp-sub{margin:0 0 4px; color:#8aa0b2; font-size:12px}
.idp-log{list-style:none; margin:0 0 12px; padding:0; min-height:96px}
.idp-log li{display:grid; grid-template-columns:4.5em 1fr auto; gap:8px; align-items:center; padding:6px 0; border-top:1px solid rgba(159,211,230,.15); color:#8aa0b2}
.idp-log code{font-family:ui-monospace,Menlo,Consolas,monospace; font-size:13px; color:#c9d6e0; text-decoration:line-through; text-decoration-color:rgba(200,68,42,.7)}
.idp-log .st{color:#e88a74; font-size:12px}
.idp-note{margin:0; color:#c9d6e0; font-size:12.5px; line-height:1.7}
@media (max-width:1023px){ .hero2 .wrap{grid-template-columns:1fr} .idpanel{grid-column:1; grid-row:auto; margin-top:32px; max-width:420px} }
@media (max-width:767px){ .idp-cur{font-size:24px} .idpanel{max-width:none} }
@media (min-width:1024px){ .hero2 h1{font-size:clamp(40px,3.7vw,54px); max-width:none} }
/* v2.3 Critic第1回の指摘への対応 */
@media (max-width:1023px){ .pillars{grid-template-columns:1fr} }
h1, h2, h3, .adv-name{word-break:keep-all; overflow-wrap:anywhere}
.wrap.split{display:grid; grid-template-columns:minmax(0,4fr) minmax(0,8fr); column-gap:52px; align-items:start}
.wrap.split .sec-h{position:sticky; top:96px}
.wrap.split .sec-h h2{margin-bottom:0}
.wrap.split .sec-b > :first-child{margin-top:0}
.wrap.split table.list, .wrap.split table.gap{width:100%; max-width:none}
@media (max-width:1023px){ .wrap.split{grid-template-columns:1fr} .wrap.split .sec-h{position:static; margin-bottom:32px} }
/* 朱は1ページ1か所：統計・件数・メニュー数はインク／白に */
.hf-v{color:#fff}
.proc-hero .ledger td.n{color:#fff}
.cmp td.fig{color:var(--text)}
.bars li.hi .fill{background:var(--ai)}
.band-dark .bigfig{padding-bottom:0}
/* 返り値の形 */
.retrow{margin:52px 0 0}
.retrow table{width:100%; border-collapse:collapse; font-size:14px}
.retrow th{font-weight:600; text-align:left; font-size:12.5px; color:var(--muted); padding:8px 12px; border-bottom:1px solid var(--text)}
.retrow td{padding:12px; border-bottom:1px solid var(--line); vertical-align:top}
.retrow td.m{font-family:var(--mono); font-variant-numeric:tabular-nums; white-space:nowrap}
.retrow td.ng{color:var(--shu); font-weight:700}
.retrow tr.none td{color:var(--muted)} .retrow tr.none td.ng{color:var(--shu)}
.retrow figcaption{margin-top:12px; font-size:13px; color:var(--muted)}
@media (max-width:767px){ .retrow thead{display:none} .retrow tr{display:block; border-top:1px solid var(--text); padding:8px 0} .retrow td{display:grid; grid-template-columns:8em 1fr; gap:8px; border:0; padding:4px 0; white-space:normal} .retrow td::before{content:attr(data-l); color:var(--muted); font-size:12.5px; font-family:inherit} }
/* 4項目：カードをやめて横並びの語に */
.checks{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:0; margin-top:32px; border-top:1px solid var(--line)}
.check{display:flex; align-items:center; gap:12px; padding:20px 20px 20px 0; border:0; background:none; min-height:0}
.check .illo{width:40px; height:40px; flex:none; margin:0}
.check h3{font-size:16px; margin:0}
@media (max-width:1023px){ .checks{grid-template-columns:1fr 1fr} }
@media (max-width:767px){ .checks{grid-template-columns:1fr} .check{border-bottom:1px solid var(--line)} }
/* 流れの番号を大きく */
.flow li::before{font-size:28px; font-weight:600}
.price.stat .amt{color:var(--text)}
/* v2.4 Critic第2回への対応 */
.cols{display:grid; grid-template-columns:repeat(var(--n,3), minmax(0,1fr)); gap:0; margin-top:32px; border-top:1px solid var(--text)}
.cols.n2{--n:2} .cols.n3{--n:3} .cols.n4{--n:4}
.cols .col{padding:20px 32px 20px 0; border-right:1px solid var(--line)}
.cols .col + .col{padding-left:32px}
.cols .col:last-child{border-right:0}
.cols h3{font-size:17px; margin:0 0 8px; font-weight:700}
.cols p{margin:0; font-size:14.5px; color:var(--muted); line-height:1.85}
.band-dark .cols{border-top-color:#9fb0bf} .band-dark .cols p{color:#c9d6e0} .band-dark .cols .col{border-right-color:rgba(159,211,230,.2)}
@media (max-width:1023px){ .cols{grid-template-columns:1fr} .cols .col, .cols .col + .col{padding:20px 0; border-right:0; border-bottom:1px solid var(--line)} }
.wrap.split table.list col:first-child, .wrap.split table.list td:first-child{width:clamp(8em,22%,12em)}
.pre{color:#c9d6e0; max-width:40em}
.lead-in{font-size:16px; max-width:40em}
.co-name span{display:inline-block}
.co-name{font-size:clamp(24px,2.2vw,30px)}
.band-dark .bigfig{display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:52px; align-items:end; border-bottom:0; padding:0}
.band-dark .bigfig .bf-l{margin:0 0 12px}
@media (max-width:1023px){ .band-dark .bigfig{grid-template-columns:1fr} .band-dark .bigfig .bf-l{margin-top:20px} }
section.band-dark:has(.bigfig){padding-block:84px}
.flow li{word-break:keep-all; overflow-wrap:anywhere}
.hf-v{font-size:clamp(44px,4.6vw,64px)}
.head-band.has-figure h1{font-size:clamp(32px,3.4vw,48px)}
/* 先進事業：非対称 */
.advgrid{grid-template-columns:minmax(0,7fr) minmax(0,5fr); grid-template-rows:auto auto}
.adv-main{grid-row:1 / span 2; padding-right:52px !important}
.adv-main .adv-name{font-size:clamp(26px,2.8vw,38px)}
.adv-illo{display:block; margin:0 0 20px; max-width:420px}
.adv-illo svg{width:100%; height:auto; display:block}
.advgrid .adv-item:not(.adv-main){border-right:0; padding-left:52px}
.advgrid .adv-item:nth-child(2){border-bottom:1px solid var(--line)}
.adv-cols{display:grid; grid-template-columns:repeat(4,auto); justify-content:start; gap:0; margin-top:20px; border-top:1px solid var(--text); border-bottom:1px solid var(--line); font-family:var(--mono)}
.adv-cols i{font-style:normal; font-size:12px; color:var(--muted); padding:8px 12px 8px 0}
@media (max-width:1023px){ .advgrid{grid-template-columns:1fr} .adv-main{grid-row:auto; padding-right:0 !important} .advgrid .adv-item:not(.adv-main){padding-left:0} }
@media (max-width:767px){ .retrow td{display:block; padding:4px 0 4px 8em; text-indent:-8em} .retrow td::before{display:inline-block; width:8em; text-indent:0} .retrow td.m{white-space:normal} }
/* v2.5 Critic第3回への対応 */
table.list{max-width:none; width:100%}
table.list col:first-child{width:clamp(8em,18%,12em)}
.band[data-sm]{padding:64px 0}
.bf-v small{margin-left:.15em; vertical-align:baseline}
.band-dark .bigfig .bf-l{min-width:24em}
.flow.steps3{grid-template-columns:repeat(3,minmax(0,1fr))}
.flow.steps3 li b{display:block; font-size:17px; margin-bottom:8px; color:var(--text)}
.adv-main{justify-content:flex-start}
.adv-main .adv-go{margin-top:24px; padding-top:0}
.idpanel-paper{display:block; background:var(--ink); max-width:440px; margin:0 0 32px; font-size:13px}
.idpanel-paper > span{display:block}
.idpanel-paper .idp-h{display:flex}
.idp-log .r{display:grid; grid-template-columns:4.5em 1fr auto; gap:8px; align-items:center; padding:6px 0; border-top:1px solid rgba(159,211,230,.15); color:#8aa0b2}
.idp-log .r code{font-family:ui-monospace,Menlo,Consolas,monospace; font-size:13px; color:#c9d6e0; text-decoration:line-through; text-decoration-color:rgba(200,68,42,.7)}
.idp-log .r .st{color:#e88a74; font-size:12px}
.adv-tbl{display:grid; grid-template-columns:repeat(4,auto); justify-content:start; margin-top:20px; border-top:1px solid var(--text); font-family:var(--mono); font-size:13px}
.adv-tbl i, .adv-tbl b{font-style:normal; font-weight:400; padding:8px 16px 8px 0; border-bottom:1px solid var(--line)}
.adv-tbl i{font-size:12px; color:var(--muted)}
.adv-tbl b{color:var(--muted)} .adv-tbl b.ng{color:var(--shu); font-weight:700}
.adv-cols{display:none}
@media (max-width:767px){ .wrap.split .sec-h{margin-bottom:20px} .idpanel-paper .idp-cur{font-size:22px} }
.head-figure.idfig{border-left:0; padding-left:0}
.head-figure.idfig .idpanel{margin:0; width:360px; max-width:100%}
@media (max-width:1023px){ .head-figure.idfig{margin-top:32px} }
.adv-main .idpanel-paper{align-self:flex-start; margin-left:0}
/* v2.6 Critic第4回への対応 */
.adv-id{display:flex; flex-wrap:wrap; gap:8px 16px; align-items:baseline; padding:12px 0; margin:0 0 32px; border-top:1px solid var(--text); border-bottom:1px solid var(--line); font-size:13px; color:var(--muted)}
.adv-id code{font-family:var(--mono); font-size:22px; color:var(--text); text-decoration:line-through; text-decoration-color:var(--shu); letter-spacing:.04em}
.adv-id b{color:var(--text); font-weight:700}
/* 朱を絞る：価格・矢印・IDのバー・照合できません */
.band-dark .price .amt{color:#f5f3ee}
.lv-price .amt, .price .amt{color:var(--text)}
.band-dark .price .amt{color:#f5f3ee}
.adv-go::after{color:var(--ai)}
.idp-bar i{background:var(--ai-l)}
.idp-log .st, .idp-log .r .st{color:#c9d6e0}
/* 全幅の表 */
.corp{width:100%} .corp td{max-width:none} .corp th{width:clamp(8em,18%,12em)}
/* 日本語の改行 */
p, li, td, dd, figcaption, .adv-desc{word-break:auto-phrase; text-wrap:pretty}
/* スマホ：ナビを1段の横スクロールに */
@media (max-width:767px){
  header.site nav{overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; scrollbar-width:none}
  header.site nav::-webkit-scrollbar{display:none}
  header.site nav a[href*="company"]:not([aria-current]){display:inline!important}
  .retrow td{padding-left:0; text-indent:0}
  .retrow td::before{display:block; width:auto}
}
/* security：件数を目次として縦に */
.sec-h .h2-row{display:block}
.sec-h .h2-row .count{display:block; margin-top:20px; font-family:var(--mono); font-size:15px; line-height:2; white-space:pre-line; color:var(--ai)}
@media (max-width:767px){ header.site nav{flex-wrap:nowrap; gap:0 20px} header.site nav a{flex:none} }
/* v2.7 Critic第5回への対応 */
.corp, table.list, .bars, .h2-row{max-width:none}
.sim-log tr.empty td{border-color:transparent}
.adv-main{justify-content:center}
.adv-tbl{grid-template-columns:repeat(4,minmax(0,1fr)); justify-content:stretch}
@media (max-width:767px){ .retrow tbody tr:not(.none){display:none} }
.grid14{display:grid; grid-template-columns:repeat(7, 28px); gap:6px; margin-bottom:20px}
.grid14 i{display:block; height:28px; border:1px solid rgba(159,211,230,.5)}
.grid14 i.g1{background:var(--ai)} .grid14 i.g2{background:var(--ai-l)} .grid14 i.g3{background:transparent}
.hf-l .k1{color:var(--ai)} .hf-l .k2{color:var(--ai-l)} .hf-l .k3{color:transparent; -webkit-text-stroke:1px #9fd3e6}
.hf-l b{font-weight:400; margin-right:4px}
.hbar{display:block; height:12px; background:rgba(159,211,230,.18); margin:16px 0 12px; max-width:320px}
.hbar i{display:block; height:100%; background:var(--shu)}
small, .small, .muted, .src, .ledger-note{word-break:auto-phrase}
/* v2.8 Critic第6回への対応 */
.adv-main{justify-content:flex-start}
.band-paper + .band-paper, .band-white + .band-white{padding-top:32px}
.grid14{grid-template-columns:repeat(7, 56px); gap:8px; margin:20px 0}
.grid14 i{height:56px}
.head-figure{align-self:center}
.hf-l{font-size:14px}
.head-figure.idfig .idp-log{min-height:0}
.sim-table{min-height:0}
.sim-log tr.empty{display:none}
@media (max-width:767px){ .grid14{grid-template-columns:repeat(7, 36px); gap:6px} .grid14 i{height:36px} }
.grid14{grid-template-columns:repeat(7, minmax(0,56px)); max-width:100%}
.grid14 i{height:auto; aspect-ratio:1}
.adv-tbl b, .adv-tbl i{white-space:nowrap}
.form .hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
