.news-container{
    background-color: #FDF9E3;
    padding-top: 160px;
    color: #222222;
    font-size: 18px;
}

.news-list-wrapper{
    border: #62BDC4 solid 3px;
    background-color: #fff;
    max-width: 998px;
    border-radius: 40px;
    margin: 0 auto;
    padding: 64px 72px;
    position: relative;
    box-sizing: border-box;
}

.news-title {
    text-align: center;
    font-size: 40px;
    margin: 0 0 61px 0;
    
}

.news-list{
    list-style: none;
    padding-left: 0;   
}

.news-list li {
    display: flex;
    justify-content: flex-start; 
    align-items: flex-start;
    border-bottom: 1px solid #999;
    padding: 24px 0 ;
    text-align: left;
    gap:40px;
}

.news-list li:first-child {
    border-top: 1px solid #999999;
}

.news-text{
    font-weight: bold;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: break-all;
}

ul.news-list li .news-text a {
    color: #222 !important;
    text-decoration: none !important;
}

.bird-image {
    position: absolute;
    right: -100px;
    top: 100px;
    z-index: 1;
}




@media screen and (max-width: 480px) {
    .news-container{
        padding-top: 110px;
    }

    .news-list-wrapper{
        width: 100%;
        padding: 40px 24px;
        border-right: none;
        border-left: none;
        border-radius: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .news-list {
        font-size: 16px;
    }

    .news-list li {
        display: flex;
        flex-direction: column;
        gap: 8px;
}

    .news-title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .bird-image {
        display: none;
    }

    footer {
    padding-top: 100px;
    }
}



.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    color: #B1B1B1;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.page-numbers:visited {
    color: #222;
}

.page-numbers.current {
    color: #222;
}

.page-numbers:not(.prev):not(.next):hover {
    transform: scale(1.2);
}

.prevBtn,
.nextBtn,
.firstBtn,
.lastBtn {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #000;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.prevBtn:hover,
.nextBtn:hover,
.firstBtn:hover,
.lastBtn:hover {
    background: #C3E7EA;
    border: 2px solid #62BDC4;
}

.firstBtn:hover img,
.prevBtn:hover img {
    transform: translateX(-5px);
}

.firstBtn img,
.prevBtn img,
.nextBtn img,
.lastBtn img {
    width: 16px;
    transition: transform 0.3s ease;
}

.nextBtn:hover img,
.lastBtn:hover img {
    transform: translateX(5px);
}


/* 共通スタイル */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 64px auto 64px auto;
}

.page-numbers-wrapper {
    display: inline-block;
}

.pagination-wrapper .current-page {
    display: none ; 
}

@media screen and (max-width: 768px) {
    .pagination-wrapper {
        gap: 20px;
        margin: 45px auto 24px auto;

    }

    .page-numbers-wrapper {
        display: none;
    }

    .current-page {
        display: inline-block !important;
        font-size: 20px;
        font-weight: bold;
    }
}