/* ニュースアーカイブセクション全体 */
.news-archive-section {
  padding: 40px 20px;
  background-color: #fff;
}

/* ページタイトル */
.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* ニュース一覧リスト */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ニュースアイテム：1行で 日付 / カテゴリ / タイトル */
.news-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.3s ease;
}

.news-item:hover {
  background-color: #f9fafb;
}

/* 日付 */
.news-date {
  font-size: 0.85rem;
  color: #666;
  min-width: 5.5rem;
  margin-right: 1rem; /* ← 追加 */
}


/* カテゴリバッジ */
.news-category {
  display: inline-block;
  background-color: #111;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  line-height: 1;
  white-space: nowrap;
  margin-right: 1rem; /* ← 追加 */
}

/* タイトル */
.news-title {
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  flex: 1;
  line-height: 1.6;
}

/* ページネーション */
.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination .page-numbers {
  margin: 0 5px;
  padding: 10px 15px;
  background-color: #e5e7eb;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
}

.pagination .page-numbers.current {
  background-color: #2563eb;
  color: #fff;
}

.pagination .page-numbers:hover {
  background-color: #4f46e5;
  color: #fff;
}

/* パンくずリスト */
.breadcrumb {
  font-size: 0.875rem;
  color: #6b7280;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #6b7280;
}

/* シングルニュースページ */
.single-news {
  padding: 40px 20px;
  background-color: #fff;
}

.single-news .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.single-news .main-content {
  flex: 1;
  max-width: 65%;
}

.single-news .sidebar {
  flex: 0 0 30%;
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-news h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.single-news .post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.single-news .sidebar .widget {
  margin-bottom: 20px;
}

.single-news .sidebar .widget h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
  .news-list {
    gap: 15px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .single-news .container,
  .content-area {
    flex-direction: column;
  }

  .single-news .main-content,
  .single-news .sidebar,
  .sidebar {
    max-width: 100%;
    width: 100%;
  }
}
