@charset "UTF-8";

/* ------------------------------------------------------
 * PageComponent
------------------------------------------------------ */
/* ----- news-detail-end ----- */
.news-detail-end {
    display: none;
}

.news-detail-end.is-show {
    display: block;
}

.news-detail-end.is-show .news-detail-end__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    background-color: #f9f9f9;
}

.news-detail-end.is-show .news-detail-end__inner>*:first-child,
.news-detail-end.is-show .news-detail-end__inner>section:first-child>*:first-child,
.news-detail-end.is-show .news-detail-end__inner>[class^="list-wrap"]>*:first-child {
    margin-top: 0 !important;
}

.news-detail-end.is-show .news-detail-end__inner>*:last-child {
    margin-bottom: 0 !important;
}

.news-detail-end.is-show .news-detail-end__text {
    color: #666;
    line-height: 1.4;
    text-align: center;
}

/* ----- news-detail-content ----- */
.news-detail-content>*:first-child,
.news-detail-content>section:first-child>*:first-child,
.news-detail-content>[class^="list-wrap"]>*:first-child {
    margin-top: 0 !important;
}

.news-detail-content>*:last-child {
    margin-bottom: 0 !important;
}

/* ----- news-detail-card ----- */
.news-detail-card-wrap>*:first-child,
.news-detail-card-wrap>section:first-child>*:first-child,
.news-detail-card-wrap>[class^="list-wrap"]>*:first-child {
    margin-top: 0 !important;
}

.news-detail-card-wrap>*:last-child {
    margin-bottom: 0 !important;
}

.news-detail-card__inner {
    background-color: #e5f0f8;
    text-align: center;
}

.news-detail-card__inner>*:first-child,
.news-detail-card__inner>section:first-child>*:first-child,
.news-detail-card__inner>[class^="list-wrap"]>*:first-child {
    margin-top: 0 !important;
}

.news-detail-card__inner>*:last-child {
    margin-bottom: 0 !important;
}

.news-detail-card__title {
    color: #000;
}

.news-detail-card__text {
    color: #000;
}

@media only screen and (max-width: 767.98px) {
    .anchor-navi--center>.anchor-navi__list[data-col-pc="auto"] {
        justify-content: center;
    }
}

@media print,
screen and (min-width: 768px) {
    .news-detail-end.is-show {
        margin-top: 22px;
    }

    .news-detail-end.is-show .news-detail-end__inner {
        min-height: 70px;
        padding: 15px;
    }

    .news-detail-end.is-show .news-detail-end__text {
        font-size: 1.8rem;
        font-weight: 700;
    }

    .news-detail-content {
        margin-top: 32px;
    }

    .news-detail-card-wrap {
        display: flex;
        flex-wrap: wrap;
        margin-top: 30px;
    }

    .news-detail-card {
        width: calc((100% - (36px * 3)) / 4);
    }

    .news-detail-card:not(:nth-child(4n+1)) {
        margin-left: 36px;
    }

    .news-detail-card:nth-child(n+5) {
        margin-top: 30px;
    }

    .news-detail-card__inner {
        padding: 21px 21px 28px;
    }

    .news-detail-card__title {
        font-size: 2.0rem;
        font-weight: 700;
        line-height: 1.6;
    }

    .news-detail-card__text {
        margin-top: 0.5em;
        font-size: 1.6rem;
        font-weight: 500;
        line-height: 1.6;
    }

    .news-detail-card__image {
        margin-top: 1.2em;
    }
}

@media only screen and (max-width: 767.98px) {
    .anchor-navi--center>.anchor-navi__list[data-col-sp="auto"] {
        justify-content: center;
    }

    .news-detail-end.is-show {
        margin-top: 22px;
    }

    .news-detail-end.is-show .news-detail-end__inner {
        min-height: 50px;
        padding: 10px;
    }

    .news-detail-end.is-show .news-detail-end__text {
        font-size: 1.4rem;
        font-weight: 700;
    }

    .news-detail-content {
        margin-top: 28px;
    }

    .news-detail-card-wrap {
        margin-top: 1.8em;
    }

    .news-detail-card {
        width: 100%;
    }

    .news-detail-card:nth-child(n+2) {
        margin-top: 15px;
    }

    .news-detail-card__inner {
        padding: 15px 15px 24px;
    }

    .news-detail-card__title {
        font-size: 1.7rem;
        font-weight: 700;
        line-height: 1.4;
    }

    .news-detail-card__text {
        margin-top: 0.5em;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 1.6;
    }

    .news-detail-card__image {
        margin-top: 0.4em;
    }
}
