html {
    scroll-padding-top: 10rem;
    scroll-behavior: smooth;
}

.header_padding {
    padding-bottom: 8rem;
}

.anchor {
    display: block;
    padding-top: 10rem;
    margin-top: 10rem;
}

body.page-template-page-day-service-facility {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    position: relative;
    padding-top: 12.6rem;
    padding-bottom: 3rem;
}

.page-template-page-day-service-facility main {
    flex: 1;
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

.bg_sp {
    position: absolute;
    top: 0rem;
    left: 0rem;
    z-index: -1;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.footer {
    background-color: #F9C1DD;
}

.footer img {
    display: block;
}

.footer div {
    display: none;
}

.bg_top {
    position: absolute;
    top: 0rem;
    left: 0rem;
    z-index: -1;
    height: auto;
}

.bg_middle {
    position: absolute;
    bottom: 0rem;
    left: 0rem;
    z-index: -1;
    height: auto;
}

.header_padding {
    padding-bottom: 0rem;
}

.day-service-facility__header.pc_only {
    display: flex;
}

.day-service-facility__title {
    font: 2.8rem / 4rem "Zen Maru Gothic";
    font-weight: 500;
    margin-top: 0.4rem;
    margin-bottom: 1.2rem;
    margin-left: 9rem;
    position: relative;
    flex-shrink: 0;
}

.day-service-facility__title::before {
    background-color: #FAD670;
    display: inline-block;
    height: 4rem;
    width: 1rem;
    content: '';
    position: absolute;
    top: -0.1rem;
    left: -1.5rem;
}

.day-service-facility__subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 13.5rem;
    height: 3.6rem;
    font: 2.4rem/3.5rem "Zen Maru Gothic";
    background-color: #FAD670;
    border: 0.1rem solid #000;
    border-radius: 1rem;
    margin-left: 2rem;
    margin-top: 0.7rem;
}

.day-service-facility__main-content {
    display: flex;
}

.day-service__main-visual {
    width: 83.6rem;
    height: 47rem;
    box-shadow: 0.6rem 0.6rem 0rem #FAD670;
    border-radius: 2rem;
    margin-bottom: 10rem;
    margin-left: 6.8rem;
    margin-top: 2rem;
}

.day-service__main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
}

/* Sidebar */
.sidebar {
    width: 27.9rem;
    height: auto;
    /* Adjusted for flexible content */
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    border: 0.1rem solid #000;
    border-radius: 1rem;
    background: #FFFFFF;
    position: fixed;
    top: 25.8rem;
    right: 7rem;
    padding: 1.4rem 2.1rem;
}

.sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 2rem;
}

.sidebar__item {
    margin-bottom: 1rem;
}

.sidebar__item a {
    text-decoration: none;
    color: inherit;
}

.sidebar__button {
    background: #F7F1DC;
    color: #000000;
    padding: 1.45rem;
    border-radius: 1rem;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: space-between;
}

.sidebar__button--facility {
    margin-top: 1rem;
}

.sidebar__button-text {
    /* No specific styles needed if it's just text */
}

.sidebar__icon {
    width: 2rem;
    height: 2rem;
    border: 0.1rem solid #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centering arrow */
    background: #FAD670;
}

/* Triangle (▶) */
.sidebar__icon-arrow {
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-left: 0.8rem solid #FFFFFF;
    /* Removed rotation and strange margin */
}

.day-service-facility__body {
    width: 83.6rem;
    height: auto;
    border: 0.1rem solid #000;
    border-radius: 1rem;
    margin-left: 7rem;
    margin-top: -0.8rem;
    background-color: #FFFFFF;
    padding: 6rem 3rem 6rem 3rem;
}

/* Feature Section */
.feature {
    margin-bottom: 10rem;
}

.feature__main-title {
    margin-bottom: 1.2rem;
    font: 2.5rem/3.6rem "Zen Maru Gothic";
    font-weight: 500;
    margin-left: 1.5rem;
    position: relative;
}

.feature__main-title::before {
    background-color: #FAD670;
    display: inline-block;
    height: 4rem;
    width: 1rem;
    content: '';
    position: absolute;
    top: -0.3rem;
    left: -1.5rem;
}

