/* ═══════════════════════════════════════════════════════════════
   COLUMN — page-column.css
   コラム（標準 post）一覧・詳細レイアウト / ライト背景
═══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   0. ページ背景（ダークテーマを上書き）
══════════════════════════════════════════════════════════════ */

body.single-column,
body.single-news,
body.post-type-archive-column,
body.tax-column_cat,
body.tax-news_cat {
  background: #f8fafc !important;
  color: #0d1520 !important;
}

/* リンクのデフォルト色をダーク系に */
body.single-column a,
body.single-news a,
body.post-type-archive-column a,
body.tax-column_cat a,
body.tax-news_cat a {
  color: inherit;
}

/* フッターはダークテーマを維持（body の color 継承をリセット） */
body.single-column .ob-footer,
body.single-news .ob-footer,
body.post-type-archive-column .ob-footer,
body.tax-column_cat .ob-footer,
body.tax-news_cat .ob-footer {
  color: #EEF2F7;
}
body.single-column .ob-footer a,
body.single-news .ob-footer a,
body.post-type-archive-column .ob-footer a,
body.tax-column_cat .ob-footer a,
body.tax-news_cat .ob-footer a {
  color: #EEF2F7;
}

/* ニュースカテゴリー別アーカイブ — ライトトーン上書き */
body.tax-news_cat .ob-news-archive {
  background: transparent;
  padding-top: calc(var(--header-h, 72px) + 60px);
}
body.tax-news_cat .ob-news-page-eyebrow { color: #1aaa98; }
body.tax-news_cat .ob-news-page-title   { color: #0d1520; }
body.tax-news_cat .ob-news-list-wrap    {
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(13,21,32,.07);
  padding: 0;
}
body.tax-news_cat .ob-news-list         { border-top: none; margin-bottom: 0; }
body.tax-news_cat .ob-news-item         { color: #1a2535; border-bottom-color: rgba(13,21,32,.08); }
body.tax-news_cat .ob-news-item:hover   { background: rgba(13,21,32,.03); border-bottom-color: rgba(26,170,152,.35); }
body.tax-news_cat .ob-news-item__date   { color: rgba(13,21,32,.40); }
body.tax-news_cat .ob-news-item__cat    { color: #0d1520; border-color: rgba(13,21,32,.30); }
body.tax-news_cat .ob-news-item__title  { color: rgba(13,21,32,.80); }
body.tax-news_cat .ob-news-item:hover .ob-news-item__title { color: #0d1520; }
body.tax-news_cat .ob-news-item__arrow  { color: rgba(13,21,32,.28); }
body.tax-news_cat .ob-news-pagination .page-numbers {
  color: rgba(13,21,32,.60); border-color: rgba(13,21,32,.18); background: transparent;
}
body.tax-news_cat .ob-news-pagination .page-numbers:hover,
body.tax-news_cat .ob-news-pagination .page-numbers.current {
  border-color: #1aaa98; background: rgba(26,170,152,.10); color: #1aaa98;
}


/* ══════════════════════════════════════════════════════════════
   1. 記事詳細 — 2カラムレイアウト
══════════════════════════════════════════════════════════════ */

.ob-col-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  padding: calc(var(--header-h, 72px) + 56px) clamp(20px, 4vw, 52px) 88px;
  align-items: start;
}

.ob-col-main { min-width: 0; }


/* ── 一覧へ戻るリンク ──────────────────────────────────────── */

.ob-col-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(13,21,32,.4);
  text-decoration: none;
  margin-bottom: 20px;
  letter-spacing: .03em;
  transition: color .2s;
}
.ob-col-back-link:hover { color: #1aaa98; }


/* ── カテゴリーバッジ ───────────────────────────────────────── */

.ob-col-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.ob-col-cat {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 4px;
  background: rgba(43,212,192,.1);
  color: #1aaa98;
  border: 1px solid rgba(43,212,192,.35);
  text-decoration: none;
  transition: opacity .2s;
}
.ob-col-cat:hover { opacity: .7; }


/* ── タイトル・メタ ─────────────────────────────────────────── */

.ob-col-header { margin-bottom: 36px; }

.ob-col-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #0d1520;
  line-height: 1.55;
  margin: 0 0 16px;
}

.ob-col-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: rgba(13,21,32,.5);
}

.ob-col-updated { font-size: 12px; }


/* ── アイキャッチ ──────────────────────────────────────────── */

.ob-col-eyecatch {
  margin-bottom: 44px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.ob-col-eyecatch-img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── 本文 ──────────────────────────────────────────────────── */

.ob-col-body {
  font-size: 15px;
  line-height: 2.0;
  color: rgba(13,21,32,.82);
}

.ob-col-body > p,
.ob-col-body .wp-block-paragraph {
  color: rgba(13,21,32,.82) !important;
  margin-bottom: 1.5em;
}

.ob-col-body h2,
.ob-col-body .wp-block-heading h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0d1520 !important;
  border-left: 4px solid #2BD4C0;
  padding: 6px 0 6px 16px;
  margin: 2.4em 0 1em;
  line-height: 1.5;
}

.ob-col-body h3,
.ob-col-body .wp-block-heading h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0d1520 !important;
  margin: 2em 0 .8em;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(13,21,32,.1);
}

.ob-col-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0d1520;
  margin: 1.6em 0 .6em;
}

