body {
    background-color: #F6F0E1;
    font-family: "Noto Sans CJK JP", sans-serif;
}

.main {
    position: relative;
    isolation: isolate;
}

.fixed-bg {
    position: -webkit-sticky;
    position: sticky;
    top: calc(100vh - 27.4rem);
    top: calc(100dvh - 27.4rem);
    height: 27.4rem;
    margin-bottom: -17rem;
    z-index: -2;
    pointer-events: none;
    background-image: url('../img/module/body_img_bg1.svg');
    background-size: 67.4rem 27.4rem;
    background-position: right -2rem bottom 0;
    background-repeat: no-repeat;
}

.page-decoration {
    position: absolute;
    z-index: -1;
    top: 120rem;
    right: 0;
    width: 22rem;
    height: 22rem;
    pointer-events: none;
}

.page-decoration img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-section {
    margin-top: 6.5rem;
    margin-bottom: 14rem;
}

.hero-section__img {
    width: 115rem;
    height: 46rem;
    display: block;
    margin-inline: auto;
    border-radius: 3rem;
    overflow: hidden;
}

.hero-section__title {
    width: 60rem;
    text-align: center;
    padding-block: 2.2rem;
    border-radius: 5rem;
    box-shadow: 0 0.3rem 0.6rem #00000029;
    display: block;
    margin-inline: auto;
    margin-top: -4.5rem;
    background-color: #FFFFFF;
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: #47351A;
}

/* お知らせ詳細 */
.news {
    width: 115rem;
    margin: 0 auto 12rem;
}

.news__article {
    width: 115rem;
    padding: 4.5rem;
    border-radius: 2rem;
    box-shadow: 0 0.3rem 0.6rem #00000029;
    background-color: #FFFFFF;
}

.news-date__wrap {
    display: flex;
    align-items: center;
    gap: 7rem;
    margin-bottom: 2rem;
}

.news__day {
    color: #47351A;
    font-size: 1.6rem;
    font-weight: 500;
}

.news__category {
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: #FFFFFF;
    background-color: #0069AA;
    font-size: 1.4rem;
    font-weight: 500;
}

.news__title {
    margin-bottom: 1rem;
    color: #47351A;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.news__figure {
    margin-bottom: 1.5rem;
}

.news__img {
    display: block;
    width: 106rem;
    height: 60rem;
    border-radius: 1.5rem;
    object-fit: cover;
}

.news__body {
    color: #47351A;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;
}

.news__body p {
    margin-bottom: 3rem;
}

.news__body > :last-child {
    margin-bottom: 0;
}

.news__body img {
    max-width: 100%;
    height: auto;
}

.news__back {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 20rem;
    height: 4.2rem;
    margin: 6rem auto 0;
    border-radius: 3rem;
    color: #FFFFFF;
    background-color: #0069AA;
    font-size: 1.6rem;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.news__back:hover {
    background-color: #019A6C;
}

.news__back-arrow {
    width: 1rem;
    height: 1rem;
    border-top: 0.3rem solid #FFFFFF;
    border-right: 0.3rem solid #FFFFFF;
    transform: rotate(45deg);
}

@media screen and (max-width: 699.98px) {
    .fixed-bg {
        background-size: 100% auto;
    }

    .page-decoration {
        display: none;
    }

    body {
        background-color: #FEF5E2;
    }

    .hero-section {
        margin-top: 0;
        margin-bottom: 5rem;
    }

    .hero-section__img {
        width: 33.5rem;
        height: 25rem;
        border-radius: 3rem;
    }

    .hero-section__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-section__title {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 23rem;
        height: 4.7rem;
        padding: 0;
        margin-top: -2.4rem;
        font-size: 2rem;
    }

    .news {
        width: 33.5rem;
        margin-bottom: 8rem;
    }

    .news__article {
        width: 33.5rem;
        padding: 4rem 1.5rem;
    }

    .news-date__wrap {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .news__title {
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .news__figure {
        margin-bottom: 2.5rem;
    }

    .news__img {
        width: 30.5rem;
        height: 19.3rem;
    }

    .news__body {
        font-size: 1.5rem;
        line-height: 2;
    }

    .news__body p {
        margin-bottom: 3rem;
    }

    .news__back {
        margin-top: 4rem;
    }
}
