/* =========================================================
   コラム（/column/） 共通スタイル
   対象: /column/index.html（一覧） /column/*.html（記事）
   デザインルールは /agents/ と共通
   - 面：空色（ヒーロー・CTA）／薄い空色（tint）／白
   - ボタン：黒の輪郭線＋ずらした影。メインはイエロー
   - カード類：角丸（14〜18px）
   記事の作り方は /column/_template.html を参照
   ========================================================= */
:root {
  --navy: #1F3B5C;  --navy-2: #2A4E78;
  --teal: #23739F;  --teal-d: #1B5D82;  --teal-l: #E3F3FB;   /* アクセント（濃い空色） */
  --sky: #CDE9F6;   --sky-2: #E4F3FB;   --bg: #F3F9FD;       /* 面 */
  --ink: #1E2B3C;                                           /* 輪郭線・本文の濃色 */
  --sun: #FFD97F;   --sun-2: #FFCB57;   --mark: #FFD97F;     /* ボタン・マーカー */
  --lav: #6A4FB0;   --lav-p: #CCBEE2;   --sky-p: #9CD3EE;
  --line: #D8E7F0;  --line-d: #C3D9E8;
  --tx: #263A4E;    --tx2: #3A5068;     --mute: #55657A;     --faint: #8494A6;
  --focus: #2E8BC0;
  --maxw: 1180px;
  --en: "Outfit", "Noto Sans JP", system-ui, sans-serif;
  --jp: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --hdr-h: 66px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--jp); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-d); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
