
#news-list-section {
    padding: 40px 20px;
}

/* 記事のメインレイアウト */
.news-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;

}

.news-category-list {
    margin-bottom: 20px;
    text-align: center;
  }

  .news-category-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* ✅ スマホ対応で折り返し */
    gap: 12px;
    padding: 0;
    margin: 0 auto;
  }

  .news-category-links li a {
    display: inline-block;
    padding: 8px 16px;
    font-size: var(--fs__m);
    background-color: #e5eaee;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  /* ✅ アクティブなカテゴリ */
  .news-category-links li a.active {
    background-color: #004d67;
    color: #fff;
  }


/* 記事のタイトル */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h1 {
    font-size: 2.4rem;
    color: #333;
    font-weight: bold;
    margin-top: 10px;
}

/* メタ情報（投稿日・カテゴリー） */
.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    margin-bottom: 20px;
}

.post-date {
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 5px;
}

.post-category a {
    background: #e5eaee;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.post-category a:hover {
    background: #004d67;
    color:#fff;
}

/* アイキャッチ画像 */
.news-thumbnail {
    text-align: center;
    margin-bottom: 40px;
}

.news-thumbnail img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* 記事本文 */
.news-content {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

/* 記事内の画像を中央配置 */
.content-image, .aligncenter {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 左寄せ画像 */
.alignleft {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

/* 右寄せ画像 */
.alignright {
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}

/* 小さい画像用 */
.content-image.small {
    max-width: 50%;
}

/* 大きい画像用 */
.content-image.large {
    max-width: 100%;
}



/* 前後の記事ナビゲーション */
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.news-navigation .news-prev a,
.news-navigation .news-next a {
    display: inline-block;
    padding: 10px 15px;
    background: #004d67;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.news-navigation .news-prev a:hover,
.news-navigation .news-next a:hover {
    background: #005580;
}

/* 「お知らせ一覧へ」ボタン */
/* .btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn-wrapper .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
}

.btn-wrapper .btn:hover {
    background: #555;
} */
