.news-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* PC：フィルタを左サイドバー化（縦並び＋スクロール追従） */
@media (min-width: 601px) {
  .news-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: start;
  }
  .news-filter {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
    position: sticky;
    top: 110px;
  }
}

.filter-btn {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  background: white;
  color: var(--text);
  transition: all .2s;
  text-align: center;
  box-sizing: border-box;
}
/* お知らせのフィルタはカテゴリ名が短いので幅統一（最大「ワクチン」4文字基準） */
.news-filter .filter-btn { min-width: 100px; }
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.news-list-full {
  list-style: none;
  /* フィルタで先頭の li が hidden になっても上端の罫線が消えないよう、
     ul 自体に border-top を持たせる */
  border-top: 1px solid var(--border);
}
.news-list-full li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
/* 内容あり→<a>、内容なし→<div> で共通のフレックスレイアウトを適用 */
.news-list-full .news-row {
  display: flex;
  align-items: baseline;
  gap: 25px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
a.news-row:hover .news-title {
  color: var(--primary);
  text-decoration: underline;
}
a.news-row { cursor: pointer; }
.news-list-full .news-date {
  font-size: var(--fs-base);
  color: var(--text-light);
  white-space: nowrap;
  min-width: 82px;
  flex-shrink: 0;
}
.news-list-full .news-right {
  flex: 1;
}
.news-list-full .news-title {
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.7;
}
.news-list-full li[data-cat].hidden { display: none; }

@media (max-width: 600px) {
  /* モバイルは従来の6px上下padding（PCは5pxに縮めている） */
  .filter-btn { padding: 6px 18px; }
  .news-list-full li { padding: 10px 0; }
  .news-list-full .news-row {
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
  }
  .news-list-full .news-date { min-width: 0; font-size: var(--fs-base); }
  .news-list-full .news-tag { padding: 1px 8px; font-size: var(--fs-xs); min-width: 56px; }
  .news-list-full .news-right { flex-basis: 100%; margin-top: 4px; }
  .news-list-full .news-title { font-size: var(--fs-base); line-height: 1.45; }
}
