/* コラム要約ページ共通スタイル（トップページ index.html の配色・書体に合わせる） */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1C3557;
  --navy-light: #2A4E7A;
  --gold: #c5a880;
  --gold-light: #dcc49a;
  --text: #1A1A1A;
  --text-sub: #555;
  --bg: #FFFFFF;
  --bg-light: #F7F5F2;
  --border: #E2DDD8;
  --note-bg: #FBF8F3;
  --warn-bg: #FFF8EC;
  --warn-border: #E8C77A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', 'メイリオ', serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
}

a { color: var(--navy-light); }

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(28, 53, 87, 0.97);
  backdrop-filter: blur(8px);
  z-index: 100;
  padding: 0 40px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.logo span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #A8C4E0;
  letter-spacing: 0.1em;
}
nav a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 13px;
  margin-left: 28px;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold-light); }

/* ========== ARTICLE HERO ========== */
.article-hero {
  background: linear-gradient(135deg, #0F2340 0%, #1C3557 50%, #1A4A6E 100%);
  color: #fff;
  padding: 120px 40px 56px;
}
.article-hero-inner { max-width: 820px; margin: 0 auto; }
.breadcrumb { font-size: 12px; color: #A8C4E0; margin-bottom: 20px; }
.breadcrumb a { color: #A8C4E0; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 2px 10px;
  border-radius: 2px;
}
.tag.solid { background: var(--gold); color: #fff; }
.article-hero h1 {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 20px;
}
.article-meta { font-size: 13px; color: #cbd5e0; }
.article-meta strong { color: #fff; }

/* ========== BODY ========== */
main { padding: 56px 40px 80px; }
.article { max-width: 820px; margin: 0 auto; }
.article section { margin-bottom: 56px; }
.article h2 {
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 24px;
}
.article h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 16px 1.4em; }
.article li { margin-bottom: 8px; }
.small { font-size: 13px; color: var(--text-sub); }

/* 現在地ボックス */
.status-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 56px;
}
.status-box dl { display: grid; grid-template-columns: 7em 1fr; gap: 10px 16px; }
.status-box dt { font-size: 13px; font-weight: 700; color: var(--navy); }
.status-box dd { font-size: 14px; }

/* 要点カード */
.point {
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.point-num { font-size: 12px; color: var(--gold); letter-spacing: 0.1em; font-weight: 700; }
.point h3 { margin-top: 4px; }
.formula {
  background: var(--bg-light);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 14px;
  margin: 12px 0 16px;
}

/* 表 */
.table-wrap { overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
td.num { text-align: right; white-space: nowrap; }
.up { color: #A23A2A; font-weight: 700; }
.down { color: #2A5E8A; font-weight: 700; }
tr.latest td { background: var(--note-bg); }
table.nowrap-2 td:nth-child(-n+2) { white-space: nowrap; }

/* 事務所の視点 */
.viewpoint {
  background: var(--note-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}
.viewpoint h2 { border-bottom-color: var(--navy); }
.viewpoint-sign { text-align: right; font-size: 13px; color: var(--text-sub); margin-top: 8px; }

/* 注意書き */
.caution {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 13px;
  color: #5A4A2A;
  margin: 20px 0;
}

/* CTA */
.cta-note, .cta-contact {
  border-radius: 6px;
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}
.cta-note { border: 1px solid var(--border); }
.cta-contact { background: var(--navy); color: #fff; }
.cta-contact p { color: #dbe4ee; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 4px;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }

/* 更新履歴 */
.history { list-style: none; margin-left: 0 !important; font-size: 14px; }
.history li { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.history time { display: inline-block; min-width: 7.5em; color: var(--text-sub); }

/* 関連記事 */
.related { list-style: none; margin-left: 0 !important; }
.related li { border-bottom: 1px solid var(--border); padding: 12px 0; margin: 0; }
.related a { text-decoration: none; color: var(--navy); font-weight: 700; }
.related a:hover { color: var(--navy-light); text-decoration: underline; }

footer {
  background: #0A1929;
  padding: 32px 40px;
  text-align: center;
  font-size: 12px;
  color: #4A6080;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header { padding: 0 16px; }
  nav { display: none; }
  .article-hero { padding: 96px 16px 40px; }
  main { padding: 40px 16px 64px; }
  .status-box, .point, .viewpoint, .cta-note, .cta-contact { padding: 20px; }
  .status-box dl { grid-template-columns: 1fr; gap: 2px; }
  .status-box dd { margin-bottom: 10px; }
  footer { padding: 24px 16px; }
}
