/* =====================================================================
   東海AI活用ナビ（課題から探す・記事）専用の部品（2026-10-22）
   仕様の正 → 設計_課題別ハブと記事_付録_2026-10-22.md §2
   styles.css の後に読み込む。色はロゴの3色（黒・赤・水色）だけを使う
   ===================================================================== */
.hub{background:#fdfdfd;color:#333;font-size:16px;line-height:1.8}
.hub h2{margin:0;font-size:30px;line-height:1.5;font-weight:700;letter-spacing:0}
.hub-sec{padding:64px 0 56px}
.hub-sec--tint{background:#f1f8fd}
.hub-wrap{width:min(1100px,calc(100% - 40px));margin-inline:auto}
.hub-head{margin-bottom:30px}
.hub-head p{margin:10px 0 0;color:#3e4c56}
.hub-head--row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.hub-more{flex-shrink:0;font-weight:700;text-decoration:none;color:var(--ink);border-bottom:2px solid var(--gold);padding-bottom:2px}
.hub-more:hover{color:var(--gold)}

/* パンくず */
.hub-crumb{padding:14px 0;border-bottom:1px solid #e3e8ea;font-size:13px;color:var(--muted)}
.hub-crumb ol{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;padding:0;list-style:none}
.hub-crumb li+li::before{content:"›";margin-right:8px;color:#9aa6ac}
.hub-crumb a{color:var(--muted)}

/* ヒーロー（navi.html） */
.hub-hero{background:#f1f8fd;border-bottom:1px solid #d6e9f5}
.hub-hero__in{width:min(1100px,calc(100% - 40px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center;padding:64px 0}
.hub-hero h1{margin:0 0 18px;font-size:40px;line-height:1.5;letter-spacing:0;color:var(--ink)}
.hub-hero__lead{margin:0 0 6px;font-size:17px;color:#3e4c56}
.hub-hero__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hub-hero__btns .l3-btn{min-width:240px;min-height:60px;font-size:17px}
.hub-quick{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.hub-quick a{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid #9cc9e6;border-radius:4px;background:#fff;color:var(--ink);font-size:14px;font-weight:700;text-decoration:none}
.hub-quick a:hover{border-color:var(--gold);color:var(--gold)}

/* 画像の仮枠（日中にイラストへ差し替える。data-img が差し替え先） */
.hub-ph{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;background:#e3f1fb;color:#5d8fb1;font-weight:900;font-size:clamp(22px,2.4vw,30px);letter-spacing:.04em;overflow:hidden}
.hub-ph::after{content:"仮の画像枠";position:absolute;right:8px;bottom:6px;font-size:10px;font-weight:700;letter-spacing:.06em;color:#7fa9c6}
.hub-hero .hub-ph{aspect-ratio:4/3;border-radius:8px;font-size:40px}

/* 3つの柱 */
.hub-pillars{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid var(--ink)}
.hub-pillar{padding:26px 28px 28px 0;border-bottom:1px solid var(--line)}
.hub-pillar+.hub-pillar{padding-left:28px;border-left:1px solid var(--line)}
.hub-pillar b{display:block;margin-bottom:6px;color:var(--gold);font-size:15px}
.hub-pillar h3{margin:0 0 8px;font-size:21px}
.hub-pillar p{margin:0 0 10px;color:#3e4c56}
.hub-pillar a{font-weight:700}

/* カード（白地・角丸8px・枠線1px・上に16:9の画像枠） */
.hub-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hub-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-decoration:none;color:inherit}
a.hub-card:hover{border-color:var(--ink)}
a.hub-card:hover .hub-card__go{color:var(--gold)}
.hub-card__body{display:flex;flex-direction:column;flex:1;padding:18px 20px 20px}
.hub-card h3{margin:0 0 8px;font-size:19px;line-height:1.55}
.hub-card__brand{display:flex;align-items:center;gap:8px}.hub-card__brand img{flex:none;width:28px;height:28px}
.hub-card p{margin:0 0 12px;color:#3e4c56;font-size:15px;line-height:1.75}
.hub-card__go{margin-top:auto;font-weight:700;font-size:15px}
.hub-card__price{margin:0 0 6px;font-size:15px;font-weight:700;color:var(--ink)}
.hub-card__price strong{font:700 30px/1 "Barlow Condensed","Noto Sans JP",sans-serif;color:var(--gold);margin-right:2px}
.hub-card__spec{display:grid;grid-template-columns:3.2em 1fr;gap:6px 12px;margin:2px 0 12px;padding:12px 0;border-block:1px solid var(--line);font-size:14px;line-height:1.65}
.hub-card__spec dt{font-weight:700;color:var(--muted)}
.hub-card__spec dd{margin:0;color:var(--ink)}
.hub-card__spec strong{font-size:17px}
.hub-card:target{border-color:var(--ink);border-width:2px}
.hub-card__note{margin:0 0 12px;font-size:13px!important;color:var(--muted)!important;line-height:1.7!important}
.hub-tag{display:inline-block;align-self:flex-start;margin-bottom:8px;padding:2px 8px;border:1px solid #9cc9e6;border-radius:3px;background:#f1f8fd;font-size:12px;font-weight:700;color:#2f6e96}

/* 業種のタイル（画像なし。カード列が続かないよう形を変える） */
.hub-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--line);margin:0;padding:0;list-style:none}
.hub-tiles a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:14px 18px 14px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:700}
.hub-tiles a::after{content:"→";color:var(--gold)}
.hub-tiles a:hover{color:var(--gold)}

/* 記事の行（日付・カテゴリ・題） */
.hub-news{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.hub-news li{border-bottom:1px solid var(--line)}
.hub-news a{display:grid;grid-template-columns:110px 130px 1fr;gap:12px;align-items:baseline;padding:16px 4px;text-decoration:none;color:var(--ink)}
.hub-news time{color:var(--muted);font-size:14px}
.hub-news a:hover b{color:var(--gold)}
.hub-empty{margin:0;padding:22px 4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted)}
.hub-cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none}

/* 下層ページの2列（本文760px＋右サイドバー300px） */
.hub-page{width:min(1100px,calc(100% - 40px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,760px) 300px;justify-content:space-between;gap:40px;padding:40px 0 64px}
.hub-article h1{margin:0 0 12px;font-size:34px;line-height:1.5;letter-spacing:0}
.hub-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0 0 24px;font-size:13px;color:var(--muted)}
.hub-lead{margin:0 0 28px;font-size:17px;line-height:1.9}
.hub-article h2{margin:52px 0 16px;padding-top:18px;border-top:2px solid var(--ink);font-size:26px}
.hub-article h3{font-size:19px}
.hub-article p{margin:0 0 14px}
.hub-toc{padding:20px 24px;background:#f1f8fd;border-radius:8px}
.hub-toc b{display:block;margin-bottom:6px;font-size:14px}
.hub-toc ol{margin:0;padding-left:1.4em}
.hub-toc li{padding:3px 0}
.hub-toc a{color:var(--ink)}

/* 型カード（業種ラベル／見出し／2枠／説明） */
.hub-type{margin:0 0 20px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:8px}
.hub-type h3{margin:0 0 14px;font-size:20px}
.hub-type__two{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 14px;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.hub-type__two div{padding:12px 16px}
.hub-type__two div+div{border-left:1px solid var(--line)}
.hub-type__two dt{font-size:12px;font-weight:700;color:var(--muted)}
.hub-type__two dd{margin:2px 0 0;font-weight:700;line-height:1.7}
.hub-type__two .is-ai{background:#fff5f5}
.hub-type__two .is-ai dt{color:var(--gold)}
.hub-type p{margin:0 0 10px}
.hub-type a{font-weight:700}

/* 本文途中の相談の帯（濃い色） */
.hub-band{margin:36px 0;padding:28px 30px;background:#1a1a1a;color:#fff;border-radius:8px}
.hub-band p{margin:0 0 4px;font-size:19px;font-weight:700;line-height:1.6}
.hub-band small{display:block;margin-bottom:16px;color:#c9d2d6;font-size:14px}
.hub-band .l3-btn{min-width:260px;min-height:56px;font-size:16px;box-shadow:none}

/* 最初の一歩（3ステップ） */
.hub-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0 0 20px;padding:0;list-style:none;counter-reset:st;border-top:2px solid var(--ink)}
.hub-steps li{padding:16px 16px 16px 0;counter-increment:st}
.hub-steps li+li{padding-left:16px;border-left:1px solid var(--line)}
.hub-steps li::before{content:"STEP " counter(st);display:block;font:700 15px/1.4 "Barlow Condensed",sans-serif;letter-spacing:.12em;color:var(--gold)}
.hub-steps b{display:block;margin:4px 0}
.hub-steps span{font-size:15px;color:#3e4c56}
.hub-fails{margin:0;padding:0;list-style:none}
.hub-fails li{margin-bottom:8px;padding:12px 16px;background:#f4f6f7;border-left:4px solid var(--muted)}

/* 制度の枠（金額と同じ枠に条件と免責） */
.hub-aid{padding:22px 24px;border:2px solid var(--gold);border-radius:8px;background:#fff}
.hub-aid__price{margin:0 0 6px;font-size:22px;font-weight:700}
.hub-aid__price strong{color:var(--gold)}
.hub-aid p{margin:0 0 8px}
.hub-aid .hub-aid__cond{font-size:14px;color:#3e4c56}
.hub-aid .hub-aid__warn{margin:0;font-size:14px;font-weight:700}

/* 関連（小さめのカード2〜3枚） */
.hub-rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 8px}
.hub-rel .hub-card__body{padding:14px 16px 16px}
.hub-rel .hub-card h3{font-size:16px}

/* 自社での実践（index の CASES と同じ部品を本文幅で使う） */
.hub-article .l3-case h3{font-size:22px}
.hub-article .l3-case__ba{grid-template-columns:1fr}
.hub-article .l3-case__arrow{transform:none;text-align:center;line-height:1}

/* サイドバー（PCでは追従） */
.hub-side{position:relative}
.hub-side__in{position:sticky;top:96px;display:grid;gap:16px}
.hub-box{padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}
.hub-box h2,.hub-box h3{margin:0 0 8px;font-size:17px;line-height:1.5;padding:0;border:0}
.hub-box p{margin:0 0 12px;font-size:14px;line-height:1.75;color:#3e4c56}
.hub-box .l3-btn{width:100%;min-width:0;min-height:52px;font-size:16px;box-shadow:none}
.hub-box--dark{background:#1a1a1a;border-color:#1a1a1a;color:#fff}
.hub-box--dark p{color:#c9d2d6}
.hub-box small{display:block;font-size:12px;color:var(--muted);line-height:1.6}

/* 執筆者（記事の型） */
.hub-author{display:flex;align-items:center;gap:12px;margin:0 0 24px}
.hub-author img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:center 20%}
.hub-author span{display:block;font-size:13px;color:var(--muted)}
.hub-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0;padding:0;list-style:none}
.hub-tags a{display:inline-flex;align-items:center;min-height:36px;padding:4px 12px;border:1px solid var(--line);border-radius:4px;text-decoration:none;font-size:14px;color:var(--ink)}
.hub-tags a:hover{border-color:var(--gold);color:var(--gold)}
.hub-fill{color:#a9473c;background:#fbefec;padding:0 4px}

/* 締めの相談 */
.hub-final{background:var(--ink);color:#fff;padding:60px 0;text-align:center}
.hub-final h2{color:#fff;font-size:30px}
.hub-final p{max-width:640px;margin:12px auto 0;color:#c9d2d6}
.hub-final .l3-btn--sub{border-color:#fff}
.hub-region{margin:0 0 6px;font-size:13px;font-weight:700}

/* ヘッダーの項目が増えた分、狭いPCではメニューに畳む */
@media(max-width:1180px) and (min-width:901px){
  .hub .nav-links{display:none;position:absolute;top:76px;left:0;right:0;padding:18px 20px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(15,43,66,.08)}
  .hub .nav-links.open{display:grid;gap:10px}
  .hub .menu-toggle{display:block;min-height:44px}
}
@media(max-width:960px){
  .hub-cards,.hub-rel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hub-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hub-page{grid-template-columns:1fr;gap:32px}
  .hub-side__in{position:static}
  .hub-hero__in{grid-template-columns:1fr;gap:28px;padding:44px 0}
  .hub-hero .hub-ph{aspect-ratio:16/9;font-size:30px}
}
@media(max-width:620px){
  .hub h2{font-size:24px}
  .hub-sec{padding:44px 0 40px}
  .hub-hero h1{font-size:28px}
  .hub-hero__lead{font-size:16px}
  .hub-hero__btns .l3-btn{width:100%;min-width:0}
  .hub-head--row{display:block}
  .hub-head--row .hub-more{display:inline-block;margin-top:10px}
  .hub-cards,.hub-rel,.hub-tiles{grid-template-columns:1fr}
  .hub-pillars{grid-template-columns:1fr}
  .hub-pillar,.hub-pillar+.hub-pillar{padding:20px 0;border-left:0}
  .hub-article h1{font-size:26px}
  .hub-article h2{font-size:22px;margin-top:40px}
  .hub-type{padding:18px 16px}
  .hub-type__two{grid-template-columns:1fr}
  .hub-type__two div+div{border-left:0;border-top:1px solid var(--line)}
  .hub-steps{grid-template-columns:1fr}
  .hub-steps li,.hub-steps li+li{padding:14px 0;border-left:0;border-bottom:1px solid var(--line)}
  .hub-band{padding:22px 18px}
  .hub-band .l3-btn{width:100%;min-width:0}
  .hub-news a{grid-template-columns:1fr;gap:2px}
  .hub-final{padding:44px 0}
  .hub-final h2{font-size:24px}
}

/* 2026-10-23 仮枠を立体イラストに差し替え（白地の絵なので切らずに収める） */
.hub-img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#fff}
.hub-hero .hub-img{aspect-ratio:4/3;border-radius:8px}

/* 2026-10-23 自社での実践（jisseki.html）とトップの入口 */
.js-lead-note{margin:-10px 0 18px;font-size:14px;color:var(--muted);line-height:1.7}
.js-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.js-filter a{display:inline-flex;align-items:center;min-height:36px;padding:4px 14px;border:1px solid var(--line);border-radius:4px;text-decoration:none;font-size:14px;font-weight:700;color:var(--ink)}
.js-filter a:hover{border-color:var(--gold);color:var(--gold)}
.js-cat{margin:40px 0 16px!important;padding-left:12px;border-left:4px solid var(--gold);font-size:24px!important}
.js-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.js-case{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px 24px}
.js-case--main{border:2px solid var(--gold)}
.js-case h3{margin:2px 0 12px;font-size:20px;line-height:1.5}
.js-case dl{margin:0;display:grid;grid-template-columns:4.5em 1fr;gap:6px 10px;font-size:15px;line-height:1.7}
.js-case dt{font-weight:700;color:var(--muted)}
.js-case dd{margin:0}
.js-num{margin:16px 0 0;padding:14px 16px;background:#f1f8fd;border-radius:6px;font-size:16px;font-weight:700;line-height:1.5}
.js-num b{font-size:34px;color:var(--gold);margin-right:4px;font-family:"Barlow Condensed","Noto Sans JP",sans-serif}
.js-num span{display:block;font-size:14px;font-weight:400;color:var(--muted)}
.js-src{margin:10px 0 0;font-size:13px;color:var(--muted);line-height:1.7}
.js-src i{font-style:normal;display:inline-block;margin-right:8px;padding:0 8px;border-radius:3px;background:#14213d;color:#fff;font-size:12px;font-weight:700}
.js-src i.is-calc{background:#8d6e00}
.js-next{margin-top:36px;padding:18px 20px;border-top:2px solid var(--ink);font-size:16px}
.js-next a{color:var(--gold);font-weight:700}
.js-more{margin:16px 0 0;text-align:right;font-size:16px;font-weight:700}
.js-more a{color:var(--gold)}
.top-entry{padding:56px 0 48px;background:#f1f8fd}
.top-entry .hub-head h2{margin:0;font-size:30px;line-height:1.5}
.top-entry__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.top-entry__links a{display:flex;flex-direction:column;gap:4px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:8px;text-decoration:none;color:var(--ink)}
.top-entry__links a b{font-size:18px}
.top-entry__links a span{font-size:14px;color:var(--muted)}
.top-entry__links a:hover{border-color:var(--gold)}
@media(max-width:820px){.js-cases,.top-entry__links{grid-template-columns:1fr}}
@media(max-width:820px){.top-entry .hub-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.top-entry .hub-card p,.top-entry .hub-card__go,.top-entry .hub-tag{display:none}.top-entry .hub-card__body{padding:10px 12px}.top-entry .hub-card h3{font-size:15px;margin:0;line-height:1.5}}
.js-cases--one{grid-template-columns:1fr;margin-bottom:20px}.js-cases--one .js-num b{font-size:44px}
.js-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin:0 0 14px;padding:18px 22px;background:#14213d;color:#fff;border-radius:8px}
.js-total b{font-size:40px;color:#ff6b6b;font-family:"Barlow Condensed","Noto Sans JP",sans-serif}
.js-total span{font-size:15px;color:#d6dde3}
/* 記事内の比較表（2026-11-05） */
.hub-table{margin:18px 0 8px;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:8px;background:#fff}
.hub-table table{border-collapse:collapse;min-width:760px;width:100%;font-size:14px;line-height:1.6}
.hub-table th,.hub-table td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.hub-table thead th{background:#f2f4f5;font-weight:700;white-space:nowrap}
.hub-table tbody th{white-space:nowrap;font-weight:700}
.hub-table tr.is-self{background:#fff5f5}
.hub-table__note{font-size:13px;color:#55636b;margin:6px 0 18px}
.hub-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 20px}
.hub-facts>div{border:1px solid var(--line);border-radius:8px;background:#fff;padding:16px 18px}
.hub-facts h3{margin:0 0 6px;font-size:16px}
.hub-facts p{margin:0;font-size:15px}
@media(max-width:640px){.hub-facts{grid-template-columns:1fr}}
.hub-article{min-width:0}@media(max-width:900px){.hub-page{grid-template-columns:minmax(0,1fr)}}

/* 記事内の図（HTMLで描く。影なし・罫線と墨・強調は赤1色） */
.hub-fig{margin:22px 0 28px;padding:20px 22px 16px;background:#fff;border:1px solid var(--line);border-radius:4px}
.hub-fig__title{margin:0 0 16px;font-size:16px;font-weight:700;line-height:1.6}
.hub-fig figcaption{margin-top:14px;padding-top:10px;border-top:1px solid #e3e8ea;font-size:13px;color:var(--muted);line-height:1.7}
.hub-fig figcaption a{color:inherit}
.hub-bars{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.hub-bars li{display:grid;grid-template-columns:10em minmax(0,1fr);gap:14px;align-items:center}
.hub-bars__label{font-size:14px;font-weight:700;line-height:1.5}
.hub-bars__track{display:flex;align-items:center;gap:10px;min-width:0}
.hub-bars__bar{flex:0 0 auto;height:22px;width:calc(var(--v) * .82%);min-width:4px;background:var(--ink);border-radius:0 4px 4px 0}
.hub-bars li.is-key .hub-bars__bar{background:var(--gold)}
.hub-bars__val{font-family:"Barlow Condensed","Noto Sans JP",sans-serif;font-size:21px;font-weight:700;line-height:1;white-space:nowrap}
.hub-bars__val small{margin-left:2px;font-family:"Noto Sans JP",sans-serif;font-size:12px;font-weight:400;color:var(--muted)}
.hub-flow{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:30px;margin:0;padding:0;list-style:none}
.hub-flow li{position:relative;padding-top:10px;border-top:3px solid var(--ink)}
.hub-flow li.is-key{border-top-color:var(--gold)}
.hub-flow li+li::before{content:"→";position:absolute;left:-23px;top:8px;color:var(--muted);font-size:16px;line-height:1}
.hub-flow b{display:block;font-size:15px;line-height:1.5}
.hub-flow span{display:block;margin-top:4px;font-size:13px;color:var(--muted);line-height:1.65}
.hub-flow li.is-key b{color:var(--gold)}
.hub-rounds{display:grid;gap:14px;margin:0}
.hub-rounds>div{display:grid;grid-template-columns:9em minmax(0,1fr);gap:14px;align-items:center}
.hub-rounds dt{font-size:14px;font-weight:700;line-height:1.5}
.hub-rounds dd{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.hub-rounds dd span{display:grid;place-items:center;width:62px;height:52px;border:1px solid var(--ink);border-radius:2px;font-size:12px;line-height:1.3;text-align:center}
.hub-rounds dd span b{display:block;font-family:"Barlow Condensed","Noto Sans JP",sans-serif;font-size:18px}
.hub-rounds dd span.is-key{background:var(--gold);border-color:var(--gold);color:#fff;font-weight:700}
.hub-split{display:grid;grid-template-columns:2fr 1fr;gap:18px}
.hub-split__head{margin:0 0 8px !important;font-size:14px;font-weight:700}
.hub-split__box{display:grid;gap:8px}
.hub-split__box>div{padding:12px 14px;border:1px solid var(--line);border-left:4px solid var(--ink);border-radius:2px}
.hub-split__box--two{grid-template-columns:1fr 1fr}
.hub-split__box>div.is-key{border-left-color:var(--gold)}
.hub-split b{display:block;font-size:15px;line-height:1.5}
.hub-split span{display:block;margin-top:4px;font-size:13px;color:var(--muted);line-height:1.6}
.hub-article p a,.hub-article li a{text-underline-offset:3px}
@media(max-width:640px){
  .hub-fig{padding:16px 14px 12px}
  .hub-bars li,.hub-rounds>div{grid-template-columns:1fr;gap:6px}
  .hub-bars__bar{width:calc(var(--v) * .7%)}
  .hub-flow{grid-template-columns:1fr;gap:22px}
  .hub-flow li+li::before{content:none}
  .hub-split,.hub-split__box--two{grid-template-columns:1fr}
}
.hub-rounds dt small{display:block;font-size:12px;font-weight:400;color:var(--muted)}

/* 記事冒頭の画像（HTMLで組む。og:image も同じ要素から書き出す） */
.hub-eye{container-type:inline-size;position:relative;aspect-ratio:1200/630;margin:0 0 22px;background:#1a1a1a;color:#fff;border-top:6px solid var(--gold);overflow:hidden}
.hub-eye__in{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;padding:6.4cqw 6cqw 4cqw;gap:0 4cqw}
.hub-eye__title{grid-column:1/-1;margin:0;font-size:5.4cqw;font-weight:700;line-height:1.4;letter-spacing:-.01em}
.hub-eye__sub{align-self:end;margin:0 0 1.6cqw;font-size:2.3cqw;line-height:1.6;color:#c9d2d6}
.hub-eye__big{align-self:end;justify-self:end;margin:0 0 1.6cqw;font-family:"Barlow Condensed","Noto Sans JP",sans-serif;font-size:13cqw;font-weight:700;line-height:.95;letter-spacing:-.01em;white-space:nowrap;border-bottom:.9cqw solid var(--gold);padding-bottom:1cqw}
.hub-eye__big small{margin-left:.8cqw;font-family:"Noto Sans JP",sans-serif;font-size:3.2cqw;font-weight:700;letter-spacing:0}
.hub-eye__big--kanji{font-family:"Noto Sans JP",sans-serif;font-size:10cqw;line-height:1.1}
.hub-eye__foot{grid-column:1/-1;display:flex;justify-content:space-between;gap:2cqw;margin:0;padding-top:2.2cqw;border-top:1px solid #444;font-size:1.9cqw;color:#c9d2d6}

/* 各社の紹介カード（比較記事） */
.hub-co{margin:0 0 16px;padding:20px 22px 16px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--ink);border-radius:2px}
.hub-co.is-self{border-left-color:var(--gold)}
.hub-co h3{margin:0 0 6px;font-size:20px;line-height:1.5}
.hub-co h3 small{margin-left:8px;font-size:13px;font-weight:700;color:var(--gold)}
.hub-co__lead{margin:0 0 12px !important}
.hub-co dl{display:grid;grid-template-columns:10.5em minmax(0,1fr);margin:0;border-top:1px solid #e3e8ea;font-size:14px;line-height:1.65}
.hub-co dt,.hub-co dd{margin:0;padding:8px 0;border-bottom:1px solid #e3e8ea}
.hub-co dt{font-weight:700;color:var(--muted)}
.hub-co__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:13px;color:var(--muted)}
.hub-co__btn{display:inline-block;padding:9px 16px;border:1.5px solid var(--ink);border-radius:4px;color:var(--ink);font-size:14px;font-weight:700;text-decoration:none}
.hub-co__btn:hover{background:var(--ink);color:#fff}
@media(max-width:640px){
  .hub-co{padding:16px 14px 12px}
  .hub-co dl{grid-template-columns:1fr}
  .hub-co dt{padding-bottom:0;border-bottom:0}
  .hub-co dd{padding-top:2px}
}
@media(max-width:640px){
  .hub-eye{aspect-ratio:auto}
  .hub-eye__in{position:static;padding:22px 18px 14px;gap:0 12px}
  .hub-eye__title{font-size:22px}
  .hub-eye__sub{margin:14px 0 10px;font-size:13px}
  .hub-eye__big{margin:14px 0 10px;font-size:54px;border-bottom-width:4px;padding-bottom:4px}
  .hub-eye__big small{font-size:14px}
  .hub-eye__big--kanji{font-size:40px}
  .hub-eye__foot{padding-top:10px;font-size:11px}
}

/* 新しい画風（線画・明るい灰色の地）の画像は、余白を地の色で埋める（2026-11-19） */
img.hub-img[src*="assets/illust/"],img.hub-img[src*="assets/koza/"]{background:#EDEAE5}
