/* ========================================
   お知らせページ専用スタイル
   富山カワイ幼稚園
   ======================================== */

/* ── 記事リストセクション ── */
.news-page-section {
  background: #fff;
  padding: 56px 32px 80px;
}

.news-page-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* ── カテゴリフィルター ── */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.news-filter-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid #D1D1D1;
  background: #fff;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.news-filter-btn:hover {
  border-color: #0874C7;
  color: #0874C7;
}

.news-filter-btn.active {
  background: #0874C7;
  border-color: #0874C7;
  color: #fff;
}

/* ── 記事リスト ── */
.news-list-page {
  list-style: none;
}

.news-item-page {
  border-bottom: 1px dotted #D1D1D1;
}

.news-item-page:first-child {
  border-top: 1px dotted #D1D1D1;
}

.news-item-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  color: var(--color-ink);
  transition: background 0.15s, transform 0.2s ease;
  text-decoration: none;
}

.news-item-link:hover {
  background: #F5F9FF;
}

.news-item-link .news-date {
  font-size: 16px;
  color: var(--color-muted);
  white-space: nowrap;
  min-width: 88px;
  flex-shrink: 0;
}

.news-item-link .tag {
  flex-shrink: 0;
}

.news-title {
  flex: 1;
  font-size: 16px;
  color: var(--color-ink);
  line-height: 1.6;
}

.news-arrow {
  font-size: 22px;
  color: #0874C7;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.news-item-link:hover .news-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ── タグ追加カラー ── */
.tag--circle {
  background: #E6F4F0;
  color: #1a7a58;
  border: 1px solid #a8d8c8;
}

.tag--admission {
  background: #F0EBF8;
  color: #6a3fa8;
  border: 1px solid #c8aae8;
}

.tag--parents {
  background: #F0F0F0;
  color: var(--color-text);
  border: 1px solid #C8C8C8;
}

/* ── ページネーション ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 1.5px solid #D1D1D1;
  background: #fff;
  color: var(--color-text);
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pager-btn:hover:not(:disabled) {
  border-color: #0874C7;
  color: #0874C7;
}

.pager-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.pager-btn .material-symbols-outlined {
  font-size: 20px;
}

.pager-numbers {
  display: flex;
  gap: 6px;
}

.pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 1.5px solid #D1D1D1;
  background: #fff;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pager-num:hover {
  border-color: #0874C7;
  color: #0874C7;
}

.pager-num.active {
  background: #0874C7;
  border-color: #0874C7;
  color: #fff;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .page-hero {
    padding: 32px 20px;
  }

  .page-hero-title {
    font-size: var(--font-page-title);
  }

  .news-page-section {
    padding: 40px 20px 64px;
  }

  .news-item-link {
    flex-wrap: wrap;
    row-gap: 6px;
    padding: 16px 4px;
  }

  .news-title {
    flex-basis: 100%;
    width: 100%;
  }

  .news-arrow {
    display: none;
  }
}
