html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  background: #fff;
  overflow-x: hidden;
}

/* ========== ARTICLE HERO ========== */
.article-hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy-dark) 48%, var(--navy-mid) 78%, var(--navy) 100%);
  position: relative;
  padding: 72px 40px 64px;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: 220px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(200,160,32,.1);
  pointer-events: none;
}
.article-hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(200,160,32,.2) 100%);
}
.article-hero-inner {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cat-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
.cat-badge.news    { background: rgba(7,9,80,0.25); color: #6fa3e8; }
.cat-badge.seminar { background: rgba(200,160,32,0.25); color: var(--gold-light); }
.cat-badge.column  { background: rgba(10,122,106,0.2); color: #4ecdc4; }
.cat-badge.press   { background: rgba(124,58,237,0.2); color: #c084fc; }

.date-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}
.new-badge-hero {
  background: #e74c3c;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.1em;
}
.article-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 24px;
}
.article-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: color .2s, border-color .2s, background .2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.tag-chip:hover { color: var(--gold-light); border-color: var(--gold); }

/* ========== LAYOUT ========== */
.article-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}

/* ========== ARTICLE BODY ========== */
.article-body {
  min-width: 0;
}

/* 読了時間 */
.article-info-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--off-white);
  margin-bottom: 40px;
}
.read-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.read-time::before {
  content: '🕐';
  font-size: 13px;
}

/* 記事コンテンツ */
.article-content {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
}
.article-content p { margin-bottom: 1.6em; }

.article-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5em 0 0.8em;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.5;
}
.article-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2em 0 0.6em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-content h3::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
}

/* インフォボックス */
.info-box {
  background: rgba(7,9,80,0.04);
  border: 1px solid rgba(7,9,80,0.1);
  border-left: 4px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 2em 0;
}
.info-box-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--navy-link);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.info-box p {
  font-size: 14px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 引用ブロック */
.pull-quote {
  position: relative;
  padding: 32px 36px;
  margin: 2.5em 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 55%, var(--navy) 100%);
  border-radius: 8px;
  overflow: hidden;
}
.pull-quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  pointer-events: none;
}
.pull-quote p {
  position: relative;
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.8;
  margin: 0;
}
.pull-quote cite {
  display: block;
  margin-top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  letter-spacing: 0.1em;
}

/* ポイントリスト */
.point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.5em 0 2em;
}
.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.point-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* 強調ボックス */
.highlight-box {
  background: linear-gradient(135deg, var(--gold-pale) 0%, rgba(245,233,192,0.4) 100%);
  border: 1px solid rgba(200,160,32,0.25);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 2em 0;
}
.highlight-box-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.highlight-box-title::before { content: '★'; color: var(--gold); font-size: 13px; }
.highlight-box p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.8; }

/* 区切り線 */
.article-divider {
  border: none;
  border-top: 1px solid rgba(7,9,80,0.08);
  margin: 40px 0;
}

/* タグ・SNSシェア（末尾） */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--off-white);
}
.article-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.article-footer-tags .tag-chip {
  color: var(--text-secondary);
  background: var(--off-white);
  border-color: rgba(7,9,80,0.12);
}
.article-footer-tags .tag-chip:hover {
  color: var(--navy-link);
  border-color: var(--navy-link);
  background: #fff;
}

