/* NEWS一覧: 共通の左寄せレイアウトを中央寄せに戻す */
.news-archive .page-article__inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

/* NEWS: 共通リストのレイアウト */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 22px;
  width: 90%;
}

/* NEWS: 各項目 */
.news-item {
  display: block;
}

/* NEWS: 1件分の行 */
.news-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  color: inherit;
  padding-bottom: 22px;
  width: 95%;
  margin: 0 auto;
  border-bottom: 1px solid var(--brand-gray);
  justify-content: center;
}

/* NEWS: 日付とカテゴリの並び */
.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* NEWS: 日付 */
.news-date {
  color: var(--color-muted);
  font-size: 15px;
  font-weight: var(--weight-gothic-regular);
}

/* NEWS: カテゴリバッジ */
.news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-black);
  color: var(--brand-white);
  font-size: 13px;
  font-weight: var(--weight-gothic-regular);
}

/* NEWS: 記事タイトル */
.news-title {
  font-size: 15px;
  font-weight: var(--weight-gothic-regular);
  text-align: left;
}

/* NEWS: 最終行は下線を消す */
.news-item:last-child .news-row {
  border-bottom: none;
}

/* NEWS詳細: 全体レイアウト */
.news-single {
  padding-bottom: 140px;
}

.news-single .page-article__inner {
  width: min(100%, 560px);
  margin: 0 auto;
}

.news-single__article {
  width: min(100%, 560px);
  margin: 0 auto;
}

.news-single__article-header {
  margin-bottom: 56px;
}

.news-single__entry-title {
  margin: 0;
  font-size: 19px;
  font-weight: var(--weight-gothic-medium);
  line-height: 1.6;
}

.news-single__meta {
  gap: 10px;
  margin-top: 18px;
}

.news-single__content {
  color: var(--color-text);
  font-size: 15px;
  font-weight: var(--weight-gothic-regular);
  line-height: 2;
}

.news-single__content p,
.news-single__content li {
  font-weight: var(--weight-gothic-regular);
}

.news-single__content p {
  margin-bottom: 22px;
}

.news-single__actions {
  display: flex;
  justify-content: center;
  margin-top: 72px;
}

.news-single__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--color-text);
  font-size: 15px;
  font-weight: var(--weight-gothic-regular);
  line-height: 1.4;
}

.news-single__back::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(-135deg);
}

/* NEWS一覧ページ: ページネーション全体 */
.news-pagination {
  margin-top: 44px;
  --pagination-border-color: var(--brand-gray);
  --pagination-font-size: 15px;
  --pagination-arrow-size: 7px;
}

@media (min-width: 768px) {
  .news-single {
    padding-bottom: 220px;
  }

  .news-single .page-article__inner {
    width: min(100%, 800px);
  }

  .news-single__article {
    width: min(100%, 800px);
    max-width: 800px;
  }

  .news-single__article-header,
  .news-single__content {
    width: min(100%, 800px);
    max-width: 800px;
  }

  .news-single__entry-title {
    font-size: 24px;
    line-height: 1.55;
  }

  .news-single__meta {
    margin-top: 20px;
  }

  .news-single__content {
    font-size: 16px;
  }

  .news-single__actions {
    margin-top: 96px;
  }

  .news-single__back {
    min-height: 54px;
    padding: 14px 30px;
    font-size: 15px;
  }

  /* PC: タイトル幅を固定 */
  .news-row {
    grid-template-columns: 160px 486px;
    padding-bottom: 34px;
  }

  .news-list {
    gap: 34px;
  }

  .news-title {
    font-weight: var(--weight-gothic-medium);
  }

  .news-pagination {
    margin-top: 56px;
  }
}
