@charset "utf-8";

/* =========================
News
========================= */
.section__topic {
    width: 393px;
    word-break: normal;
    overflow-wrap: anywhere;
}

.News__list {
    margin: 50px 20px 0;
}

.News__item {
    border-bottom: 0.5px solid var(--btnColor-bk);
    position: relative;
}

.News__item:first-of-type {
    border-top: 0.5px solid var(--btnColor-bk);
}

.News__item a {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 34px 15px 34px 30px;
    color: var(--textColor-bk);
    transition: color 0.5s;
}

.News__item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--linkMarker);
    z-index: 0;
    transition: transform 0.5s ease;
    transform: translateX(0);
}

.News__item a:hover::before {
    transform: translateX(100%);
}

.News__item a time,
.News__item a p {
    position: relative;
    z-index: 1;
}

.News__item a:hover {
    color: var(--textColor-wh);
}

.News__item a::after {
    display: flex;
    content: '';
    width: 10px;
    height: 19px;
    background-image: url(../images/btn/News_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 15px;
    margin: auto 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.News__item a:hover::after {
    opacity: 0;
}

.News__item a .arrow-hover {
    content: '';
    position: absolute;
    width: 10px;
    height: 19px;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto 0;
    background-image: url(../images/btn/News_arrow_hover.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;

    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.News__item a:hover .arrow-hover {
    opacity: 1;
    transform: translateX(0);
}

.News__item p {
    padding-top: 20px;
}

.News__pager {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.News__pager .page-numbers {
    color: #a0a0a0;
}

.News__pager .current,
.News__pager .prev,
.News__pager .next {
    color: var(--textColor-bk);
}

.News__pager .current,
.News__pager a.page-numbers {
    width: 16.5px;
    height: 22.5px;
    text-align: center;
}

.News__pager a.prev.page-numbers,
.News__pager a.next.page-numbers {
    width: 22.71px;
    height: 22.5px;
    text-align: center;
}

.News__pager a.page-numbers {
    position: relative;
    display: inline-block;
}

.News__pager a.page-numbers::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 1px;
    width: 0%;
    background-color: var(--textColor-bk);

    transition: width 0.4s ease;
}

.News__pager a.page-numbers:hover::after {
    width: 100%;
}

/* PC 769px */
@media screen and (min-width: 769px) {
    .section__topic {
        width: 262px;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    .News__frame {
        display: flex;
        gap: 169px;
    }

    .News__list {
        margin: 0 100px 0 0;
        width: 915px;
        padding-top: 205px;
    }

    .News__item a {
        display: flex;
        gap: 50px;
        padding: 29px 15px 29px 30px;
    }

    .News__item p {
        padding-top: 0px;
    }

    .News__pager {
        margin-right: 100px;
    }
}

/* PC 769px */