/* =====================================================================
   スマートクチコミアシスト コラム
   ===================================================================== */

.column-page { background: var(--sub); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap--column { max-width: 860px; padding-top: 22px; padding-bottom: 80px; }

/* ============ パンくずリスト ============ */
.cbread ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: var(--muted); }
.cbread li { display: inline-flex; align-items: center; }
.cbread li + li::before { content: "›"; margin: 0 8px; color: #a3a5aa; }
.cbread a { color: var(--muted); }
.cbread [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28em; }

/* ============ 記事 ============ */
.carticle { margin-top: 18px; padding: 44px 52px 40px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.carticle__cat a { display: inline-block; padding: 3px 12px; border-radius: 99px; background: var(--t-blue); color: var(--primary-hover); font-size: 12px; font-weight: 700; text-decoration: none; }
.carticle__title { margin-top: 14px; font-family: var(--f-round); font-size: 30px; font-weight: 800; line-height: 1.5; letter-spacing: .01em; }
.carticle__meta { display: flex; flex-wrap: wrap; gap: 0 6px; margin-top: 14px; color: var(--muted); font-size: 13px; }

/* 目次 */
.ctoc { margin: 30px 0 6px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sub); }
.ctoc__title { font-weight: 700; font-size: 15px; }
.ctoc ol { margin-top: 8px; counter-reset: toc; display: grid; gap: 4px; }
.ctoc li { counter-increment: toc; display: flex; gap: 10px; font-size: 14px; line-height: 1.7; }
.ctoc li::before { content: counter(toc); flex: none; width: 22px; height: 22px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--f-en); font-size: 12px; font-weight: 700; }
.ctoc a { color: var(--text); text-decoration: none; }
.ctoc a:hover { color: var(--primary); text-decoration: underline; }

/* 本文 */
.cbody { font-size: 16px; line-height: 2; }
.cbody > * + * { margin-top: 1.1em; }
.cbody h2 { margin-top: 2.6em; padding: 14px 18px; border-left: 6px solid var(--primary); border-radius: 0 10px 10px 0; background: var(--t-blue); font-family: var(--f-round); font-size: 22px; font-weight: 800; line-height: 1.5; }
.cbody h3 { margin-top: 2em; padding-bottom: 6px; border-bottom: 2px solid var(--line); font-size: 18px; font-weight: 700; line-height: 1.6; }
.cbody h2 + *, .cbody h3 + * { margin-top: 1em; }
.cbody ul, .cbody ol { display: grid; gap: .35em; padding-left: 1.6em; }
.cbody ul { list-style: disc; }
.cbody ol { list-style: decimal; }
.cbody li::marker { color: var(--primary); font-weight: 700; }
.cbody strong { background: linear-gradient(transparent 62%, var(--t-yellow) 62%); }
.cbody a { text-underline-offset: 3px; }
.cbody code { padding: 1px 6px; border-radius: 6px; background: var(--sub); font-size: .9em; }
.cbody blockquote { padding: 16px 20px; border-left: 4px solid var(--line); background: var(--sub); border-radius: 0 10px 10px 0; color: #3b3d42; }
.cbody blockquote p + p { margin-top: .5em; }
.cfig img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.cfig figcaption { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.cfig--small { max-width: 300px; margin-left: auto; margin-right: auto; }
.cfig--small img { width: auto; max-height: 300px; margin: 0 auto; border-radius: 0; }
.carticle__eyecatch { margin-top: 24px; }
.carticle__eyecatch img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius-sm); }