.ob-col-body a {
  color: #1aaa98;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ob-col-body a:hover { opacity: .75; }

.ob-col-body ul,
.ob-col-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  color: rgba(13,21,32,.82);
}

.ob-col-body li { margin-bottom: .4em; }

.ob-col-body blockquote {
  border-left: 3px solid #2BD4C0;
  margin: 2em 0;
  padding: 12px 20px;
  background: rgba(43,212,192,.06);
  color: rgba(13,21,32,.7);
  font-style: normal;
  border-radius: 0 8px 8px 0;
}

.ob-col-body img { border-radius: 8px; margin: 1.5em auto; }

/* Cocoon ブロック（ボックス系）のテキスト色補正 */
.ob-col-body .box-title,
.ob-col-body .box-content { color: #0d1520; }


/* ── 記事フッター（SNSシェア・著者ボックス） ─────────────────── */

.ob-col-article-footer {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(13,21,32,.1);
}


/* ── 前後ナビ ──────────────────────────────────────────────── */

.ob-col-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(13,21,32,.1);
}

.ob-col-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid rgba(13,21,32,.1);
  border-radius: 10px;
  background: #fff;
  color: #0d1520;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.ob-col-nav-item:hover {
  border-color: #2BD4C0;
  box-shadow: 0 4px 16px rgba(43,212,192,.14);
}

.ob-col-nav-next { text-align: right; }
.ob-col-nav-label { font-size: 11px; color: rgba(13,21,32,.4); }
.ob-col-nav-title { font-size: 13px; font-weight: 500; line-height: 1.55; }


/* ══════════════════════════════════════════════════════════════
   2. サイドバー
══════════════════════════════════════════════════════════════ */

.ob-col-sidebar {
  position: sticky;
  top: calc(var(--header-h, 72px) + 24px);
  align-self: start;
}

.ob-col-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ob-col-widget {
  background: #fff;
  border: 1px solid rgba(13,21,32,.08);
  border-radius: 12px;
  padding: 22px 20px;
}

.ob-col-widget-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(13,21,32,.45);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13,21,32,.08);
}

