/* ============================================================
   column.css — コラム専用の共通スタイル
   common.css のデザイントークン（--navy / --gold / --ink など）を前提とする。
   記事ページ・一覧ページ共通のスタイルはすべてここに集約すること。
   ============================================================ */

/* --- ページヘッダー（コラム用の薄い帯） --- */
.page-header--slim { padding: 32px 0 24px; }
.page-header__label {
  font-family: var(--sans);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* --- 記事レイアウト --- */
.article {
  max-width: 42em;
  margin: 0 auto;
}

.article__title {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 24px;
}

.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article__date-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.08em;
}
.article__date-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold-deep);
  transform: translateY(2px);
}

/* --- 本文タイポグラフィ --- */
.article__body { font-size: 16px; line-height: 2.0; letter-spacing: 0.02em; color: var(--ink); }

.article__body > * + * { margin-top: 28px; }

.article__body h2 {
  font-family: var(--sans);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-top: 56px;
  padding: 10px 16px;
  border-left: 6px solid var(--gold-deep);
  /* 囲みボックス（--mist）と区別するため、ネイビーをごく薄く乗せた帯にする */
  background: rgba(11, 44, 80, 0.04);
}

.article__body h3 {
  font-family: var(--sans);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-top: 44px;
  padding-left: 14px;
  border-left: 3px solid var(--navy);
}

.article__body strong {
  font-weight: 700;
  color: var(--ink);
  background: rgba(194, 162, 94, 0.22);
  padding: 1px 4px;
  border-radius: 3px;
}

.article__body a { color: var(--navy-light); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { color: var(--gold-deep); }

.article__body ul,
.article__body ol { padding-left: 4px; list-style: none; }
.article__body ul li,
.article__body ol li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.9;
}
.article__body ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.article__body ol { counter-reset: article-ol; }
.article__body ol li { counter-increment: article-ol; padding-left: 28px; }
.article__body ol li::before {
  content: counter(article-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--gold-deep);
}

.article__body blockquote {
  background: var(--mist);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  color: var(--gray);
  font-size: 15px;
}

/* 補足・ポイントの囲みボックス */
.article__note {
  background: var(--mist);
  border-radius: 8px;
  padding: 24px 28px;
  font-size: 15px;
}
.article__note h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.article__note p { margin: 0; line-height: 1.9; }

/* --- 筆者プロフィール --- */
.article__profile {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--mist);
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 64px;
}
.article__profile img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.article__profile-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.22em;
  margin-bottom: 6px;
}
.article__profile-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.article__profile p { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* --- 記事フッター（一覧へ戻る） --- */
.article__footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.article__back {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
}
.article__back::before { content: '←'; margin-right: 8px; color: var(--gold-deep); }
.article__back:hover { color: var(--gold-deep); }

/* --- 一覧ページ --- */
.column-list {
  max-width: 42em;
  margin: 0 auto;
}
.column-list__item {
  display: block;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.column-list__item:first-child { border-top: 1px solid var(--line); }
.column-list__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.column-list__meta time {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.08em;
}
.column-list__title {
  font-family: var(--sans);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.6;
  position: relative;
  padding-right: 28px;
  transition: color 0.25s;
}
/* 記事へ誘導する矢印。ホバーでゴールドに変わり少し進む */
.column-list__title::after {
  content: '→';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--line-strong);
  transition: color 0.25s, transform 0.25s;
}
.column-list__item:hover .column-list__title { color: var(--gold-deep); }
.column-list__item:hover .column-list__title::after {
  color: var(--gold-deep);
  transform: translateY(-50%) translateX(4px);
}

/* --- レスポンシブ --- */
@media (max-width: 860px) {
  .article__body { font-size: 15px; }
  .article__body h2 { margin-top: 44px; }
  .article__body h3 { margin-top: 36px; }
  .article__note { padding: 20px; }
  .article__profile { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
  .column-list__item { padding: 22px 4px; }
}
