main {
    font-family: "Zen Old Mincho", serif;
}

.sp {
    display: none;
}

.news_mainvisual {
    position: absolute;
    z-index: -5;
    height: 45rem;
    width: 100%;
}

.news_title {
    width: 12.2rem;
    margin-top: 33.7rem;
    margin-left: 8.5rem;
    padding-bottom: 7.9rem;
}

.news_section {
    background-color: #FAF9F6;
    padding-bottom: 16rem;
}

.news_ui {
    color: #1A1A1A;
    display: flex;
    padding-top: 8.4rem;
    margin-left: 8.5rem;
    width: 109.6rem;
    position: relative;
    justify-content: space-between;
}

.news_ui h3 {
    font-size: 2.2rem;
}

.news_ui div {
    font-size: 1.8rem;
    font-weight: 900;
    position: relative;
}

.news_decoration {
    width: 27.7rem;
    height: 32.7rem;
    position: absolute !important;
    z-index: 1;
    top: 2.6rem;
    left: -9rem;
}

.category_button {
    display: flex;
}

.category_select1 {
    display: block;
    width: 0.6rem;
    border-top: 0.1rem solid #1A1A1A;
    transform: rotate(30deg);
    position: relative;
    top: 1.6rem;
    left: 0.8rem;
}

.category_select2 {
    display: block;
    width: 0.6rem;
    border-top: 0.1rem solid #1A1A1A;
    transform: rotate(-30deg);
    position: relative;
    left: 2.1rem;
    top: 1.6rem;
}

.categorybox {
    display: none;
    text-wrap: nowrap;
    background-color: #234E45;
    color: #FFFFFF;
    width: 130%;
    padding: 1rem;
}

.categorybox.open {
    display: block;
    position: absolute;
    z-index: 10;
}

.news_list {
    display: flex;
    width: 111rem;
    margin-top: 8.3rem;
    margin-left: 8.5rem;
    gap: 3rem;
    z-index: 2;
    flex-wrap: wrap;
    position: relative;
}

.thumb img {
    width: 35rem;
    height: 25rem;
}

.news_date {
    font-size: 1.4rem;
    display: flex;
    color: #1A1A1A;
    margin-top: 1rem;
    font-weight: 900;
}

.news_category {
    margin-left: 1.5rem;
    display: flex;
    gap: 3rem;
}

.news_select_category {
    display: none;
}

.news_select_category.active {
    display: block;
}

.news_list_title {
    font-size: 1.4rem;
    color: #1A1A1A;
    margin-top: 1rem;
    font-weight: 900;
}

.prev {
    display: none;
}

.next {
    display: none;
}

.pagination {
    display: flex;
    margin-top: 5rem;
    gap: 2.5rem;
    justify-content: center;
}

.page-numbers {
    font-size: 1.8rem;
    font-weight: 900;
}

.page-numbers.current {
    background-color: #D9D9D9;
    padding: 0.2rem 0.7rem;
}

@media screen and (max-width: 699.98px) {
    main {
        overflow: hidden;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .news_mainvisual {
        height: 24.6rem;
    }

    .news_mainvisual img {
        object-position: 100% 0%;
    }

    .news_title {
        margin-top: 19.9rem;
        margin-left: 2rem;
        width: 8.9rem;
        padding-bottom: 2.3rem;
    }

    .news_section {
        padding-bottom: 9.1rem;
    }

    .news_ui {
        margin-left: 2rem;
        width: 32.1rem;
        padding-top: 2.7rem;
    }

    .news_ui h3 {
        font-size: 1.6rem;
    }

    .news_ui div {
        font-size: 1.6rem;
    }

    .category_select1 {
        top: 1.1rem;
        left: 0.9rem;
    }

    .category_select2 {
        top: 1.1rem;
        left: 1.9rem;
    }

    .news_decoration {
        width: 14.4rem;
        height: 15.7rem;
        left: -2rem;
    }

    .news_list {
        flex-flow: column;
        margin-left: 2rem;
        margin-top: 3rem;
    }

    .thumb img {
        width: 33.5rem;
        height: 24.4rem;
    }
    .page-numbers{
        font-size: 1.6rem;
    }


}