table { border-collapse: collapse; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.page { width: 100%; overflow-x: clip; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.nb { display: inline-block; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- ボタン ---------- */
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; line-height: 1.5; text-align: center; border-radius: 999px; padding: 13px 28px; border: 2px solid var(--ink); color: var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { color: var(--ink); text-decoration: none; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn--primary { background: var(--sun); }
.btn--primary:hover { background: var(--sun-2); }
.btn--white, .btn--outline { background: #fff; }
.btn--white:hover, .btn--outline:hover { background: var(--sky-2); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; box-shadow: none; transform: none; }

/* ---------- ヘッダー（コーポレート共通） ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: var(--hdr-h); }
.nav .logo img { height: 28px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-links a { color: #3a4655; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy-2); text-decoration: none; }
.nav-links a[aria-current="page"] { font-weight: 700; }
.nav .btn { padding: 9px 18px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 620px) { .nav .logo img { height: 22px; } .nav .btn { padding: 8px 14px; font-size: 12.5px; } }

/* ---------- パンくず・タグ ---------- */
.crumb { font-size: 12.5px; color: var(--mute); margin-bottom: 18px; }
.crumb a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.crumb a:hover { color: var(--navy-2); }
.crumb span[aria-hidden] { margin: 0 8px; color: var(--faint); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--teal); background: #fff; border: 1.5px solid var(--sky-p); border-radius: 999px; padding: 1px 12px; }
.tag--svc { color: var(--ink); background: var(--sun); border-color: var(--ink); }

/* =========================================================
   一覧ページ（/column/index.html）
   ========================================================= */
.lhero { position: relative; background: #FBE7DD; overflow: hidden; min-height: clamp(420px, 42vw, 600px); display: flex; align-items: center; }
.lhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 60%; display: block; }
.lhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,231,221,.94) 0%, rgba(251,231,221,.9) 40%, rgba(251,231,221,0) 52%); pointer-events: none; }
.lhero__in { position: relative; z-index: 1; width: 100%; padding: 56px 58vw 56px max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); }
.eyebrow-pill { display: inline-block; font-family: var(--en); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--ink); text-transform: uppercase; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 14px; }
.lhero h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; line-height: 1.3; color: var(--navy); margin: 16px 0; letter-spacing: .01em; }
.lhero h1 .mk { background: linear-gradient(transparent 62%, var(--sun) 62%); }
.lhero .lead { color: #34465C; font-size: 15.5px; line-height: 1.95; max-width: 520px; margin: 0; }

.filter { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.filter .wrap { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.ftabs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.ftab { --c: var(--navy); --cp: var(--line); --cbg: var(--bg); font: inherit; font-size: 13.5px; font-weight: 700; color: var(--c); background: #fff; border: 1.5px solid var(--cp); border-radius: 999px; padding: 6px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: .15s; }
.ftab b { font-family: var(--en); font-size: 12px; font-weight: 600; opacity: .6; }
.ftab:hover { border-color: var(--c); background: var(--cbg); }
.ftab.is-on { background: var(--c); border-color: var(--c); color: #fff; }
.ftab.is-on b { opacity: .85; }
.ftab[data-f=all].is-on b { color: var(--sun); opacity: 1; }
.search { position: relative; flex: none; width: 240px; }
.search input { width: 100%; font: inherit; font-size: 14px; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 36px; background: #fff; color: var(--ink); }
.search input:focus { border-color: var(--focus); outline: none; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); }

.list { padding: 40px 0 88px; background: var(--bg); }
.result { font-size: 13.5px; color: var(--mute); margin-bottom: 18px; }
.result b { font-family: var(--en); font-size: 18px; color: var(--navy); margin: 0 2px; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cgrid > li[hidden] { display: none; }
.empty { display: none; text-align: center; color: var(--mute); padding: 50px 0; }

/* ---------- 記事カード（一覧・記事末カルーセル・トップと共通の形） ---------- */
.ccard { --c: var(--teal); --cp: var(--sky-p); position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--cp); border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.ccard[data-cat=mkt] { --c: var(--lav); --cp: var(--lav-p); }
a.ccard:hover { color: inherit; text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31,59,92,.10); }
.ccard__img { display: block; aspect-ratio: 16 / 10; background: var(--teal-l); overflow: hidden; border-bottom: 1px solid var(--line); }
.ccard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ccard__img--contain { background: #fff; }
.ccard__img--contain img { object-fit: contain; padding: 12px; }
.ccard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.ccard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ccard__cat { font-size: 11.5px; font-weight: 700; color: var(--c); background: #fff; border: 1.5px solid var(--cp); border-radius: 999px; padding: 0 10px; line-height: 1.8; }
.ccard__svc { font-size: 11.5px; font-weight: 700; color: var(--mute); background: var(--bg); border-radius: 999px; padding: 0 10px; line-height: 1.95; }
.ccard__title { font-size: 17px; font-weight: 900; line-height: 1.6; color: var(--navy); margin: 0; }
.ccard__text { margin: 8px 0 0; font-size: 13.5px; line-height: 1.85; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.ccard__date { font-family: var(--en); font-size: 13px; color: var(--faint); letter-spacing: .03em; }
.ccard__more { font-size: 13.5px; font-weight: 700; color: var(--c); }
.ccard.is-current { border-color: var(--teal); }
.ccard__badge { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 1px 12px; }
.ccard.is-current .ccard__more { color: var(--faint); }

/* ---------- 記事カードのカルーセル（PC3枚、4本目以降は横送り） ---------- */
.colc { --colc-gap: 24px; --colc-n: 3; }
.colc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.colc-nav { display: flex; gap: 10px; flex: none; }
.colc-nav[hidden] { display: none; }
.colc-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 18px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 0 var(--ink); transition: background .15s, transform .15s; }
.colc-btn:hover:not(:disabled) { background: var(--sun); }
.colc-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.colc-track { list-style: none; margin: 0; padding: 4px 4px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--colc-gap) * (var(--colc-n) - 1)) / var(--colc-n)); column-gap: var(--colc-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-d) transparent; }
.colc-track::-webkit-scrollbar { height: 6px; }
.colc-track::-webkit-scrollbar-thumb { background: var(--line-d); border-radius: 3px; }
.colc-item { scroll-snap-align: start; display: flex; min-width: 0; }
@media (max-width: 900px) { .colc { --colc-n: 2.2; } }
@media (max-width: 620px) { .colc { --colc-n: 1.25; --colc-gap: 14px; } .colc-btn { width: 40px; height: 40px; } .ccard__text { display: none; } }

/* =========================================================
   記事ページ
   ========================================================= */
/* ヒーロー：左にテキスト、右に記事の画像 */
.ahero { background: var(--sky); }
.ahero > .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 60px; }
.ahero .tags { margin-bottom: 16px; }
.ahero__kicker { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: .06em; margin-bottom: 8px; }
.ahero h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.4; color: var(--navy); letter-spacing: .01em; margin-bottom: 20px; }
.ahero h1 .mk { background: linear-gradient(transparent 62%, var(--sun) 62%); }
.ahero__lead { font-size: clamp(15.5px, 1.4vw, 17px); line-height: 1.95; color: #34465C; margin-bottom: 24px; max-width: 36em; }
.ahero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--tx2); }
.ahero__meta b { color: var(--navy); margin-right: 4px; }
.ahero__media { display: flex; justify-content: center; }
.ahero__media img { display: block; width: 100%; max-width: 440px; background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--sun); }
.ahero__media img.is-photo { aspect-ratio: 1 / 1; object-fit: cover; max-width: 400px; }
.ahero__media img.is-contain { padding: 20px; object-fit: contain; }

