/*
 * 法人・施設向けLP
 * 本体サイト style.css の実カラー（ネイビー #3b4675 / ブルー #00b4ed / アイボリー #fffaf0 /
 * 本文 #2f3336 / 補助 #64717a）を流用する。新しい色は作らない。
 * 装飾は情報の理解に必要なものだけ。カード化・角丸・影・見出し脇の飾り線は使わない。
 */
.kl-business-lp {
    --klb-navy: #3b4675;
    --klb-navy-deep: #273565;
    --klb-text: #2f3336;
    --klb-muted: #64717a;
    --klb-cyan: #00b4ed;
    --klb-cyan-deep: #00a9e8;
    --klb-cyan-pale: #f8fbff;
    --klb-cyan-border: #d8eef7;
    --klb-orange: #ff8c42;
    --klb-orange-hover: #e9762d;
    --klb-yellow: #ffcd44;
    --klb-ivory: #fffaf0;
    --klb-border: #e2e4e8;
    --klb-rule: #d6dce4;
    --klb-white: #fff;
    --klb-radius: 6px;
    --klb-shell: 1160px;
    --klb-shell-wide: 1220px;
    --klb-measure: 46em;
    color: var(--klb-text);
    font-family: dnp-shuei-mgothic-std, "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}
.kl-business-lp *, .kl-business-lp *::before, .kl-business-lp *::after { box-sizing: border-box; }
.kl-business-lp img { display: block; max-width: 100%; height: auto; }
.kl-business-lp a { color: inherit; }
.klb-shell { overflow: clip; }
/* JIN親テーマのサイドバー前提幅を、このLPだけ全幅へ戻す。 */
body.kl-for-business #main-contents.kl-business-lp { width: 100%; max-width: none; margin: 0 auto; padding: 0; float: none; }
.klb-page { background: var(--klb-white); }

.klb-inner { width: min(var(--klb-shell), calc(100% - 80px)); margin-inline: auto; }
.klb-inner--narrow { width: min(960px, 100%); }
.klb-hero, .klb-toc { width: min(var(--klb-shell-wide), calc(100% - 80px)); margin-inline: auto; }


/* ── ファーストビュー ───────────────────────────────── */
.klb-hero { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: clamp(40px, 5vw, 64px); align-items: center; padding-block: clamp(20px, 2.2vw, 32px) clamp(48px, 5vw, 72px); }
.klb-eyebrow { margin: 0 0 12px; color: var(--klb-cyan-deep); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.kl-business-lp .klb-hero h1 { margin: 0; color: var(--klb-navy); font-size: clamp(34px, 3.2vw, 46px); font-weight: 700; line-height: 1.4; letter-spacing: .01em; }
.kl-business-lp .klb-hero h1::before, .kl-business-lp .klb-hero h1::after { display: none; content: none; }
.klb-hero__lead { max-width: var(--klb-measure); margin: 20px 0 0; color: var(--klb-muted); font-size: 17px; line-height: 1.9; }
.klb-hero__price { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--klb-rule); }
.klb-hero__amount { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin: 0; color: var(--klb-navy); }
.klb-hero__amount span { font-size: 17px; font-weight: 700; }
.klb-hero__amount strong { font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; line-height: 1.15; }
.klb-hero__amount small { font-size: 15px; font-weight: 600; }
.klb-hero__includes { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--klb-text); font-size: 15px; }
.klb-hero__includes li { position: relative; padding-left: 20px; }
.klb-hero__includes li::before { position: absolute; left: 0; color: var(--klb-cyan); content: "✓"; font-weight: 700; }
.klb-hero__subprice { max-width: var(--klb-measure); margin: 12px 0 0; color: var(--klb-muted); font-size: 15px; }
.klb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 28px; }
.kl-business-lp .klb-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 28px; border: 1px solid var(--klb-orange); border-radius: var(--klb-radius); background: var(--klb-orange); color: var(--klb-white); font-size: 16px; font-weight: 700; line-height: 1.45; text-align: center; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.kl-business-lp .klb-button:hover, .kl-business-lp .klb-button:focus-visible { border-color: var(--klb-orange-hover); background: var(--klb-orange-hover); }
.kl-business-lp .klb-text-link { display: inline-flex; min-height: 48px; align-items: center; border-bottom: 1px solid var(--klb-cyan-deep); color: var(--klb-navy); font-weight: 700; text-decoration: none; }
.klb-hero__media { margin: 0; overflow: hidden; border-radius: var(--klb-radius); }
.klb-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 7; object-fit: cover; }

/* ── ページ内目次 ───────────────────────────────── */
.klb-toc { padding: 18px 0 22px; border-top: 1px solid var(--klb-rule); border-bottom: 1px solid var(--klb-rule); }
.klb-toc__label { margin: 0 0 10px; color: var(--klb-muted); font-size: 14px; font-weight: 700; }
.klb-toc ol { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.klb-toc a { display: inline-flex; min-height: 40px; align-items: center; color: var(--klb-navy); font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--klb-cyan-border); }
.klb-toc a:hover, .klb-toc a:focus-visible { text-decoration-color: var(--klb-cyan); }

