@charset "UTF-8";
/* ==========================================================================
   お役立ちコラム
   ========================================================================== */

/* ---------- 共通ヘッダー ---------- */
.chead { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.chead__inner {
  width: min(1120px, 92%); margin-inline: auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.chead__logo img { width: auto; height: 36px; }
.chead__nav { display: flex; align-items: center; gap: 18px; }
.chead__nav a { font-size: 13.5px; font-weight: 700; color: var(--blue-dark); white-space: nowrap; }
.chead__nav a:hover { color: var(--red); }

/* ---------- パンくず ---------- */
.crumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12.5px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 7px; padding: 9px 0; color: var(--gray); }
.crumb li + li::before { content: "›"; margin-right: 7px; color: var(--gray); }
.crumb a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 記事ヘッダー ---------- */
.chero { background: linear-gradient(180deg, #EAF2FB 0%, #F7FAFE 100%); padding: 40px 0 34px; }
.chero__cat {
  display: inline-block; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.chero h1 {
  font-size: clamp(22px, 3.4vw, 34px); font-weight: 900; color: var(--blue-dark);
  line-height: 1.5; margin-bottom: 14px;
}
.chero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--gray); }
.chero__meta time { font-variant-numeric: tabular-nums; }

/* ---------- 本文 ---------- */
.carticle { padding: 44px 0 70px; }
.carticle__lead {
  font-size: 16.5px; line-height: 2.05; color: #2E3742;
  background: #F7FAFE; border-left: 5px solid var(--blue); border-radius: 0 10px 10px 0;
  padding: 20px 24px; margin-bottom: 40px;
}
.carticle h2 {
  font-size: clamp(19px, 2.6vw, 25px); font-weight: 900; color: var(--blue-dark);
  line-height: 1.5; margin: 52px 0 18px; padding-bottom: 12px;
  border-bottom: 3px solid var(--line); position: relative;
}
.carticle h2::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 90px; height: 3px; background: var(--red);
}
.carticle h3 {
  font-size: clamp(16.5px, 2vw, 19px); font-weight: 900; color: var(--blue-dark);
  line-height: 1.6; margin: 34px 0 12px; padding-left: 14px; border-left: 5px solid var(--blue);
}
.carticle p { font-size: 16px; line-height: 2.0; color: #333B46; margin-bottom: 18px; }
.carticle strong { font-weight: 900; color: var(--blue-dark); background: linear-gradient(transparent 62%, #FDF3A6 62%); }
.carticle a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.carticle a:not(.btn):hover { color: var(--red); }

.carticle ul, .carticle ol { margin: 0 0 20px; padding-left: 1.5em; }
.carticle ul { list-style: disc; }
.carticle ol { list-style: decimal; }
.carticle li { font-size: 15.5px; line-height: 1.95; color: #333B46; margin-bottom: 8px; }

/* ---------- 目次 ---------- */
.toc-box {
  background: #fff; border: 2px solid var(--indigo); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 44px;
}
.toc-box__title {
  font-size: 15.5px; font-weight: 900; color: var(--blue-dark); margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.toc-box ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-box li { counter-increment: toc; margin-bottom: 8px; font-size: 14.5px; line-height: 1.7; }
.toc-box li::before {
  content: counter(toc); display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 900; margin-right: 9px; vertical-align: 1px;
}
.toc-box a { color: #333B46; text-decoration: none; font-weight: 700; }
.toc-box a:hover { color: var(--red); text-decoration: underline; }

/* ---------- 表 ---------- */
.ctable-wrap { overflow-x: auto; margin-bottom: 24px; }
.ctable { width: 100%; min-width: 480px; font-size: 14.5px; border: 1px solid var(--line); }
.ctable th, .ctable td { padding: 12px 16px; border: 1px solid var(--line); line-height: 1.8; text-align: left; vertical-align: top; }
.ctable thead th { background: var(--blue-dark); color: #fff; font-weight: 900; white-space: nowrap; }
.ctable tbody th { background: #F2F6FC; color: var(--blue-dark); font-weight: 900; white-space: nowrap; }

/* ---------- 注意ボックス ---------- */
.cnote {
  background: #FFF8EC; border: 1px solid #F3D18B; border-radius: 10px;
  padding: 18px 22px; margin: 0 0 24px;
}
.cnote__title { font-size: 14.5px; font-weight: 900; color: #8A5A06; margin-bottom: 6px; }
.cnote p, .cnote li { font-size: 14.5px; color: #6B4A0C; line-height: 1.9; margin-bottom: 0; }

.cpoint {
  background: #F2F6FC; border: 2px solid var(--blue); border-radius: 12px;
  padding: 20px 24px; margin: 0 0 28px;
}
.cpoint__title { font-size: 15px; font-weight: 900; color: var(--blue-dark); margin-bottom: 10px; }
.cpoint ul { margin-bottom: 0; }
.cpoint li { font-size: 15px; color: #2E3742; }

/* ---------- FAQ ---------- */
.cfaq { margin-top: 20px; }
.cfaq__item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.cfaq__q {
  background: #F7FAFE; padding: 16px 20px 16px 52px; position: relative;
  font-size: 15.5px; font-weight: 900; color: var(--blue-dark); line-height: 1.7;
}
.cfaq__q::before {
  content: "Q"; position: absolute; left: 18px; top: 15px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px;
  display: grid; place-items: center;
}
.cfaq__a { padding: 16px 20px 16px 52px; position: relative; }
.cfaq__a::before {
  content: "A"; position: absolute; left: 18px; top: 15px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--red); color: #fff; font-size: 13px;
  display: grid; place-items: center;
}
.cfaq__a p { font-size: 15px; margin-bottom: 0; }

/* ---------- 記事内CTA ---------- */
.ccta {
  background: linear-gradient(160deg, #17366E 0%, #235096 100%); color: #fff;
  border-radius: 16px; padding: 34px 32px; margin: 52px 0 40px; text-align: center;
}
.ccta__label { font-size: 12.5px; font-weight: 700; color: var(--yellow); letter-spacing: .1em; margin-bottom: 8px; }
.ccta__title { font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; line-height: 1.55; margin-bottom: 12px; }
.ccta__text { font-size: 14.5px; color: #D6E4F6; line-height: 1.9; margin-bottom: 22px; }
.ccta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- 免責 ---------- */
.cdisc {
  font-size: 12.5px; color: var(--gray); line-height: 1.9;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 36px;
}

/* ---------- 関連記事 ---------- */
.crel { background: var(--bg); padding: 54px 0 64px; }
.crel__title {
  text-align: center; font-size: clamp(19px, 2.4vw, 24px); font-weight: 900;
  color: var(--blue-dark); margin-bottom: 26px;
}
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ccard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 4px 14px rgba(23, 54, 110, .05);
  transition: transform .2s, box-shadow .2s, border-color .2s; display: block;
}
.ccard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23, 54, 110, .12); border-color: var(--blue); }
.ccard__cat {
  display: inline-block; background: #EEF3FA; color: var(--blue); font-size: 11.5px;
  font-weight: 900; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
}
.ccard__title { font-size: 16.5px; font-weight: 900; color: var(--blue-dark); line-height: 1.6; margin-bottom: 8px; }
.ccard__text { font-size: 13.5px; color: var(--gray); line-height: 1.85; }

/* ---------- 一覧ページ ---------- */
.clist { padding: 50px 0 70px; }
.clist__lead { text-align: center; color: var(--gray); font-size: 15.5px; margin-bottom: 40px; }

@media (max-width: 780px) {
  .chead__inner { height: 58px; }
  .chead__logo img { height: 30px; }
  .chead__nav { gap: 12px; }
  .chead__nav a { font-size: 12px; }
  .chead__nav .btn { padding: 8px 14px; font-size: 12.5px; }
  .chero { padding: 28px 0 24px; }
  .carticle { padding: 32px 0 52px; }
  .carticle__lead { font-size: 15px; padding: 16px 18px; margin-bottom: 30px; }
  .carticle p { font-size: 15.5px; line-height: 1.95; }
  .toc-box { padding: 18px 20px; }
  .ccta { padding: 26px 20px; }
  .ccta .btn { width: 100%; }
}
