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-frow {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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


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

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

.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;
}

.header_padding {
    padding-bottom: 0rem;
}


.pc_only {
    display: flex;
}

.sp_only {
  display: none;
}

.day-service-flow__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-flow__title::before {
    background-color: #FAD670;
    display: inline-block;
    height: 4rem;
    width: 1rem;
    content: '';
    position: absolute;
    top: -0.1rem;
    left: -1.5rem;
}

.day-service-flow__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-flow__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;
    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-flow__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;
}

/* Daily Schedule Section */
.daily-schedule {
    margin-bottom: 10rem;
}

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

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

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

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

.daily-schedule__list {
    margin-top: 2rem;
}

.daily-schedule__item {
    margin-left: 4rem;
    margin-top: 2rem;
}

.daily-schedule__item--with-image {
    display: flex;
}

.daily-schedule__item-time {
    font: 1.5rem/3rem "Zen Maru Gothic";
    font-weight: 500;
    background-color: #F2B2CC;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    letter-spacing: 0.075rem;
}

.daily-schedule__item-text {
    font: normal normal normal 1.6rem/2rem "Noto Sans JP";
    margin-top: 0.5rem;
}

.daily-schedule__item-content {
    width: 42.5rem;
    margin-right: 1.1rem;
}

.daily-schedule__item-image-wrapper img {
    width: 28.9rem;
    height: auto;
}

/* Annual Events Section */
.annual-events {
    /* No margin needed as it's the last section */
}

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

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

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

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

.annual-events__season-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 2rem;
    margin: 1.5rem 0 3rem 6.5rem;
    padding: 0;
    list-style: none;
}

.annual-events__season-item {
    border: #000000 0.1rem solid;
    width: 20.6rem;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    text-align: center;
}

.annual-events__season-item--two-line .annual-events__season-text {
    text-align: center;
}

.annual-events__season-month {
    width: 18rem;
    height: auto;
    margin-bottom: 1rem;
}

.annual-events__season-image {
    width: 100%;
    border-radius: 0.5rem;
    height: 10rem;
    margin-bottom: 0.5rem;
    object-fit: cover;
    object-position: center 35%;
}

.annual-events__season-text {
    font: 1.4rem/2.4rem "Noto Sans JP";
    letter-spacing: 0.07rem;
    color: #000000;
}

/* Event Swiper Section */
.event-swiper {
    margin-top: 2.5rem;
}

.event-swiper__container {
    --swiper-navigation-size: 3.5rem;
    --swiper-navigation-icon-size: 1.5rem;
    width: 73.5rem;
    height: 34.1rem;
    /* 固定高さ */
    margin-left: 2rem !important;
    border: 0.1rem solid #000000;
    border-radius: 2rem;
    background-color: #FFFBEF;
    overflow: hidden;
    position: relative;
    padding-bottom: 0 !important;
    /* パディングを0に */
}

.event-swiper__content {
    display: flex;
    margin-left: 4rem;
    margin-right: 2rem;
    align-items: flex-start;
}

.event-swiper__title {
    font: 1.8rem/3.6rem "Noto Sans JP";
    font-weight: 500;
    letter-spacing: 0.09rem;
    background-color: #FAD670;
    border-radius: 2rem;
    padding: 0.2rem 3rem;
    margin-top: 3rem;
    margin-left: 3.3rem;
    display: inline-block;
}

.event-swiper__text-wrapper {
    margin-top: 2rem;
    flex-shrink: 0;
    margin-right: 3rem;
    width: 52%;
    flex-grow: 1;
}

.event-swiper__text {
    font: 1.5rem/3rem "Noto Sans JP";
    letter-spacing: 0.075rem;
}

.event-swiper__image-wrapper {
    margin-top: 1rem;
    width: 28.9rem;
    height: auto;
}

/* Swiperのページネーションのスタイル */
.swiper-pagination-bullet {
    width: 1.2rem;
    height: 1.2rem;
    background-color: #D9D9D9;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #FAD670;
}

/* Swiperのナビゲーションボタンのスタイル */
.event-swiper__container .swiper-button-prev,
.event-swiper__container .swiper-button-next {
    width: var(--swiper-navigation-size);
    height: var(--swiper-navigation-size);
    background-color: #fad670;
    border-radius: 50%;
    border: 0.1rem solid black;
    color: white !important;
    top: auto;
    /* topをautoに */
    bottom: 3rem;
    /* 下から3rem */
    transform: none;
    /* transformをリセット */
}

