/* ============================================
   page-news.css
   お知らせページ専用スタイル
   ============================================ */


/* ============================================
   セクション全体
   ============================================ */
.news-section {
  padding: 60px 0 80px;
}

.news-section .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ============================================
   フィルター（ブログと同スタイル）
   ============================================ */
.news-filter {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 24px 20px;
  background: #fafaee;
  border-radius: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
  margin-right: 4px;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  color: #333;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  background: #fde8de;
  border-color: #f07040;
  color: #f07040;
}

.filter-btn.is-active {
  background: #f57960;
  color: #fff;
  border-color: #f57960;
}


/* ============================================
   記事リスト
   ============================================ */
.news-list-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  border-top: 1px solid #e0ddd5;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid #e0ddd5;
}

.news-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.news-item__date {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.news-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-tag {
  font-size: 11px;
  padding: 3px 10px;
  background: #f57960;
  color: #fff;
  border-radius: 999px;
  display: inline-block;
}

.news-item__title {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-item__title:hover {
  color: #f57960;
}

.no-posts {
  padding: 40px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
}


/* ============================================
   SP（〜767px）
   ============================================ */
@media screen and (max-width: 767px) {

  .news-section {
    padding: 40px 0 60px;
  }

  .news-filter {
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 8px;
  }

  .filter-row {
    gap: 6px;
    margin-bottom: 10px;
  }

  .filter-label {
    font-size: 12px;
    width: 100%;
    margin-bottom: 2px;
  }

  .filter-btn {
    padding: 5px 12px;
    font-size: 12px;
  }

  .news-item {
    padding: 16px 0;
    gap: 4px;
  }

  .news-item__date {
    font-size: 12px;
  }

  .news-item__title {
    font-size: 14px;
  }

  .news-tag {
    font-size: 10px;
    padding: 2px 8px;
  }

}
