/* =========================================================
   W FIVE  news.css  (ステップ5: News 一覧・記事ページ)
   数値の出どころ: Wixライブサイトの実測値(PC幅1440px、レイアウト幅1425px)
   ※ 「要確認」と書いた箇所は、Wix版と見比べて調整する
   ========================================================= */

/* 枠線だけのボタン(Read More) */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  width: 142px; height: 41px; border: 1px solid var(--grey-100);
  color: var(--grey-100); font: 400 15px/1 var(--font-text); text-decoration: none;
  transition: background-color 0.4s, color 0.4s;
}
/* 要確認: ホバー時の色は、Wix版で実際に確認して合わせる(今は仮に白黒反転) */
.btn-outline:hover { background: var(--grey-100); color: var(--black); }

/* ---------- 一覧 ---------- */
.news { padding: 36px 45px 119px; background: var(--black); color: var(--grey-100); }
.news__title { margin: 0 0 43px; font: 200 48px/1.4 var(--font-label); color: var(--grey-100); }
.news__empty { margin: 0; font: 400 16px/1.6 var(--font-text); }
.news__list { display: grid; grid-template-columns: repeat(auto-fit, 431px); justify-content: center; gap: 56px 40px; margin: 0; padding: 0; list-style: none; }
.news-card__media { display: block; aspect-ratio: 432 / 289; overflow: hidden; background: #111; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 34px 32px 0; }
.news-card__title { margin: 0 0 4px; font: 200 21px/28px var(--font-label); color: var(--grey-100); }
.news-card__date { margin: 0 0 17px; font: 400 16px/24px var(--font-text); }
.news-card__excerpt { margin: 0 0 20px; font: 400 16px/25.5px var(--font-text); }

/* ---------- 記事 ---------- */
.post { padding: 71px 71px 0; background: var(--black); color: var(--grey-100); }
.post__hero { height: 279px; margin: 0; overflow: hidden; background: #111; }
.post__hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.post__inner { max-width: 1283px; margin: 0 auto; padding: 84px 65px 0; }
.post__title { margin: 0 0 8px; font: 200 34px/44px var(--font-label); color: var(--grey-100); }
.post__date { margin: 0 0 60px; font: 400 14px/20px var(--font-text); }
.post__lead { margin: 0 0 41px; font: 700 19.7px/26px var(--font-text); color: var(--white); }
.post__body p { margin: 0 0 25.6px; font: 400 16px/25.6px var(--font-text); }
.post__body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.post__body a:hover { color: var(--purple); }

/* 前後の記事への移動(Previous / 一覧へ / Next) */
.post-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 110px; padding: 22px 0 23px; border-top: 1px solid #262626; }
.post-nav__link { font: 400 16px/26px var(--font-text); color: #9a9a9a; text-decoration: none; transition: color 0.3s; }
a.post-nav__link:hover { color: var(--grey-100); }
.post-nav__link.is-disabled { color: #6d6d6d; cursor: default; }
.post-nav__all { display: inline-flex; padding: 2px; color: var(--grey-100); transition: color 0.3s; }
.post-nav__all:hover { color: var(--purple); }

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 759px) {
  .news { padding: 28px 24px 72px; }
  .news__title { font-size: 36px; margin-bottom: 28px; }
  .news__list { grid-template-columns: minmax(0, 1fr); }
  .news-card__body { padding: 24px 0 0; }
  .post { padding: 24px 24px 0; }
  .post__hero { height: 200px; }
  .post__inner { padding: 36px 0 0; }
  .post__title { font-size: 28px; line-height: 36px; }
  .post__date { margin-bottom: 36px; }
  .post__lead { font-size: 18px; line-height: 25px; margin-bottom: 28px; }
  .post-nav { margin-top: 56px; }
}
