.blog-inner {
    width: clamp(0px, calc(100% - 40px), 1080px);
    margin: 0 auto;
}

.blog-head-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(40px, 10.25vw, 140px);
    align-items: end;
    margin-bottom: clamp(2px, 0.37vw, 5px);
}

.blog-title {
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-size: clamp(48px, 7.32vw, 100px);
    line-height: 1;
    color: #BFD1C6;
    margin: 0;
}

.blog-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin-bottom: clamp(4px, 0.73vw, 10px);
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.73vw, 10px);
    margin-bottom: clamp(48px, 7.9vw, 108px);
    padding-left: clamp(4px, 0.73vw, 10px);
}

.blog-dot {
    width: clamp(6px, 0.88vw, 12px);
    height: clamp(6px, 0.88vw, 12px);
    background: #006E7C;
    border-radius: 50%;
}

.blog-meta-text {
    font-size: clamp(14px, 1.46vw, 20px);
    color: #000;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
}


@media screen and (max-width: 819px) {
    .blog-head-wrap {
        grid-template-columns: 1fr;
        row-gap: 12px;
        align-items: start;
    }

    .blog-title {
        font-size: clamp(48px, 12vw, 72px);
    }

    .blog-desc {
        max-width: none;
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.17vw, 16px);
    font-family: "Inter", sans-serif;
}

.pagination>ul {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1.17vw, 16px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination a.page-numbers:not(.prev):not(.next):not(.pagination-last) {
    width: clamp(12px, 3.51vw, 48px);
    height: clamp(12px, 3.51vw, 48px);
    border-radius: 50%;
    border: 1px solid #BFD1C6;
    color: #006E7C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(4px, 1.17vw, 16px);
    text-decoration: none;
    transition: opacity 0.2s;
}

.pagination span.page-numbers.current {
    width: clamp(12px, 3.51vw, 48px);
    height: clamp(12px, 3.51vw, 48px);
    border-radius: 50%;
    border: 1px solid #006E7C;
    color: #006E7C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(4px, 1.17vw, 16px);
}

.pagination .prev,
.pagination .next,
.pagination-last {
    border: none;
    width: auto;
    height: auto;
    padding: 0;
    color: #000;
    text-decoration: underline;
    font-size: clamp(4px, 1.17vw, 16px);
    white-space: nowrap;
    transition: opacity 0.2s;
}

.pagination .dots {
    border: none;
    width: auto;
    height: auto;
    padding: 0;
    color: #006E7C;
}

.pagination a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 819px) {
    .pagination {
        gap: 8px;
    }

    .pagination>ul {
        gap: 8px;
    }

    .pagination a.page-numbers:not(.prev):not(.next):not(.pagination-last),
    .pagination span.page-numbers.current {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .pagination span.page-numbers.current {
        font-weight: 600;
        background: rgba(0, 110, 124, 0.05);
    }

    .pagination .prev,
    .pagination .next,
    .pagination-last {
        font-size: 14px;
        text-decoration: none;
        padding: 8px 4px;
    }

    .pagination .dots {
        font-size: 14px;
    }

    .pagination-last {
        display: none;
    }
}

@media screen and (max-width: 819px) {

    /* 見出しブロックだけ制御 */
    .blog-inner:first-of-type {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* 中の h2 / desc を同階層にする */
    .blog-inner:first-of-type .blog-head-wrap {
        display: contents;
    }

    /* ▼ 並び順を作る */
    .blog-inner:first-of-type .blog-title {
        order: 1;
    }

    .blog-inner:first-of-type .blog-meta {
        order: 2;
        margin-bottom: 0;
    }

    .blog-inner:first-of-type .blog-desc {
        order: 3;
    }

    /* ▼ それ以外は全部下に送る */
    .blog-inner:first-of-type .blog-category-hint,
    .blog-inner:first-of-type .blog-category {
        order: 10;
    }
}

/* ===============================
   News List
=============================== */

.news-card-list {
    list-style: none;
    padding: 0;
    width: clamp(0px, calc(100% - 40px), 1080px);
    margin: 0 auto clamp(24px, 2.93vw, 40px);
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.54vw, 21px);
}

.news-card {
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 clamp(2px, 0.29vw, 4px) clamp(12px, 1.46vw, 20px) rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.news-card-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(32px, 8.05vw, 110px);
    padding: clamp(12px, 1.46vw, 20px) clamp(20px, 2.93vw, 40px) clamp(12px, 1.46vw, 20px) clamp(24px, 4.39vw, 60px);
    text-decoration: none;
    color: inherit;
}

/* 日付 */
.news-card-date {
    align-self: start;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.32vw, 18px);
    color: #006E7C;
    white-space: nowrap;
    line-height: 1.5;
}

/* 中央テキスト */
.news-card-body {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 0.44vw, 6px);
    min-width: 0;
}

.news-card-title {
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.32vw, 18px);
    color: #006E7C;
    line-height: 1.5;
    margin-top: clamp(2px, 0.37vw, 5px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-text {
    font-size: clamp(13px, 1.17vw, 16px);
    color: #000;
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 矢印（画像） */
.news-card-arrow {
    width: clamp(20px, 2.2vw, 30px);
    height: clamp(20px, 2.2vw, 30px);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.news-card-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.news-card-link:hover .news-card-arrow {
    transform: translateX(4px);
    opacity: 0.85;
}

/* ===============================
   SP
=============================== */
@media screen and (max-width: 819px) {
    .news-card-list {
        margin: 57px auto 39px;
    }


    /* カード全体の形を少しだけSP向けに */
    .news-card {
        border-radius: 20px;
    }

    /* 横3カラム → 縦積み */
    .news-card-link {
        grid-template-columns: 1fr;
        row-gap: 8px;
        padding: 16px 18px;
    }

    /* 日付：先頭に来るが主張しすぎない */
    .news-card-date {
        font-size: 13px;
        line-height: 1.4;
        order: 1;
    }

    /* 中央テキスト */
    .news-card-body {
        gap: 4px;
        order: 2;
    }

    .news-card-title {
        font-size: 15px;
        line-height: 1.5;
    }

    .news-card-text {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 矢印は右寄せで最下部に */
    .news-card-arrow {
        order: 3;
        justify-self: end;
        margin-top: 6px;
        width: 22px;
        height: 22px;
    }

}