/* 目次（追従するページ内リンク） */
.jump { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.jump.is-stuck { box-shadow: 0 8px 18px rgba(18,40,60,.08); }
.jump .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.jump a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--line-d); }
.jump a.is-current { text-decoration-color: var(--sun-2); text-decoration-thickness: 3px; }

/* セクション・見出し */
.sec { background: #fff; }
.sec > .wrap { padding-top: 80px; padding-bottom: 80px; }
.sec--tint { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--dark { background: var(--sky); }
.eyebrow { display: inline-block; font-family: var(--en); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--ink); text-transform: uppercase; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 14px; line-height: 1.6; margin-bottom: 18px; }
.h2 { font-weight: 900; font-size: clamp(24px, 3vw, 36px); line-height: 1.5; letter-spacing: .01em; color: var(--navy); margin-bottom: 20px; }
.h3 { font-size: 19px; font-weight: 700; line-height: 1.6; color: var(--navy); margin-bottom: 10px; }
.sub-h { font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 1.6; color: var(--navy); margin: 64px 0 22px; padding-top: 26px; border-top: 2px solid var(--navy); }
.lead { font-size: 16.5px; line-height: 1.95; color: var(--tx2); max-width: 46em; margin-bottom: 40px; }
.punch { margin-top: 40px; font-size: clamp(17px, 1.9vw, 22px); font-weight: 700; line-height: 1.8; text-align: center; color: var(--navy); }
.punch mark { background: linear-gradient(transparent 62%, var(--mark) 62%); color: inherit; }
.note { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--mute); }
.note li { padding-left: 1.2em; text-indent: -1.2em; }

/* 本文 */
.col-prose { max-width: 46em; }
.col-prose p { font-size: 16.5px; line-height: 2; color: var(--tx); }
.col-prose p + p { margin-top: 1.2em; }
.col-prose strong, .col-prose b { background: linear-gradient(transparent 62%, var(--mark) 62%); font-weight: 700; }
.col-prose h3 { font-size: clamp(18px, 1.8vw, 21px); font-weight: 900; line-height: 1.6; color: var(--navy); margin: 40px 0 14px; padding-left: 14px; border-left: 5px solid var(--sun-2); }
.col-prose h3:first-child { margin-top: 0; }
.col-prose ul { display: grid; gap: 10px; margin-top: 14px; }
.col-prose ul li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.9; color: var(--tx); }
.col-prose ul li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.col-prose ul li b { background: none; color: var(--navy); }
.col-prose a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.col-summary { max-width: 46em; margin: 0 auto; }
.col-reason { margin-top: 56px; }
.col-reason:first-of-type { margin-top: 0; }
.col-reason .sub-h { margin-top: 0; }
.col-tag { display: inline-block; margin-left: 12px; font-size: 12px; font-weight: 700; color: var(--teal); background: var(--teal-l); padding: 2px 12px; border-radius: 999px; vertical-align: 3px; letter-spacing: 0; }

