/* ==========================================================================
  カテゴリ表示（フィルターメニュー）
   ========================================================================== */
.category-filter {
  margin-bottom: 3.5rem;
}

.category-filter ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cat-btn {
  display: inline-block;
  padding: 0.4rem 1.5rem;
  font-size: 0.85rem;
  border: 1px solid #ebdada;
  background-color: #ffffff;
  color: #0b0b0b;
  border-radius: 20px; /* 丸みをおびた優しいボタン */
  transition: all 0.3s ease;
}

.cat-btn:hover,
.cat-btn.active {
  background-color: #9e2a2b;
  border-color: #9e2a2b;
  color: #ffffff;
  opacity: 1;
}

/* ==========================================================================
  お知らせ一覧リスト
   ========================================================================== */
.news-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.news-item {
  border-bottom: 1px solid #ebdada;
  padding-bottom: 2.5rem;
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-date {
  font-size: 0.9rem;
  color: #0b0b0b;
}

.news-item-title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: #0b0b0b;
}

.news-item-title a.info-title {
  border-bottom: 1px solid #0b0b0b;
}

.news-item-title a:hover {
  color: #9e2a2b;
}

.news-summary {
  font-size: 0.95rem;
  color: #2b2b2b;
  line-height: 1.7;
  text-align: justify;
}

/* ==========================================================================
   ページネーション
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 5rem;
}

.page-number, .next-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 0.9rem;
  color: #0b0b0b;
  border: 1px solid #ebdada;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.page-number.current,
.page-number:hover,
.next-page:hover {
  background-color: #9e2a2b; /* くすみピンク */
  border-color: #9e2a2b;
  color: #ffffff;
  opacity: 1;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 576px) {
  .sub-page-header {
    height: 180px;
  }
  .sub-header-copy h2 {
    font-size: 1.8rem;
  }
  .news-item-title {
    font-size: 1.15rem;
  }
  .category-filter ul {
    gap: 0.5rem;
  }
  .cat-btn {
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
  }
}