.feature__title {
    font: 2rem/2.9rem "Noto Sans JP";
    font-weight: 500;
    margin-top: 3.2rem;
    margin-left: 4rem;
    position: relative;
}

.feature__title::before {
    background-color: #FAD670;
    display: inline-block;
    height: 0.4rem;
    width: 3rem;
    content: '';
    position: absolute;
    top: 1.2rem;
    left: -4rem;
}

.feature__text {
    font: 1.5rem/3rem "Noto Sans JP";
    text-align: left;
    margin-left: 4rem;
    margin-top: 1.1rem;
    letter-spacing: 0.075rem;
}

.feature__text span {
    font-weight: 500;
}

.feature__content {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.feature__text-block {
    flex: 1 1 18rem;
}

.feature__image-wrapper {
    width: 28.9rem;
    height: 16.7rem;
    flex-shrink: 0;
}

.feature__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(110%);
}

.feature--food .feature__text {
    margin-left: 4rem;
}

.feature__image-gallery {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.feature__image-gallery img {
    width: 23.5rem;
    height: 14rem;
    object-fit: cover;
}

/* Facility Gallery Section */
.facility-gallery {
    margin-bottom: 10rem;
    margin-left: 3rem;
    margin-top: 6rem;
}

.facility-gallery__title {
    margin-bottom: 1.2rem;
    font: 2.5rem/3.6rem "Zen Maru Gothic";
    font-weight: 500;
    margin-left: 1.5rem;
    position: relative;
}

.facility-gallery__title::before {
    background-color: #FAD670;
    display: inline-block;
    height: 4rem;
    width: 1rem;
    content: '';
    position: absolute;
    top: -0.3rem;
    left: -1.5rem;
}

.facility-gallery__container {
    margin: 5rem auto;
    position: relative;
    width: 41.5rem;
}

.facility-gallery__swiper {
    width: 41.5rem;
    height: 26.1rem;
}

.facility-gallery__swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-gallery__container .swiper-button-prev,
.facility-gallery__container .swiper-button-next {
    width: 4rem;
    height: 4rem;
    border: 0.1rem solid #000;
    border-radius: 50%;
    background-color: #FAD670;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.facility-gallery__container .swiper-button-prev {
    left: -6rem;
}

.facility-gallery__container .swiper-button-next {
    right: -6rem;
}

.facility-gallery__container .swiper-button-prev:after,
.facility-gallery__container .swiper-button-next:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 0.8rem solid transparent;
    border-bottom: 0.8rem solid transparent;
    color: transparent;
}

.facility-gallery__container .swiper-button-prev:after {
    border-right: 1.2rem solid #FFFFFF;
    transform: translateX(-15%);
}

.facility-gallery__container .swiper-button-next:after {
    border-left: 1.2rem solid #FFFFFF;
    transform: translateX(15%);
}

.facility-gallery__container .swiper-button-prev2,
.facility-gallery__container .swiper-button-next2 {
    width: 4rem;
    height: 4rem;
    border: 0.1rem solid #000;
    border-radius: 50%;
    background-color: #FAD670;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.facility-gallery__container .swiper-button-prev2 {
    left: -6rem;
}

.facility-gallery__container .swiper-button-next2 {
    right: -6rem;
}

.facility-gallery__container .swiper-button-prev2:after,
.facility-gallery__container .swiper-button-next2:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 0.8rem solid transparent;
    border-bottom: 0.8rem solid transparent;
    color: transparent;
}

.facility-gallery__container .swiper-button-prev2:after {
    border-right: 1.2rem solid #FFFFFF;
    transform: translateX(-15%);
}

.facility-gallery__container .swiper-button-next2:after {
    border-left: 1.2rem solid #FFFFFF;
    transform: translateX(15%);
}

/* Other Info Section */
.other-info {
    margin-left: 3rem;
    margin-top: 6rem;
    margin-bottom: 8.5rem;
}

.other-info__main-title {
    margin-bottom: 1.2rem;
    font: 2.5rem/3.6rem "Zen Maru Gothic";
    font-weight: 500;
    margin-left: 1.5rem;
    position: relative;
}

.other-info__main-title::before {
    background-color: #FAD670;
    display: inline-block;
    height: 4rem;
    width: 1rem;
    content: '';
    position: absolute;
    top: -0.3rem;
    left: -1.5rem;
}