/* 結論ボックス */
.col-answer { max-width: 52em; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--sun); padding: 28px 32px 30px; }
.col-answer__k { display: inline-block; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #fff; background: var(--navy); border-radius: 999px; padding: 1px 12px; margin-bottom: 12px; }
.col-answer p { font-size: 16.5px; line-height: 2; color: var(--tx); }
.col-answer p + p { margin-top: 1em; }
.col-answer strong { background: linear-gradient(transparent 62%, var(--mark) 62%); }

/* 目次ボックス */
.col-toc { max-width: 52em; margin-top: 36px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px 30px 26px; }
.col-toc h2 { font-size: 16px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.col-toc ol { list-style: decimal; padding-left: 1.6em; display: grid; gap: 4px; }
.col-toc li { font-size: 15px; line-height: 1.8; color: var(--teal); }
.col-toc a { text-decoration: underline; text-underline-offset: 3px; }

/* 表 */
.tbl-wrap { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.tbl { width: 100%; font-size: 15px; line-height: 1.8; text-align: left; }
.tbl th, .tbl td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; border-bottom: 0; }
.tbl thead th.is-us { background: var(--teal); }
.tbl tbody th { width: 11.5em; font-weight: 700; color: var(--navy); background: var(--bg); }
.tbl td { color: var(--tx2); }
.tbl .is-us { background: #F6FBFB; color: var(--navy); font-weight: 500; }
.tbl tbody th.is-us { background: var(--teal-l); }
.tbl td b { color: var(--navy); }
.tbl .big { font-family: var(--en); font-size: 19px; font-weight: 700; color: var(--navy); }
.col-tbl td:nth-child(3), .col-tbl th:nth-child(3) { white-space: nowrap; }

/* カード・グリッド */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--sky-p); border-radius: 18px; padding: 26px 26px 28px; }
.card p { font-size: 15px; line-height: 1.9; color: var(--tx2); }
.card p + p { margin-top: .6em; }
.card__kicker { font-family: var(--en); font-size: 12.5px; font-weight: 700; color: var(--teal); letter-spacing: .06em; margin-bottom: 6px; }
.card__no { font-family: var(--en); font-size: 34px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 16px; }
.checks { display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.8; color: var(--tx); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* 数字 */
.col-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 8px 0 20px; }
.col-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px; }
.col-stats b { display: block; font-family: var(--en); font-size: clamp(34px, 4vw, 46px); font-weight: 700; line-height: 1.1; color: var(--teal); }
.col-stats b small { font-size: .5em; margin-left: 2px; }
.col-stats span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--tx2); }

/* 事例 */
.col-case { display: grid; grid-template-columns: minmax(0, 1fr) 15em; gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px 32px; margin-top: 20px; }
.col-case__kicker { font-size: 12.5px; font-weight: 700; color: var(--teal); letter-spacing: .06em; margin-bottom: 6px; }
.col-case .h3 { font-size: 20px; }
.col-case p { font-size: 15.5px; line-height: 1.95; color: var(--tx2); }
.col-case p + p { margin-top: .8em; }
.col-case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.col-case__tags span { font-size: 12.5px; font-weight: 700; color: var(--teal); background: var(--teal-l); padding: 2px 12px; border-radius: 999px; }
.col-case__fig { align-self: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; text-align: center; }
.col-case__fig b { display: block; white-space: nowrap; font-family: var(--en); font-size: 34px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.col-case__fig b small { font-family: var(--jp); font-size: 15px; font-weight: 700; margin-left: 2px; }
.col-case__fig span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--tx2); }
.col-case__src { margin-top: 14px; font-size: 12.5px; color: var(--mute); }
.col-case__src a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }

