/*----- index -----*/
.news-index-content {
    padding-bottom: 84px;
}
.subpage-header--news {
    background: url(../img/news/img_header_sp.webp) no-repeat left calc(50% + 51px) bottom 7px/237px auto,
                url(../img/news/bg_header.webp) repeat-x left calc(50% + 112px) bottom/1000px auto;
}
.breadcrumb {
    margin-bottom: 38px;
}
.news-index-content-inner {
    width: 90.67%;
}
.news-narrow-down-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-inline: 11px;
}
.news-category-list {
    margin-bottom: 8px;
}
.news-year-list {
    margin-bottom: 19px;
}
.news-narrow-down-list__items {
    width: 72px;
}
.news-narrow-down-list__btn {
    display: block;
    width: 100%;
    border-radius: 10vh;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: .3s;
    &:hover {
        opacity: .5;
    }
}
.news-category-list__btn {
    background: #F8B617;
    border: 0;
    color: #fff;
    padding-bottom: 3px;
}
.news-year-list__btn {
    background: #fff;
    color: #F8B618;
    border: 1px solid #F8B618;
    padding-bottom: 2px;
}
.news__list {
    display: grid;
    gap: 15px;
    margin-bottom: 37px;
    container-name: news__list;
    container-type: inline-size;
}
.news__list__items__link {
    display: grid;
    padding: 14px 12px 10px;
    grid-template-columns: 44.03% 52.04%;
    justify-content: space-between;
    background: #FCE1A9;
    border-radius: 8px;
    text-decoration: none;
    transition: .3s;
    &:hover {
        opacity: .5;
    }
}
.news__list__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 8/5;
    object-fit: cover;
}
.news__list__category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 9px;
}
.news__list__category {
    width: fit-content;
    background: #F8B618;
    padding-inline: 12px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10vh;
}
.news__list__ttl {
    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}
.news__list__date {
    color: #000;
    font-size: 10px;
    font-weight: 500;
    text-align: right;
}
.nav-links {
    display: flex;
    justify-content: center;
    gap: 31px;
}
.page-numbers {
    color: #707070;
    font-size: 15px;
    text-decoration: none;
    background: none;
    padding: 0;
    border: 0;
    &.current {
        color: #000;
        font-weight: 700;
    }
}
.next,.prev {
    display: block;
    width: 5px;
    height: 9px;
    position: relative;
    &::after {
        content: "";
        display: block;
        width: 5px;
        height: 5px;
        border-top: 1px solid #B6AF9C;
        border-left: 1px solid #B6AF9C;
        rotate: -45deg;
        position: absolute;
        top: 100%;
    }
}
.next {
    scale: -1 1;
}

/*----- detail -----*/
.news-article-content {
    padding-bottom: 85px;
}
.news-article {
    margin-bottom: 26px;
}
.news-article__header {
    margin-bottom: 12px;
}
.news-article__header__col {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 9px;
}
.news-article__header__category,.news-article__header__year {
    min-width: 64px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    border-radius: 10vh;
    border: 1px solid #F8B618;
}
.news-article__header__category {
    color: #fff;
    background: #F8B618;
}
.news-article__header__year {
    color: #F8B618;
    background: #fff;
}
.news-article__header__ttl {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.29;
    margin-bottom: 6px;
}
.news-article__header__date {
    display: block;
    font-size: 10px;
    font-weight: 500;
}
.news-article__content__eyecatch {
    margin-bottom: 18px;
}
.news-article__content {
    *+* {
        margin-top: 22px;
    }
    p {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.54;
    }
}
.news-article__btn {
    background: #F8B62D;
    &::before {
        background: #FDCB63;
    }
}


@media(min-width:751px) {
    .breadcrumb {
        margin-bottom: 71px;
    }
    /*----- index -----*/
    .news-index-content {
        padding-bottom: 84px;
    }
    .subpage-header--news {
        background: url(../img/news/img_header_pc.webp) no-repeat left calc(50% + 109px) bottom 14px/816px auto,
                    url(../img/news/bg_header.webp) repeat-x center bottom/2000px auto;
    }
    .news-narrow-down-list {
        margin-inline: 4px;
    }
    .news-year-list {
        margin-bottom: 38px;
    }
    .news-narrow-down-list__items {
        width: 102px;
    }
    .news-narrow-down-list__btn {
        font-size: 14px;
    }
    .news-category-list__btn {
        padding-block: 1px 3px;
    }
    .news-year-list__btn {
        padding-bottom: 2px;
    }
    .news__list {
        grid-template-columns: repeat(3,1fr);
        gap: 37px;
    }
    .news__list__items__link {
        display: grid;
        height: 100%;
        padding: 19px 18px 25px;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        gap: 16px;
        border-radius: 16px;
    }
    .news__list__category-list {
        gap: 8px;
    }
    .news__list__category {
        padding: 2px 23px;
        font-size: 14px;
    }
    .news__list__ttl {
        font-size: 16px;
        margin-bottom: 11px;
    }
    .news__list__date {
        font-size: 14px;
        font-weight: 400;
    }
    .nav-links {
        gap: 40px;
    }
    .page-numbers {
        font-size: 20px;
        background: none;
        padding: 0;
        border: 0;
        &.current {
            font-weight: 700;
        }
    }
    .next,.prev {
        display: block;
        width: 9px;
        height: 14px;
        position: relative;
        &::after {
            width: 10px;
            height: 10px;
            border-width: 2px;
            top: 80%;
        }
    }

    /*----- detail -----*/
    .news-article-content {
        padding-bottom: 66px;
    }
    .news-article {
        margin-bottom: 50px;
    }
    .news-article__header {
        margin-bottom: 30px;
    }
    .news-article__header__col {
        gap: 10px;
        margin-bottom: 8px;
    }
    .news-article__header__category,.news-article__header__year {
        min-width: 102px;
        font-size: 14px;
        line-height: 1.43;
        padding-bottom: 2px;
    }
    .news-article__header__ttl {
        font-size: 24px;
        line-height: 1.45;
        margin-bottom: 10px;
    }
    .news-article__header__date {
        font-size: 14px;
    }
    .news-article__content__eyecatch {
        margin-bottom: 32px;
    }
    .news-article__content {
        *+* {
            margin-top: 28px;
        }
        p {
            font-size: 16px;
            line-height: 1.625;
        }
    }
}

@container news__list (680px<width<832px) {
    .news__list__category {
        font-size: 12px;
        padding-inline: 12px;
    }
}