@charset "UTF-8";

/* ===============
News Hero
=================*/

.news-hero {
    min-height: 320px;
    overflow: hidden;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.news-hero__body {
    width: 100%;
    padding: 64px 100px;
    text-align: left;
}

.news-hero__title-en {
    display: block;
    font-size: 6.4rem;
    font-weight: 300;
    color: #373737;
    letter-spacing: 0.06em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.news-hero__title-ja {
    display: block;
    font-size: 1.3rem;
    color: #8b7d6b;
    letter-spacing: 0.12em;
}

@media (max-width: 1023px) {
    .news-hero {
        min-height: 200px;
    }

    .news-hero__body {
        padding: 24px 24px 40px;
        text-align: center;
    }

    .news-hero__title-en {
        font-size: 4.0rem;
    }
}

/* ===============
News List
=================*/

.news-list-content {
    padding: 80px 0 100px;
}

.news-list {
    list-style: none;
    margin-bottom: 64px;
}

.news-list__item {
    border-bottom: 1px solid rgba(55, 55, 55, 0.12);
}

.news-list__item:first-child {
    border-top: 1px solid rgba(55, 55, 55, 0.12);
}

.news-list__link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    text-decoration: none;
    color: #373737;
    transition: opacity 0.2s ease;
}

.news-list__link:hover {
    opacity: 0.55;
}

.news-list__date {
    flex: 0 0 auto;
    font-size: 1.3rem;
    color: #8b7d6b;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.news-list__separator {
    flex: 0 0 auto;
    color: rgba(55, 55, 55, 0.25);
    font-size: 1.4rem;
    font-weight: 300;
}

.news-list__title {
    flex: 1;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.news-list__arrow {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

@media (max-width: 1023px) {
    .news-list-content {
        padding: 48px 0 64px;
    }

    .news-list {
        margin-bottom: 48px;
    }

    .news-list__link {
        gap: 12px;
        padding: 16px 0;
    }

    .news-list__date {
        font-size: 1.2rem;
    }

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

/* ===============
Pagination
=================*/

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.news-pagination__prev,
.news-pagination__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    color: #373737;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.news-pagination__prev:hover,
.news-pagination__next:hover {
    opacity: 0.4;
}

.news-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    color: #373737;
    text-decoration: none;
    border-radius: 50%;
    letter-spacing: 0.04em;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.news-pagination__num:hover,
.news-pagination__num.is-active {
    background-color: #373737;
    color: #faf7f5;
}

/* ===============
News Detail
=================*/

.news-detail-content {
    padding: 80px 0 120px;
}

.news-detail {
    max-width: 780px;
    margin: 0 auto;
}

.news-detail__date {
    display: block;
    font-size: 1.3rem;
    color: #8b7d6b;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    text-align: left;
}

.news-detail__title {
    font-size: 2.2rem;
    font-weight: 500;
    color: #373737;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(55, 55, 55, 0.15);
}

.news-detail__body {
    font-size: 1.5rem;
    line-height: 2.0;
    color: #373737;
    margin-bottom: 80px;
    text-align: left;
}

.news-detail__body p + p {
    margin-top: 1.6em;
}

.news-detail__back {
    text-align: center;
}

.news-detail__back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: #66605c;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 14px 40px;
    border: 1px solid #66605c;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.news-detail__back-link::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #66605c;
    -webkit-mask-image: url("../images/arrow.svg");
    mask-image: url("../images/arrow.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transform: rotate(180deg);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.news-detail__back-link:hover {
    background-color: #66605c;
    color: #faf7f5;
    box-shadow: 0 6px 16px rgba(102, 96, 92, 0.35);
}

.news-detail__back-link:hover::before {
    background-color: #faf7f5;
    transform: rotate(180deg) translateX(4px);
}

@media (max-width: 1023px) {
    .news-detail-content {
        padding: 48px 0 80px;
    }

    .news-detail__title {
        font-size: 1.8rem;
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .news-detail__body {
        font-size: 1.4rem;
        margin-bottom: 56px;
    }

    .news-detail__back-link {
        padding: 12px 40px;
    }
}


/* ===============
CJK keep-all (desktop only - see mobile fallback rationale)
=================*/

@media (min-width: 1024px) {
    .news-detail__body {
        word-break: keep-all;
        overflow-wrap: break-word;
        line-break: strict;
        font-size: 1.6rem;
    }
}