/* 囲み（計算・実例・注意） */
.col-calc { max-width: 46em; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sun-2); border-radius: 14px; padding: 20px 24px; }
.col-calc__label { font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.col-calc h3 { font-size: 17px; font-weight: 900; line-height: 1.6; color: var(--navy); margin-bottom: 10px; }
.col-calc__row, .col-calc p { font-size: 15.5px; line-height: 2; color: var(--tx); }
.col-calc p + p { margin-top: .8em; }
.col-calc__row b, .col-calc p b { color: var(--navy); }
.col-calc__note { margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: var(--mute); }

/* 番号付きの手順・理由 */
.col-steps { list-style: none; counter-reset: st; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; max-width: 52em; }
.col-steps > li { counter-increment: st; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px 20px 76px; }
.col-steps > li::before { content: counter(st); position: absolute; left: 22px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--en); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.col-steps b, .col-steps h3 { display: block; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.col-steps p { margin-top: 6px; font-size: 15px; line-height: 1.9; color: var(--tx2); }
.col-steps p b { display: inline; font-size: inherit; background: linear-gradient(transparent 62%, var(--mark) 62%); }
.col-steps .col-steps__sub { font-size: 13.5px; color: var(--mute); }

/* 流れ図（横並びのチップ） */
.col-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.col-chain em { font-style: normal; font-size: 14.5px; font-weight: 700; color: var(--navy); background: var(--bg); border: 1.5px solid var(--line-d); border-radius: 999px; padding: 4px 14px; }
.col-chain em.hi { background: var(--sun); border-color: var(--ink); color: var(--ink); }
.col-chain i { font-style: normal; font-weight: 700; color: var(--faint); }

/* サービス紹介ボックス */
.col-service { background: #fff; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 6px 6px 0 var(--sky-p); }
.col-service__h { background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; padding: 12px 28px; }
.col-service__b { padding: 28px 30px 32px; }
.col-service__b > h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 1.6; color: var(--navy); margin-bottom: 14px; }
.col-service__b > p { font-size: 15.5px; line-height: 1.95; color: var(--tx2); }
.col-service__b > p b { background: linear-gradient(transparent 62%, var(--mark) 62%); color: var(--navy); }
.col-service__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.col-service__i { background: var(--bg); border-radius: 14px; padding: 18px 20px; }
.col-service__i h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.col-service__i p { font-size: 14px; line-height: 1.85; color: var(--tx2); }
.col-service .btns { margin-top: 26px; }

/* よくある質問 */
.col-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; }
.col-faq summary { position: relative; padding: 18px 52px 18px 22px; font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--navy); cursor: pointer; list-style: none; }
.col-faq summary::-webkit-details-marker { display: none; }
.col-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--en); font-size: 22px; color: var(--teal); }
.col-faq details[open] summary::after { content: "−"; }
.col-faq .a { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.95; color: var(--tx); }

/* 関連ページ */
.col-related h2 { font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 18px; }
.col-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.col-related__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: inherit; transition: transform .18s, box-shadow .18s; }
.col-related__item:hover { color: inherit; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,59,92,.08); }
.col-related__t { font-size: 12px; font-weight: 700; color: var(--teal); }
.col-related__item h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 2px 0 6px; }
.col-related__item p { font-size: 13.5px; line-height: 1.8; color: var(--mute); flex: 1; }
.col-related__go { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--teal); }

/* CTA（ヒーローと同じ空色でページを締める） */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::before { width: 220px; height: 220px; background: rgba(255,217,127,.45); left: -60px; top: -70px; }
.cta::after { width: 180px; height: 180px; background: rgba(204,190,226,.5); right: -40px; bottom: -60px; }
.cta > .wrap { position: relative; z-index: 1; }
.cta .h2 { font-size: clamp(23px, 3.2vw, 34px); }
.cta__lead { font-size: 16px; line-height: 1.95; color: #34465C; margin: 0 auto 30px; max-width: 42em; }
.cta .btns { justify-content: center; }
.cta__note { margin-top: 20px; font-size: 13.5px; color: var(--mute); }

/* 参考情報 */
.col-sources-sec > .wrap { padding-top: 56px; padding-bottom: 56px; }
.col-sources { margin-top: 12px; }
.col-sources li { font-size: 13px; line-height: 1.8; color: var(--mute); padding-left: 1.2em; text-indent: -1.2em; }
.col-sources li::before { content: "・"; }
.col-sources a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }

