/* ================================================================
   コラム（/column/・カテゴリ・記事）の見た目。コラムのページだけで読む（functions.php の connec_enqueue_assets）
   承認済みモック（K8 blog-design/mock.html）の「コラム用に足すもの」と同じ値。共通の部品（ヘッダー・見出しの帯・
   ボタン・予約の導線・フッター・固定バー）は style.css のものをそのまま使い、ここでは足すだけ。
   co-nectデザインガイドライン準拠: カード＝白・枠#E5E5E5・角丸8px・薄い影／バッジ＝#FFF0E8に#F85602・角丸4px
   オレンジは強調とCTAだけ。日付・数字はMontserrat
   ================================================================ */
.column-page {
    --orange: #F85602;
    --on-orange: #FFF8F5;
    --black: #000000;
    --text: #1A1A1A;
    --sub: #666666;
    --muted: #999999;
    --bg-alt: #F7F5F3;
    --tint: #FFF0E8;
    --border: #E5E5E5;
    --num: 'Montserrat', 'Noto Sans JP', sans-serif;
    background: #FFFFFF;
}

/* ヘッダー：ほかの下層ページと同じ（ロゴと予約ボタンだけ。スマホでも予約ボタンを出す） */
.column-page .header-reserve { margin-left: auto; }
@media (max-width: 768px) { .column-page .header-reserve { display: block; } }

/* ----- 共通 ----- */
/* 「co-nect」をハイフンで折り返さない（題名・カード見出しなどテンプレート側だけ。本文は書き換えない） */
.nw { white-space: nowrap; }
.cb-seg { display: inline-block; }
/* 見出し・題名は文節で折り返し、行の長さをそろえる（対応していないブラウザでは今までどおり折れるだけ） */
.column-page .pricing-hero-sub, .cb-h1, .cb-card-title, .cb-body h2, .cb-body h3, .cb-toc a,
.cb-cta-title, .cb-cta-text, .cb-body td, .cb-body th, .cb-embed-label {
    word-break: auto-phrase; text-wrap: balance;
}
.cb-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; color: var(--sub); line-height: 1.6; }
.cb-crumb a { color: var(--sub); }
.cb-crumb a:hover { color: var(--orange); }
.cb-crumb i { font-style: normal; color: #C8C8C8; }
.cb-date { font-family: var(--num); font-size: 13px; font-weight: 600; color: var(--sub); letter-spacing: 0.02em; }
.cb-read { font-size: 12px; color: var(--muted); }
.cb-read time { font-family: var(--num); }
.cb-badge {
    display: inline-block; background: var(--tint); color: var(--orange);
    font-size: 12px; font-weight: 700; line-height: 1.5; padding: 4px 12px; border-radius: 4px;
}
a.cb-badge:hover { text-decoration: underline; }
.cb-meta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.cb-eyecatch {
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); overflow: hidden;
}
.cb-eyecatch img { width: 100%; height: 100%; object-fit: cover; }
/* アイキャッチの無い記事: 生成りの地にロゴを薄く置く */
.cb-eyecatch-none img.cb-eyecatch-logo { width: 40%; max-width: 164px; height: auto; object-fit: contain; opacity: 0.25; filter: grayscale(1); }

/* ----- 記事一覧 ----- */
.cb-list { padding: 24px 0 88px; }
.cb-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.cb-chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; line-height: 1.5;
    padding: 8px 18px; border-radius: 50px;
    border: 1px solid var(--border); background: #fff; color: var(--text);
    transition: border-color 0.2s, background 0.2s;
}
.cb-chip:hover { border-color: var(--orange); }
.cb-chip em { font-style: normal; font-family: var(--num); font-size: 12px; font-weight: 600; color: var(--muted); }
.cb-chip[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.cb-chip[aria-current="page"] em { color: rgba(255,248,245,0.8); }

.cb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cb-card {
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; transition: transform 0.2s; min-width: 0;
}
.cb-card:hover { transform: translateY(-3px); }
.cb-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.cb-card .cb-eyecatch { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.cb-card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.cb-card-title { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--text); }
.cb-card-excerpt { font-size: 14px; color: var(--sub); line-height: 1.8; }
.cb-card-more { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--orange); }
.cb-card-more:hover { text-decoration: underline; }
/* 先頭の1本は横いっぱい。全部同じ大きさだと、どれから読めばよいか分からないため */
.cb-card-feat { grid-column: 1 / -1; }
.cb-card-feat > a { display: grid; grid-template-columns: 1.25fr 1fr; }
.cb-card-feat .cb-eyecatch { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: 1px solid var(--border); }
.cb-card-feat .cb-card-body { padding: 36px 40px; justify-content: center; gap: 14px; }
.cb-card-feat .cb-card-title { font-size: 24px; line-height: 1.5; color: var(--black); }
.cb-card-feat .cb-card-more { margin-top: 8px; }
.cb-empty { color: var(--sub); font-size: 14px; }