/* ── セクション共通 ───────────────────────────────── */
.klb-section { padding-block: clamp(64px, 5.5vw, 88px); scroll-margin-top: 96px; }
/* 目次やCTAから飛んだとき、セクションの上余白ぶん手前で止まって見出しが画面の下に来る。
   見出しの直前に高さ0の着地点を置き、そこへ飛ばして見出しをヘッダーの直下に出す。 */
.klb-anchor { display: block; width: 0; height: 0; overflow: hidden; scroll-margin-top: 96px; }
/* JIN親テーマが header 要素へ入れる水色の下線を打ち消す（このページでは飾り線を使わない）。 */
.klb-section__header { margin: 0 0 40px; border: 0; padding: 0; }
.kl-business-lp .klb-section__header h2 { margin: 0; color: var(--klb-navy); font-size: clamp(28px, 2.4vw, 34px); font-weight: 700; line-height: 1.5; }
.kl-business-lp .klb-section__header h2::before, .kl-business-lp .klb-section__header h2::after { display: none; content: none; }
.klb-section__header p { max-width: var(--klb-measure); margin: 16px 0 0; color: var(--klb-muted); font-size: 16px; line-height: 1.9; }
.kl-business-lp h3 { color: var(--klb-navy); }
.klb-note { max-width: var(--klb-measure); color: var(--klb-muted); font-size: 14px; }
.klb-source-note { max-width: var(--klb-measure); margin: 16px 0 0; color: var(--klb-muted); font-size: 14px; }

/* 日本語の折り返し。auto-phrase はChromiumだけで効くうえ、次の文節が入らないと
   行の途中で折り返してしまい、右端が大きく余る。ブラウザ間で挙動を揃えるため使わない。
   本文は PHP 側の klb_phrase() が改行してよい位置を <wbr> で示し、下の .klb-phrase が
   その位置だけで折り返す。ここでは最終行が極端に短くなるのを防ぐ指定だけ持たせる。 */
.kl-business-lp h1, .kl-business-lp h2, .kl-business-lp h3, .kl-business-lp h4,
.klb-hero__lead, .klb-hero__subprice, .klb-section__header p, .klb-plan__amount, .klb-plan__note,
.klb-note, .klb-source-note, .klb-usecase-reason p, .klb-benefit-list p, .klb-flow p,
.klb-faq-answer p, .klb-criteria dt, .klb-criteria dd, .klb-operation-group dd,
.kl-business-lp .klfb-field-hint, .klb-toy-card h4, .klb-usecase-facts dd { text-wrap: wrap; }

