/* =========================================================
   Veliq Finance — UI v3(Apple系の共通スタイル)
   全ページの <head> 末尾で読み込み、各ページ内の旧スタイルを上書きする。
   設計値
   - 書体: Noto Sans JP(Google Fonts の 400/500/600/700)のみ。字間0、大見出しのみ-0.01em
   - 色: 背景#FFF / 面#F5F5F7 / 線#D2D2D7 / 文字#1D1D1F / 補助#6E6E73 / アクセント#8A6A2A
   - 角丸: 入力10 / カード18 / ボタン980(ピル)
   - 影: カード 0 2px 8px .04 + 0 12px 32px .06
   ========================================================= */
:root{
  --paper:#FFFFFF; --paper-2:#F5F5F7; --ink:#1D1D1F; --ink-2:#424245; --ink-3:#6E6E73;
  --line:#D2D2D7; --gold:#9A7B3A; --gold-deep:#8A6A2A; --alert:#C2410C;
  --radius:12px; --shadow:0 2px 8px rgba(0,0,0,.04),0 12px 32px rgba(0,0,0,.06);
  --u-font:"Noto Sans JP",sans-serif;
  --u-accent:#8A6A2A; --u-accent-weak:#F5EFE3; --u-surface:#F5F5F7;
}

/* ---------- 書体・字間 ---------- */
html body, html body *:not(svg):not(svg *):not(code):not(pre):not(kbd){font-family:var(--u-font)!important;letter-spacing:0!important;font-feature-settings:normal!important}
html body{background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased;line-height:1.75}
html body h1{font-weight:700!important;letter-spacing:-.01em!important;line-height:1.35!important}
html body h2,html body h3{font-weight:700!important;line-height:1.45}
html body code,html body pre,html body kbd{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace!important}
.num,.big-number,.field-value,.stat .v,.answer .big,.rates .v,.bs .v,.verdict .v,.fact .n,.mono,td.num{font-variant-numeric:tabular-nums}

/* ---------- 英字の小見出し・装飾は出さない ---------- */
.eyebrow,.gn .en,.m-eyebrow,.m-num,.m-jp small,.tool-card .en,.statement .lede,.ch-eyebrow,.scrolly .st .en,.print-head{display:none!important}