/* カテゴリー一覧 */
.ob-col-widget-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ob-col-widget-cats li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 4px;
  font-size: 13px;
  color: #0d1520;
  text-decoration: none;
  border-bottom: 1px solid rgba(13,21,32,.06);
  transition: color .2s;
}
.ob-col-widget-cats li a:hover { color: #1aaa98; }
.ob-col-widget-cat-count {
  font-size: 11px;
  color: rgba(13,21,32,.35);
  background: rgba(13,21,32,.05);
  padding: 1px 7px;
  border-radius: 10px;
}

/* 最近のコラム */
.ob-col-widget-recent {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ob-col-widget-recent li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(13,21,32,.06);
}
.ob-col-widget-recent li a {
  font-size: 13px;
  color: #0d1520;
  text-decoration: none;
  line-height: 1.55;
  transition: color .2s;
}
.ob-col-widget-recent li a:hover { color: #1aaa98; }
.ob-col-widget-recent time {
  font-size: 11px;
  color: rgba(13,21,32,.35);
}

/* Cocoon TOC がサイドバーに入る場合の色補正 */
.ob-col-sidebar .toc { background: transparent; border: none; padding: 0; }
.ob-col-sidebar .toc-title { color: #0d1520; font-size: 13px; }
.ob-col-sidebar .toc a { color: #1aaa98; }


/* ══════════════════════════════════════════════════════════════
   3. 一覧ページ（home.php / archive.php）
══════════════════════════════════════════════════════════════ */

.ob-col-list-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: calc(var(--header-h, 72px) + 56px) clamp(20px, 4vw, 52px) 88px;
}


/* ── ページヘッダー ────────────────────────────────────────── */

.ob-col-list-header {
  text-align: center;
  margin-bottom: 56px;
}

.ob-col-list-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2BD4C0;
  margin-bottom: 12px;
}

.ob-col-list-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #0d1520;
  margin: 0;
  line-height: 1.3;
}

.ob-col-list-desc {
  font-size: 14px;
  color: rgba(13,21,32,.5);
  margin-top: 12px;
}

.ob-col-list-tax-label {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(43,212,192,.1);
  color: #1aaa98;
  border-radius: 20px;
  border: 1px solid rgba(43,212,192,.3);
}


/* ── カードグリッド ────────────────────────────────────────── */

.ob-col-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}


/* ── カード ───────────────────────────────────────────────── */

.ob-col-card {
  background: #fff;
  border: 1px solid rgba(13,21,32,.07);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.ob-col-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(13,21,32,.1);
}

.ob-col-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.ob-col-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8edf4;
}
.ob-col-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
  display: block;
}
.ob-col-card:hover .ob-col-card-thumb img { transform: scale(1.04); }

.ob-col-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ob-col-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ob-col-card-cat {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(43,212,192,.1);
  color: #1aaa98;
  border: 1px solid rgba(43,212,192,.25);
}

.ob-col-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #0d1520;
  line-height: 1.6;
  margin: 0 0 12px;
  flex: 1;
}

.ob-col-card-meta {
  font-size: 12px;
  color: rgba(13,21,32,.42);
  margin-top: auto;
}

.ob-col-no-posts {
  text-align: center;
  padding: 80px 0;
  font-size: 15px;
  color: rgba(13,21,32,.4);
}


/* ── ページネーション ──────────────────────────────────────── */

.ob-col-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ob-col-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid rgba(13,21,32,.15);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #0d1520;
  text-decoration: none;
  background: #fff;
  transition: border-color .2s, background .2s;
}
.ob-col-pagination .page-numbers:hover,
.ob-col-pagination .page-numbers.current {
  border-color: #2BD4C0;
  background: rgba(43,212,192,.1);
}
.ob-col-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}


/* ══════════════════════════════════════════════════════════════
   4. レスポンシブ
══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .ob-col-page {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }
  .ob-col-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ob-col-page {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h, 72px) + 36px);
  }
  .ob-col-sidebar {
    position: static;
  }
  .ob-col-post-nav {
    grid-template-columns: 1fr;
  }
  .ob-col-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ob-col-list-page {
    padding-top: calc(var(--header-h, 72px) + 36px);
  }
}


/* ──────────────────────────────────────────────────────────
   NEWS ARCHIVE
────────────────────────────────────────────────────────── */
.ob-news-archive {
  background: var(--ob-page-bg);
  padding: calc(var(--header-h) + 60px) 0 var(--spy);
}