/* 記事本文と同じ黄色マーカー。判断の決め手になる値だけに使い、多用しない。 */
.kl-business-lp .klb-marker,
.klb-price-includes strong { background: linear-gradient(transparent 60%, #ffff66 0%); }

/* 句読点で区切った塊。塊の内部では改行しない（長すぎる場合だけ内部で折り返す）。 */
/* <wbr> で示した位置だけで改行する。切れ目が無い長い塊だけは緊急避難的に折り返す。 */
.kl-business-lp .klb-phrase { display: inline; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
/* 最終行だけが数文字になる泣き別れを避ける。balance は全行の長さをそろえようとして
   行末が大きく余るので使わない。 */
.klb-hero__lead, .klb-hero__subprice, .klb-section__header p,
.klb-note, .klb-source-note, .klb-plan__note, .klb-case p, .kl-business-lp .klfb-field-hint { text-wrap: wrap; }

/* text-wrap:pretty はChromiumでは最終行の泣き別れだけを直すが、WebKitでは途中の行まで
   短くしてしまう。auto-phrase はChromiumだけが持つのでエンジンの判定に使う。 */
@supports (word-break: auto-phrase) {
    .kl-business-lp h1, .kl-business-lp h2, .kl-business-lp h3,
    .klb-hero__lead, .klb-hero__subprice, .klb-section__header p, .klb-plan__note,
    .klb-note, .klb-source-note, .klb-case p, .klb-usecase-reason p,
    .klb-benefit-list p, .klb-faq-answer p { text-wrap: pretty; }
}

/* ── 料金プラン ───────────────────────────────── */
.klb-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.klb-plan { padding-top: 18px; border-top: 1px solid var(--klb-rule); }
.klb-plan--lead { border-top: 2px solid var(--klb-navy); }
.kl-business-lp .klb-plan h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.5; }
.klb-plan__amount { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; margin: 10px 0 0; color: var(--klb-navy); }
.klb-plan__amount span { font-size: 14px; font-weight: 700; }
.klb-plan__amount strong { font-size: clamp(30px, 2.6vw, 36px); font-weight: 700; line-height: 1.15; }
.klb-plan__amount small { font-size: 14px; font-weight: 600; }
.klb-plan dl { margin: 14px 0 0; }
/* 「3回｜で毎月」のように語の途中で割れるため、読点だけを改行位置にする。 */
.klb-plan__irregular { word-break: keep-all; overflow-wrap: anywhere; }
.klb-plan dl div { display: grid; grid-template-columns: minmax(96px, 42%) minmax(0, 1fr); gap: 6px 16px; padding: 8px 0; border-bottom: 1px solid var(--klb-border); }
.klb-plan dt { color: var(--klb-muted); font-size: 14px; }
.klb-plan dd { margin: 0; color: var(--klb-text); font-size: 15px; font-weight: 600; }
.klb-plan dd small { color: var(--klb-muted); font-size: 13px; font-weight: 400; }
.klb-plan__note { margin: 12px 0 0; color: var(--klb-muted); font-size: 14px; }
.klb-plan-terms { margin: 26px 0 0; }

/* ── 料金に含まれるもの ───────────────────────────────── */
.klb-price-layout { display: grid; grid-template-columns: minmax(0, 33fr) minmax(0, 67fr); gap: clamp(32px, 4vw, 56px); align-items: start; margin-top: 40px; padding: 28px 0; border-top: 1px solid var(--klb-rule); border-bottom: 1px solid var(--klb-rule); }
/* 右側チェックリストの1行目（上下9pxのpadding）と行頭をそろえる。 */
.klb-price-figure { padding-top: 9px; }
.klb-price-figure__label { margin: 0; color: var(--klb-muted); font-size: 15px; font-weight: 700; }
.klb-price-figure__amount { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin: 10px 0 0; color: var(--klb-navy); }
.klb-price-figure__amount span { font-size: 17px; font-weight: 700; }
.klb-price-figure__amount strong { font-size: clamp(38px, 3.8vw, 50px); font-weight: 700; line-height: 1.15; }
.klb-price-figure__amount small { font-size: 15px; font-weight: 600; }
.klb-price-figure__sub { margin: 8px 0 0; color: var(--klb-muted); font-size: 15px; }
.klb-price-includes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 32px; margin: 0; padding: 0; list-style: none; }
.klb-price-includes li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--klb-border); font-size: 16px; }
.klb-price-includes li::before { position: absolute; top: 9px; left: 0; color: var(--klb-cyan); content: "✓"; font-weight: 700; }
.klb-price-includes strong { color: var(--klb-navy); }
.klb-price-includes .klb-note { margin: 18px 0 0; }
/* 読み込み前に高さを確保する。PCとSPで縦横比が違うので、比率はブレークポイントごとに
   ファイルの実寸で宣言する。宣言しないと、読み込みの瞬間に高さが変わって画像が飛ぶ。 */
.klb-price-media { margin: 32px 0 0; overflow: hidden; border-radius: var(--klb-radius); }
.klb-price-media img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 788; }

