@charset "UTF-8";
.site-footer{
    position: absolute;
    bottom: 0;
}
.news-inner {
    width: 1080px;
    margin: 0 auto 80px;
}

.news-page .c-ttl {
    margin-bottom: 50px;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .8);
}

.image-modal__content {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    max-height: 90%;
}

.image-modal__content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.image-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 40px;
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, 1);
    color: #20487e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
    gap: 40px 30px;
}

.news-item {
    width: 100%;
    height: auto;
}

.news-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 340 / 234;
    object-fit: cover;
}

.news-none {
    text-align: center;
}

/* ページネーション */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 60px auto 0;
}

.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

.news-pagination .current {
    background: #399ade;
    border-color: #399ade;
    color: #fff;
}

.news-pagination .prev,
.news-pagination .next {
    font-size: 20px;
}
.news-date{
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    display: block;
}




@media screen and (max-width: 768px) {
    .news-page .c-ttl{
        margin: 8vw auto;
        font-size: 8vw;
    }
    .news-page .c-ttl .en{
        font-size: 3.5vw;
    }
    .news-inner{
        width: 100%;
    }
    .news-list{
        display: inline-block;
    }
    #news .inner {
        width: 100%;
        margin: -5vw auto 0;
        padding: 10vw 8vw 12vw;
        box-sizing: border-box;
        border-radius: 5vw 5vw 0 0;
    }
    .news-list {
        width: 100%;
        margin: 4vw auto 0;
        gap: 4%;
        display: block;
        grid-template-columns: repeat(2, 1fr);
    }

    .news-item {
        width: 90%;
        height: auto;
        margin: 0 auto 5vw;
    }

    .news-item:last-child {
        margin-bottom: 0;
    }

    .news-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 340 / 234;
        object-fit: cover;
    }
    .news-pagination{
        margin: 10vw auto 0;
    }

    /* ----------------------------------------
       image modal
    ---------------------------------------- */
    .image-modal__content {
        width: 90%;
        max-width: 90%;
    }

    .image-modal__content img {
        max-width: 100%;
        max-height: 80vh;
    }

    .image-modal__close {
        top: -5vw;
        width: 12vw;
        height: 5vw;
        font-size: 1.8vw;
        border-radius: 1.5vw 1.5vw 0 0;
    }



    .site-footer{
        position: relative;
    }








}