/* ---------- PR帯・ヘッダー ---------- */
.pr-bar{background:var(--u-surface);color:var(--ink-3);font-size:12px;text-align:center;padding:6px 16px;line-height:1.5}
header.gh{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid rgba(0,0,0,.08)}
.gh-in{display:flex;align-items:center;justify-content:space-between;height:56px;gap:24px}
.gh .brand{font-size:19px;font-weight:700;color:var(--ink);text-decoration:none;letter-spacing:-.01em!important;white-space:nowrap}
.gh .brand b{color:var(--u-accent);font-weight:700}
.gh .gnav{display:flex;align-items:center;gap:28px;margin:0;overflow:visible;padding:0}
.gh .gnav a{font-size:14px;color:var(--ink-2);text-decoration:none;white-space:nowrap;transition:color .2s}
.gh .gnav a:hover,.gh .gnav a.on{color:var(--ink)}
.gh .gnav a.on{font-weight:600}
.gh .gnav a.pill{background:var(--ink);color:#fff;border-radius:980px;padding:7px 16px;font-weight:600}
.gh .gnav a.pill:hover{background:#000}
.gh .burger{display:none;width:44px;height:44px;margin-right:-10px;background:none;border:0;cursor:pointer;position:relative}
.gh .burger span{position:absolute;left:13px;width:18px;height:1.5px;background:var(--ink);border-radius:1px;transition:transform .3s,top .3s}
.gh .burger span:nth-child(1){top:18px}.gh .burger span:nth-child(2){top:25px}
.gh .burger[aria-expanded="true"] span:nth-child(1){top:21.5px;transform:rotate(45deg)}
.gh .burger[aria-expanded="true"] span:nth-child(2){top:21.5px;transform:rotate(-45deg)}
@media(max-width:820px){.gh .gnav{display:none}.gh .burger{display:block}.gh-in{height:52px}}

/* モバイルメニュー(グループ化リスト) */
.menu{position:fixed;inset:0;z-index:40;background:var(--u-surface);padding:calc(52px + 34px) 16px 32px;overflow-y:auto;display:block;opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s}
.menu.open{opacity:1;visibility:visible;transition:opacity .25s}
.menu .mg{margin-bottom:24px}
.menu .mh{font-size:13px;color:var(--ink-3);margin:0 0 8px 16px}
.menu .ml{background:#fff;border-radius:14px;overflow:hidden}
.menu .ml a{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font-size:16px;color:var(--ink);text-decoration:none}
.menu .ml a+a{border-top:1px solid rgba(0,0,0,.08)}
.menu .ml a::after{content:"";width:7px;height:7px;border-right:2px solid #C7C7CC;border-top:2px solid #C7C7CC;transform:rotate(45deg);margin-left:12px;flex-shrink:0}
.menu .ml a.on{color:var(--u-accent);font-weight:600}
.menu .mcta{display:flex;justify-content:center;align-items:center;height:50px;border-radius:980px;background:var(--ink);color:#fff;font-weight:600;text-decoration:none}
.menu .mapp{display:flex;justify-content:center;align-items:center;height:50px;border-radius:980px;border:1px solid var(--line,#D2D2D7);color:var(--ink);font-weight:600;text-decoration:none;margin-top:10px}
.menu .mfoot{font-size:12px;color:var(--ink-3);text-align:center;margin-top:20px}
@media(min-width:821px){.menu{display:none!important}}

/* ---------- フッター ---------- */
footer.gf{background:var(--u-surface);color:var(--ink-3);font-size:12px;line-height:1.7;padding:40px 0 32px;margin-top:0;border:0}
.gf .gf-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.gf h4{font-size:12px;font-weight:600;color:var(--ink);margin-bottom:8px}
.gf a{color:var(--ink-2);text-decoration:none;display:block;padding:3px 0}
.gf a:hover{color:var(--ink);text-decoration:underline}
.gf .gf-brand{font-size:15px;font-weight:700;color:var(--ink)}
.gf .gf-brand b{color:var(--u-accent)}
.gf .gf-disc{padding:20px 0;border-bottom:1px solid var(--line)}
.gf .gf-copy{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-top:16px}
.gf .gf-copy a{display:inline;padding:0}
@media(max-width:820px){.gf .gf-cols{grid-template-columns:1fr 1fr;gap:24px 16px}}

/* ---------- 共通部品 ---------- */
.wrap{max-width:1080px}
a{text-underline-offset:3px}
/* カード系 */
.panel,.minitool,.answer,.fact,.facts>div,.nextcard a,.nearby,.lead,.offer,.match-card,.compare,.diag,.exbox,.quiz,.chk,.persona,.bigstat,.tool-card,.case-card,.ccard,.card{border-radius:18px!important}
.panel,.diag,.offer,.match-card,.quiz{border:0!important;box-shadow:var(--shadow)!important;background:#fff!important}
.panel-head{border-bottom:1px solid rgba(0,0,0,.06)!important;background:transparent!important}
/* 入力 */
input[type=text],input[type=number],input[type=email],input[type=tel],select,textarea{border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;color:var(--ink)!important;font-size:16px!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,select:focus,textarea:focus{outline:0!important;border-color:var(--u-accent)!important;box-shadow:0 0 0 4px rgba(138,106,42,.15)!important}
input[type=range]{-webkit-appearance:none;appearance:none;background:transparent!important;height:28px;cursor:pointer;accent-color:var(--u-accent)}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,var(--u-accent) var(--p,50%),#E5E5EA var(--p,50%))}
input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:#E5E5EA}
input[type=range]::-moz-range-progress{height:6px;border-radius:3px;background:var(--u-accent)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#fff;border:0;margin-top:-10px;box-shadow:0 0 0 .5px rgba(0,0,0,.04),0 3px 8px rgba(0,0,0,.15),0 3px 1px rgba(0,0,0,.06)}
input[type=range]::-moz-range-thumb{width:26px;height:26px;border:0;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15)}
/* ボタン */
.cta,.btn,.hero-cta a,.ab-cta a,button.primary,.act,.acts a{border-radius:980px!important}
.cta,.btn-primary,button.primary{background:var(--ink)!important;color:#fff!important;border:0!important}
.cta:hover,.btn-primary:hover{background:#000!important}
/* セグメント(タブ切替) */
.mode{background:#EEEEF0!important;border-radius:10px!important;padding:3px!important;border:0!important;gap:0!important}
.mode button,.mode label,.mode a{border-radius:8px!important;border:0!important}
.mode .on,.mode button.on,.mode button[aria-pressed="true"],.mode input:checked+label{background:#fff!important;color:var(--ink)!important;box-shadow:0 1px 3px rgba(0,0,0,.12)!important}
/* 表 */
table{border-collapse:collapse}
.dtable th,.dtable td,.mtx th,.mtx td,.matrix th,.matrix td{border-color:rgba(0,0,0,.08)!important}
/* 折りたたみ */
details{border-radius:14px}
/* 次の一歩カード */
.nextcard a,#vlqNext a{background:var(--u-surface)!important;border:0!important;color:var(--ink)!important}
.nextcard .tag,#vlqNext .tag{display:none!important}
/* スマホ下部の固定ボタン */
.vdock a{background:rgba(29,29,31,.92)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:980px!important;color:#fff!important;letter-spacing:0!important;box-shadow:0 8px 24px rgba(0,0,0,.18)!important}
.vdock a .ic{color:#fff!important}
/* ガイドの装飾線(五線など) */
.guil::before,.guil::after{display:none!important}
::selection{background:rgba(138,106,42,.18)}

/* ---------- 個別部品の調整(v3.1) ---------- */
.gh .brand{display:inline-block!important;gap:0!important}
svg text{font-family:var(--u-font)!important}
.insight{background:var(--u-accent-weak)!important;color:var(--ink)!important;border-radius:18px!important}
.insight .icon{display:none!important}
.insight strong{color:var(--u-accent)!important}
.lead{background:var(--u-surface)!important;color:var(--ink)!important;border-radius:18px!important}
.lead h3{color:var(--ink)!important}
.lead p{color:var(--ink-2)!important}
.lead .fine{color:var(--ink-3)!important}
.lead input[type=email]{background:#fff!important;color:var(--ink)!important}
.lead input[type=email]::placeholder{color:#A1A1A6}
.lead button{background:var(--ink)!important;color:#fff!important;border-radius:980px!important}
.lead button:hover{background:#000!important}
.share button,.jshare button,.ghost{border-radius:980px!important}
.ghost{border-color:var(--line)!important;color:var(--ink)!important}
.ghost:hover{background:var(--u-surface)!important}
.dark,.dk,[style*="background:#26241F"]{background:var(--u-surface)!important;color:var(--ink)!important}
.vdock a .ic{display:none!important}
h1,h2{word-break:normal}
body{margin:0}
p,li,dd{text-wrap:pretty}
@media(max-width:640px){
  .hero,.seo-hero,.rep-hero,.hero h1,.seo-hero h1,.rep-hero h1,.hero p,.seo-hero p,.rep-hero p{text-align:left!important}
  html body h1{font-size:clamp(26px,7.4vw,30px)!important}
}
.gh .wrap,.gf .wrap{max-width:1080px;margin:0 auto;padding:0 24px}
@media(max-width:640px){.gh .wrap,.gf .wrap{padding:0 18px}}
/* 濃色ブロックは黒に近い面で統一(文字色は各ページの淡色のまま) */
.persona,.formula,.judge,.grad,.rx,.bridge,.minitool{border-radius:18px!important;border:0!important}
.trylink{border-radius:980px!important}
.cta.ghost,a.ghost{background:transparent!important;color:var(--ink)!important;border:1px solid var(--line)!important}
.cta.ghost:hover{background:var(--u-surface)!important}
.minitool .cta,.grad .cta,.persona .cta,.judge .cta,.rx .cta,.bridge .cta,.minitool a.cta,.grad a.cta{background:#fff!important;color:#1D1D1F!important}

/* スマホで見出しの折り返し禁止部分（.nb）が画面幅を超えて切れないように（2026-10-29） */
@media(max-width:640px){h1 .nb,h2 .nb,.rep-hero .nb{white-space:normal!important}}

/* 幅320pxで横にはみ出さないように（2026-10-30）：計算機の2列グリッドと、横長の表 */
@media(max-width:400px){
.sim-grid{grid-template-columns:minmax(0,1fr)!important}
.sim-grid>*,.mode button{min-width:0}
main :not(.tw)>table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* =========================================================
   Veliq ブランド層（2026-11-03）— 4サイト共通の写し。サイト固有は --site だけ
   - 印：Veliq の V マーク（/veliq-mark.svg）をワードマークの左に 28px
   - 色：金 #8A6A2A＝ロゴとアクセント／サイト色（--site）＝リンク・主ボタン・見出しの小線・表の見出し行・フッター
   - 表：4列以上は表の中だけ横に送る（ページは広げない）。列は最小 7.5em、ラベル列は折り返さない
   - 文字：見出し 28/22/18・本文 16・注記 13。注記は左揃え
   - 押せる所：ヘッダー・フッター・ボタンは 44px 以上
   ========================================================= */
:root{--site:#1D4A4C;--site-deep:#122E30;--site-weak:#E9F0EF;--u-link:var(--site)}

/* ---------- 印（マーク＋ワードマーク） ---------- */
.gh .brand{display:inline-flex!important;align-items:center;gap:10px;min-height:44px;line-height:1.2!important}
.gh .brand::before,.vq-fam-h::before,.gf .gf-brand::before,footer .logo::before{content:"";flex:none;width:28px;height:28px;border-radius:7px;background:url(/veliq-mark.svg) center/contain no-repeat}
.gf .gf-brand,footer .logo{display:inline-flex!important;align-items:center;gap:10px}
.gf .gf-brand::before,footer .logo::before{width:24px;height:24px;border-radius:6px}
.gh .brand b{color:var(--u-accent)}

/* ---------- ヘッダー ---------- */
header.gh{border-top:3px solid var(--site)}
.gh .gnav a{display:inline-flex;align-items:center;min-height:44px}
.gh .gnav a.on{color:var(--site)!important;box-shadow:inset 0 -2px 0 var(--site)}
.gh .gnav a.pill{background:var(--site)!important;color:#fff!important;min-height:44px;padding:0 18px!important;box-shadow:none}
.gh .gnav a.pill:hover{background:var(--site-deep)!important}
.menu .ml a.on{color:var(--site)!important}
.menu .mcta{background:var(--site)!important;color:#fff!important}
.menu .ml a,.menu .mapp,.menu .mcta{min-height:48px}

/* ---------- リンク・ボタン ---------- */
main p a:not([class]),main td a:not([class]),main dd a:not([class]),main figcaption a:not([class]){color:var(--site);text-decoration-color:color-mix(in srgb,var(--site) 45%,transparent)}
.cta:not(.ghost),.btn-primary,button.primary,.btn.primary,.pbtn{background:var(--vq-btn)!important;color:#fff!important;border:0!important}
.cta:not(.ghost):hover,.btn-primary:hover,button.primary:hover,.btn.primary:hover,.pbtn:hover{background:var(--vq-btn-d)!important}
.cta,.btn,.pbtn,button.primary{min-height:44px}

/* ---------- 表 ---------- */
thead th{background:var(--site-weak)!important;color:var(--ink)!important}

th,td,figcaption,small,.note,.fine,dt,dd,li,p{text-wrap:pretty}
h1,h2,h3{text-wrap:pretty}
@media(max-width:640px){
  /* 3列以上の表：表の中だけ横に送る（ページは広げない）。列は最小 7em（4列以上は 7.5em）、ラベル列は 5.5em */
  main table:has(tr>:nth-child(3)){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  main table:has(tr>:nth-child(3)) :is(th,td){min-width:7em}
  main table:has(tr>:nth-child(4)) :is(th,td){min-width:7.5em}
  main table:has(tr>:nth-child(3)) :is(th,td):first-child{min-width:5.5em}
}

/* ---------- 注記は左揃え ---------- */
main p[style*="text-align:right"],main p[style*="text-align: right"],main .fine,main .note,main small{text-align:left!important}

/* ---------- 意味のない動きを止める ---------- */
.reveal,.rv{opacity:1!important;transform:none!important;transition:none!important}
@supports (animation-timeline:view()){.card,.ans,.method,.note,.tw{animation:none!important}}

/* ---------- フッター（サイト色の濃い面） ---------- */
footer.gf,body>footer{background:var(--site-deep)!important;color:rgba(255,255,255,.72)!important;border:0!important}
footer.gf a,body>footer a{color:rgba(255,255,255,.88)!important}
footer.gf a:hover,body>footer a:hover{color:#fff!important}
footer.gf h4,body>footer h4,.gf .gf-brand,footer .logo{color:#fff!important}
.gf .gf-brand b,footer .logo b{color:#D4B46A!important}
.gf .gf-cols,.gf .gf-disc{border-color:rgba(255,255,255,.14)!important}
footer.gf p,body>footer p,footer .minor{color:rgba(255,255,255,.66)!important}
footer.gf .gf-cols a,body>footer .f-links a{display:flex!important;align-items:center;min-height:44px;padding:0!important}

/* ---------- Veliq のメディア（全サイト共通の並び） ---------- */
.vq-fam{display:block!important;border-top:1px solid rgba(255,255,255,.14);margin-top:28px;padding-top:24px}
.gf .vq-fam{border-top:0;margin-top:0}
.vq-fam-h{display:flex;align-items:center;gap:10px;margin:0 0 12px!important;font-size:13px;font-weight:600;color:#fff!important}
.vq-fam-h::before{width:22px;height:22px;border-radius:5px}
.vq-fam ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 20px}
.vq-fam li{margin:0;padding:0}
.vq-fam a{display:inline-flex!important;align-items:center;min-height:44px;padding:0!important;font-size:13px;color:rgba(255,255,255,.82)!important;text-decoration:none}
.vq-fam a[aria-current]{color:#D4B46A!important;font-weight:600}
@media(max-width:640px){.vq-fam ul{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}}

/* ---------- Finance 固有（2026-11-03） ---------- */
/* 見出しの小さな色の線（セクション見出し） */
.section-head h2::before,.s-hd h2::before{content:"";display:block;width:28px;height:3px;border-radius:2px;background:var(--site);margin:0 0 14px}
.section-head h2::before{margin-inline:auto}
@media(max-width:640px){.section-head{text-align:left!important}.section-head h2::before{margin-inline:0}}
/* 比較表：列に最小幅、ラベル列は固定して表の中だけ横に送る */
.compare .table-scroll table{min-width:1180px!important}
.compare .table-scroll :is(th,td){min-width:8.5em}
.compare .table-scroll thead th:first-child,.compare .table-scroll tbody th{position:sticky;left:0;z-index:1;min-width:9em;width:9em;background:#F7F9F8!important;box-shadow:inset -1px 0 0 var(--line)}
.compare .table-scroll thead th:first-child{background:var(--site-weak)!important}
@media(max-width:640px){.compare .table-scroll table{min-width:1080px!important}.compare .table-scroll :is(th,td){font-size:14px;padding:12px 14px}.compare .table-scroll thead th:first-child,.compare .table-scroll tbody th{min-width:7.5em;width:7.5em}}
/* 「迷ったら、この基準で」：1行だけのカードを行リストに */
.match{display:block!important;max-width:760px;background:#fff;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.match-card{display:flex!important;align-items:center;justify-content:space-between;gap:16px;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:16px 20px!important;min-height:56px}
.match-card+.match-card{border-top:1px solid rgba(0,0,0,.08)!important}
.match-card .q{margin:0!important;font-size:15px!important;color:var(--ink)!important;flex:1 1 auto;min-width:0}
.match-card .ans{flex:0 0 auto;max-width:46%;text-align:right;font-family:var(--u-font)!important;font-size:15px!important;font-weight:700!important;color:var(--site)!important}
@media(max-width:480px){.match-card{flex-direction:column;align-items:flex-start;gap:4px}.match-card .ans{max-width:none;text-align:left}}
/* 口座カードの補助 */
.offer .tag{color:var(--site)!important}
/* ヒーローの強調語（斜体を使わない） */
h1 em,h2 em{font-style:normal!important;color:var(--u-accent)}
.gh .brand::before{margin-right:10px}
.gh .brand b{margin-left:.3em}
.offer li{padding-left:20px!important}
@media(max-width:640px){main div[style*="grid-template-columns:1fr 1fr"]:has(>a.cta){grid-template-columns:1fr!important}}
.home .btn,.lead button,form button[type=submit]{background:var(--vq-btn)!important;color:#fff!important}
.home .btn:hover,.lead button:hover{background:var(--vq-btn-d)!important}
.lead input[type=email]{min-height:48px;padding:0 16px!important}
/* 共有ボタン：丸の中で折り返さないよう、スマホでは縦に並べる */
@media(max-width:640px){.share,.jshare{flex-direction:column!important;gap:8px!important}.share button,.jshare button{flex:none!important;min-height:44px;padding:10px 16px!important;white-space:nowrap}}
@media(max-width:360px){.gf .gf-cols{grid-template-columns:1fr!important}}
.crumb a,.chips a{display:inline-flex;align-items:center;min-height:44px}
.lead button,form button[type=submit]{min-height:44px;padding:0 20px}
/* 数値セル・ボタン・見出しセルの1文字だけの行を防ぐ */
@media(max-width:640px){main table:has(tr>:nth-child(4)) td.num{white-space:nowrap}main th{text-wrap:balance}}
.btn,.cta,.va-btn,.pbtn{text-wrap:balance}
.match-card .q,.offer .tag,.diag .q{text-wrap:pretty}

/* ---------- 全サイト統一（2026-11-04） ---------- */
/* 一覧・トップの横幅：1280px 以上で 1200px */
@media(min-width:1280px){.wrap.wrap,main.cp.cp{max-width:1200px!important}}
/* フッター：4列（サイト名＋キャッチ／学ぶ／Veliq のメディア／運営）＋最下段の© */
.gf .gf-tag{margin:8px 0 0;color:rgba(255,255,255,.66)}
.gf .gf-fam a[aria-current]{color:#D4B46A!important;font-weight:600}
.gf .gf-copy{justify-content:flex-start}
/* 記事（百科）：1180px 以上で「本文 720px＋右に追従する目次 260px、間 56px」 */
.vq-toc{display:none}
@media(min-width:1180px){
  main .refa.vq-has-toc{max-width:1036px;display:grid;grid-template-columns:minmax(0,720px) 260px;column-gap:56px;align-items:start}
  main .refa.vq-has-toc>*{grid-column:1;min-width:0}
  main .refa.vq-has-toc>.vq-toc{display:block;grid-column:2;grid-row:1/span 999;position:sticky;top:88px;max-height:calc(100vh - 120px);overflow:auto;margin:0;padding:4px 0 0 20px;border-left:.5px solid rgba(60,60,67,.18)}
  .vq-toc .vq-toc-h{font-size:12px;font-weight:700;color:var(--ink-3);margin:0 0 10px}
  .vq-toc ol{list-style:none;margin:0;padding:0}
  .vq-toc a{display:block;font-size:13px;line-height:1.55;padding:5px 0;color:var(--ink-3);text-decoration:none}
  .vq-toc a:hover,.vq-toc a.on{color:var(--site)}
  .vq-toc a.on{font-weight:700}
}
/* .wrap の左右の余白と中央寄せを共通部品側で持つ（2026-11-04） */
.wrap{margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
@media(max-width:640px){.wrap{padding-left:18px;padding-right:18px}}

/* ===== Veliq 共通（2026-11-10）：主ボタン・本文末「Veliq の他メディアで読む」 =====
   主ボタンは全サイトで Veliq Finance と同じ色（--vq-btn）。ヘッダーのピルとメニューの CTA はサイト色のまま */
:root{--vq-btn:#1D4A4C;--vq-btn-d:#122E30}
html body .vq-xl{margin:40px 0 8px!important;padding:20px 0 0!important;border:0!important;border-top:1px solid var(--line,#E5E3DC)!important;background:none!important;max-width:720px}
html body .vq-xl .vq-xl-h{font-size:13px!important;font-weight:700!important;line-height:1.5!important;color:var(--ink-3,#6E6E73)!important;margin:0 0 4px!important;padding:0!important}
html body .vq-xl ul{list-style:none!important;margin:0!important;padding:0!important;columns:auto!important}
html body .vq-xl li{list-style:none!important;margin:0!important;padding:0!important;border-bottom:1px solid var(--line,#E5E3DC)}
html body .vq-xl li::before,html body .vq-xl li::marker{content:none!important}
html body .vq-xl a{display:block!important;min-height:44px;padding:12px 0!important;margin:0!important;color:var(--ink,#1D1D1F)!important;text-decoration:none!important;font-size:15px!important;font-weight:600!important;line-height:1.55!important;border:0!important;background:none!important}
html body .vq-xl a:hover{text-decoration:underline!important;text-underline-offset:3px}
html body .vq-xl .vq-xl-s{display:block;font-size:12px!important;font-weight:500!important;line-height:1.4!important;color:var(--ink-3,#6E6E73)!important;margin:0 0 2px!important}

/* vq-wrap 2026-11-10 文字の寄り：本文は端から端まで文字数で折り返す（文節での折り返し・行の長さをそろえる折り返しはやめる）。見出しだけ行の長さをそろえる。固有名詞を守るのは .nb の最小限だけ */
html body :is(h1,h2,h3,h4,h5,h6){word-break:normal!important;line-break:strict;text-wrap:balance}
html body :is(p,li,dd,dt,blockquote,figcaption,caption,small,q,cite,label,summary,.lead,.lede,.note,.fine,.desc){word-break:normal!important;line-break:strict!important;text-wrap:wrap!important}
html body :is(footer a,.gf a,.menu a,a[data-vq=solo],.media a){word-break:normal!important}
@media(max-width:899px){html body :is(p,li,dd,blockquote,figcaption,.lead,.lede,.sec-l,.hero-lead,.s-note){max-width:none!important}}
/* 主ボタンは墨色（2026-11-10。Finance の緑を全サイトに使っていたのをやめる） */
:root{--vq-btn:#1D1D1F;--vq-btn-d:#000}
/* /vq-wrap */

/* ---------- ツールの冒頭 .vq-op（何を計算するか・使い方・先に読む頁。全ツール共通、2026-11-18） ---------- */
.vq-op{padding-top:24px;padding-bottom:8px;text-align:left}
.vq-op h1{font-size:clamp(1.5rem,4.8vw,2rem);margin:0 0 8px;color:var(--ink);text-align:left}
.vq-op-lead{font-size:16px;line-height:1.7;color:var(--ink);margin:0 0 14px;max-width:720px}
.vq-op-cap{font-size:13px;font-weight:600;color:var(--ink-3);margin:0 0 4px}
.vq-op-how{max-width:720px;margin:0;border-top:1px solid var(--line)}
.vq-op-how>div{display:grid;grid-template-columns:4.75em 1fr;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.vq-op-how dt{font-size:13px;font-weight:600;color:var(--ink-3);line-height:1.65;margin:0}
.vq-op-how dd{font-size:14px;line-height:1.65;color:var(--ink-2);margin:0}
.vq-op-links{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 0;max-width:720px;font-size:14px;line-height:1.65;margin:12px 0 0}
.vq-op-k{color:var(--ink-3);font-weight:600;margin-right:10px}
.vq-op-sep{color:var(--ink-3)}
.vq-op-links a{color:var(--u-accent);text-decoration:underline;text-underline-offset:3px}
.vq-op-links a.vq-op-hub{margin-left:auto;padding-left:16px}
@media(max-width:640px){.vq-op{padding-top:16px}.vq-op-lead{font-size:15px}.vq-op-links a.vq-op-hub{margin-left:0;padding-left:0;flex-basis:100%}}
/* vq-table（2026-11-20）表の共通形：塗りは使わず罫線だけ。見出し行は小さい太字＋下に濃い線、行見出しは太字。文字は本文の左端にそろえ、列の間は16px。最下段に線を引かない */
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) caption{caption-side:top;text-align:left;font-size:12px;font-weight:600;color:var(--ink-3);padding:0 0 8px}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) :is(th,td):not([style*=background]){background:transparent!important}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) :is(th,td){padding:11px 16px 11px 0!important;vertical-align:top;line-height:1.7}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) :is(th,td):last-child{padding-right:0!important}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) tr:has(>td)>th{font-weight:600;color:var(--ink)}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) tr:not(:has(>td))>th{color:var(--ink-3)!important;font-size:12px;font-weight:600;white-space:nowrap;vertical-align:bottom;border-bottom:1px solid color-mix(in srgb,var(--ink) 40%,transparent)!important}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) tbody tr:last-child>:is(th,td),main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack)>tr:last-child>:is(th,td){border-bottom:0!important}
@media(max-width:600px){main table[data-stack],main table[data-stack] :is(tbody,tr,th,td){display:block!important;width:auto!important;min-width:0!important;max-width:none!important;overflow:visible!important}
main table[data-stack]{min-width:0!important}
main table[data-stack] caption{display:block}
main table[data-stack] thead{display:none}
main table[data-stack] tr{padding:14px 0;border-bottom:1px solid var(--line)}
main table[data-stack] tbody tr:last-child{border-bottom:0}
main table[data-stack] :is(th,td){padding:0!important;border:0!important;white-space:normal!important}
main table[data-stack] tr>th{font-size:15px;margin:0 0 6px}
main table[data-stack] td{font-size:14px;line-height:1.75}
main table[data-stack] td[data-label]{display:grid!important;grid-template-columns:4.5em 1fr;column-gap:12px;margin-top:4px}
main table[data-stack] td[data-label]::before{content:attr(data-label);font-size:12px;font-weight:600;color:var(--ink-3);padding-top:2px}}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack) :is(th,td):not(.n):not(.c):not([style*=text-align]){text-align:left!important}
main table :is(th,td).c{text-align:center!important}
main table:not([role=presentation]):not(.matrix):not(.pr):not(.pt):not(.stack){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
main table :is(th,td).n{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:600px){main table[data-stack] td.n{text-align:left!important}}
@media(max-width:600px){main table :is(th,td).n{min-width:0!important;padding-right:12px!important}main table :is(th,td).n:last-child{padding-right:0!important}}
html body h1:has(wbr){word-break:keep-all!important;overflow-wrap:break-word!important;line-break:strict}