.other-info__title {
    font: 2rem/2.9rem "Noto Sans JP";
    font-weight: 500;
    margin-top: 3.2rem;
    margin-left: 4rem;
    position: relative;
}

.other-info__title::before {
    background-color: #FAD670;
    display: inline-block;
    height: 0.4rem;
    width: 3rem;
    content: '';
    position: absolute;
    top: 1.2rem;
    left: -4rem;
}

.other-info__pdf-item {
    display: flex;
    align-items: center;
    /* 垂直方向中央揃え */
    margin-top: 1.5rem;
    margin-left: 4rem;
    /* 既存のsubtitleなどとの位置を合わせる */
    margin-bottom: 2rem;
    border-bottom: solid 0.1rem #cacaca;
    padding-bottom: 1.5rem;
}

.other-info__pdf-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.other-info__pdf-icon {
    width: 3.9rem;
    height: 4.7rem;
    object-fit: contain;
    margin-right: 1rem;
}

.other-info__pdf-text {
    font: 1.6rem/3rem "Noto Sans JP";
    color: #000000;
    font-weight: normal;
}

/* ===============================================
SP
=============================================== */
@media screen and (max-width: 699.98px) {
    main {
        padding-top: 0;
        padding-bottom: 10rem;
    }

    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }

    .bg_top {
        top: -4rem;
    }

    .bg_middle {
        bottom: -24.4rem;
    }

    .header_padding {
        padding-bottom: 0rem;
    }

    .day-service-facility__header.sp_only .day-service-facility__title {
        font-size: 2rem;
        line-height: 3rem;
        font-weight: 500;
        font-family: "Zen Maru Gothic", sans-serif;
        color: #000000;
        background-color: #FAD670;
        text-align: center;
        width: fit-content;
        padding: 1rem 2rem;
        margin: 3rem auto 3rem;
        border-radius: 1rem;
    }

    .day-service-facility__subtitle {
        font-size: 1.8rem;
        width: 11rem;
        height: 3rem;
        margin: 0.7rem auto 1rem;
    }

    .day-service-facility__title::before {
        display: none;
    }

    .day-service-facility__main-content {
        display: flex;
        flex-direction: column;
    }

    .day-service__main-visual {
        order: 1;
        width: 35.5rem;
        height: 18rem;
        margin: 5rem auto 0rem;
        box-shadow: 0.3rem 0.3rem 0rem #FAD670;
        border-radius: 1rem;
    }

    .day-service__main-visual img {
        border-radius: 1rem;
    }

    .day-service-facility__main-content .day-service-facility__header.sp_only {
        order: 2;
    }

    .day-service-facility__main-content .sp_only:last-of-type {
        /* アコーディオンのラッパー */
        order: 3;
    }

    .day-service-facility__body {
        width: 33.5rem;
        margin: 0rem auto 0 auto;
        padding: 3rem 1.5rem;
    }

    .feature,
    .facility-gallery,
    .other-info {
        margin-bottom: 5rem;
    }

    .feature__image-gallery img {
        width: 28.9rem;
        height: 16.7rem;
    }

    .feature__text {
        margin-left: 0rem;
    }

    .facility-gallery__title,
    .feature__main-title,
    .other-info__main-title {
        font-size: 2rem;
        margin-left: 1rem;
    }

    .facility-gallery__title::before,
    .feature__main-title::before,
    .other-info__main-title::before {
        width: 0.5rem;
        height: 3rem;
        top: -0.1rem;
        left: -1rem;
        background-color: #FAD670;
    }

    .feature__title,
    .other-info__title {
        font-size: 1.6rem;
        line-height: 2rem;
        margin-left: 3.3rem;
        margin-top: 0rem;
    }

    .feature__title::before,
    .other-info__title::before {
        width: 2rem;
        height: 0.3rem;
        left: -3rem;
        top: 0.8rem;
        background-color: #FAD670;
    }

    /* New Accordion CSS */
    .nav {
        display: none;
    }

    .nav_text {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        display: block;
        color: #333;
        text-decoration: none;
    }

    .nav_text_aut1,
    .nav_text_aut2,
    .nav_text_aut3 {
        display: block;
        font-size: 1.6rem;
        width: 29rem;
        height: 5.4rem;
        margin-bottom: 1rem;
        padding: 1.5rem 2rem;
        background-color: #F7F1DC;
        border-radius: 1rem;
        color: #333;
        text-decoration: none;
        position: relative;
    }

    .nav_text_aut2,
    .nav_text_aut3 {
        width: 20rem;
    }

    .nav_wrap {
        padding: 1rem 2rem;
        font-family: "Zen Maru Gothic";
        width: 33.5rem;
        border-radius: 1rem;
        border: 0.1rem solid #000000;
        margin: 0 auto 1rem;
        background-color: white;
    }

    .nav_wrap nav {
        display: none;
        font-weight: 500;
    }

    .nav_open {

        font-size: 1.6rem;

        font-weight: 600;

        position: relative;

        transition: 0.7s;

        cursor: pointer;

        padding-right: 4rem;
        /* アイコンスペース確保 */

    }



    .nav_open.active {

        margin-bottom: 2rem;

    }



    /* 円の背景 */

    .nav_open::before {

        content: '';

        position: absolute;

        top: 50%;

        right: 1.2rem;

        width: 2.5rem;

        height: 2.5rem;

        margin-top: -1.25rem;

        border-radius: 50%;

        background-color: #FAD670;

        transition: all 0.3s;

        z-index: 1;

    }



    /* アイコンのコンテナ */

    .nav_icon {

        position: absolute;

        top: 50%;

        right: 1.2rem;

        width: 2.5rem;

        height: 2.5rem;

        transform: translateY(-50%);

        z-index: 2;

    }



    /* 横棒 */

    .nav_icon::before {

        content: '';

        position: absolute;

        top: 50%;

        left: 50%;

        width: 1.6rem;

        height: 0.2rem;

        background-color: #000;

        transform: translate(-50%, -50%);

    }



    /* 縦棒 */

    .nav_icon::after {

        content: '';

        position: absolute;

        top: 50%;

        left: 50%;

        width: 0.2rem;

        height: 1.6rem;

        background-color: #000;

        transform: translate(-50%, -50%) rotate(0deg);

        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;

    }



    /* active時の縦棒アニメーション */

    .nav_open.active .nav_icon::after {

        transform: translate(-50%, -50%) rotate(-90deg);

        opacity: 0;

    }

    .nav_arrow,
    .nav_arrow2 {
        width: 2rem;
        height: 2rem;
        position: absolute;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
        display: inline-block;
    }

    .nav_arrow::before,
    .nav_arrow2::before {
        content: "";
        display: inline-block;
        position: absolute;
        width: 2rem;
        height: 2rem;
        background-color: #FAD670;
        border: #000000 solid 0.1rem;
        border-radius: 50%;
        top: 0;
        left: 0;
    }

    .nav_arrow::after,
    .nav_arrow2::after {
        content: "";
        display: inline-block;
        position: absolute;
        width: 0.7rem;
        height: 1rem;
        background-color: #FFFFFF;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        top: 50%;
        left: 50%;
        transform: translate(-40%, -50%);
    }

    .facility-gallery__container {
        width: 100%;
        margin: 0rem 1rem 0rem 1rem;
    }

    .facility-gallery__swiper {
        width: 28.9rem;
        height: auto;
        margin: 0 auto;
    }

    .facility-gallery__container .swiper-button-prev,
    .facility-gallery__container .swiper-button-next {
        width: 3rem;
        height: 3rem;
    }

    .facility-gallery__container .swiper-button-prev2,
    .facility-gallery__container .swiper-button-next2 {
        width: 3rem;
        height: 3rem;
    }

    .facility-gallery {
        margin-left: 0rem;
    }

    .other-info {
        margin-left: 0rem;
    }

    .facility-gallery__container .swiper-button-prev {
        left: -1.5rem;
    }

    .facility-gallery__container .swiper-button-next {
        right: 0;
    }

    .facility-gallery__container .swiper-button-prev2 {
        left: -1.5rem;
    }

    .facility-gallery__container .swiper-button-next2 {
        right: 0;
    }

    .feature__content {
        flex-direction: column;
        gap: 2rem;
    }


    .feature__image-gallery {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }


    .feature__text-block {
        flex: auto;
    }

    .feature--food .feature__text {
        margin-left: 0;
        margin: 1rem auto 0rem auto;
    }

    .other-info__pdf-item {
        margin-left: 0;
    }
}