.news-wrapper {
    max-width: 1100px;
    margin: 120px auto;
    padding: 20px;
}

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

.news-category-filter ul {
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
}

.news-category-filter a {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #009A53;
    border-radius: 4px;
    color: #009A53;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: #F3F8F6;
}

/* アクティブ（「全て」など） */
.news-category-filter a.is-active {
    background: #009A53;
    color: #fff;
}

/* hover */
.news-category-filter a:hover {
    background: #009A53;
    color: #fff;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    /* border-bottom: 1px solid #ddd; */
}

.news-card a {
    text-decoration: none;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    transition: 0.3s ease;
    object-fit: cover;
    border-radius: 10px;
    object-position: center;
}

.news-date {
    font-size: 14px;
    color: #666;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #009A53;
    color: #333;
}

.news-category {
    margin-bottom: 8px;
}

.news-category .cat {
    display: inline-block;
    background: #009A53;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    margin-right: 5px;
}

.news-excerpt {
    font-size: 14px;
    color: #333;
    display: none;
}

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

.news-thumb {
    width: 100%;
    overflow: hidden;
    max-height: 300px;
    border-radius: 10px;
}

.pagination {
    margin-top: 40px;
    text-align: center;
    padding: 30px;
    border-top: 1px solid #009A53;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid #009A53;
    color: #009A53;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
}

/* 現在のページ */
.pagination .page-numbers.current {
    background-color: #009A53;
    color: #fff;
    cursor: default;
}

.pagination a.page-numbers:hover {
    background-color: #009A53;
    color: #fff;
}

.breadcrumb a {
    color: #333;
}

@media(max-width:768px) {
    .breadcrumb {
        padding: 10px;
    }

    .news-wrapper {
        padding: 10px;
    }

    .news-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .news-category-filter ul {
        gap: 5px;
    }

    .news-thumb {
        height: 100px;
    }
}


/* 投稿 */
.contact {
    background: #f4f4f4;
}

/* =========================================
   Single Post 共通
========================================= */
.single-post {
    background: #f4f4f4;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

/* =========================================
   ヒーロー
========================================= */
.post-hero {
    background: #009A53;
    padding: 120px 20px 80px;
    color: #fff;
}

.post-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.post-hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: auto;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-date {
    font-size: 14px;
    opacity: .85;
}

.post-category {
    padding: 6px 20px;
    font-size: 13px;
    border: 1px solid #fff;
    border-radius: 10px;
    font-weight: 600;
}

.post-title {
    font-size: 30px;
    font-weight: normal;
    line-height: 1.4;
    color: #fff;
}

.post-hero-thumb img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: 0.3s ease;
}

/* =========================================
   本文カード
========================================= */
.post-content-wrap {
    margin-top: 80px;
    padding: 0 30px;
    background-color: #f4f4f4;
}

.post-content {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
}

.post-body {
    font-size: 15px;
    line-height: 2;
    color: #222;
}

/* =========================================
   前後ナビ
========================================= */
.post-pager {
    max-width: 900px;
    margin: 40px auto 50px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    display: none;
}

.post-pager a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 10px;
}

/* =========================================
   SP
========================================= */
@media (max-width: 768px) {

    .post-hero {
        background: #009A53;
        padding: 100px 10px 30px;
        color: #fff;
    }

    .post-hero-inner {
        display: flex;
        flex-direction: column-reverse;
    }

    .post-hero-text {
        margin-right: auto;
        gap: 0;
    }

    .post-title {
        font-size: 24px;
    }

    .post-content {
        padding: 32px 20px;
    }

    .post-pager {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .post-content-wrap {
        padding: 0;
        margin-top: 30px;
    }
}