/* ===== News detail page ===== */
.breadcrumb {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 32px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.news-article-section { background: var(--cream); padding: 48px 0 100px; }
.news-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 64px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.news-article-meta { display: flex; align-items: center; gap: 20px; }
.news-article-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy-deep);
  margin: 20px 0 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
}

.news-article-body { margin-top: 40px; font-size: 16px; line-height: 2.05; color: var(--text-primary); }
.news-article-body p { margin: 0 0 1.6em; }
.news-article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 56px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.5;
}
.news-article-body ul { margin: 0 0 1.6em; padding-left: 1.4em; }
.news-article-body li { margin-bottom: 6px; }
.news-article-body strong { background: linear-gradient(transparent 62%, var(--gold-soft) 62%); font-weight: 700; }

.news-figure { margin: 0 0 40px; text-align: center; background: var(--cream-warm); padding: 40px 24px; }
.news-figure img { display: block; margin: 0 auto; max-width: 240px; width: 100%; height: auto; box-shadow: 0 24px 56px -8px rgba(10, 22, 40, 0.38); }
.news-figure figcaption { margin-top: 16px; font-size: 13px; color: var(--text-secondary); }

.news-spec { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15px; }
.news-spec th, .news-spec td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
.news-spec th { width: 28%; background: var(--cream); font-weight: 500; color: var(--navy-deep); white-space: nowrap; }

.news-note { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }

.news-cta { margin: 48px 0 0; padding: 36px 24px; background: var(--navy-deep); color: var(--cream); text-align: center; }
.news-cta p { margin: 0 0 20px; font-size: 15px; line-height: 1.9; }
.news-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.3s;
}
.news-cta-btn:hover { background: var(--gold-bright); }

.news-pager {
  max-width: 880px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  font-size: 14px;
}
.news-pager a { color: var(--navy-deep); text-decoration: none; transition: color 0.3s; min-width: 0; overflow-wrap: anywhere; }
.news-pager > * { min-width: 0; }
.news-pager a:hover { color: var(--gold); }
.news-pager-prev { justify-self: start; }
.news-pager-next { justify-self: end; text-align: right; }
.news-pager-list { border-bottom: 1px solid var(--gold); padding: 4px 0; letter-spacing: 0.1em; }
.news-pager span { display: block; font-family: var(--font-latin); font-size: 12px; color: var(--text-muted); letter-spacing: 0.1em; }

@media (max-width: 640px) {
  .breadcrumb { padding: 16px 20px 0; }
  .news-article-section { padding: 32px 16px 72px; }
  .news-article { padding: 32px 20px; }
  .news-article-body { font-size: 15px; }
  .news-spec th, .news-spec td { display: block; width: 100%; }
  .news-spec th { border-bottom: none; padding-bottom: 6px; }
  .news-pager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 4px; }
  .news-pager-list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ===== News list page ===== */
.news-archive { padding: 48px 0 100px; background: transparent; }
.news-filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.news-filter {
  font: inherit; font-size: 14px; letter-spacing: .08em;
  padding: 10px 22px; min-width: 120px;
  background: var(--paper); color: var(--navy-deep);
  border: 1px solid var(--line-strong); cursor: pointer;
  box-shadow: var(--shadow-xs, 0 2px 6px rgba(10,22,40,.08));
  transition: background .3s, color .3s, box-shadow .3s, transform .3s;
}
.news-filter:hover { transform: translateY(-1px); }
.news-filter[aria-selected="true"] { background: var(--navy-deep); color: var(--cream); border-color: var(--navy-deep); box-shadow: 0 14px 28px -8px rgba(10,22,40,.6); }
.news-filter .count { font-family: var(--font-latin); font-size: 12px; opacity: .7; margin-left: 6px; }
.news-empty { text-align: center; color: var(--text-secondary); padding: 40px 0; margin: 0; }
.news-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.news-page {
  font-family: var(--font-latin); font-size: 14px;
  width: 44px; height: 44px; cursor: pointer;
  background: var(--paper); color: var(--navy-deep); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs, 0 2px 6px rgba(10,22,40,.08));
  transition: background .3s, color .3s, transform .3s;
}
.news-page:hover { transform: translateY(-1px); }
.news-page.is-current { background: var(--navy-deep); color: var(--cream); border-color: var(--navy-deep); }

@media (max-width: 640px) {
  .news-archive { padding: 32px 0 72px; }
  .news-filter { min-width: 0; flex: 1 1 40%; padding: 10px 8px; }
}
.news-pager-prev, .news-pager-next { max-width: 100%; }

/* =========================================================
   記事パーツ（テンプレート・パーツ見本帳 news/_parts.html で使用）
   ========================================================= */
/* 横長の写真・バナー用（幅いっぱい） */
.news-figure--wide { background: none; padding: 0; box-shadow: none; }
.news-figure--wide img { max-width: 100%; box-shadow: 0 16px 40px -12px rgba(10, 22, 40, 0.35); }

/* YouTube 埋め込み（16:9） */
.news-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 40px; background: #000; box-shadow: 0 16px 40px -12px rgba(10, 22, 40, 0.35); }
.news-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ポイント枠 */
.news-point { margin: 0 0 1.6em; padding: 24px 28px; background: var(--cream); border-left: 4px solid var(--gold); }
.news-point-title { margin: 0 0 8px; font-weight: 700; color: var(--navy-deep); }
.news-point p:last-child, .news-point ul:last-child { margin-bottom: 0; }

/* 引用（受講生の声など） */
.news-quote { margin: 0 0 1.6em; padding: 20px 28px; border: 1px solid var(--line-strong); background: var(--paper); position: relative; }
.news-quote::before { content: '“'; position: absolute; top: -6px; left: 14px; font-size: 48px; line-height: 1; color: var(--gold); font-family: Georgia, serif; }
.news-quote p { margin: 0; }
.news-quote cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; color: var(--text-secondary); text-align: right; }

/* 本文中のリンクボタン（CTAより控えめ） */
.news-link-btn {
  display: inline-block; margin: 0 0 1.6em; padding: 12px 28px;
  border: 1px solid var(--navy-deep); color: var(--navy-deep); text-decoration: none;
  font-size: 15px; letter-spacing: .06em; transition: background .3s, color .3s;
}
.news-link-btn:hover { background: var(--navy-deep); color: var(--cream); }

/* 本文中のリンク */
.news-article-body a:not([class]) { color: var(--fv-accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .news-point { padding: 18px 18px; }
  .news-quote { padding: 18px 18px; }
}
