/* SWELL に無い、このメディアだけの部品（docs/media/RULES.md の «冒頭の答え» «参考文献» など）。
   見た目は SWELL と kiji.css にそろえる。色はメディアごとの変数（Base.astro）。 */
.c-headLogo__sub { font-size: .7em; font-weight: 500; margin-left: .5em; opacity: .7; }
.c-gnav > li.-cta { display: flex; align-items: center; }
.c-gnav > li.-cta > a { background: var(--media-main); color: #fff !important; border-radius: 4px; padding: .5em 1.2em; height: auto; line-height: 1.5; margin-left: .5em; }
.c-gnav > li.-cta > a:hover { background: var(--media-main-dark); }
.c-gnav__sBtn { display: flex; align-items: center; height: 100%; padding: 0 12px; color: inherit; }

/* 冒頭の答え（AI 検索に引用されやすいように、最初に短く答える） */
.post_content .kv-answer { border: 2px solid var(--media-main); border-radius: 6px; padding: 16px 20px; line-height: 1.8; background: #fff; }
.post_content .kv-answer strong { color: inherit; font-weight: 600; }

/* 参考文献（数字 1 つに出典 1 つ） */
.post_content ol.kv-refs { font-size: .9em; line-height: 1.7; padding-left: 1.6em; }
.post_content ol.kv-refs li { margin-bottom: .4em; word-break: break-all; }
.post_content .kv-cta { justify-content: center; margin: 2.5em 0; }
.post_content .kv-cta .wp-block-button__link { padding: 1em 3em; font-weight: 700; }
.post_content .kv-history { margin-top: 2em; color: #666; }

/* FAQ（rank-math と同じ見た目・SWELL の Q/A の色） */
.rank-math-faq-item { border-bottom: 1px solid #e5e5e5; padding: 1em 0; }
.post_content h3.rank-math-question { font-size: 1.05em; margin: 0 0 .5em; padding: 0 0 0 2em; position: relative; border: none; background: none; }
.post_content h3.rank-math-question::before { content: "Q"; position: absolute; left: 0; top: .1em; width: 1.5em; height: 1.5em; line-height: 1.5em; text-align: center; border-radius: 50%; background: var(--color_faq_q); color: #fff; font-size: .85em; }
.rank-math-answer { padding-left: 2em; position: relative; }
.rank-math-answer::before { content: "A"; position: absolute; left: 0; top: .1em; width: 1.5em; height: 1.5em; line-height: 1.5em; text-align: center; border-radius: 50%; background: var(--color_faq_a); color: #fff; font-size: .85em; }
.rank-math-answer p { margin: 0; }


/* サイドバーの検索 */
.c-searchForm { display: flex; }
.c-searchForm__s { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #ddd; border-right: none; font-size: 16px; }
.c-searchForm__submit { width: 44px; border: none; color: #fff; background: var(--media-main); cursor: pointer; }

/* トップのカテゴリ */
.kv-catList { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 2em 0 0; }
.u-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.l-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; list-style: none; padding: 0; margin: 0 0 8px; font-size: 13px; }

/* 動きを減らす設定の人には動かさない */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* 蛍光ペン（SWELL のマーカーの色。kiji.css の指定は .entry-content 向けで SWELL では効いていなかった） */
.post_content .marker-yellow { background: linear-gradient(transparent 62%, var(--color_mark_yellow) 62%); font-weight: 600; padding: 0 2px; }
/* サイドバーの新着記事（SWELL の «最近の投稿» と同じ、文字だけの並び） */
.kv-recent { list-style: none; padding: 0; margin: 0; }
.kv-recent li { border-bottom: 1px solid #e8e8e8; }
.kv-recent a { display: block; padding: .8em 0; font-size: .9em; line-height: 1.6; color: var(--color_link); text-decoration: none; }
.kv-recent a:hover { text-decoration: underline; }
.c-widget .kv-lead { margin: 0 0 1em; font-size: .9em; }
.wp-block-buttons.kv-cta { display: flex; justify-content: center; }
/* タイトルの帯の上の著者名（写真や網の上でも読める色） */
.l-topTitleArea .c-postAuthor, .l-topTitleArea .c-postAuthor a { color: inherit; }
/* 蜘蛛の巣（記事どうしのつながり）: 親記事への案内・子記事の一覧・タグ */
.post_content .kv-parent, .kv-parent { background: var(--color_gray, #f7f7f7); border-left: 4px solid var(--media-main); padding: .8em 1em; font-size: .95em; }
.post_content .kv-children { padding-left: 1.2em; }
.post_content .kv-children li { margin-bottom: .4em; }
.c-tagList { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.c-tagList__link { display: inline-block; border: 1px solid var(--media-main); color: var(--media-main); border-radius: 2px; padding: 3px 8px; font-size: 12px; text-decoration: none; }
.c-tagList__link::before { content: "#"; }
.post_content sup.kv-cite { font-size: .7em; margin-left: 1px; } .post_content sup.kv-cite a { text-decoration: none; }
/* 管理画面（プレビューだけ） */
.kv-admin .kv-note { color: #666; font-size: .85em; }
.kv-cards { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0; }
.kv-card { border: 1px solid #ddd; border-radius: 6px; padding: 10px 14px; min-width: 110px; background: #fff; }
.kv-card b { display: block; font-size: 1.6em; line-height: 1.2; }
.kv-card span { font-size: .8em; color: #555; }
.kv-stop { background: #fef6f5; border: 2px solid #c0392b; padding: .8em 1em; border-radius: 6px; }
.kv-tablewrap { overflow-x: auto; }
.kv-table { border-collapse: collapse; font-size: 12.5px; width: 100%; min-width: 900px; }
.kv-table th, .kv-table td { border: 1px solid #e3e3e3; padding: 6px 8px; vertical-align: top; }
.kv-table th { background: #f6f6f6; white-space: nowrap; }
.kv-badge { display: inline-block; border-radius: 3px; padding: 1px 6px; font-size: 11px; color: #fff; background: #888; white-space: nowrap; }
.kv-badge.-published { background: #2e7d32; } .kv-badge.-scheduled { background: #1565c0; } .kv-badge.-passed { background: #ef6c00; } .kv-badge.-held { background: #c0392b; }
.kv-small { font-size: 11.5px; color: #555; }
.kv-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; font-size: .9em; }
.kv-preview-ribbon { position: sticky; top: 0; z-index: 50; background: #ef6c00; color: #fff; font-size: 13px; padding: 6px 12px; text-align: center; }
.kv-preview-ribbon.-held { background: #c0392b; } .kv-preview-ribbon.-published { background: #2e7d32; } .kv-preview-ribbon a { color: #fff; text-decoration: underline; }

/* お知らせ・月次アップデート */
.kv-expired { background: #fff7e6; border: 1px solid #f0d9a8; padding: .6em .9em; border-radius: 4px; font-size: .9em; }
.kv-product span { display: inline-block; font-size: .8em; font-weight: 700; color: var(--media-main-dark); border: 1px solid currentColor; border-radius: 3px; padding: .1em .6em; }
.kv-home-news { list-style: none; padding: 0; margin: 0; }
.kv-home-news li { display: flex; gap: .6em; padding: .45em 0; border-bottom: 1px solid #eee; font-size: .9em; align-items: baseline; flex-wrap: wrap; }
.kv-home-news time { color: #666; font-variant-numeric: tabular-nums; }
.kv-home-news .cat { font-size: .78em; background: var(--media-main); color: #fff; padding: .05em .5em; border-radius: 2px; }
.kv-home-news-box { margin: 1.5em 0 2.5em; }
.kv-home-news-box .c-tabList__item { margin-bottom: .6em; font-weight: 700; border-bottom: 2px solid var(--media-main); padding-bottom: .3em; }

/* この記事のもと（出典の種類・確かめた日） */
.kv-basis { border: 1px solid #dfe3e8; border-radius: 4px; padding: .9em 1.1em; margin: 1.2em 0; font-size: .9em; background: #fbfcfd; }
.kv-basis__ttl { font-weight: 700; margin: 0 0 .4em; color: var(--media-main-dark); }
.kv-basis__kinds { display: flex; flex-wrap: wrap; gap: .4em; margin: 0 0 .5em; }
.kv-basis__kinds span { font-size: .82em; border: 1px solid var(--media-main); color: var(--media-main-dark); border-radius: 2px; padding: .05em .5em; }
.kv-basis ul { margin: 0 0 .4em 1.1em; padding: 0; }
.kv-basis__note { margin: 0; color: #555; font-size: .92em; }

/* 画像（WebP の <picture> は枠の配置に影響させない）・動くグラフ */
.kv-pic { display: contents; }
.post_content .kv-chart, .post_content .kv-figure { margin: 1.6em 0; text-align: center; }
.post_content .kv-chart img, .post_content .kv-figure img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; }
.post_content .kv-chart figcaption, .post_content .kv-figure figcaption { margin-top: .5em; font-size: .85em; color: #555; }

/* ===== スクロールで動く蛍光ペンと、見出し・図の出方（2026-11-07・全記事・public/scroll-fx.js） ===== */
:root { --kv-marker: #fde68a; }
html[data-media="mapro"] { --kv-marker: #ffe066; }
html[data-media="mapco"] { --kv-marker: #c3f0d8; }
html[data-media="koevo"] { --kv-marker: #c7f2fb; }
html[data-media="tatemono"] { --kv-marker: #ffd8a8; }
.post_content .kv-mark, .post_content .marker-yellow {
  background-image: linear-gradient(transparent 58%, var(--kv-marker) 58%, var(--kv-marker) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .15em;
}
.post_content .marker-yellow { background-color: transparent; }
html.kv-fx .post_content :is(.kv-mark, .marker-yellow) { background-size: 0% 100%; transition: background-size 1.1s cubic-bezier(.25,.8,.25,1); }
html.kv-fx .post_content :is(.kv-mark, .marker-yellow).is-in { background-size: 100% 100%; }
html.kv-fx .post_content > :is(h2, h3, figure, .kj-box, table, .kv-tbl, .kv-steps, ol.kj-steps, ul.kj-checklist, .kv-rc, .kv-chart) { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
html.kv-fx .post_content > :is(h2, h3, figure, .kj-box, table, .kv-tbl, .kv-steps, ol.kj-steps, ul.kj-checklist, .kv-rc, .kv-chart).is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.kv-fx .post_content * { transition: none !important; }
}

/* ----- 手順（kj-steps）: カードを縦に並べ、上に «いま何番目» の付箋（2026-11-07 ユーザーの選択: 案B）-----
   画面は止めない。JS（public/scroll-fx.js）があれば付箋の番号・名前・いまのカードが変わる。
   JS が無い所（irai の確認の枠）は CSS のスクロール連動で付箋の棒といまのカードだけ動き、付箋の文字は «全 n ステップ»。どちらも無ければふつうのカード */
.post_content .kv-steps { position: relative; margin: 2.2em 0; }
.post_content .kv-steps ol.kj-steps { list-style: none; counter-reset: kj-step; margin: 0; padding: 0; display: grid; gap: 12px; }
.post_content .kv-steps ol.kj-steps > li { counter-increment: kj-step; position: relative; margin: 0; padding: 18px 20px 18px 78px; border: 1px solid #e3e6ea; border-left: 1px solid #e3e6ea; border-radius: 12px; background: #fff; line-height: 1.8; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.post_content .kv-steps ol.kj-steps > li::before { content: "STEP"; position: absolute; left: 18px; top: 18px; width: 44px; height: auto; background: none; box-shadow: none; border-radius: 0; color: #8a929b; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-align: center; }
.post_content .kv-steps ol.kj-steps > li::after { content: counter(kj-step); position: absolute; left: 18px; top: 34px; width: 44px; text-align: center; color: #b7bec6; font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; transition: color .3s; }
.post_content .kv-steps .kv-step__ttl { display: block; margin: 0 0 .2em; font-weight: 700; font-size: 1.05em; }
.post_content .kv-steps .kv-step__ttl + br { display: none; }
.post_content .kv-steps ol.kj-steps > li.is-now { border-color: var(--media-sub); background: color-mix(in srgb, var(--media-sub) 7%, #fff); box-shadow: 0 6px 18px rgba(15, 23, 42, .06); }
.post_content .kv-steps ol.kj-steps > li.is-now::after, .post_content .kv-steps ol.kj-steps > li.is-done::after { color: var(--media-sub); }
@media (max-width: 599px) {
  .post_content .kv-steps ol.kj-steps > li { padding: 14px 14px 14px 62px; }
  .post_content .kv-steps ol.kj-steps > li::before, .post_content .kv-steps ol.kj-steps > li::after { left: 10px; }
  .post_content .kv-steps ol.kj-steps > li::after { font-size: 22px; }
}
/* 付箋（手順の範囲にいる間だけ上に付いてくる） */
.post_content .kv-steps__pin { display: none; position: sticky; top: var(--kv-pin-top, 76px); z-index: 3; align-items: center; gap: 12px; margin: 0 0 12px; padding: 7px 10px 7px 16px; background: #fff; border: 1px solid #e3e6ea; border-radius: 999px; box-shadow: 0 4px 14px rgba(15, 23, 42, .07); font-size: 14px; line-height: 1.4; }
.post_content .kv-steps__num { white-space: nowrap; color: var(--media-main-dark, #333); font-weight: 700; font-variant-numeric: tabular-nums; }
.post_content .kv-steps__num b { color: var(--media-sub); }
.post_content .kv-steps__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4b5563; }
.post_content .kv-steps__bar { flex: 0 0 84px; height: 6px; border-radius: 3px; background: #e9ecef; overflow: hidden; }
.post_content .kv-steps__bar i { display: block; height: 100%; width: 100%; background: var(--media-sub); border-radius: inherit; transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform .35s ease; }
html.kv-steps-js .post_content .kv-steps__pin { display: flex; }
@media (max-width: 599px) {
  .post_content .kv-steps__pin { top: var(--kv-pin-top-sp, 64px); gap: 8px; font-size: 13px; }
  .post_content .kv-steps__bar { flex-basis: 48px; }
}

/* ----- 表（2026-11-07 ユーザーの選択: 案A を見やすく）: 縦の罫線なし・行の間を広く・見出しはメディアの色をうすく。
   横にはみ出すときは枠の中で動き、左の列は止まる。JS があれば列の見出しを押すとその列に色が付く ----- */
.post_content .kv-tbl { margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.post_content .kv-tbl:focus-visible { outline: 2px solid var(--media-sub); outline-offset: 2px; }
.post_content .kv-tbl table { width: 100%; min-width: 520px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.7; background: none; }
.post_content .kv-tbl th, .post_content .kv-tbl td { border: 0; border-bottom: 1px solid #eef0f2; padding: 13px 16px; text-align: left; vertical-align: top; background: #fff; color: #333; }
.post_content .kv-tbl thead th { background: color-mix(in srgb, var(--media-main) 8%, #fff); color: var(--media-main-dark, #333); font-size: 14px; font-weight: 700; white-space: nowrap; border-bottom: 1px solid color-mix(in srgb, var(--media-main) 22%, #fff); }
.post_content .kv-tbl tbody tr:last-child > * { border-bottom: 0; }
.post_content .kv-tbl tbody tr > :first-child { font-weight: 700; color: #222; }
.post_content .kv-tbl tr > :first-child { position: sticky; left: 0; z-index: 1; }
.post_content .kv-tbl tbody tr:nth-child(even) > * { background: #fafbfc; }
.post_content .kv-tbl tbody tr:hover > * { background: color-mix(in srgb, var(--media-main) 4%, #fff); }
.post_content .kv-tbl.is-pickable thead th:not(:first-child) { cursor: pointer; }
.post_content .kv-tbl thead th.is-pick { background: color-mix(in srgb, var(--media-main) 18%, #fff); }
.post_content .kv-tbl tbody td.is-pick { background: color-mix(in srgb, var(--media-main) 7%, #fff); }
.post_content .kv-tbl-hint { margin: -1.2em 0 1.8em; font-size: 12px; color: #6b7280; }
@media (max-width: 599px) {
  .post_content .kv-tbl th, .post_content .kv-tbl td { padding: 11px 12px; font-size: 14px; }
  .post_content .kv-tbl table:not(:has(thead th:nth-child(4))) { min-width: 0; }   /* 3 列までの表はスマホでも横に動かさず折り返す */
}
/* (1) CSS のスクロール連動（2026-11-07）。蛍光ペン・見出し・図・手順。JS も要らない（irai の記事の表示＝script の無い枠の中でも動く）。
   使えないブラウザでは public/scroll-fx.js（上の html.kv-fx）。どちらも無ければ最初から全部見えている（蛍光ペンも引いた状態） */
@keyframes kv-pin { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kv-now { 0%, 100% { border-color: #e3e6ea; background-color: #fff; } 20%, 80% { border-color: var(--media-sub); background-color: color-mix(in srgb, var(--media-sub) 7%, #fff); } }
@keyframes kv-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes kv-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .post_content .kv-steps { view-timeline: --kv-steps block; }
    .post_content .kv-steps__pin { display: flex; }
    html:not(.kv-steps-js) .post_content .kv-steps__num { display: none; }
    html:not(.kv-steps-js) .post_content .kv-steps__bar i { transform: none; animation: kv-pin linear both; animation-timeline: --kv-steps; animation-range: contain 0% contain 100%; }
    html:not(.kv-steps-js) .post_content .kv-steps ol.kj-steps > li { animation: kv-now linear both; animation-timeline: view(); animation-range: cover 30% cover 70%; }
    .post_content .kv-mark, .post_content .marker-yellow { animation: kv-mark linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .post_content > h2, .post_content > h3, .post_content > figure, .post_content > .kj-box, .post_content > table, .post_content > .kv-tbl, .post_content > .kv-steps, .post_content > ol.kj-steps, .post_content > ul.kj-checklist, .post_content > .kv-rc, .post_content > .kv-chart { animation: kv-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
@media (max-width: 599px) {
}
  }
}

/* 参考文献の頭の «この記事のもと»（出典の種類・確かめた日）と、出典ごとの種類 */
.post_content .kv-basis { margin: .6em 0 1.1em; }
.post_content ol.kv-refs .kv-refs__kind { display: inline-block; margin-left: .5em; padding: 0 .45em; border: 1px solid currentColor; border-radius: 2px; color: var(--media-main-dark); font-size: .78em; line-height: 1.6; white-space: nowrap; word-break: keep-all; vertical-align: .05em; }

/* この記事に関わるサービス（参考文献の前・問い合わせではなく、サービスのページへの案内・sites.ts の services） */
/* おわりに（2026-11-07）: 本文の流れのまま読み終えて、最後にサービスページへのボタン */
.post_content .kv-closing { margin-top: 3em; }
.post_content .kv-closing .kv-closing__more { margin-top: 1.4em; text-align: center; }
.post_content .kv-closing .kv-closing__more a { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .7em 1.6em; border-radius: 999px; background: var(--media-main); color: #fff; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.post_content .kv-closing .kv-closing__more a:hover { background: var(--media-main-dark); }
.post_content .kv-closing .kv-closing__more a span { transition: transform .2s; }
.post_content .kv-closing .kv-closing__more a:hover span { transform: translateX(3px); }
.post_content .kv-closing .kv-closing__more a:focus-visible { outline: 3px solid var(--media-sub); outline-offset: 3px; }

/* ----- 公式サイトのヘッダーの下の «メディアのバー»（src/chrome/<メディア>/ があるときだけ・2026-11-07）----- */
.kv-mbar { background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 50; }
.kv-mbar__inner { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.kv-mbar__name { flex: 0 0 auto; font-weight: 700; font-size: 15px; color: var(--media-main-dark, #222); text-decoration: none; white-space: nowrap; }
.kv-mbar__cats { flex: 1 1 auto; min-width: 0; display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.kv-mbar__cats::-webkit-scrollbar { display: none; }
.kv-mbar__cats a { display: inline-block; padding: 12px 0; font-size: 14px; color: #4b5563; text-decoration: none; white-space: nowrap; }
.kv-mbar__cats a:hover { color: var(--media-main, #222); }
.kv-mbar__search { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; color: #4b5563; }
.kv-mbar a:focus-visible { outline: 2px solid var(--media-sub); outline-offset: 2px; }
@media (max-width: 599px) { .kv-mbar__inner { gap: 12px; } .kv-mbar__name { font-size: 14px; } }

/* ---- トップ・用語集・すべての記事（2026-11-08・2026-11-07 作り込み）----
   方針: SWELL のカード・見出しと馴染む «落ち着いた編集部» の見た目。色はメディアの色（--media-main）を線と小さな面だけに使う。
   本文の幅でレイアウトを決める（container query）ので、サイドバーの有無・画面の幅に左右されない */
.kv-hub { --hub-line: #e3e6eb; --hub-line-strong: color-mix(in srgb, var(--media-main, #2b70ee) 30%, #dfe3e8); --hub-tint: color-mix(in srgb, var(--media-main, #2b70ee) 6%, #fff); --hub-ink: #1f2731; --hub-sub: #4f5866; --hub-mute: #69717d; container-type: inline-size; color: var(--hub-ink); }
.kv-hub a:focus-visible, .kv-hub summary:focus-visible { outline: 3px solid var(--media-main, #2b70ee); outline-offset: 2px; border-radius: 6px; }

/* ヒーロー: 平らな面＋左の色の線。数字は区切り線で並べる */
.kv-hub-hero { padding: .4em 0 2em; margin: 0 0 2.6em; border-bottom: 1px solid var(--hub-line); }
.kv-hub-hero__title { font-size: clamp(1.4rem, 3.4vw, 1.8rem); line-height: 1.3; margin: 0 0 .3em; letter-spacing: .03em; }
.kv-hub-hero__tag { font-size: 1.05em; font-weight: 700; color: var(--media-main-dark, #1a40b5); margin: 0 0 .7em; }
.kv-hub-hero__desc { margin: 0 0 1.3em; color: var(--hub-sub); max-width: 42em; line-height: 1.85; font-size: .95em; }
.kv-hub-hero__nums { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; row-gap: .6em; }
.kv-hub-hero__nums li { display: flex; align-items: baseline; gap: .3em; padding: 0 1.4em; border-left: 1px solid var(--hub-line-strong); color: var(--hub-sub); font-size: .9em; }
.kv-hub-hero__nums li:first-child { padding-left: 0; border-left: 0; }
.kv-hub-hero__nums b { font-size: 1.85em; line-height: 1; color: var(--media-main-dark, #1a40b5); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.kv-hub-hero__links { display: flex; flex-wrap: wrap; gap: .6em; }
.kv-hub-btn { display: inline-flex; align-items: center; min-height: 44px; padding: .55em 1.35em; border-radius: 999px; border: 1px solid var(--media-main-dark, #1a40b5); background: var(--media-main-dark, #1a40b5); color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: .92em; transition: background .2s, border-color .2s; }
.kv-hub-btn:hover { background: color-mix(in srgb, var(--media-main-dark, #1a40b5) 82%, #000); border-color: color-mix(in srgb, var(--media-main-dark, #1a40b5) 82%, #000); }
.kv-hub-btn.-ghost { background: #fff; color: var(--media-main-dark, #1a40b5) !important; border-color: var(--hub-line-strong); }
.kv-hub-btn.-ghost:hover { border-color: var(--media-main, #2b70ee); background: #fff; }

/* 節の見出し: SWELL の本文見出しと同じ «下線» の系統。左に色の短い線 */
.kv-hub-sec { margin: 0 0 3.2em; scroll-margin-top: 80px; }
.kv-hub-h { position: relative; display: flex; align-items: baseline; gap: .6em; font-size: 1.3rem; line-height: 1.4; margin: 0 0 1.1em; padding: 0 0 .55em; border-bottom: 1px solid var(--hub-line); }
.kv-hub-h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 3.2em; height: 3px; background: var(--media-main, #2b70ee); }
.kv-hub-lede { color: var(--hub-sub); margin: -.3em 0 1.3em; font-size: .95em; }
.kv-hub-lede.-page { margin: 1.2em 0 1.4em; }
.kv-hub-count { font-size: .76rem; font-weight: 400; color: var(--hub-mute); white-space: nowrap; }
.kv-hub-cat { display: inline-block; font-size: .72rem; font-weight: 700; line-height: 1.6; color: var(--media-main-dark, #1a40b5); background: var(--hub-tint); border: 1px solid color-mix(in srgb, var(--media-main, #2b70ee) 20%, #fff); border-radius: 4px; padding: 0 .55em; }
.kv-hub-date { display: block; font-size: .78rem; color: var(--hub-mute); font-variant-numeric: tabular-nums; }

/* 新着: 大 1＋小 4。小は «画像・カテゴリ・題（3 行まで）» で高さをそろえる */
.kv-hub-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.6em; align-items: stretch; }
.kv-hub-lead { display: flex; flex-direction: column; text-decoration: none !important; color: inherit !important; border-radius: 10px; overflow: hidden; border: 1px solid var(--hub-line); background: #fff; transition: box-shadow .2s; }
.kv-hub-lead:hover { box-shadow: 0 6px 20px rgba(20, 30, 60, .09); }
.kv-hub-lead:hover .kv-hub-lead__title { color: var(--media-main-dark, #1a40b5); }
.kv-hub-lead picture, .kv-hub-subs picture { display: block; overflow: hidden; background: #eef0f3; }
.kv-hub-lead img, .kv-hub-subs img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.kv-hub-lead__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.1em 1.3em 1.3em; }
.kv-hub-lead__body .kv-hub-date { margin-top: auto; padding-top: .7em; }
.kv-hub-lead__body .kv-hub-cat { margin-bottom: .55em; }
.kv-hub-lead__title { display: block; font-size: 1.22rem; font-weight: 700; line-height: 1.55; margin: 0 0 .5em; transition: color .2s; }
.kv-hub-lead__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; color: var(--hub-sub); font-size: .9em; line-height: 1.8; }
.kv-hub-subs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-auto-rows: 1fr; }
.kv-hub-subs li { display: flex; align-items: center; }
.kv-hub-subs li > a { flex: 1; }
.kv-hub-subs li { border-top: 1px solid var(--hub-line); }
.kv-hub-subs li:first-child { border-top: 0; }
.kv-hub-subs a { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: .9em; align-items: start; padding: .95em 0; text-decoration: none !important; color: inherit !important; }
.kv-hub-subs picture { border-radius: 6px; }
.kv-hub-subs__body { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; min-width: 0; }
.kv-hub-subs__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: .9em; line-height: 1.6; transition: color .2s; }
.kv-hub-subs a:hover .kv-hub-subs__title { color: var(--media-main-dark, #1a40b5); }

/* テーマ: 2 列。奇数のときは最後の箱を横いっぱいにし、中の記事を 2 列に並べる */
.kv-hub-cats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2em; }
.kv-hub-catbox { border: 1px solid var(--hub-line); border-radius: 10px; padding: 1.2em 1.3em 1.1em; background: #fff; display: flex; flex-direction: column; }
.kv-hub-catbox h3 { font-size: 1.08rem; line-height: 1.45; margin: -.3em 0 0; display: flex; align-items: center; gap: .55em; }
.kv-hub-catbox h3::before { content: ""; flex: 0 0 auto; width: .55em; height: .55em; border-radius: 2px; background: var(--media-main, #2b70ee); }
.kv-hub-catbox h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none !important; color: inherit !important; }
.kv-hub-catbox h3 a:hover { color: var(--media-main-dark, #1a40b5) !important; }
.kv-hub-catbox > p { font-size: .86em; color: var(--hub-sub); margin: 0 0 .8em; line-height: 1.7; }
.kv-hub-catbox ul { list-style: none; padding: 0; margin: 0 0 .9em; flex: 1; }
.kv-hub-catbox li { border-top: 1px solid #edf0f3; }
.kv-hub-catbox li a { display: block; padding: .55em 0 .55em 1em; position: relative; font-size: .88em; line-height: 1.6; text-decoration: none !important; color: #2b3340 !important; }
.kv-hub-catbox li a::before { content: ""; position: absolute; left: .1em; top: 1.15em; width: .35em; height: .35em; border-top: 1.5px solid #a9b0ba; border-right: 1.5px solid #a9b0ba; transform: rotate(45deg); }
.kv-hub-catbox li a:hover { color: var(--media-main-dark, #1a40b5) !important; }
.kv-hub-more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: .86em; font-weight: 700; color: var(--media-main-dark, #1a40b5) !important; text-decoration: none !important; padding: .2em 0; }
.kv-hub-more:hover { text-decoration: underline !important; text-underline-offset: 3px; }
@container (min-width: 600px) {
  .kv-hub-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv-hub-catbox:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kv-hub-catbox:last-child:nth-child(odd) ul { columns: 2; column-gap: 2em; }
  .kv-hub-catbox:last-child:nth-child(odd) li { break-inside: avoid; }
}

/* スマホ: テーマの箱は新しい 3 本だけ見せる（残りのリンクは HTML に残し、«すべて見る» の一覧にもある） */
@container (max-width: 599px) {
  .kv-hub-catbox li:nth-child(n+4) { display: none; }
  .kv-hub-catbox > p { margin-bottom: .5em; }
}
/* 用語: テーマごとの行。ボタンは小さめの角丸 */
.kv-hub-termgroups { display: grid; gap: 1.1em; margin: 0 0 1.2em; }
.kv-hub-termgroup { padding: 0 0 1.1em; border-bottom: 1px solid #edf0f3; }
.kv-hub-termgroup__h { display: flex; align-items: baseline; gap: .5em; font-size: .92rem; margin: 0 0 .6em; color: var(--hub-ink); }
.kv-hub-terms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45em; }
.kv-hub-terms a { display: inline-flex; align-items: center; min-height: 36px; padding: .25em .85em; border-radius: 6px; border: 1px solid var(--hub-line); background: #fff; font-size: .86em; line-height: 1.4; text-decoration: none !important; color: #2b3340 !important; transition: border-color .15s, color .15s; }
.kv-hub-terms a:hover { border-color: var(--media-main, #2b70ee); color: var(--media-main-dark, #1a40b5) !important; }
.kv-hub-termmore { margin-top: .5em; }
.kv-hub-termmore > summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; font-size: .86em; font-weight: 700; color: var(--media-main-dark, #1a40b5); list-style: none; }
.kv-hub-termmore > summary::-webkit-details-marker { display: none; }
.kv-hub-termmore > summary::before { content: "＋"; margin-right: .35em; }
.kv-hub-termmore[open] > summary::before { content: "−"; }
.kv-hub-termmore[open] > .kv-hub-terms { margin-top: .4em; }

/* ほかの新しい記事のカテゴリの札を、新着の札（kv-hub-cat）と同じ見た目に */
.kv-hub-morelist .c-postThumb__cat { top: .6em; right: auto; left: .6em; background: #fff; color: var(--media-main-dark, #1a40b5); border: 1px solid color-mix(in srgb, var(--media-main, #2b70ee) 20%, #fff); border-radius: 4px; padding: 0 .55em; font-size: .72rem; font-weight: 700; line-height: 1.6; }
.kv-hub-morelist .c-postThumb__cat::before { display: none; }
/* ほかの新しい記事: PC は SWELL のカード。本文が狭いとき（スマホ）は «画像を左に置く横長» にして縦に長くしない */
@container (max-width: 599px) {
  .kv-hub-morelist .p-postList.-type-card { display: block; margin: 0; }
  .kv-hub-morelist .p-postList.-type-card .p-postList__item { width: 100%; margin: 0; padding: 0; border-top: 1px solid var(--hub-line); }
  .kv-hub-morelist .p-postList.-type-card .p-postList__item:first-child { border-top: 0; }
  .kv-hub-morelist .p-postList__link { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: .85em; padding: .95em 0; align-items: start; }
  .kv-hub-morelist .p-postList__thumb { margin: 0; width: 100%; border-radius: 6px; overflow: hidden; }
  .kv-hub-morelist .c-postThumb__cat { display: none; }
  .kv-hub-morelist .p-postList__body { padding: 0; }
  .kv-hub-morelist .p-postList__title { font-size: .9em; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .kv-hub-morelist .p-postList__excerpt { display: none; }
  .kv-hub-morelist .p-postList__meta { margin-top: .35em; }
  /* スマホは新しい 6 本だけ見せる（残りはすべての記事の一覧にもある・リンクは HTML に残す） */
  .kv-hub-morelist .p-postList__item:nth-child(n+7) { display: none; }
}
/* 記事がまだ無いメディア: 空の箱を出さず、扱うテーマだけを静かに並べる */
.kv-hub-empty > p { color: var(--hub-sub); margin: 0 0 1em; }
.kv-hub-empty__cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8em; }
@container (min-width: 520px) { .kv-hub-empty__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kv-hub-empty__cats li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.kv-hub-empty__cats li { border: 1px solid var(--hub-line); border-radius: 8px; padding: .85em 1em; background: #fff; display: grid; gap: .25em; }
.kv-hub-empty__cats b { font-size: .95em; }
.kv-hub-empty__cats span { font-size: .85em; color: var(--hub-sub); line-height: 1.7; }
.kv-hub-all { text-align: center; margin: 2em 0 0; }

/* 用語集のページ: テーマの目次と «言葉＋ひとこと» の一覧 */
.kv-hub-toc { display: flex; flex-wrap: wrap; gap: .45em; margin: 0 0 2.4em; padding: 0; }
.kv-hub-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: .25em .95em; border-radius: 6px; border: 1px solid var(--hub-line-strong, #dfe3e8); background: #fff; font-size: .86em; text-decoration: none !important; color: var(--media-main-dark, #1a40b5) !important; transition: border-color .15s, background .15s; }
.kv-hub-toc a:hover { border-color: var(--media-main, #2b70ee); background: color-mix(in srgb, var(--media-main, #2b70ee) 6%, #fff); }
.kv-hub-dl { margin: 0; }
.kv-hub-dl > div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: .4em 1.6em; padding: 1em 0; border-bottom: 1px solid #edf0f3; }
.kv-hub-dl > div:first-child { padding-top: .2em; }
.kv-hub-dl dt { font-weight: 700; line-height: 1.6; margin: 0; }
.kv-hub-dl dt a { display: inline-flex; align-items: center; min-height: 44px; margin: -.55em 0; text-decoration: none !important; color: var(--media-main-dark, #1a40b5) !important; }
.kv-hub-dl dt a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.kv-hub-dl dd { margin: 0; color: var(--hub-sub, #4f5866); font-size: .92em; line-height: 1.8; }
@container (max-width: 599px) { .kv-hub-dl > div { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 760px) {
  .kv-hub-hero { padding: 0 0 1.6em; margin-bottom: 2.2em; }
  .kv-hub-hero__nums { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .kv-hub-hero__nums li { flex-direction: column; align-items: flex-start; gap: .25em; padding: 0 .8em; font-size: .8em; }
  .kv-hub-hero__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv-hub-hero__links .kv-hub-btn { justify-content: center; }
  .kv-hub-hero__links .kv-hub-btn:first-child { grid-column: 1 / -1; }
  .kv-hub-feature { grid-template-columns: minmax(0, 1fr); gap: 1.2em; }
  .kv-hub-subs li:first-child a { padding-top: .95em; }
  .kv-hub-subs li:first-child { border-top: 1px solid var(--hub-line); }
  .kv-hub-subs a { grid-template-columns: 38% minmax(0, 1fr); }
  .kv-hub-sec { margin-bottom: 2.6em; }
  .kv-hub-h { font-size: 1.18rem; }
}
@media (prefers-reduced-motion: reduce) { .kv-hub *, .kv-pager * { transition: none !important; } }

/* ページ送り */
.kv-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5em; margin: 2.6em 0 1em; }
.kv-pager ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35em; }
.kv-pager li > a, .kv-pager li > span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .6em; border-radius: 8px; border: 1px solid #dfe3e8; background: #fff; text-decoration: none !important; color: #2b3340 !important; font-variant-numeric: tabular-nums; transition: border-color .15s, color .15s; }
.kv-pager li > a:hover { border-color: var(--media-main, #2b70ee); color: var(--media-main-dark, #1a40b5) !important; }
.kv-pager li > span[aria-current] { background: var(--media-main-dark, #1a40b5); border-color: var(--media-main-dark, #1a40b5); color: #fff !important; font-weight: 700; }
.kv-pager li.-gap { padding: 0 .2em; color: #8a929c; align-self: center; }
.kv-pager__step { display: inline-flex; align-items: center; height: 44px; padding: 0 1.1em; border-radius: 8px; border: 1px solid #dfe3e8; background: #fff; text-decoration: none !important; color: var(--media-main-dark, #1a40b5) !important; font-weight: 700; font-size: .9em; }
.kv-pager__step:hover { border-color: var(--media-main, #2b70ee); }
.kv-pager__step.-off { color: #9aa1aa !important; border-color: #eceef1; background: transparent; font-weight: 400; }
.kv-pager a:focus-visible { outline: 3px solid var(--media-main, #2b70ee); outline-offset: 2px; }
@media (max-width: 480px) { .kv-pager { gap: .4em; } .kv-pager ul { order: -1; width: 100%; justify-content: center; } }
.kv-cat-others { margin: 2.4em 0 0; padding: 1.2em 0 0; border-top: 1px solid #eceef1; }

/* 一覧系のページ（すべての記事・カテゴリ・タグ・用語集）: 和文の副題を斜体にしない */
.kv-list .c-pageTitle__subTitle { font-style: normal; }
/* サイドバーの最後の囲み（メディアの紹介＋問い合わせ）は、本文が長いとき画面に残す */
@media (min-width: 960px) { .kv-side-sticky { position: sticky; top: 80px; } }

/* ---- 記事の頭（2026-11-08）: タイトル・日付・カテゴリを本文の上に、その下にアイキャッチを大きく（背景の帯はやめた）---- */
.kv-articleHead { margin: 0 0 1.2em; }
.kv-articleHead .c-postTitle { margin-bottom: .8em; }
.kv-articleHead .c-postTitle__ttl { color: var(--media-text, #231200); }
.kv-articleHead .p-articleMetas.-top { margin: 0; color: #5a6270; }
.kv-eyecatch { margin: 0 0 2em; }
.kv-eyecatch .p-articleThumb__img { aspect-ratio: 16 / 9; object-fit: cover; height: auto; border-radius: 8px; }
.kv-eyecatch__cap { margin-top: .5em; font-size: .78rem; line-height: 1.6; color: #5b6573; }
.kv-eyecatch__cap a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ===== アイキャッチの «案 B»（2026-11-08 ユーザー確定）: フチのグラデーション＋右上の角にサービスの印。文字は入れない。
   記事のアイキャッチと一覧のカードで同じ形（色と印はサービスごとに固定・src/lib/serviceTone.ts）===== */
.kv-frame { position: relative; overflow: hidden; border-radius: 10px; isolation: isolate; --g1: #2b70ee; --g2: #22d3ee; --g3: #bfdbfe; --edge: 7px; --tab: 13%; }
.kv-frame[data-tone="green"]  { --g1: #00b86b; --g2: #10b9a0; --g3: #b7f5d8; }
.kv-frame[data-tone="teal"]   { --g1: #06b6d4; --g2: #2563eb; --g3: #a5f3fc; }
.kv-frame[data-tone="purple"] { --g1: #8b5cf6; --g2: #d946ef; --g3: #e9d5ff; }
.kv-frame[data-tone="blue"]   { --g1: #2b70ee; --g2: #22d3ee; --g3: #bfdbfe; }
.kv-frame[data-tone="violet"] { --g1: #6d28d9; --g2: #2b70ee; --g3: #c4b5fd; }
.kv-frame[data-tone="indigo"] { --g1: #2541ea; --g2: #06b6d4; --g3: #a5b4fc; }
.kv-frame .p-articleThumb__img, .kv-frame .c-postThumb__img { display: block; border-radius: 0; filter: brightness(1.12) saturate(1.18); }
.kv-frame__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply; opacity: .55;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--g1) 35%, transparent)); }
.kv-frame__edge { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: var(--edge);
  background: linear-gradient(120deg, var(--g1), var(--g2) 55%, var(--g3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.kv-frame__tab { position: absolute; right: 0; top: 0; z-index: 3; width: var(--tab); aspect-ratio: 1; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--g1), var(--g2)); border-bottom-left-radius: 14px; }
.kv-frame__tab > svg { width: 52%; height: 52%; }
/* 一覧のカード: 枠と印を小さめに（同じ見た目のまま縮める） */
.kv-frame--card { --edge: 4px; --tab: 15%; border-radius: 8px; }
.kv-frame--card .kv-frame__tab { border-bottom-left-radius: 10px; }
@media (max-width: 599px) { .kv-frame { --edge: 5px; --tab: 15%; } .kv-frame--card { --edge: 4px; --tab: 14%; } }
/* 記事ページはタイトルとアイキャッチを最初の画面に収める（2026-11-08 ユーザー «アイキャッチはファーストビューのいちばん上・タイトルの下»）*/
.single .l-content { padding-top: 28px; }
@media (max-width: 959px) { .single .l-content { padding-top: 16px; } }
/* 枠のあるカードはカテゴリーの札を左上へ（右上はサービスの印） */
.c-postThumb:has(.kv-frame--card) .c-postThumb__cat { right: auto; left: 4px; top: 4px; z-index: 4; }
/* 記事の下のカテゴリとタグの高さ・位置をそろえる（2026-11-10 ユーザー指摘「高さが違う」）。
   SWELL はタグの列に上の余白 8px を付けていて、横に並ぶと 4px 下にずれていた → 余白は折り返したときの行の間だけに */
.p-articleMetas.-bottom { flex-wrap: wrap; row-gap: 8px; }
.p-articleMetas.-bottom .c-tagList { margin-top: 0; }
/* スマホのハンバーガーメニュー（Base.astro の details.kv-mbar__menu）。既定は出さない＝出すメディアだけ各サイトの CSS で出す */
.kv-mbar__menu { display: none; }
/* タグの一覧の «キーワードから選ぶ» 入口（2026-11-13） */
.kv-facets { margin: 1.2em 0 2em; }
.kv-facets__lead { font-weight: 700; margin: 0 0 .6em; }
.kv-facets__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.kv-facets__link { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: baseline; min-height: 44px; padding: 12px 14px; border: 1px solid var(--color_border, #ddd); border-left: 4px solid var(--media-main); border-radius: 4px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.kv-facets__link:hover { border-color: var(--media-main); transform: translateY(-1px); }
.kv-facets__link:focus-visible { outline: 3px solid var(--media-main); outline-offset: 2px; }
.kv-facets__label { font-weight: 700; font-size: 1.05em; }
.kv-facets__count { font-size: .85em; color: #555; }
.kv-facets__note { grid-column: 1 / -1; font-size: .82em; color: #555; }
.kv-facet { scroll-margin-top: 80px; margin-top: 2.4em; }
.kv-facet__title { font-size: 1.3em; border-bottom: 2px solid var(--media-main); padding-bottom: .3em; margin-bottom: .8em; }
.kv-facet__title small { font-size: .7em; font-weight: 400; color: #555; margin-left: .6em; }
@media (prefers-reduced-motion: reduce) { .kv-facets__link { transition: none; } .kv-facets__link:hover { transform: none; } }
@media (max-width: 600px) { .kv-facets__list { grid-template-columns: 1fr 1fr; gap: 8px; } .kv-facets__link { padding: 10px 12px; } .kv-facets__note { font-size: .78em; } }
.kv-tag-note { margin: 0 0 1.2em; line-height: 1.9; }
/* トップの «まずはここから»（連載の入口） */
.kv-hub-series__note { font-size: .92em; line-height: 1.9; margin: 0 0 1em; }
.kv-hub-series__list { list-style: none; padding: 0; margin: 0 0 .8em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; }
@media (min-width: 960px) { .kv-hub-series__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kv-hub-series__list a { display: block; text-decoration: none !important; color: inherit !important; }
.kv-hub-series__list img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.kv-hub-series__body { display: flex; gap: .5em; align-items: flex-start; margin-top: .55em; }
.kv-hub-series__no { flex: 0 0 auto; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--media-main, #2b70ee); color: #fff; font-weight: 700; font-size: .85em; display: inline-flex; align-items: center; justify-content: center; }
.kv-hub-series__title { font-weight: 700; font-size: .9em; line-height: 1.6; }
.kv-hub-series__list a:hover .kv-hub-series__title { color: var(--media-main-dark, #1a40b5); }
/* 記事の «連載の案内» */
.kv-series { margin: 2.5em 0 1em; padding: 1.2em 1.3em; border: 1px solid #d9e2e6; border-radius: 10px; background: #f7fafb; }
.kv-series h2 { margin: 0 0 .7em !important; font-size: 1.1rem !important; }
.kv-series__list { margin: 0 0 1em; padding-left: 1.6em; }
.kv-series__list li { margin: .45em 0; line-height: 1.6; }
.kv-series__list li.is-current b { display: block; }
.kv-series__list li.is-current small { color: var(--media-main-dark, #1a40b5); font-size: .8em; }
.kv-series__nav { display: flex; justify-content: space-between; gap: 1em; flex-wrap: wrap; margin-bottom: .6em; }
.kv-series__nav a, .kv-series__all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.kv-series__nav .-next { margin-left: auto; }
/* 自社の測った記録（[ev:…]）の印（2026-11-16） */
.kv-ev { display: inline-block; margin-left: .2em; padding: 0 .4em; border-radius: 4px; font-size: .62em; line-height: 1.6; vertical-align: super; color: #4b5563; background: #eef1f5; font-weight: 600; letter-spacing: .02em; }

/* ----- 写真のスライド（[!SLIDES]・2026-11-19 ユーザー «保有機材の画像をスライドで»）: 横に送る・次の 1 枚が少し見える・影なし ----- */
.post_content .kv-slides { margin: 1.6em 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: 8px; }
.post_content .kv-slides:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.post_content ul.kj-slides { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.post_content ul.kj-slides > li { flex: 0 0 min(78%, 360px); scroll-snap-align: start; margin: 0; padding: 0 14px 14px; font-size: .92em; line-height: 1.7; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; background: #fff; overflow: hidden; }
.post_content ul.kj-slides > li::before { content: none; display: none; }
.post_content ul.kj-slides > li > p { margin: 0; }
.post_content ul.kj-slides img { display: block; width: calc(100% + 28px); max-width: none; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 -14px 10px; border-radius: 0; }
.post_content ul.kj-slides strong { display: block; margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) { .post_content .kv-slides { scroll-behavior: smooth; } }

