/* コラム（/column）と LP のコラムの節（E-580）。色・文字は style.css の変数を使う。写真の角は丸めない */

/* ---------- LP のコラムの節・一覧のカード ---------- */
.col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.col-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.col-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11, 22, 64, .12); }
.col-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.col-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.col-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 22px; flex: 1; }
.col-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); }
.col-cat { display: inline-block; padding: 3px 10px; font-weight: 700; font-size: .75rem; color: #fff; background: var(--teal); }
.col-card-title { font-size: 1.02rem; line-height: 1.55; font-weight: 800; color: var(--navy); }
.col-card-desc { font-size: .86rem; line-height: 1.7; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.col-more { margin-top: 36px; text-align: center; }
@media (max-width: 960px) { .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .col-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- コラムのページの共通 ---------- */
.col-page { padding: 48px 0 96px; }
.col-crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.col-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.col-crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.col-crumbs a { color: var(--teal); text-decoration: none; }
.col-crumbs a:hover { text-decoration: underline; }
.col-head { margin-bottom: 36px; }
.col-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.45; font-weight: 900; color: var(--navy); }
.col-head p { margin-top: 12px; color: var(--muted); }

/* ---------- 記事 ---------- */
.col-article { max-width: 780px; margin: 0 auto; }
.col-article h1 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.5; font-weight: 900; color: var(--navy); margin: 12px 0 18px; }
.col-eyecatch { margin: 24px 0 28px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.col-eyecatch img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.col-lead { font-size: 1.02rem; line-height: 1.95; padding: 18px 20px; background: #fff; border-left: 4px solid var(--teal); }
.col-body { margin-top: 12px; }
.col-body h2 { font-size: 1.35rem; line-height: 1.5; font-weight: 900; color: var(--navy); margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.col-body h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 28px 0 10px; padding-left: 12px; border-left: 4px solid var(--orange); }
.col-body p { line-height: 2; margin: 14px 0; }
.col-body ul, .col-body ol { margin: 14px 0; padding-left: 1.5em; line-height: 1.9; }
.col-body ul { list-style: disc; }
.col-body ol { list-style: decimal; }
.col-body li { margin: 6px 0; }
.col-body strong { color: var(--navy); }
.col-body .point { margin: 24px 0; padding: 18px 20px; background: var(--bg-2); border: 1px solid var(--line); }
.col-body .point p { margin: 0; line-height: 1.85; }

/* 記事の下のお申込みの案内 */
.col-cta { margin: 56px 0 0; padding: 32px 28px; background: linear-gradient(160deg, #081033, var(--navy) 60%, #0f1f57); color: #fff; text-align: center; }
.col-cta h2 { font-size: 1.3rem; font-weight: 900; line-height: 1.5; }
.col-cta p { margin: 12px 0 22px; color: #c8d6ff; font-size: .92rem; line-height: 1.8; }
.col-cta .btn { justify-content: center; }

/* 前後・関連の記事 */
.col-related { margin-top: 64px; }
.col-related h2 { font-size: 1.2rem; font-weight: 900; color: var(--navy); margin-bottom: 18px; }
.col-back { margin-top: 36px; text-align: center; }

@media (max-width: 640px) {
  .col-page { padding: 28px 0 72px; }
  .col-lead { padding: 14px 16px; }
  .col-body h2 { font-size: 1.2rem; }
  .col-cta { padding: 26px 18px; }
}

/* ---------- お役立ち情報（写真の無いカード・業種のまとまり・注意書き） ---------- */
.col-card-band { aspect-ratio: 3 / 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; }
.col-card-band span { font-size: 1.25rem; font-weight: 900; letter-spacing: .08em; }
.col-group + .col-group { margin-top: 56px; }
.col-group-title { font-size: 1.3rem; font-weight: 900; color: var(--navy); margin-bottom: 18px; padding-left: 12px; border-left: 5px solid var(--teal); }
.col-notice { margin: 32px 0 0; padding: 16px 18px; background: #fff8ec; border: 1px solid #f3d9a8; font-size: .88rem; line-height: 1.85; }
.col-more .btn + .btn { margin-left: 10px; }
@media (max-width: 640px) { .col-more .btn { width: 100%; justify-content: center; } .col-more .btn + .btn { margin: 12px 0 0; } }

/* ---------- 全機能説明書（/features。E-585） ---------- */
.man { max-width: 860px; }
.man-toc { margin: 28px 0 8px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); }
.man-toc h2 { font-size: 1.05rem; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.man-toc ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
.man-toc a { color: var(--teal); text-decoration: none; font-weight: 700; font-size: .92rem; line-height: 1.6; }
.man-toc a:hover { text-decoration: underline; }
.man-sec { scroll-margin-top: 84px; }
.man-sec h2 { display: flex; align-items: center; gap: 12px; }
.man-no { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--navy); color: #fff; font: 800 .95rem/1 var(--font-en); }
.man-summary { font-weight: 700; color: var(--navy); background: var(--bg-2); padding: 12px 16px; }
.man-top { text-align: right; font-size: .82rem; }
.man-top a { color: var(--muted); }
.col-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; background: #fff; }
.col-body th, .col-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; line-height: 1.7; }
.col-body th { background: var(--bg-2); color: var(--navy); font-weight: 700; white-space: nowrap; }
.col-body .table-scroll { overflow-x: auto; }
@media (max-width: 640px) { .man-toc ol { grid-template-columns: 1fr; } .col-body th { white-space: normal; } }

/* ---------- 代理店募集（/agency。E-616） ---------- */
.ag { max-width: 860px; }
.ag-jump { margin: 24px 0 8px; text-align: center; }
.ag-sec { scroll-margin-top: 84px; }
.ag-apply { scroll-margin-top: 84px; margin-top: 56px; }
.ag-apply h2 { font-size: 1.35rem; line-height: 1.5; font-weight: 900; color: var(--navy); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.ag-apply > p { line-height: 1.9; margin-bottom: 20px; color: var(--muted); }
.ag-apply .form-wrap { max-width: none; }
@media (max-width: 640px) { .ag-jump .btn { width: 100%; justify-content: center; } }