/* ページ送り */
.cb-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.cb-pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid var(--border); border-radius: 50px; background: #fff;
    font-family: var(--num); font-size: 14px; font-weight: 600; color: var(--text); transition: border-color 0.2s;
}
.cb-pager a.page-numbers:hover { border-color: var(--orange); }
.cb-pager .page-numbers.current { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.cb-pager .page-numbers.dots { border: 0; background: none; min-width: 0; padding: 0 4px; }
.cb-pager .prev, .cb-pager .next { font-family: inherit; font-size: 13px; font-weight: 700; }

/* 一覧の下の予約の導線（「体験までの流れ」ページの末尾と同じ部品・地の色を交互に） */
.cb-list-cta { background: var(--bg-alt); }
.cb-list-cta .lp-container { text-align: center; }

@media (max-width: 960px) {
    .cb-cards { grid-template-columns: 1fr 1fr; }
    .cb-card-feat .cb-card-body { padding: 28px; }
    .cb-card-feat .cb-card-title { font-size: 20px; }
}
@media (max-width: 768px) {
    .cb-card-feat > a { display: flex; flex-direction: column; }
    .cb-card-feat .cb-eyecatch { aspect-ratio: 16 / 9; min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); }
    .cb-card-feat .cb-card-body { padding: 20px 20px 24px; gap: 10px; }
}
/* スマホ：2本目からは横並びの小さいカードにして、一覧を短く保つ */
@media (max-width: 560px) {
    .cb-cards { grid-template-columns: 1fr; gap: 12px; }
    .cb-card:not(.cb-card-feat) > a { flex-direction: row; }
    .cb-card:not(.cb-card-feat) .cb-eyecatch {
        width: 112px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--border);
    }
    .cb-card:not(.cb-card-feat) .cb-card-body { padding: 14px 14px 16px; gap: 6px; }
    .cb-card:not(.cb-card-feat) .cb-card-title { font-size: 15px; line-height: 1.55; }
    .cb-card:not(.cb-card-feat) .cb-card-excerpt,
    .cb-card:not(.cb-card-feat) .cb-card-more { display: none; }
    .cb-card:not(.cb-card-feat) .cb-read { display: none; }
    .cb-card-feat .cb-card-title { font-size: 19px; }
    .cb-filter { margin: 20px 0 24px; }
    .cb-chip { font-size: 13px; padding: 7px 14px; }
    .cb-pager { margin-top: 32px; }
}

/* ----- 記事ページ ----- */
.cb-article { max-width: 760px; margin: 0 auto; padding: 24px 20px 0; }
.cb-art-head .cb-meta { margin-top: 24px; }
.cb-h1 { font-size: 30px; font-weight: 700; line-height: 1.5; color: var(--black); margin: 12px 0 18px; }
.cb-byline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--sub); line-height: 1.5; }
.cb-byline img { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.cb-byline strong { color: var(--text); font-weight: 700; }
.cb-hero { margin-top: 24px; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg-alt); }
.cb-hero img { width: 100%; height: 100%; object-fit: cover; }

.cb-toc { margin: 32px 0 8px; background: var(--bg-alt); border-radius: 8px; padding: 22px 28px 12px; }
.cb-toc-label { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.cb-toc ol { counter-reset: toc; }
.cb-toc li { counter-increment: toc; }
.cb-toc li + li { border-top: 1px solid var(--border); }
.cb-toc a { display: flex; gap: 14px; padding: 10px 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.cb-toc a::before {
    content: counter(toc, decimal-leading-zero); flex-shrink: 0;
    font-family: var(--num); font-size: 13px; font-weight: 700; color: var(--orange); padding-top: 2px;
}
.cb-toc a:hover { color: var(--orange); }

/* 本文（受け口で残せる書式: 段落・見出し・箇条書き・表・リンク・強調・囲み .point／.box・表の枠 .tbl・書き出し .cb-lead） */
.cb-body { font-size: 16px; line-height: 1.9; color: var(--text); overflow-wrap: anywhere; }
.cb-body > p, .cb-body li { font-size: 16px; }
.cb-body p { margin: 0 0 20px; }
.cb-body > :first-child { margin-top: 40px; }
.cb-body .cb-lead { margin: 40px 0 16px; font-size: 18px; font-weight: 700; color: var(--black); }
.cb-body h2 {
    font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--black);
    border-left: 4px solid var(--orange); padding: 2px 0 2px 14px; margin: 56px 0 20px;
    scroll-margin-top: 80px;
}
.cb-body h3 { font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--text); margin: 32px 0 10px; }
.cb-body ul, .cb-body ol { margin: 0 0 20px; }
.cb-body ul li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.cb-body ul li::before { content: ''; position: absolute; left: 4px; top: 0.8em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.cb-body ol { counter-reset: cb-ol; }
.cb-body ol li { counter-increment: cb-ol; position: relative; padding-left: 28px; margin-bottom: 6px; }
.cb-body ol li::before { content: counter(cb-ol) '.'; position: absolute; left: 2px; top: 0; font-family: var(--num); font-weight: 700; color: var(--orange); }
.cb-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.cb-body strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--tint) 62%); }
.cb-body img { border-radius: 8px; margin: 24px 0; }
.cb-body .point, .cb-body .box { border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
.cb-body .point { background: var(--tint); }
.cb-body .box { background: var(--bg-alt); }
.cb-body .point b, .cb-body .box b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cb-body .point b { color: var(--orange); }
.cb-body .box b { color: var(--black); }
.cb-body .point p, .cb-body .box p { margin: 0; font-size: 15px; line-height: 1.8; }
.cb-body .point p + p, .cb-body .box p + p { margin-top: 8px; }
.cb-body p.point { font-size: 15px; line-height: 1.8; margin-top: 40px; }
.cb-body .tbl { overflow-x: auto; margin: 0 0 24px; }
.cb-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.cb-body th, .cb-body td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; vertical-align: top; }
.cb-body th { background: var(--bg-alt); font-weight: 700; font-size: 14px; }
.cb-body td:first-child { font-weight: 700; white-space: nowrap; width: 1%; }
.cb-body td.num { font-family: var(--num); font-weight: 600; }
/* 料金の記号 [co_price] のキーが違うとき（ログイン中の編集者にだけ出る） */
.co-price-missing { background: #FFE3E3; color: #B00020; font-weight: 700; padding: 0 4px; border-radius: 4px; }

.cb-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.cb-share-label { font-family: var(--num); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); margin-right: 4px; }
.cb-share a {
    font-size: 13px; font-weight: 700; line-height: 1.5; padding: 8px 16px;
    border: 1px solid var(--border); border-radius: 50px; color: var(--text); transition: border-color 0.2s, color 0.2s;
}
.cb-share a:hover { border-color: var(--orange); color: var(--orange); }

