/* ===== お知らせ個別記事ページ (single-news.php) スタイル ===== */
.single-news-content {
  padding: 80px 0;
}

/* 本文エリアの幅を読みやすくするために少し狭くする */
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-article__header {
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 40px;
  padding-bottom: 30px;
}

.news-article__title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: #666;
}

.news-article__category a {
  display: inline-block;
  background-color: #f0f0f0;
  color: #555;
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}
.news-article__category a:hover {
  background-color: #e0e0e0;
}

/* 本文のスタイル */
.news-article__body.entry-content {
  line-height: 1.8;
}
/* WordPressエディタから出力される要素の基本的なスタイル */
.entry-content p {
  margin-bottom: 1.5em;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: 700;
  line-height: 1.5;
}
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}
.entry-content li {
  margin-bottom: 0.5em;
}

/* ページナビゲーション */
.post-navigation {
  margin-top: 60px;
  text-align: center;
}

/* ボタンのスタイル（既存のものを流用 or 新規作成） */
.btn--outline {
  display: inline-block;
  padding: 12px 35px; /* ★★★ 少し大きめにして存在感を出す ★★★ */

  /* --- ▼▼▼ ホバー前のスタイルを修正 ▼▼▼ --- */
  border: 2px solid #555; /* ★★★ 枠線を太く、濃くする ★★★ */
  border-radius: 50px; /* ★★★ 角を丸くしてボタンらしさを強調 ★★★ */
  color: #333; /* ★★★ 文字色を濃くする ★★★ */
  background-color: transparent; /* 背景は透明のまま */

  text-decoration: none;
  font-weight: 600; /* ★★★ 文字を少し太くする ★★★ */
  transition: all 0.3s ease;
}

/* --- ▼▼▼ ホバー後のスタイルを修正 ▼▼▼ --- */
.btn--outline:hover {
  /* ★★★ すべてのプロパティに !important を付けて最優先させる ★★★ */
  background-color: #333 !important; /* 背景色を濃いグレーに */
  border-color: #333 !important; /* 枠線の色も合わせる */
  color: #fff !important; /* 文字色を白に */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-article__title {
    font-size: 1.8rem;
  }
}
