/**
 * ニュースコンポーネント CSS
 * @description 全ページ共通のニュースセクションスタイル
 * 
 * ============================================================================
 * ニュースカード統合通知
 * ============================================================================
 * 
 * ニュースカードスタイル (.news-grid, .news-card) は
 * article-cards.css に完全統合されました
 * 
 * 移行日: 2025年
 * 対象: .news-grid, .news-card, .news-card__*, .news-category
 * 
 * このファイルには以下のみ残します：
 * - ニュースセクションヘッダー
 * - ニュース一覧ボタン
 * - レスポンシブ調整
 * 
 * ============================================================================
 */

@layer components {

/* ==========================================================================
   ニュースセクションヘッダー
   ========================================================================== */

.news-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.news-section-header h2 {
  margin: 0;
  --heading-h2-size: clamp(1.9rem, 4.6vw, 3rem);
  --heading-h2-margin: 0;
  word-break: auto-phrase;
  overflow-wrap: break-word;
  font-weight: var(--font-weight-heavy);
}

.news-section-header h2::after {
  content: '';
  display: block;
  width: 120px;
  height: 8px;
  background: var(--primary-blue);
  margin: 16px auto 0;
  border-radius: 4px;
}

/* ==========================================================================
   ニュース一覧へのボタン
   ========================================================================== */

.news-list-button {
  text-align: center;
  margin: 48px 0 64px 0;
  padding: 24px;
}

.news-list-button .nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  min-width: 200px;
}

.news-list-button .nav-btn:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* ==========================================================================
   モバイル対応
   ========================================================================== */

@media (max-width: 768px) {
  .news-section-header {
    margin-bottom: 24px;
  }
  
  .news-section-header h2 {
    --heading-h2-size: clamp(1.65rem, 5.5vw, 2.3rem);
  }
}

}
