@charset "UTF-8";
/* ===================================================
   ニュース (News) ページ専用スタイル
=================================================== */
/* --- ページ全体 --- */
.news-page {
  background-color: #fdfcf9; /* サイト全体のベースカラー */
  padding-bottom: 120px;
}

/* --- ページヘッダー (Page Hero) --- */
/* activitiesと同じスタイルを使い回し */
.page-hero {
  padding: 160px 0 60px;
  text-align: center;
}

.page-hero .sub-title {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-spark);
  margin-bottom: 15px;
}

.page-hero .main-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-hero .lead-text {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-light);
}

/* --- カテゴリフィルター --- */
.news-filter {
  margin-bottom: 60px;
}

.filter-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.filter-list a {
  display: block;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  background: #fff;
  border: 1px solid rgba(74, 64, 54, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.filter-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 182, 214, 0.1);
}

/* active/hover colors are handled per-category below */

/* Spark/Shine/Smile タブカラー */
.filter-spark:hover, .filter-spark.active {
  color: #fff;
  background: var(--color-spark);
  border-color: var(--color-spark);
  box-shadow: 0 5px 15px rgba(138, 182, 214, 0.3);
}
.filter-shine:hover, .filter-shine.active {
  color: #fff;
  background: var(--color-shine);
  border-color: var(--color-shine);
  box-shadow: 0 5px 15px rgba(230, 197, 101, 0.3);
}
.filter-smile:hover, .filter-smile.active {
  color: #fff;
  background: var(--color-smile);
  border-color: var(--color-smile);
  box-shadow: 0 5px 15px rgba(142, 188, 155, 0.3);
}

/* --- ニュース一覧グリッド --- */
.news-archive .inner {
  max-width: 1200px; /* トップページと同じ幅 */
}

.news-grid {
  display: grid;
  /* 3列で配置し、gapで余白を確保 */
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

/* トップページの記事カードのスタイルを再利用しつつ微調整 */
.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 64, 54, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(74, 64, 54, 0.08);
}

/* サムネイル */
.news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #f4f3ef; /* 読み込み前のプレースホルダー色 */
}

.news-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

/* カテゴリバッジ */
.news-thumb .cat {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* カテゴリごとの色分け */
.cat-spark {
  background-color: var(--color-spark);
}

.cat-shine {
  background-color: var(--color-shine);
}

.cat-smile {
  background-color: var(--color-smile);
}

/* テキストエリア */
.news-body {
  padding: 25px;
  flex-grow: 1; /* 高さが違う場合でもカードの底を揃える魔法 */
  display: flex;
  flex-direction: column;
}

.news-body .date {
  font-size: 0.85rem;
  color: #999999;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.news-body .title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
  /* 3行以上になったら「...」で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- ページネーション (ページ送り) --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(74, 64, 54, 0.1);
  transition: all 0.3s ease;
}

.pagination .page-numbers:not(.dots):hover {
  background: var(--color-spark);
  color: #fff;
  border-color: var(--color-spark);
}

.pagination .page-numbers.current {
  background: var(--color-spark);
  color: #fff;
  border-color: var(--color-spark);
  box-shadow: 0 5px 15px rgba(138, 182, 214, 0.3);
}

.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  pointer-events: none;
}

/* --- ページネーション (ページ送り) --- */
/* ... (上の記述はそのまま) ... */
.pagination .next {
  width: auto;
  padding: 0 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  white-space: nowrap; /* ★これを追加：絶対に改行させない */
}

/* ===================================================
   レスポンシブ対応
=================================================== */
@media screen and (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
    gap: 30px;
  }
}
@media screen and (max-width: 768px) {
  /* ★追加：スマホ画面の両サイドにしっかり余白を作る */
  .inner {
    padding-left: 5%;
    padding-right: 5%;
  }
  /* ヒーローエリアの調整 */
  .page-hero {
    padding: 120px 0 40px;
  }
  .page-hero .main-title {
    font-size: 2rem;
  }
  /* フィルター（タブ）の余白とサイズ調整 */
  .news-filter {
    margin-bottom: 40px;
  }
  .filter-list {
    gap: 10px;
  }
  .filter-list a {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  /* ニュースグリッド（1列にする） */
  .news-grid {
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 25px;
  }
  .news-body {
    padding: 20px;
  }
  .news-body .title {
    font-size: 1rem;
  }
  /* ページネーションをスマホサイズに最適化 */
  .pagination {
    gap: 5px;
  }
  .pagination .page-numbers {
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
  }
  .pagination .next {
    padding: 0 15px;
    font-size: 0.8rem;
  }
}/*# sourceMappingURL=style_news.css.map */

/* ===================================================
   ニュースページ ビジュアル強化
=================================================== */
.news-filter {
    padding: 40px 0 20px;
    background: linear-gradient(to bottom, rgba(74,64,54,0.03), transparent);
}
.news-archive {
    padding: 40px 0 60px;
}
/* アーカイブ上部のアクセントライン */
.news-archive::before {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: linear-gradient(to right, var(--color-spark), var(--color-shine), var(--color-smile));
    margin: 0 auto 60px;
    border-radius: 2px;
}

/* ===================================================
   記事詳細ページ (single.php) スタイル
=================================================== */

/* ヒーローのタイトル：記事タイトルは長くなるためサイズ調整 */
.single-page .subpage-hero-content .main-title {
  font-size: 2.6rem;
  line-height: 1.4;
  word-break: break-word;
}

/* entry-meta（日付・カテゴリ） */
.entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.entry-meta .date {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}
.entry-meta .cat {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

/* コンテンツセクション */
.single-content-section {
  padding: 80px 0 120px;
}
.single-content-section .inner {
  max-width: 800px;
}

/* 記事ラッパー */
.single-article {
  background: #fff;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 10px 40px rgba(74,64,54,0.06);
}

/* アイキャッチ画像 */
.single-thumbnail {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.single-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本文エリア */
.single-body {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-main);
}
.single-body p {
  margin-bottom: 1.6em;
}
.single-body ul,
.single-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.6em;
}
.single-body li {
  margin-bottom: 0.6em;
  line-height: 1.8;
}
.single-body strong {
  font-weight: 700;
  color: var(--text-main);
}
.single-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 2em 0 1em;
  padding-left: 1em;
  border-left: 4px solid var(--color-spark);
}
.single-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.6em 0 0.8em;
}

/* 戻るボタン */
.single-nav {
  margin-top: 50px;
  text-align: center;
}

/* ===================================================
   記事詳細 レスポンシブ
=================================================== */
@media screen and (max-width: 768px) {
  .single-page .subpage-hero-content .main-title {
    font-size: 1.7rem;
    line-height: 1.5;
  }
  .single-content-section {
    padding: 40px 0 80px;
  }
  .single-article {
    padding: 30px 20px;
    border-radius: 16px;
  }
  .single-thumbnail {
    margin-bottom: 28px;
    border-radius: 10px;
  }
  .single-body {
    font-size: 0.95rem;
    line-height: 1.9;
  }
  .single-body h2 {
    font-size: 1.2rem;
  }
  .single-body h3 {
    font-size: 1.05rem;
  }
  .single-nav {
    margin-top: 36px;
  }
  .entry-meta {
    justify-content: center;
  }
}