@charset "UTF-8";
/* =========================================================
   お知らせ（一覧・詳細）
   Figma：PC 一覧 926:1030 ／ 詳細 932:1125 ／ SP 一覧 1049:1941 ／ 詳細 1049:2398
   ページの枠・パンくず・ページ見出し・2カラムの枠・カテゴリ一覧・ページ送り・記事の見出しと本文・
   ストックカーの紹介は css/common.css
   ========================================================= */

/* ---------- 全体の並び ---------- */
/* パンくず → 見出し 80 ／ 見出し → 本文 40（common.css の .page-body。スマホのカテゴリのプルダウンは .mobile-filter） */
.news-archive__pagination { align-self: center; }

/* ---------- お知らせの行（Figma 部品 News/Row）：日付・カテゴリ・タイトル ---------- */
/* ※ TOPなどの NEWS 欄（common.css の .news__row）とは Figma 上で別デザインなので分けている */
.news-list { border-top: 1px solid var(--border-strong); }
.news-row { display: flex; align-items: center; gap: 40px; padding: 16px 0; border-bottom: 1px solid var(--border-strong); transition: background .2s; }
.news-row:hover { background: var(--surface-hover); }
.news-row__date { flex: none; width: 88px; font-family: var(--font-latin); font-weight: 700; font-size: 15px; line-height: 36px; }
.news-row__category { flex: none; width: 98px; border: 1px solid var(--brand); font-size: 12px; line-height: 24px; color: var(--brand); text-align: center; }
.news-row__title { font-size: 14px; line-height: 36px; }
.news-row__new { margin-left: 19px; font-family: var(--font-latin); color: var(--new); } /* タイトルとの間19は Figma の指定 */

/* ---------- 詳細 ---------- */
/* 記事の見出し上のカテゴリ（カテゴリの一覧へのリンク） */
.news-category-tag { align-self: flex-start; width: 98px; border: 1px solid var(--brand); font-size: 13px; line-height: 24px; letter-spacing: .01em; color: var(--brand); text-align: center; transition: background .2s, color .2s; }
.news-category-tag:hover { background: var(--brand); color: #fff; }

/* 最新記事：見出し → 一覧 24 ／ 一覧 → 「一覧を見る」 24（右寄せ） */
.news-latest { display: flex; flex-direction: column; gap: 24px; }
.news-latest .link-arrow { align-self: flex-end; }

/* =========================================================
   スマホ（767px以下）
   ========================================================= */
@media (max-width: 767px) {
  /* パンくず → 見出し → プルダウン → 本文 は 24 ずつ（common.css の .page-body） */
  .news-sidebar { display: none; } /* カテゴリは上のプルダウンに移すので、サイドバーごと消す */
  .news-archive { gap: 40px; }    /* 一覧 → ページ送り → ストックカー は 40 */

  /* 行：日付＋カテゴリの下にタイトル */
  .news-row { flex-wrap: wrap; gap: 4px 16px; }
  .news-row__date { width: auto; font-size: 16px; line-height: 24px; }
  .news-row__category { width: 76px; font-size: 10px; line-height: 17px; }
  .news-row__title { width: 100%; line-height: 22px; }
  .news-row__new { font-size: 13px; }
}