/* 追従CV（ヒーローを過ぎたら表示し、最下部のCTAが見えたら隠す） */
.cv-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31,59,92,.08); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; visibility: hidden; }
.cv-bar.is-show { transform: none; visibility: visible; }
.cv-bar .wrap { display: flex; align-items: center; gap: 20px; }
.cv-bar__txt { flex: 1; min-width: 0; font-size: 15px; font-weight: 900; color: var(--navy); line-height: 1.5; }
.cv-bar__txt small { display: block; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.cv-bar .btns { flex: none; gap: 12px; flex-wrap: nowrap; }
.cv-bar .btn { padding: 10px 22px; font-size: 14px; white-space: nowrap; }

/* 問診バナー（右下に固定） */
.btn-bn { display: block; width: 50vw; height: 50vw; position: fixed; bottom: 20px; right: 20px; z-index: 55; border-radius: 2vw; overflow: hidden; transition: bottom .25s ease; }
.btn-bn img { display: block; width: 100%; height: auto; }
body.cv-on .btn-bn { bottom: 96px; }
@media (min-width: 640px) { .btn-bn { width: 280px; height: 280px; border-radius: 8px; } }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1000px) {
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lhero { display: block; min-height: 0; }
  .lhero__img { position: static; aspect-ratio: 16 / 9; object-position: 100% 60%; }
  .lhero::after { display: none; }
  .lhero__in { padding: 28px 24px 44px; }
  .lhero .lead { max-width: none; }
}
@media (max-width: 900px) {
  .ahero > .wrap { grid-template-columns: 1fr; gap: 32px; }
  .ahero__media img { max-width: 360px; }
  .jump .wrap { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 20px; padding-top: 12px; padding-bottom: 12px; white-space: nowrap; }
  .jump .wrap::-webkit-scrollbar { display: none; }
  .jump a { flex: 0 0 auto; font-size: 13.5px; }
  .grid--3 { grid-template-columns: 1fr; }
  .col-case { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px 28px; }
  .col-case__fig { text-align: left; display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; }
  .col-case__fig span { margin-top: 0; }
  .col-stats { grid-template-columns: 1fr; gap: 12px; }
  .col-service__grid { grid-template-columns: 1fr; }
  .cv-bar__txt { display: none; }
  .cv-bar .btns { flex: 1; justify-content: center; }
}
@media (max-width: 860px) {
  .filter { position: static; }
  .filter .wrap { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec > .wrap { padding-top: 56px; padding-bottom: 56px; }
  .ahero > .wrap { padding-top: 32px; padding-bottom: 44px; }
  .ahero__media img { max-width: 280px; }
  .lead { margin-bottom: 30px; }
  .sub-h { margin-top: 48px; }
  .col-prose p, .col-answer p { font-size: 16px; }
  br.pc { display: none; }
  .grid--2 { grid-template-columns: 1fr; }
  .card { padding: 22px 20px 24px; }
  .col-answer { padding: 22px 20px 24px; }
  .col-toc { padding: 20px 20px 22px; }
  .col-service__b { padding: 22px 20px 26px; }
  .col-service__h { padding: 10px 20px; }
  .col-steps > li { padding: 18px 18px 18px 62px; }
  .col-steps > li::before { left: 14px; width: 34px; height: 34px; font-size: 15px; }
  .col-tag { display: table; margin: 8px 0 0; }
  .btns .btn { width: 100%; }
  .col-faq summary { padding: 16px 46px 16px 18px; font-size: 15.5px; }
  .col-faq .a { padding: 0 18px 18px; }
  .cgrid, .col-related__grid { grid-template-columns: 1fr; }
  /* 表：行ごとのカード表示に */
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100% !important; }
  .tbl tbody th { padding: 10px 16px; border-bottom: 0; }
  .tbl td { padding: 10px 16px; border-bottom: 0; }
  .tbl tr { border-bottom: 1px solid var(--line); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; color: var(--mute); letter-spacing: .04em; }
  .tbl td.is-us::before { color: var(--teal); }
  .col-tbl td:nth-child(3), .col-tbl th:nth-child(3) { white-space: normal; }
  .cv-bar { padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
  .cv-bar .btns { gap: 8px; }
  .cv-bar .btn { flex: 1; width: auto; padding: 10px 8px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
  body.cv-on .btn-bn { bottom: 84px; }
}
