@charset "UTF-8";
/* ==========================================================
   11-news — お知らせリスト
   ========================================================== */

.news {
  background: var(--white);
  padding: 96px 0 184px;
}

/* ---------- list ---------- */
.news__list {
  margin-top: 16px; /* 参照実測: 見出しインク下端→1行目インク上端 54px（上ボーダーなし） */
}

.news__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line); /* 参照は各行の下のみ罫線（見出し直下に線なし） */
}

/* カテゴリチップ（列幅固定で日付の頭を揃える） */
.news__cat {
  display: flex; /* ベースライン揃えを切り、padding-top でチップ位置を確定させる */
  align-items: flex-start;
  flex: 0 0 100px;
  padding-top: 3px; /* 本文1行目と光学的に揃える（チップ高23px ÷ 行の光学中心14.5px） */
}
.news__chip {
  display: inline-block;
  background: var(--hiiro);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em; /* seminar の状態チップと同一トラッキング */
  padding: 6px 12px;
  border-radius: 4px; /* seminar の状態チップ・参照サイトと統一 */
  white-space: nowrap;
}
.news__chip--gray {
  background: var(--gray);
}

.news__date {
  flex: none;
  padding-top: 1px; /* 欧文（Montserrat/Avenir）と和文のベースライン差を光学補正 */
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums; /* 日付幅を等幅にし本文の頭を揃える */
  color: var(--ink);
}

.news__text {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1; /* 約物詰め（seminar・case の太字見出しと統一）。
                                      行頭の「 も半字詰めになり本文の頭（インク位置）が揃う */
  line-break: strict;      /* 小書き仮名・長音の行頭落ち防止 */
  word-break: auto-phrase; /* 文節単位の折り返し（対応ブラウザのみ） */
  text-wrap: pretty;       /* 1〜2文字のぶら下がり防止 */
  color: var(--ink);
}

/* ---------- more button ---------- */
.news__more {
  margin-top: 48px; /* 参照実測: リスト下ボーダー→ボタン上端 約48px */
  text-align: center;
}
.news__more-btn:focus-visible {
  outline: 2px solid var(--asagi);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .news {
    padding: 80px 0 120px;
  }
}

@media (max-width: 768px) {
  .news {
    padding: 64px 0 80px;
  }
  .news__item {
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 6px;
    padding: 18px 0;
  }
  .news__cat {
    flex: 0 0 auto;
  }
  .news__text {
    flex: 0 0 100%;
    font-size: 16px;
  }
  .news__more {
    margin-top: 40px;
  }
  .news__more-btn {
    width: 100%;
    max-width: 400px;
  }
}

/* お知らせ本文を詳細ページへのリンクに */
.news__text a { color: inherit; transition: color .2s; }
.news__text a:hover { color: var(--asagi); text-decoration: underline; text-underline-offset: 3px; }
