/* ==========================================================================
   NEWS / NEWS-DETAIL ページ専用スタイル
   (base.css の変数・共通クラス [.container/.section/.heading-underline/
    .btn-pill/.round-link+.round-ico/.arrow-circle/.js-reveal/.hover-lift]
    のみを利用し、それ以外はこのファイルで完結させる)
   ========================================================================== */

/* ---------- ページ見出しエリア(お知らせ + 添え書き) ---------- */
.news-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.news-page-head h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.news-page-lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .news-page-head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* ---------- 記事リスト(メインリスト / news.html) ---------- */
.news-list-section {
  padding-top: 0;
  padding-bottom: var(--section-gap);
}
@media (max-width: 900px) {
  .news-list-section { padding-bottom: var(--section-gap-sp); }
}

.news-list {
  list-style: none;
}
.news-list-item {
  border-bottom: 1px solid var(--line);
}
.news-list-item:first-child {
  border-top: 1px solid var(--line);
}

.news-list-item__row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 4px;
  transition: transform var(--dur) var(--ease);
}
a.news-list-item__row { cursor: pointer; }
a.news-list-item__row:hover {
  transform: translateX(10px);
}
a.news-list-item__row:hover .news-list-item__title {
  color: var(--blue);
}

.news-list-item__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 96px;
  flex-shrink: 0;
}
.news-list-item__date .day {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  color: var(--ink);
}
.news-list-item__date .ym {
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-faint);
}

.news-list-item__title {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

/* 準備中(実データなし)行: リンク化せずグレーアウト、ホバー無効 */
.news-list-item.is-disabled .news-list-item__date .day,
.news-list-item.is-disabled .news-list-item__date .ym,
.news-list-item.is-disabled .news-list-item__title {
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .news-list-item__row { gap: 20px; padding: 22px 0; }
  .news-list-item__title { font-size: 16px; }
  .news-list-item__date { min-width: 76px; }
}

/* ---------- 「最新の記事」セクション(見出し + Newest ラベル) ---------- */
.news-newest-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 44px;
}
.news-newest-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
}
.news-newest-label {
  font-size: 14px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-left: 12px;
}
.news-newest-head .round-link {
  margin-left: auto;
}

@media (max-width: 900px) {
  .news-newest-head { margin-bottom: 28px; }
}

/* 一覧ページ: 「最新の記事」3カラムグリッド(メインリストと同一3件の簡易版) */
.news-newest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.news-newest-card {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform var(--dur) var(--ease);
}
a.news-newest-card:hover {
  transform: translateX(8px);
}
a.news-newest-card:hover .news-newest-card__title {
  color: var(--blue);
}
.news-newest-card__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 64px;
  flex-shrink: 0;
}
.news-newest-card__date .day {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
}
.news-newest-card__date .ym {
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-faint);
}
.news-newest-card__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.news-newest-card.is-disabled .day,
.news-newest-card.is-disabled .ym,
.news-newest-card.is-disabled .news-newest-card__title {
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .news-newest-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* 詳細ページ: 「最新の記事」帯(グレー背景、カード表示は省略) */
.news-newest-section--band {
  background: var(--bg-gray);
}

/* ==========================================================================
   NEWS-DETAIL ページ(記事詳細)
   ========================================================================== */
.article-section {
  padding-top: calc(var(--header-h) + 56px);
}
@media (max-width: 900px) {
  .article-section { padding-top: calc(var(--header-h) + 32px); }
}

.article-grid {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 40px;
}

.article-side {
  padding-top: 4px;
}
.article-side__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.article-side .day {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 56px);
  line-height: 1;
  color: var(--ink);
}
.article-side .ym {
  display: block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-faint);
}
.article-side .title-echo {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}

.article-main h1 {
  font-size: clamp(24px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 32px;
}

.article-body {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}
.article-body p {
  margin-bottom: 1.4em;
}
.article-body ul {
  list-style: none;
  margin: 0 0 1.4em;
}
.article-body li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}
.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.article-foot-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; gap: 8px; }
  .article-side {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
  }
  .article-side .day { font-size: 40px; }
  .article-side .title-echo { margin-top: 0; }
  .article-main h1 { margin-bottom: 24px; }
}