/* ── パンくず ── */
.ob-news-bc {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(248,250,252,.38);
  margin-bottom: clamp(20px,3vw,32px);
}
.ob-news-bc a { color: rgba(248,250,252,.38); transition: color .2s; }
.ob-news-bc a:hover { color: #2BD4C0; }
.ob-news-bc-sep { color: rgba(43,212,192,.5); }

.ob-news-page-header {
  text-align: center; margin-bottom: clamp(32px,5vw,56px);
}
/* ── カテゴリーフィルター ── */
.ob-news-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: clamp(36px,5vw,64px);
}
.ob-news-filter-btn {
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 7px 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(248,250,252,.65); background: rgba(255,255,255,.04);
  transition: background .2s, border-color .2s, color .2s;
}
.ob-news-filter-btn:hover,
.ob-news-filter-btn.active {
  background: rgba(43,212,192,.14); border-color: rgba(43,212,192,.45);
  color: var(--teal-bright);
}
.ob-news-page-eyebrow {
  font-family: 'Playfair Display', sans-serif; font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: none;
  color: var(--teal-bright); margin-bottom: 12px; display: block;
}
.ob-news-page-title {
  font-family: 'Shippori Mincho', sans-serif;
  font-size: clamp(32px,5vw,56px); font-weight: 900; letter-spacing: .04em;
  color: #fff;
}
/* ── ニュースリスト ダーク背景配色（page-column.css 固有） ── */
.ob-news-list { border-top-color: var(--border); }
.ob-news-item {
  border-bottom-color: var(--border);
  color: var(--text);
}
.ob-news-item:hover {
  background: rgba(43,212,192,.04);
  border-bottom-color: rgba(43,212,192,.22);
}
.ob-news-item__date  { color: rgba(255,255,255,.72); }
.ob-news-item__cat {
  font-family: var(--font-latin); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  color: #0d1520; border: 1px solid rgba(13,21,32,.35);
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0; justify-self: start;
}
.ob-news-item__title { color: #fff; }
.ob-news-item:hover .ob-news-item__title { color: #fff; }
.ob-news-item__arrow { color: rgba(248,250,252,.30); }
.ob-news-item:hover .ob-news-item__arrow { color: rgba(248,250,252,.70); }
.ob-news-empty { color: rgba(255,255,255,.72); }
@media (max-width: 640px) {
  .ob-news-item__cat { display: none; }
}
.ob-news-pagination { text-align: center; }
.ob-news-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); color: #fff;
  font-family: var(--font-latin); font-size: 13px;
  margin: 0 4px; text-decoration: none;
  transition: border-color .22s, background .22s, color .22s;
}
.ob-news-pagination .page-numbers:hover,
.ob-news-pagination .page-numbers.current {
  border-color: var(--teal-bright); background: var(--teal-dim); color: var(--teal-bright);
}


/* ──────────────────────────────────────────────────────────
   NEWS SINGLE
────────────────────────────────────────────────────────── */
.ob-news-single {
  background: #fff;
  padding-top: calc(var(--header-h) + 40px);
  min-height: 100vh;
}
.ob-news-single-inner { max-width: 860px; margin: 0 auto; padding: 0 var(--px) var(--spy); }
.ob-news-single-header { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(13,21,32,.12); }
.ob-news-single-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ob-news-single-date { font-family: var(--font-latin); font-size: 12px; color: rgba(13,21,32,.45); letter-spacing: .08em; }
.ob-news-single-cat { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #0d1520; border: 1px solid rgba(13,21,32,.30); padding: 3px 10px; border-radius: 999px; font-family: var(--font-latin); }
.ob-news-single-title {
  font-family: var(--font-serif);
  font-size: clamp(22px,3.5vw,34px); font-weight: 700;
  line-height: 1.35; letter-spacing: .04em; color: #0d1520;
}
.ob-news-single-thumb { border-radius: 0; overflow: hidden; margin-bottom: 40px; }
.ob-news-single-thumb img { width: 100%; height: auto; display: block; }
.ob-news-single-content {
  font-size: var(--body-size); line-height: var(--body-line); color: rgba(13,21,32,.80);
}
.ob-news-single-content h2, .ob-news-single-content h3 { color: #0d1520; margin: 1.8em 0 0.8em; }
.ob-news-single-content p { margin-bottom: 1.4em; }
.ob-news-single-content a { color: #18a890; text-decoration: underline; }
.ob-news-single-content img { border-radius: 0; max-width: 100%; height: auto; margin: 1.5em 0; }
.ob-news-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(13,21,32,.50); text-decoration: none; font-family: var(--font-latin);
  margin-top: 56px; transition: color .22s;
}
.ob-news-back:hover { color: #0d1520; }
.ob-news-back::before { content: '←'; }


