/* コラム（/column/）専用のスタイル。色・フォント・ヘッダー・フッターは /assets/css/common.css を使う */

.col-main { padding-bottom: 40px; }

/* ───── 記事ページ ───── */
.col-article { margin-top: 28px; }
.col-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  font-size: 0.8rem; font-weight: 700; color: var(--ink-soft);
}
.col-cat {
  display: inline-block; background: var(--ink); color: var(--banana);
  border-radius: 999px; padding: 2px 12px; font-size: 0.78rem; font-weight: 700; line-height: 1.6;
}
.col-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.4rem, 4.4vw, 1.9rem); line-height: 1.45;
  margin: 12px 0 4px;
}

.col-body { font-size: 1rem; line-height: 1.95; }
.col-body p { margin-top: 1em; }
.col-body h2,
.col-section h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.2rem; line-height: 1.5;
  margin: 2.2em 0 0.2em; padding: 4px 0 4px 14px;
  border-left: 6px solid var(--ebi);
}
.col-body ul, .col-body ol { margin: 1em 0 0 1.4em; }
.col-body li { margin-top: 0.4em; }
.col-body strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(255,201,60,0.55) 62%); }
.col-body a, .col-section a, .col-byline a { color: var(--ebi-deep); font-weight: 700; }

/* 表：はみ出すときは表の中だけ横にスクロール */
.table-wrap { margin-top: 1.2em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.col-body table {
  width: 100%; border-collapse: collapse; background: var(--white);
  font-size: 0.9rem; line-height: 1.6;
}
.col-body th, .col-body td {
  border: 1px solid rgba(62,46,32,0.25); padding: 8px 10px;
  text-align: left; vertical-align: top;
}
.col-body thead th { background: var(--banana); font-weight: 700; }
.col-body thead td { background: var(--banana); }
.col-body tbody th { background: var(--cream); font-weight: 700; }
.col-body .nw { white-space: nowrap; } /* 5文字以下の短いセルは途中で折り返さない */

/* 年盤（3×3） */
.col-body table.banmen { max-width: 420px; margin: 0 auto; table-layout: fixed; }
.col-body table.banmen td { text-align: center; vertical-align: middle; padding: 10px 4px; }
.col-body table.banmen td.center { background: var(--cream); }
.banmen .dir { display: block; font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }
.banmen .star { display: block; font-weight: 700; }

/* ばなえびの一言 */
.col-hitokoto .banaebi { margin-top: 14px; }
.banaebi { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.banaebi .face {
  width: 68px; height: 68px; flex-shrink: 0;
  border-radius: 50%; border: 2.5px solid var(--ink);
  overflow: hidden; background: var(--cream);
  box-shadow: 0 3px 0 rgba(62,46,32,0.15);
}
.banaebi .face img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.banaebi .bubble {
  position: relative; flex: 1;
  background: var(--white); border: 2px solid var(--ink); border-radius: 16px;
  padding: 12px 16px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.8;
}
.banaebi .bubble::before {
  content: ""; position: absolute; left: -9px; top: 24px;
  width: 14px; height: 14px; background: var(--white);
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

/* 関連ページ */
.col-related ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.col-related li a {
  display: block; background: var(--white); color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 3px 0 rgba(62,46,32,0.15); transition: transform 0.12s;
}
.col-related li a:hover { transform: translateY(-2px); }
.col-related .t { display: block; color: var(--ebi-deep); font-weight: 700; }
.col-related .d { display: block; font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); line-height: 1.7; }

/* 参考・日付 */
.col-refs ul { margin: 12px 0 0 1.3em; font-size: 0.85rem; line-height: 1.8; }
.col-refs a { font-weight: 500; }
.col-dates { margin-top: 2em; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.col-byline { margin-top: 0.3em; font-size: 0.8rem; color: var(--ink-soft); }

/* ───── コラム一覧・ほかのコラム ───── */
.col-more { margin-top: 56px; }
.col-list { list-style: none; display: grid; gap: 14px; margin-top: 16px; }
.col-list a {
  display: block; background: var(--white); color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 3px 0 rgba(62,46,32,0.15); transition: transform 0.12s;
}
.col-list a:hover { transform: translateY(-2px); }
.col-list .t {
  display: block; margin-top: 6px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; line-height: 1.5;
}
.col-list .d { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }
.col-list .date { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); margin-left: 8px; }
.col-all { text-align: center; margin-top: 24px; font-weight: 700; }
.col-all a { color: var(--ebi-deep); }

.col-index { margin-top: 40px; }
.col-policy ul { margin: 12px 0 0 1.4em; line-height: 1.9; }
.col-policy li { margin-top: 0.4em; }
.col-policy p { margin-top: 1em; }
.col-policy a, .col-intro a { color: var(--ebi-deep); font-weight: 700; }
.col-intro { margin-top: 8px; line-height: 1.95; }
