@charset "UTF-8";

/*--------------------------------------
.news-wrap
--------------------------------------*/
.news-wrap a {
    display: flex;
    gap: 25px;
    padding: 20px 30px 20px 20px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.news-wrap a+a {
    margin-top: 15px;
}

.news-wrap a:hover {
    background-color: #fff;
}

.news-wrap .img {
    width: 215px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-wrap .tx {
    line-height: 1.5;
    width: calc(100% - 240px);
}

.news-wrap .date {
    font-size: 14px;
    color: var(--gray);
}

.news-wrap .tit {
    font-size: 18px;
    font-weight: 500;
    color: var(--title);
}

.news-wrap .detail {
    margin-top: 0.7em;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 678px) {
    .news-wrap a {
        gap: 20px;
    }

    .news-wrap .img {
        width: 160px;
    }

    .news-wrap .tx {
        width: calc(100% - 180px);
    }

    .news-wrap .tit {
        font-size: 17px;
    }
}

@media screen and (max-width: 599px) {
    .news-wrap a {
        gap: 10px;
        padding: 10px;
    }

    .news-wrap .img {
        width: 85px;
    }

    .news-wrap .tx {
        width: calc(100% - 102px);
        padding: 5px 10px 0px 10px;
    }

    .news-wrap .date {
        font-size: 13px;
    }

    .news-wrap .tit {
        font-size: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 3em;
    }

    .news-wrap .detail {
        display: none;
    }
}

/*--------------------------------------
news-grid
--------------------------------------*/
.panel {
    padding: 50px;
}

.news-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 215px 1fr;
    grid-template-rows: 215px auto;
    gap: 42px 48px;
    grid-template-areas:
        "img tit"
        "detail detail";
}

.news-grid .img {
    grid-area: img;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-grid .tit {
    font-size: 24px;
    grid-area: tit;
    margin-bottom: 0;
}

.news-grid .date {
    font-size: 16px;
    color: var(--gray);
}

.news-grid .detail {
    grid-area: detail;
}

.news-btn-wrap {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-btn-wrap a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding: 1em;
    line-height: 1;
    border-radius: 5rem;
    border: solid 1px var(--gray);
}

.news-btn-wrap .list_btn {
    padding: 1em 2em;
}

.news-btn-wrap .ic-arrow_prev,
.news-btn-wrap .ic-arrow_next {
    border-radius: 100%;
}

.news-btn-wrap a:hover {
    color: #fff;
    background-color: var(--gray);
}

.news-btn-wrap a.disabled {
    pointer-events: none;
    cursor: default;
    background-color: #8e9ba754;
    opacity: 0.4;
}

@media screen and (max-width: 678px) {
    .panel {
        padding: 40px;
    }

    .news-grid {
        display: block;
    }

    .news-grid .tit {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 1em;
    }

    .news-grid .date {
        margin-bottom: 1em;
    }

    .news-grid .img {
        width: 100%;
        height: 50vw
    }

    .news-grid .img.no-img {
        display: none;
    }

    .news-grid .detail {
        margin-top: 1em;
    }

    .news-btn-wrap {
        justify-content: center;
    }
}

@media screen and (max-width: 500px) {
    .panel {
        padding: 30px;
    }

    .news-grid .tit {
        font-weight: 600;
        font-size: 20px;
    }

    .news-grid .date {
        font-size: 14px;
        margin-bottom: 0.6em;
    }

    .news-btn-wrap a {
        font-size: 14px;
    }
}

@media screen and (max-width: 400px) {
    .panel {
        padding: 20px;
    }

    .news-grid .tit {
        font-size: 18px;
    }

}