.cb-author { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; margin-top: 24px; padding: 24px; border: 1px solid var(--border); border-radius: 8px; }
.cb-author img { width: 64px; height: 64px; border-radius: 50%; grid-row: 1 / span 2; }
.cb-author-head, .cb-author-bio { grid-column: 2; }
/* 写真の無い書き手欄は、名前と肩書きだけを左に寄せる */
.cb-author-noimg { grid-template-columns: 1fr; }
.cb-author-noimg .cb-author-head, .cb-author-noimg .cb-author-bio { grid-column: 1; }
.cb-author-label { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.5; }
.cb-author-name { font-size: 16px; font-weight: 700; color: var(--black); line-height: 1.6; }
.cb-author-name small { display: inline-block; font-size: 12px; font-weight: 500; color: var(--sub); margin-left: 8px; }
.cb-author-bio { font-size: 14px; color: var(--sub); line-height: 1.8; margin-top: 6px; }

.cb-cta { margin-top: 40px; padding: 36px 24px; border-radius: 8px; background: var(--bg-alt); text-align: center; }
.cb-cta-title { font-size: 20px; font-weight: 700; color: var(--black); line-height: 1.5; margin: 12px 0 8px; }
.cb-cta-text { font-size: 14px; color: var(--sub); line-height: 1.8; margin: 0 auto 24px; max-width: 520px; }
.cb-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cb-cta-btns .btn { min-width: 240px; }
.cb-cta-sub { margin-top: 20px; font-size: 13px; color: var(--sub); }
.cb-cta-sub a { color: var(--orange); font-weight: 700; }
.cb-cta-sub a:hover { text-decoration: underline; }

/* 予約画面の埋め込み（OFF-GYMと同じ高さ） */
.cb-embed { margin-top: 24px; }
.cb-embed-label { display: block; font-size: 14px; font-weight: 700; text-align: center; margin-bottom: 10px; color: var(--black); }
.cb-embed-frame { display: block; width: 100%; height: 920px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }

.cb-related { background: var(--bg-alt); padding: 64px 0 80px; margin-top: 80px; }

@media (max-width: 560px) {
    .cb-article { padding-top: 16px; }
    .cb-h1 { font-size: 23px; line-height: 1.55; }
    .cb-toc { padding: 18px 20px 8px; }
    .cb-toc a { font-size: 14px; }
    .cb-body h2 { font-size: 20px; margin-top: 48px; }
    .cb-body .point, .cb-body .box { padding: 18px 18px; }
    .cb-body th, .cb-body td { padding: 10px 12px; font-size: 14px; }
    .cb-body td:first-child { white-space: normal; width: 30%; }
    .cb-author { padding: 20px; column-gap: 14px; align-items: center; }
    .cb-author img { width: 52px; height: 52px; grid-row: 1; }
    .cb-author-bio { grid-column: 1 / -1; margin-top: 12px; }
    .cb-author-name small { display: block; margin-left: 0; }
    .cb-cta { padding: 28px 20px; }
    .cb-cta-title { font-size: 18px; }
    .cb-cta-btns { flex-direction: column; align-items: center; }
    .cb-cta-btns .btn { width: 100%; max-width: 280px; min-width: 0; }
    .cb-embed-frame { height: 760px; }
    .cb-related { padding: 48px 0 56px; margin-top: 56px; }
}
