@charset "UTF-8";

.news-page__header {
    display: grid;
    place-items: center;
    min-height: 145px;
    padding: 30px 20px;
    background: #DBEAFF;
}

.news-page__header h1 {
    margin: 0;
    color: #333;
    font-size: 3rem;
    line-height: 1.4;
}

.news-page__body {
    width: calc(100% - 40px);
    max-width: 750px;
    margin: 0 auto;
    padding: 54px 0 80px;
}

.news-page__empty {
    margin: 0 0 40px;
    color: #666;
    font-size: 1.5rem;
    line-height: 1.6;
}

.news-page__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-page__list li {
    border-bottom: 1px solid #d8d8d8;
}

.news-page__list a {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) 28px 12px;
    gap: 14px;
    align-items: center;
    min-height: 60px;
    padding: 10px 12px 10px 0;
    color: #333;
    text-decoration: none;
}

.news-page__list time {
    color: #999;
    font-size: 1.3rem;
    white-space: nowrap;
}

.news-page__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
}

.news-page__list img {
    display: block;
    grid-column: -3 / -2;
    width: 24px;
    height: auto;
}

.news-page__arrow {
    grid-column: -2 / -1;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--main);
    border-right: 2px solid var(--main);
    transform: rotate(45deg);
}

.news-detail__body {
    width: calc(100% - 40px);
    max-width: 750px;
    margin: 0 auto;
    padding: 68px 0 80px;
}

.news-detail__date {
    display: block;
    color: #999;
    font-size: 1.3rem;
}

.news-detail__title {
    margin: 10px 0 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #d8d8d8;
    color: #333;
    font-size: 1.8rem;
    line-height: 1.65;
}

.news-detail__content {
    margin-top: 30px;
}

.news-detail__content p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.7;
}

.news-detail__content p + p {
    margin-top: 4px;
}

.news-detail__attachment {
    display: grid;
    grid-template-columns: 130px 1fr;
    margin: 32px 0 0;
    background: #eee;
}

.news-detail__attachment dt,
.news-detail__attachment dd {
    margin: 0;
    padding: 20px 28px;
    font-size: 1.3rem;
}

.news-detail__attachment a {
    color: #0669ed;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.news-detail__back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 32rem;
    min-height: 5.2rem;
    margin: 66px auto 0;
    padding: 1.4rem 2.4rem;
    background: #1d4b96;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.news-detail__back-arrow {
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg);
}

@media screen and (max-width: 790px) {
    .news-page__header {
        min-height: 120px;
    }

    .news-page__header h1 {
        font-size: 2.6rem;
    }

    .news-page__body {
        width: 90%;
        padding: 36px 0 56px;
    }

    .news-page__list a {
        grid-template-columns: minmax(0, 1fr) 24px 10px;
        gap: 10px;
        padding: 16px 4px;
    }

    .news-page__list time {
        grid-column: 1 / -1;
        font-size: 1.1rem;
    }

    .news-page__title {
        font-size: 1.3rem;
    }

    .news-page__title br {
        display: none;
    }

    .news-page__list img {
        width: 22px;
    }

    .news-detail__body {
        width: 90%;
        padding: 44px 0 56px;
    }

    .news-detail__title {
        font-size: 1.4rem;
    }

    .news-detail__content {
        margin-top: 24px;
    }

    .news-detail__content p {
        font-size: 1.3rem;
    }

    .news-detail__attachment {
        grid-template-columns: 92px 1fr;
        margin-top: 28px;
    }

    .news-detail__attachment dt,
    .news-detail__attachment dd {
        padding: 16px 14px;
        font-size: 1.2rem;
    }

    .news-detail__back {
        width: 100%;
        max-width: 32rem;
        margin-top: 48px;
        font-size: 1.4rem;
    }
}