/* ページナビ（前後） */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  min-width: 0;
}
.article-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  padding: 20px 24px;
  border: 1px solid rgba(7,9,80,0.1);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  background: #fff;
  overflow: hidden;
}
.article-nav-btn:hover {
  border-color: var(--navy-link);
  box-shadow: 0 4px 16px rgba(7,9,80,0.08);
  transform: translateY(-2px);
}
.article-nav-btn.prev { grid-column: 1; align-items: flex-start; text-align: left; }
.article-nav-btn.next { grid-column: 2; align-items: stretch; text-align: right; }
.nav-dir {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.nav-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.nav-cat { margin-top: 2px; }
.article-nav-btn.next .nav-cat {
  display: flex;
  justify-content: flex-end;
}

/* 本文・サイドバー上のカテゴリバッジ（ヒーローの暗色用スタイルを上書き） */
.article-body .cat-badge.news,
.sidebar .cat-badge.news,
.related-section .cat-badge.news {
  background: rgba(7,9,80,0.08);
  color: var(--cat-news);
}
.article-body .cat-badge.seminar,
.sidebar .cat-badge.seminar,
.related-section .cat-badge.seminar {
  background: rgba(200,160,32,0.12);
  color: var(--cat-seminar);
}
.article-body .cat-badge.column,
.sidebar .cat-badge.column,
.related-section .cat-badge.column {
  background: rgba(10,122,106,0.1);
  color: var(--cat-column);
}
.article-body .cat-badge.press,
.sidebar .cat-badge.press,
.related-section .cat-badge.press {
  background: rgba(124,58,237,0.1);
  color: var(--cat-press);
}

/* 一覧へ戻るボタン */
.back-to-list {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  color: var(--navy-link);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.back-btn::before { content: '←'; }
.back-btn:hover { background: var(--navy); color: #fff; }

/* ========== SIDEBAR ========== */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.sidebar-card {
  background: var(--off-white);
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-card-header {
  background: var(--navy-deep);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.sidebar-card-title-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.sidebar-card-body { padding: 20px; }

/* 目次 */
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.toc-item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(7,9,80,0.07);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  transition: color .2s;
}
.toc-item:last-child a { border-bottom: none; }
.toc-item a:hover,
.toc-item a.is-active { color: var(--navy-link); }
.toc-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* カテゴリ別 */
.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid rgba(7,9,80,0.07);
  transition: border-color .2s, color .2s;
}
.cat-list li a:hover { border-color: var(--navy-link); color: var(--navy-link); }
.cat-list-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-list-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cat-list-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* 関連記事 */
.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.related-item a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
.related-item a:hover { opacity: .75; }
.related-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-item-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA サイドバー */
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 55%, var(--navy) 100%);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 21px
  );
}
.sidebar-cta > * { position: relative; }
.sidebar-cta-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sidebar-cta h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 10px;
}
.sidebar-cta p {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}
.sidebar-cta-btn {
  display: block;
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
}
.sidebar-cta-btn:hover { background: var(--gold-light); }

/* ========== RELATED NEWS (bottom) ========== */
.related-section {
  background: var(--off-white);
  padding: 64px 40px;
  border-top: 1px solid rgba(7,9,80,0.08);
}
.related-inner { max-width: 1280px; margin: 0 auto; }
.section-title-sm {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-title-sm::before {
  content: '';
  width: 4px; height: 22px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid rgba(7,9,80,0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.related-card:hover {
  box-shadow: 0 8px 24px rgba(7,9,80,0.1);
  transform: translateY(-2px);
}
.related-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.date-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.related-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.65;
  flex: 1;
}
.related-card-more {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color .2s;
  margin-top: auto;
}
.related-card:hover .related-card-more { color: var(--navy-link); }

/* ========== FOOTER ========== */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 60px 40px 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-en { color: #fff; }
.footer-logo .logo-ja { color: rgba(255,255,255,0.4); }
.footer-tagline { font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 12px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; }
.d2 { transition-delay: .12s; }
.d3 { transition-delay: .18s; }

/* プログレスバー（読了率） */
#progress-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  width: 0%;
  z-index: 999;
  transition: width .1s linear;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  header { padding: 0 20px; }
  nav { display: none; }
  .breadcrumb { padding: 12px 20px; }
  .article-hero { padding: 56px 20px 52px; }
  .article-layout {
    grid-template-columns: 1fr;
    padding: 40px 20px 80px;
    gap: 40px;
  }
  .sidebar { position: static; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-btn.prev,
  .article-nav-btn.next {
    grid-column: auto;
    text-align: left;
    align-items: flex-start;
  }
  .article-nav-btn.next .nav-cat { justify-content: flex-start; }
  .related-section { padding: 48px 20px; }
  .related-cards { grid-template-columns: 1fr; }
  footer { padding: 48px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