/* ── 3ステップ ───────────────────────────────── */
.klb-benefit-layout { display: grid; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.klb-benefit-list { margin: 0; padding: 0; list-style: none; }
.klb-benefit-list li { padding-block: 22px; border-bottom: 1px solid var(--klb-border); }
.klb-benefit-list li:first-child { border-top: 1px solid var(--klb-border); }
.kl-business-lp .klb-benefit-list h3 { display: flex; gap: 12px; align-items: baseline; margin: 0; font-size: 22px; line-height: 1.5; }
.klb-benefit-list__num { color: var(--klb-cyan-deep); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.klb-benefit-list p { max-width: var(--klb-measure); margin: 8px 0 0; color: var(--klb-muted); }
.klb-benefit-media { margin: 0; overflow: hidden; border-radius: var(--klb-radius); }
.klb-benefit-media img { display: block; width: 100%; height: auto; aspect-ratio: 692 / 941; object-fit: cover; }

/* ── 施設別（このページの主役・アイボリー帯） ───────────────── */
.klb-usecases { background: var(--klb-ivory); }
.klb-tabs-wrap { position: relative; }
.klb-tabs-hint, .klb-plan-hint { display: none; }
/* 月額と年額のように独立した値は行を分ける。1行に詰めると読み取りにくい。 */
.klb-cell-line { display: block; }
.klb-cell-line + .klb-cell-line { margin-top: 5px; }
.klb-comparison-table td .klb-cell-line + .klb-cell-line { color: var(--klb-navy); font-weight: 400; font-size: 13.5px; }

/* 表のセルだけでは仕組みが伝わらない項目に、その場で短い説明を添える。 */
.klb-comparison-note { display: block; margin-top: 6px; color: var(--klb-muted); font-size: 12.5px; font-weight: 400; line-height: 1.65; white-space: normal; }
.klb-scrollbar { display: none; }
.klb-scrollbar.is-active { display: block; position: relative; height: 4px; margin: 12px 0 0; border-radius: 2px; background: #e2eef4; }
.klb-scrollbar span { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: #7cc3de; transition: left .12s linear; }
.klb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.klb-tab { min-height: 48px; padding: 10px 18px; border: 1px solid var(--klb-rule); border-radius: var(--klb-radius); background: var(--klb-white); color: var(--klb-navy); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.klb-tab:hover, .klb-tab:focus-visible { border-color: var(--klb-cyan); }
.klb-tab.is-active { border-color: var(--klb-navy); background: var(--klb-navy); color: var(--klb-white); }
.klb-tabpanel { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--klb-border); border-radius: var(--klb-radius); background: var(--klb-white); }
.klb-js .klb-tabpanel:not(.is-active) { display: none; }
.kl-business-lp .klb-usecase-title { margin: 0; font-size: clamp(24px, 2vw, 30px); font-weight: 700; line-height: 1.45; }
.klb-usecase-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin: 24px 0 0; padding: 18px 0; border-top: 1px solid var(--klb-rule); border-bottom: 1px solid var(--klb-rule); }
.klb-usecase-facts dt { color: var(--klb-muted); font-size: 14px; }
.klb-usecase-facts dd { margin: 4px 0 0; color: var(--klb-navy); font-size: 17px; font-weight: 700; line-height: 1.55; }
.klb-usecase-reason { margin-top: 22px; }
.klb-usecase-reason p { max-width: var(--klb-measure); margin: 0 0 10px; }
.klb-usecase-reason p:last-child { margin-bottom: 0; }
.klb-usecase-media { margin: 26px 0 0; overflow: hidden; border-radius: var(--klb-radius); }
.klb-usecase-media img { display: block; width: 100%; height: auto; aspect-ratio: 1942 / 809; object-fit: cover; }
.klb-usecase-listlabel { max-width: var(--klb-measure); margin: 30px 0 14px; color: var(--klb-navy); font-size: 17px; font-weight: 700; }
.klb-toy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.klb-toy-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--klb-border); border-radius: var(--klb-radius); background: var(--klb-white); }
.klb-toy-card__image { background: #fafafa; }
.klb-toy-card__image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.klb-toy-card__link { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.klb-toy-card:hover { border-color: var(--klb-cyan); }
.klb-toy-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.kl-business-lp .klb-toy-card h4 { margin: 0; color: var(--klb-navy); font-size: 16px; font-weight: 700; line-height: 1.6; }
.klb-toy-card__age { margin: 10px 0 0; color: var(--klb-text); font-size: 15px; }
.klb-toy-card__price { margin: 2px 0 0; color: var(--klb-muted); font-size: 14px; }
.klb-more-products { margin-top: 22px; }
.klb-more-products summary { display: inline-flex; min-height: 48px; align-items: center; padding: 10px 22px; border: 1px solid var(--klb-navy); border-radius: var(--klb-radius); background: var(--klb-white); color: var(--klb-navy); font-weight: 700; cursor: pointer; }
.klb-more-products summary::-webkit-details-marker { display: none; }
.klb-more-products[open] summary { margin-bottom: 20px; }

/* ── 中間CTA（記事の最終CTAと同じ構成: ラベル→見出し→リード→要点→大ボタン→安心→副導線） ── */
.klb-usecase-listnote { display: block; max-width: 40em; margin-top: 6px; color: var(--klb-muted); font-size: 14px; font-weight: 400; }

/* ── 導入と取り組み ───────────────────────────────── */
.klb-cases { border-top: 1px solid var(--klb-rule); background: var(--klb-white); }
.klb-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.klb-case { padding: 0 0 4px; }
.klb-case__media { margin: 0; overflow: hidden; border-radius: var(--klb-radius); }
.klb-case__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.klb-case__client { margin: 18px 0 0; color: var(--klb-cyan-deep); font-size: 15px; font-weight: 700; }
.kl-business-lp .klb-case h3 { margin: 6px 0 0; font-size: 21px; font-weight: 700; line-height: 1.55; }
.klb-case p:last-child { margin: 10px 0 0; color: var(--klb-muted); font-size: 15px; }
.klb-cases .klb-note { margin: 32px 0 0; }

/* ── 選定の基準 ───────────────────────────────── */
.klb-criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; }
.klb-criteria div { display: grid; grid-template-columns: minmax(120px, 30%) minmax(0, 1fr); gap: 8px 24px; padding: 12px 0; border-bottom: 1px solid var(--klb-border); }
.klb-criteria div:nth-child(-n+2) { border-top: 1px solid var(--klb-border); }
.klb-criteria dt { color: var(--klb-navy); font-weight: 700; }
.klb-criteria dd { margin: 0; color: var(--klb-muted); font-size: 15px; }
.klb-selection-media { margin: 36px 0 0; overflow: hidden; border-radius: var(--klb-radius); }
.klb-selection-media img { display: block; width: 100%; height: auto; aspect-ratio: 1916 / 821; object-fit: cover; }

/* ── 運用条件 ───────────────────────────────── */
.klb-operation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; }
.kl-business-lp .klb-operation-group h3 { margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--klb-navy); font-size: 20px; font-weight: 700; }
.klb-operation-group dl { margin: 0; }
.klb-operation-group dl div { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 6px 20px; padding: 11px 0; border-bottom: 1px solid var(--klb-border); }
.klb-operation-group dt { color: var(--klb-muted); font-size: 15px; }
.klb-operation-group dd { margin: 0; color: var(--klb-text); font-weight: 600; }
.klb-operation-group .klb-note { margin: 14px 0 0; }