/* クチコミと返信のカード */
.crev { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: 0 2px 10px rgba(20, 20, 20, .05); }
.crev__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.crev__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #7b8ce0; color: #fff; font-weight: 700; font-size: 15px; }
.crev__name { font-weight: 700; font-size: 14px; }
.crev__stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; color: #d6d6d6; }
.crev__stars i { font-style: normal; }
.crev__stars i.on { color: var(--star); }
.crev__text { margin-top: 10px; font-size: 15px; line-height: 1.9; }
.crev__empty { margin-top: 10px; font-size: 13px; color: #8a8c92; }
.crev__reply { margin-top: 14px; padding: 14px 16px; border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; background: #f5f7ff; font-size: 14.5px; line-height: 1.9; }
.crev__owner { font-weight: 700; font-size: 13px; color: var(--primary-hover); }
.crev__reply > * + *, .crev__text > * + * { margin-top: .5em; }
.crev__cap { margin-top: 10px; font-size: 11px; color: #8a8c92; text-align: right; }

/* 手順の比較の図 */
.cflow { padding: 20px 22px; border-radius: var(--radius-sm); background: var(--sub); }
.cflow__title { margin-bottom: 12px; font-weight: 700; font-size: 15px; text-align: center; }
.cflow__row { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cflow__row + .cflow__row { margin-top: 10px; }
.cflow__row--good { border: 2px solid var(--primary); }
.cflow__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.cflow__row--good .cflow__label { color: var(--primary-hover); }
.cflow__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 8px; }
.cflow__step { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--t-gray); font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.cflow__step b { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--muted); color: #fff; font-family: var(--f-en); font-size: 12px; }
.cflow__row--good .cflow__step { background: var(--t-blue); color: var(--primary-hover); }
.cflow__row--good .cflow__step b { background: var(--primary); }
.cflow__arrow { color: #a3a5aa; font-weight: 700; }

/* 表 */
.ctable { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ctable table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.ctable th, .ctable td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.ctable thead th { background: var(--dark); color: #fff; }
.ctable tbody th { background: var(--sub); white-space: nowrap; }

/* 枠（ポイント・やってよいこと・やってはいけないこと・補足・例） */
.cbox { padding: 18px 22px; border-radius: var(--radius-sm); border: 2px solid var(--primary); background: #f5f7ff; }
.cbox > * + * { margin-top: .7em; }
.cbox__title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-hover); }
.cbox__title::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; }
.cbox--ok { border-color: var(--success); background: #f1faf5; }
.cbox--ok .cbox__title { color: var(--success); }
.cbox--ok .cbox__title::before { background: var(--success); }
.cbox--ng { border-color: var(--accent); background: #fff5f2; }
.cbox--ng .cbox__title { color: var(--accent-text); }
.cbox--ng .cbox__title::before { content: "×"; background: var(--accent-text); }
.cbox--note { border-color: var(--line); background: var(--sub); }
.cbox--note .cbox__title { color: var(--text); }
.cbox--note .cbox__title::before { content: "i"; background: var(--muted); font-family: var(--f-en); }
.cbox--example { border-style: dashed; border-color: #b9c6ff; background: #fff; }
.cbox--example .cbox__title::before { content: "例"; font-size: 11px; }

/* よくある質問 */
.cfaq { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.cbody .cfaq__q { display: flex; gap: 10px; margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 1.7; }
.cfaq__q span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--f-en); font-size: 14px; }
.cfaq__a { margin-top: 8px; padding-left: 36px; font-size: 15px; line-height: 1.9; }
.cfaq__a > * + * { margin-top: .6em; }
.cfaq + .cfaq { margin-top: 12px; }

/* 書いた人 */
.cauthor { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: center; margin-top: 48px; padding: 18px 22px; border-top: 1px solid var(--line); background: var(--sub); border-radius: var(--radius-sm); }
.cauthor__icon { grid-row: 1 / span 2; align-self: start; width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.cauthor__name { font-weight: 700; font-size: 14px; }
.cauthor__text { font-size: 13px; line-height: 1.8; color: #3b3d42; }
@media (max-width: 760px) {
  .cauthor { grid-template-columns: 44px 1fr; gap: 10px 12px; }
  .cauthor__icon { grid-row: auto; align-self: center; width: 44px; height: 44px; border-radius: 11px; }
  .cauthor__text { grid-column: 1 / -1; }
}

/* ============ 申し込みの案内 ============ */
.ccta { margin-top: 40px; padding: 34px 36px; border-radius: var(--radius); background: var(--dark); color: #fff; text-align: center; }
.ccta__eyebrow { display: inline-block; padding: 3px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); color: var(--star); font-size: 12px; font-weight: 700; }
.ccta__title { margin-top: 12px; font-family: var(--f-round); font-size: 24px; font-weight: 800; line-height: 1.5; }
.ccta__text { margin: 10px auto 0; max-width: 34em; font-size: 14px; line-height: 1.9; color: #dfe0e4; }
.ccta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.ccta__actions .btn--outline { background: transparent; border-color: #fff; color: #fff; }
.ccta__actions .btn--outline:hover { background: rgba(255, 255, 255, .1); }
.ccta__note { margin-top: 12px; font-size: 12px; color: #a9abb1; }
.cbody .ccta--compact { margin-top: 2.2em; padding: 24px 24px; text-align: left; }
.ccta--compact .ccta__title { font-size: 19px; }
.ccta--compact .ccta__text { margin-left: 0; }
.ccta--compact .ccta__actions { justify-content: flex-start; }

/* ============ あわせて読みたい・一覧 ============ */
.crel { margin-top: 48px; }
.crel__title, .ccat__title { font-family: var(--f-round); font-size: 20px; font-weight: 800; }
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.ccard__link { display: grid; gap: 8px; align-content: start; height: 100%; padding: 20px 22px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ccard__link:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(20, 20, 20, .06), 0 18px 44px rgba(20, 20, 20, .12); }
.ccard__img { display: block; margin: -20px -22px 4px; }
.ccard__img img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.ccard__cat { justify-self: start; padding: 2px 10px; border-radius: 99px; background: var(--t-blue); color: var(--primary-hover); font-size: 11px; font-weight: 700; }
.ccard__title { font-weight: 700; font-size: 16px; line-height: 1.6; }
.ccard__desc { font-size: 13px; line-height: 1.8; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__date { font-size: 12px; color: #8a8c92; }
.ccard__date time { margin-right: 4px; }

.cindex__head { margin-top: 18px; padding: 40px 44px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.cindex__title { font-family: var(--f-round); font-size: 32px; font-weight: 800; }
.cindex__lead { margin-top: 10px; color: #3b3d42; font-size: 15px; }
.ccat { margin-top: 40px; }
.cgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cgroup { padding: 18px 22px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); scroll-margin-top: calc(var(--hd) + 16px); }
.cgroup__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.cgroup__title span { padding: 1px 8px; border-radius: 99px; background: var(--t-blue); color: var(--primary-hover); font-size: 11px; }
.cgroup__list { display: grid; gap: 6px; margin-top: 10px; }
.cgroup__list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.7; }
.cgroup__list li::before { content: "›"; position: absolute; left: 2px; color: var(--primary); font-weight: 700; }
.cgroup__list a { color: var(--text); text-decoration: none; }
.cgroup__list a:hover { color: var(--primary); text-decoration: underline; }
@media (max-width: 760px) { .cgroups { grid-template-columns: 1fr; } }

/* ============ スマホ ============ */
@media (max-width: 760px) {
  .wrap--column { padding-top: 14px; padding-bottom: 60px; }
  .carticle { padding: 26px 20px 28px; border-radius: var(--radius-sm); }
  .carticle__title { font-size: 23px; }
  .ctoc { padding: 16px 16px; }
  .cbody { font-size: 15.5px; line-height: 1.95; }
  .cbody h2 { font-size: 19px; padding: 12px 14px; }
  .cbody h3 { font-size: 17px; }
  .cbox { padding: 16px 16px; }
  .ctable table, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; min-width: 0; }
  .ctable thead { display: none; }
  .ctable tr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .ctable tr + tr { margin-top: 10px; }
  .ctable th, .ctable td { border: 0; }
  .ctable tbody th { background: var(--dark); color: #fff; white-space: normal; }
  .ctable td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
  .ctable td + td { border-top: 1px dashed var(--line); }
  .cfig--small img { max-height: 240px; }
  .cflow { padding: 16px 14px; }
  .cflow__steps { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cflow__arrow { display: block; margin-left: 10px; line-height: 1.2; transform: rotate(90deg); }
  .cfaq { padding: 16px 16px; }
  .cfaq__a { padding-left: 0; }
  .ccta { padding: 28px 20px; border-radius: var(--radius-sm); }
  .ccta__title { font-size: 20px; }
  .ccta__actions .btn { width: 100%; }
  .cindex__head { padding: 28px 22px; border-radius: var(--radius-sm); }
  .cindex__title { font-size: 26px; }
}

/* ============ 一覧のページ送り ============ */
.cindex__title small { margin-left: 10px; font-size: 16px; font-weight: 700; color: var(--muted); }
.ccat__count { margin-top: 6px; font-size: 13px; color: var(--muted); }
.cpager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cpager__list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cpager__num, .cpager__step { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 14px; text-decoration: none; }
.cpager a:hover { border-color: var(--primary); color: var(--primary); }
.cpager__num.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.cpager__step.is-disabled { color: #b8b9bd; background: transparent; }
.cpager__gap { padding: 0 2px; color: var(--muted); }
@media (max-width: 760px) {
  .cpager { gap: 6px; }
  .cpager__num, .cpager__step { min-width: 40px; height: 40px; padding: 0 10px; font-size: 13px; }
}
