.newsContainer{
    display: flex;
    justify-content: space-between;
    margin-top: 15rem;
}

@media screen and (max-width: 639px) {
    .newsContainer{
        flex-direction: column;
        margin-top: 5.7rem;
    }
}

.newsContainer .category-list{
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

@media screen and (max-width: 639px) {
    .newsContainer  .category-list{
        flex-direction: row;
        margin-bottom: 2.8rem;
    }
}

.newsContainer .newsListContainer{
    width: 75rem;
    max-width: 75rem;
}

@media screen and (max-width: 639px) {
    
    .newsContainer .newsListContainer{
        width: auto;
        max-width: auto;
    }
}
.newsList-item a{
    display: flex;
    gap: 4rem;
    padding: 3rem 0;
    border-top: 1px solid #e5e5e5;
}


@media screen and (max-width: 639px) {
    .newsList-item a{
        gap: 2rem;
        padding: 2rem 0;
    }
}

.newsList-item a figure{
    width: 22rem;
    height: 15rem;
    min-width: 22rem;
}

@media screen and (max-width: 639px) {
    .newsList-item a figure{
        width: 14rem;
        height: 9.4rem;
        min-width: 14rem;
    }
}
.newsList .newsList-item:last-child a{
    border-bottom: 1px solid #e5e5e5;
}
.newsList-item-content .newsList-item-info{
    font-size: 1.2rem;
    display: flex;
    gap: 2.5rem;
    margin-bottom: .8rem;
}

@media screen and (max-width: 639px) {
    .newsList-item-content .newsList-item-info{
        font-size: 1rem;
        gap: 2rem;
        margin-bottom: .5rem;
    }
}
.nav-links{
    display: flex;
    align-items: center;
    margin-top: 6rem;
    gap: 1rem;
}
@media screen and (max-width: 639px) {
    .nav-links{
        margin-top: 4rem;
        justify-content: center;
    }
}
.page-numbers{

    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;

}

@media screen and (max-width: 639px) {
    .page-numbers{
        width: 3rem;
        height: 3rem;
    }

}
.current{
    background-color: #004622;
    border-radius: 50%;
    color: white;
}
.current a{
    color: white;
}
.prev-btn{
    margin-right: 4rem;
}
.next-btn{
    margin-left: 4rem;
}
.next-btn img{
    
    transform: rotate(180deg);
}

.prev-btn, .next-btn{
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 639px) {
    .prev-btn, .next-btn{
        width: 3rem;
        height: 3rem;
        margin: 0;
    }
    .prev-btn img, .next-btn img{
        width: .6rem;
    }
}


.newsDetailContainer{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.back-btn{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    cursor: pointer;
}

.c-detail-content{
    border-top: 1px solid #e5e5e5;
    padding-top: 10rem;
    margin-top: 10rem;
    margin-bottom: 17rem;
}

.newsDetail{
    width: 72rem;
}

.newsDetail .news-info{
    display: flex;
    gap: 3rem;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 400;
}

.newsDetail .news-title{
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 7.8rem;
    font-family: 'Noto Serif JP';
}
.newsDetail .content a{
    color: #004622 !important;
    border-bottom: 1px solid #004622 !important;
    cursor: pointer;
}


@media screen and (min-width: 640px) {
    
}
.newsList-item-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} 
.newsDetail .content p{
        margin-bottom: 2rem;
    }
    .newsDetail figure{
        margin-bottom: 2rem;
    }
@media screen and (max-width: 639px) {
   
    .c-detail-content{
        padding-top: 5rem;
        margin-top: 5rem;
        margin-bottom: 10rem;
    }
    
    .newsDetail .news-title{
        margin-bottom: 5rem;
    }
    .newsDetailContainer{
        flex-direction: column-reverse;
    }
    .newsDetail{
        width: auto;
    }
    .back-btn{
        margin: 7rem auto 5rem 0;
    }
}