/* ── 比較表 ───────────────────────────────── */
.klb-scroll-hint { display: none; margin: 0 0 10px; color: var(--klb-muted); font-size: 14px; }
.klb-comparison-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.klb-comparison-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.7; }
.klb-comparison-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.klb-comparison-table th, .klb-comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--klb-border); vertical-align: top; text-align: left; }
.klb-comparison-table thead th { border-bottom: 0; background: var(--klb-navy); color: var(--klb-white); font-weight: 700; }
.klb-comparison-table thead th:nth-child(1) { width: 26%; }
.klb-comparison-table thead th:nth-child(2) { width: 28%; }
.klb-comparison-table thead th:nth-child(3), .klb-comparison-table thead th:nth-child(4) { width: 23%; }
.klb-comparison-table tbody th { white-space: nowrap; }
.klb-comparison-table tbody th { color: var(--klb-navy); font-weight: 700; }
.klb-comparison-table tbody td:first-of-type strong { color: var(--klb-navy); font-weight: 700; }
.klb-comparison-table tbody td:first-of-type { background: #fffdf7; }
.klb-comparison-table tbody td:first-of-type strong { color: var(--klb-navy); }
.klb-comparison-group th { padding-block: 10px; border-bottom: 1px solid var(--klb-rule); background: var(--klb-cyan-pale); color: var(--klb-navy); font-size: 15px; letter-spacing: .04em; }

/* 比較表の左端列を固定する。記事本文の kl-table-freeze と同じ配色でそろえる。 */
.klb-comparison-scroll { position: relative; }
.klb-comparison-table thead th:first-child,
.klb-comparison-table tbody tr:not(.klb-comparison-group) > :first-child { position: sticky; left: 0; z-index: 2; }
.klb-comparison-table tbody tr:not(.klb-comparison-group) > th:first-child { background: var(--klb-white); box-shadow: 1px 0 0 #d8eef7; }
.klb-comparison-group th { position: static; }
.klb-operation-note { display: block; margin-top: 6px; color: var(--klb-muted); font-size: 14px; font-weight: 400; line-height: 1.8; }

/* ── 流れ（画像1枚。手順の文言は読み上げ用に文字でも持つ） ───────────── */
.klb-flow-figure { margin: 0; overflow: hidden; border-radius: var(--klb-radius); }
.klb-flow-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 781; }
.klb-flow-steps { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── FAQ ───────────────────────────────── */
.klb-faq-list { display: grid; gap: 12px; }
.klb-faq-item { overflow: hidden; border: 1px solid var(--klb-border); border-radius: var(--klb-radius); background: var(--klb-white); }
.klb-faq-q { position: relative; display: flex; min-height: 58px; align-items: center; padding: 14px 54px 14px 58px; color: var(--klb-navy); font-size: 16px; font-weight: 700; line-height: 1.6; cursor: pointer; list-style: none; }
.klb-faq-q::-webkit-details-marker { display: none; }
.klb-faq-q::before { position: absolute; left: 18px; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 4px; background: var(--klb-cyan); color: var(--klb-white); content: "Q"; font-size: 14px; font-weight: 700; }
.klb-faq-q::after { position: absolute; right: 22px; color: var(--klb-cyan); content: "+"; font-size: 24px; font-weight: 400; line-height: 1; }
.klb-faq-item[open] .klb-faq-q::after { content: "−"; }
.klb-faq-answer { position: relative; margin: 0 18px; padding: 16px 18px 20px 40px; border-top: 1px solid var(--klb-border); color: var(--klb-muted); }
.klb-faq-answer::before { position: absolute; top: 16px; left: 0; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 4px; background: var(--klb-yellow); color: var(--klb-navy); content: "A"; font-size: 14px; font-weight: 700; }
.klb-faq-answer p { max-width: var(--klb-measure); margin: 0; }

/* お急ぎの場合の電話導線。記事ページと同じ番号・受付時間にそろえる。 */

/* ── 最終CTA・フォーム ───────────────────────────────── */
.klb-contact { background: var(--klb-ivory); }
.klb-contact-form { width: min(920px, 100%); margin: 32px auto 0; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--klb-border); border-radius: var(--klb-radius); background: var(--klb-white); }
.klb-form-readiness { padding: 18px; border: 1px solid #b42318; border-radius: var(--klb-radius); background: #fff7f6; }
/* 必須バッジ。カート画面の .require.v2（赤枠・赤文字・10px・角丸8px）と同じ見た目にそろえる。 */
.kl-business-lp .klfb-required { display: inline-block; margin-left: 10px; padding: 0 5px; border: 1px solid #f00; border-radius: 8px; color: #f00; font-size: 10px; font-weight: 400; line-height: 16px; vertical-align: middle; }
.kl-business-lp .klfb-required-note { margin: 0 0 24px; padding: 12px 16px; border: 1px solid #f0c4c0; border-radius: var(--klb-radius); background: #fff7f6; color: #b42318; font-size: 15px; font-weight: 700; }

/* Contact Form 7 と親テーマが form 周りへ入れる入れ子パネル（グレーの背景・上下左右の余白）と、
   各行の -10px の負マージンを打ち消す。白パネルの中にもう一枚パネルが見え、行間も詰まる原因だった。
   相手側がID指定のため、!important ではなくID込みの詳細度で上書きする。 */
/* 相手側が `.wpcf7 { margin/padding !important }` と `.wpcf7-form p { margin-top:-10px !important }`
   を使っているため、この2つの打ち消しに限って同じ強さを用いる。他では !important を使わない。 */
body.kl-for-business #main-contents .klb-contact-form .wpcf7 { width: 100%; margin: 0 !important; padding: 0 !important; border: 0; background: transparent; }
body.kl-for-business #main-contents .klb-contact-form .wpcf7 form { margin: 0; padding: 0; }
body.kl-for-business #main-contents .klb-contact-form .klfb-required-note { margin: 0 0 24px !important; }
body.kl-for-business #main-contents .klb-contact-form .klfb-form-field { margin: 0 !important; }
body.kl-for-business #main-contents .klb-contact-form .klfb-form-submit { margin: 6px 0 0 !important; }
body.kl-for-business #main-contents .klb-contact-form .klfb-form-field input,
body.kl-for-business #main-contents .klb-contact-form .klfb-form-field textarea { margin: 0; }
body.kl-for-business #main-contents .klb-contact-form .klfb-form-field textarea { height: 176px; }
.kl-business-lp .klfb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.kl-business-lp .klfb-form-field, .kl-business-lp .klfb-form-submit { margin: 0; }
.kl-business-lp .klfb-form-field-wide, .kl-business-lp .klfb-form-submit { grid-column: 1 / -1; }
.kl-business-lp .klfb-form-field label { display: block; margin-bottom: 8px; color: var(--klb-navy); font-weight: 700; }
.kl-business-lp .klfb-form-field input, .kl-business-lp .klfb-form-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--klb-rule); border-radius: var(--klb-radius); background: var(--klb-white); color: var(--klb-text); font: inherit; }
.kl-business-lp .klfb-form-field textarea { min-height: 180px; resize: vertical; }
.kl-business-lp .klfb-form-field input:focus, .kl-business-lp .klfb-form-field textarea:focus { border-color: var(--klb-cyan); outline: 3px solid rgba(0, 180, 237, .16); }
.kl-business-lp .klfb-form-field .wpcf7-not-valid { border-color: #b42318; background: #fff7f6; }
.kl-business-lp .klfb-form-submit { margin-top: 6px; text-align: center; }
.kl-business-lp .klfb-form-submit input[type="submit"] { width: min(420px, 100%); min-height: 56px; padding: 14px 24px; border: 1px solid var(--klb-orange); border-radius: var(--klb-radius); background: var(--klb-orange); color: var(--klb-white); font: inherit; font-weight: 700; box-shadow: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.kl-business-lp .klfb-form-submit input[type="submit"]:hover, .kl-business-lp .klfb-form-submit input[type="submit"]:focus-visible { border-color: var(--klb-orange-hover); background: var(--klb-orange-hover); }
/* ── フォームの選択肢（連絡方法・時間帯・曜日） ─────────────── */
.kl-business-lp .klfb-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.kl-business-lp .klfb-choice legend { display: block; margin-bottom: 8px; padding: 0; color: var(--klb-navy); font-weight: 700; }
.kl-business-lp .klfb-choice .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.kl-business-lp .klfb-choice .wpcf7-list-item { margin: 0; }
.kl-business-lp .klfb-choice .wpcf7-list-item label { display: inline-flex; min-height: 48px; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--klb-rule); border-radius: var(--klb-radius); background: var(--klb-white); color: var(--klb-text); font-weight: 600; cursor: pointer; }
.kl-business-lp .klfb-choice .wpcf7-list-item label:hover { border-color: var(--klb-cyan); }
.kl-business-lp .klfb-choice input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--klb-navy); }
.kl-business-lp .klfb-choice .wpcf7-list-item-label { line-height: 1.5; }
.kl-business-lp .klfb-choice input[type="radio"]:checked + .wpcf7-list-item-label { color: var(--klb-navy); }
.kl-business-lp .klfb-choice label:has(input:checked) { border-color: var(--klb-navy); background: #f4f6fa; }
.kl-business-lp .klfb-field-hint { display: block; max-width: var(--klb-measure); margin-top: 10px; color: var(--klb-muted); font-size: 14px; line-height: 2; }
.kl-business-lp .wpcf7-not-valid-tip { margin-top: 6px; color: #b42318; font-size: 14px; }
/* Contact Form 7 既定の枠線色・立体ボタンをこのページの意匠へそろえる。 */
.kl-business-lp .wpcf7 form .wpcf7-response-output { margin: 26px 0 0; padding: 20px 22px; border: 1px solid var(--klb-cyan-border); border-radius: var(--klb-radius); background: var(--klb-cyan-pale); color: var(--klb-navy); font-weight: 700; line-height: 1.9; text-align: center; }
.kl-business-lp .wpcf7 form.invalid .wpcf7-response-output, .kl-business-lp .wpcf7 form.failed .wpcf7-response-output { border-color: #f0c4c0; background: #fff7f6; color: #b42318; }
.kl-business-lp :focus-visible { outline: 3px solid rgba(0, 180, 237, .35); outline-offset: 3px; }

@media (max-width: 1200px) {
    .klb-inner, .klb-hero, .klb-toc { width: min(var(--klb-shell), calc(100% - 64px)); }
}

@media (max-width: 1023px) {
    .klb-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 32px; }
    .klb-benefit-layout { grid-template-columns: 1fr; gap: 36px; }
    .klb-benefit-media { max-width: 560px; }
    .klb-toy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .klb-usecase-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
    .klb-comparison-table { min-width: 820px; }
    .klb-scroll-hint { display: block; }
}

@media (max-width: 767px) {
    .kl-business-lp { font-size: 16px; line-height: 1.8; }
    .klb-inner, .klb-hero, .klb-toc { width: calc(100% - 40px); }
    .klb-hero { grid-template-columns: 1fr; gap: 26px; padding-block: 14px 40px; }
    .kl-business-lp .klb-hero h1 { font-size: clamp(28px, 7.6vw, 34px); line-height: 1.4; }
    .klb-hero__lead { margin-top: 14px; font-size: 16px; }
    .klb-hero__price { margin-top: 22px; padding-top: 20px; }
    .klb-hero__amount strong { font-size: 42px; }
    .klb-hero__includes { gap: 2px 20px; }
    .klb-hero__actions { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 24px; }
    .kl-business-lp .klb-button { width: 100%; min-height: 52px; }
    .kl-business-lp .klb-text-link { justify-content: center; }
    .klb-hero__media { grid-row: 5; }
    .klb-hero__media img { aspect-ratio: 800 / 725; }
    .klb-toc { padding: 16px 0 18px; }
    .klb-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; }
    .klb-toc a { min-height: 44px; font-size: 14px; }
    .klb-section { padding-block: 64px; scroll-margin-top: 80px; }
    .klb-anchor { scroll-margin-top: 80px; }
    .klb-section__header { margin-bottom: 28px; }
    .kl-business-lp .klb-section__header h2 { font-size: clamp(23px, 6.2vw, 27px); }
    .klb-section__header p { margin-top: 12px; }
    .klb-plan-hint { display: block; margin: 0 0 10px; color: var(--klb-muted); font-size: 13px; }
    .klb-plan-grid { display: flex; grid-template-columns: none; gap: 14px; margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
    .klb-plan-grid::-webkit-scrollbar { display: none; }
    .klb-plan dl > div { grid-template-columns: 6.2em minmax(0, 1fr); }
    .klb-plan dd small { white-space: nowrap; }
    .klb-plan { flex: 0 0 78%; scroll-snap-align: start; padding: 18px 18px 20px; border: 1px solid var(--klb-cyan-border); border-top-width: 1px; border-radius: var(--klb-radius); background: var(--klb-white); }
    .klb-plan--lead { border-color: var(--klb-cyan-deep); }
    .klb-plan-terms { margin-top: 18px; }
    .klb-plan__amount strong { font-size: 32px; }
    .klb-price-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; padding: 24px 0; }
    .klb-price-includes ul { grid-template-columns: 1fr; }
    .klb-price-media { margin-top: 24px; }

    .klb-benefit-media { max-width: none; }
    .klb-benefit-media img { aspect-ratio: 760 / 421; }
    .klb-price-media img { aspect-ratio: 800 / 1421; }
    .klb-flow-figure img { aspect-ratio: 941 / 1542; }
    .klb-selection-media { margin-top: 28px; }
    .klb-benefit-layout > figure { grid-row: 1; }
    .kl-business-lp .klb-benefit-list h3 { font-size: 19px; }
    .klb-tabs-hint { display: block; margin: 0 0 8px; color: var(--klb-muted); font-size: 13px; }
    .klb-tabs { display: flex; flex-wrap: nowrap; margin-right: -20px; padding: 0 20px 0 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
    .klb-tabs::-webkit-scrollbar { display: none; }
    .klb-tabs-wrap { margin-bottom: 24px; }
    .klb-tabs-wrap::after { content: ""; position: absolute; right: -20px; top: 0; width: 34px; height: 46px; background: linear-gradient(to right, rgba(255, 250, 240, 0), var(--klb-ivory) 72%); pointer-events: none; opacity: 1; transition: opacity .2s ease; }
    .klb-tabs-wrap.is-scroll-end::after { opacity: 0; }
    .klb-tab { min-width: 132px; flex: 0 0 auto; padding: 10px 14px; font-size: 14px; scroll-snap-align: start; }
    .klb-tabpanel { padding: 22px 18px 24px; }
    .kl-business-lp .klb-usecase-title { font-size: 21px; }
    .klb-usecase-facts { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }
    .klb-usecase-facts div { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--klb-border); }
    .klb-usecase-facts div:last-child { border-bottom: 0; }
    .klb-usecase-facts dd { margin: 0; font-size: 16px; }
    .klb-usecase-media img { aspect-ratio: 16 / 10; }
    .klb-toy-grid { gap: 14px; }
    .klb-toy-card__body { padding: 14px 14px 16px; }
    .kl-business-lp .klb-toy-card h4 { font-size: 15px; }
    .klb-toy-card__age { margin-top: 8px; font-size: 14px; }
    .klb-more-products summary { width: 100%; justify-content: center; }
    .klb-criteria { grid-template-columns: 1fr; }
    .klb-criteria div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
    .klb-criteria div:nth-child(2) { border-top: 0; }
    .klb-case-grid { grid-template-columns: 1fr; gap: 30px; }
    .kl-business-lp .klb-case h3 { font-size: 19px; }
    .klb-operation-grid { grid-template-columns: 1fr; gap: 32px; }
    .kl-business-lp .klb-operation-group h3 { font-size: 19px; }
    .klb-operation-group dl div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
    .klb-comparison-table { min-width: 700px; font-size: 15px; }
    .klb-comparison-table th, .klb-comparison-table td { padding: 12px 14px; }
    .klb-faq-q { min-height: 56px; padding: 14px 46px 14px 52px; font-size: 15px; }
    .klb-faq-q::before { left: 14px; }
    .klb-faq-q::after { right: 16px; }
    .klb-faq-answer { margin-inline: 14px; padding: 14px 6px 18px 38px; }
    .klb-contact-form { margin-top: 24px; padding: 22px 18px; }
    .kl-business-lp .klfb-form-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .kl-business-lp *, .kl-business-lp *::before, .kl-business-lp *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.klb-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.kl-business-lp .klb-section__header--visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }

.klb-cta-section { padding-block: clamp(44px, 3.6vw, 60px); }
.klb-cta-banner { position: relative; width: min(840px, 100%); margin: 48px auto 0; }
.klb-cta-section .klb-cta-banner { margin-top: 0; }
.klb-cta-banner--footer { margin: 0 auto 44px; }
.kl-business-lp .klb-cta-banner__link { display: block; border-radius: var(--klb-radius); overflow: hidden; text-decoration: none; transition: filter .2s ease; }
.klb-cta-banner--middle .klb-cta-banner__link img { aspect-ratio: 1400 / 771; }
.klb-cta-banner--footer .klb-cta-banner__link img { aspect-ratio: 1400 / 779; }
.klb-cta-banner__link img { display: block; width: 100%; height: auto; }
.kl-business-lp .klb-cta-banner__link:hover { filter: brightness(1.02); }
.kl-business-lp .klb-cta-banner__link:focus-visible { outline: 3px solid var(--klb-cyan-deep); outline-offset: 3px; }
.kl-business-lp .klb-cta-banner__tel { display: block; position: absolute; left: 50%; top: 88%; width: min(440px, 52%); height: 11%; transform: translateX(-50%); }
.kl-business-lp .klb-cta-banner__tel:focus-visible { outline: 3px solid var(--klb-cyan-deep); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 767px) {
    .klb-cta-section { padding-block: 40px; }
    .klb-cta-banner { width: 100%; margin-top: 36px; }
    .klb-cta-banner--footer { margin: 0 0 32px; }
    .kl-business-lp .klb-cta-banner__tel { top: 86%; width: min(330px, 92%); height: 13%; }
    .klb-cta-banner--middle .klb-cta-banner__link img { aspect-ratio: 900 / 1152; }
    .klb-cta-banner--footer .klb-cta-banner__link img { aspect-ratio: 900 / 1161; }
}