.event-swiper__container .swiper-button-prev {
    left: 36rem;
}

.event-swiper__container .swiper-button-next {
    right: 28rem;
}

.event-swiper__container .swiper-button-prev::after,
.event-swiper__container .swiper-button-next::after {
    font-size: var(--swiper-navigation-icon-size) !important;
    font-weight: bold;
    font-family: initial;
    /* Swiperのアイコンフォントをリセット */
}

.event-swiper__container .swiper-button-prev::after {
    content: '◀' !important;
}

.event-swiper__container .swiper-button-next::after {
    content: '▶' !important;
}

p.sub {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    margin-left: 4rem;
}

/* ===============================================
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-flow__header.sp_only .day-service-flow__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-flow__subtitle {
        font-size: 1.8rem;
        width: 15rem;
        height: 3rem;
        margin: 0.7rem auto 1rem;
    }

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

    .day-service-flow__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-flow__main-content .day-service-flow__header.sp_only {
        order: 2;
    }

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

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

    .daily-schedule,
    .annual-events {
        margin-bottom: 5rem;
    }

    .daily-schedule__title,
    .annual-events__title {
        font-size: 2rem;
        margin-left: 1rem;
    }

    .daily-schedule__title::before,
    .annual-events__title::before {
        width: 0.5rem;
        height: 3rem;
        top: -0.1rem;
        left: -1rem;
        background-color: #FAD670;
    }

    .daily-schedule__intro-title,
    .annual-events__intro-title,
    .annual-events__extra-title {
        font-size: 1.6rem;
        line-height: 2rem;
        margin-left: 3.3rem;
        margin-top: 0rem;
    }

    .daily-schedule__intro-title::before,
    .annual-events__intro-title::before,
    .annual-events__extra-title::before {
        width: 2rem;
        height: 0.3rem;
        left: -3rem;
        top: 0.8rem;
        background-color: #FAD670;
    }

    .daily-schedule__list {
        margin-top: 2rem;
    }

    .daily-schedule__item {
        margin-left: 0;
    }

    .daily-schedule__item-time {
        font-size: 1.4rem;
    }

    .daily-schedule__item-text {
        font-size: 1.4rem;
    }

    .daily-schedule__item--with-image {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .daily-schedule__item-content {
        width: 100%;
        margin-right: 0;
    }

    .daily-schedule__item-image-wrapper img {
        width: 28.9rem;
        height: auto;
    }

    .annual-events__season-list {
        margin-left: 0;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .annual-events__season-item {
        width: calc(50% - 0.75rem);
        padding: 1rem;
    }

    .annual-events__season-month {
        width: 100%;
        margin-bottom: 1rem;
    }

    .annual-events__season-image {
        width: 100%;
        height: auto;
    }

    .annual-events__season-text {
        font-size: 1.4rem;
    }

    .event-swiper__container {
        width: 100%;
        height: auto;
        margin-left: 0 !important;
        padding-bottom: 5rem;
    }

    .event-swiper__title {
        font-size: 1.6rem;
        margin: 1.5rem 1rem auto;
    }

    .event-swiper__content {
        flex-direction: column;
        margin: 1rem 1rem 5rem 1rem;
    }

    .event-swiper__text-wrapper {
        margin-top: 1rem;
        margin-right: 0;
        width: 100%;
    }

    .event-swiper__text {
        font-size: 1.4rem;
    }

    .event-swiper__container .swiper-button-prev,
    .event-swiper__container .swiper-button-next {
        top: auto;
        bottom: 1rem;
        --swiper-navigation-size: 3rem;
    }

    .event-swiper__container .swiper-button-prev {
        left: calc(50% - 4.5rem);
    }

    .event-swiper__container .swiper-button-next {
        right: calc(50% - 4.5rem);
    }

    /* New Accordion CSS (共通なので children-life からコピー) */
    .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;
        /* day-service のキーカラー */
        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%);
    }

    .event-swiper__image-wrapper {
        width: 28.9rem;
        height: auto;

    }
    p.sub{
        margin-left: 3.3rem;
    }
}