@charset "UTF-8";

.page-relax {
    --color-primary: #b54e86;
}

/* ========================================== */
/* ページヘッダー */
/* ========================================== */

.relax-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--space-170);

    @media (width <= 1024px) {
        padding-top: var(--space-120);
    }
    @media (width <= 800px) {
        padding-top: var(--space-100);
    }
    @media (width <= 640px) {
        padding-top: var(--space-120);
    }

    picture,
    img {
        width: 100%;
    }

    &::before {
        background: url(../img/page-header-bg.svg) 50% 0 / contain no-repeat;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        aspect-ratio: 1920 / 698;
        z-index: -1;
    }
}

/* ========================================== */
/* 汎用 */
/* ========================================== */

.relax-section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: var(--font-size-40);
    font-weight: bold;
    line-height: 1.4;

    @media (width <= 640px) {
        font-size: var(--font-size-32);
    }

    &::after {
        background: url(../img/relax/section-heading-after.svg) 50% 50% / contain no-repeat;
        content: '';
        display: block;
        width: 3em;
        margin-top: var(--space-16);
        aspect-ratio: 54.5 / 4.94;
        font-size: var(--font-size-32);
    }
}

.over-dots {
    line-height: 1;

    & + * {
        margin-top: -0.3em;
    }
}

/* ========================================== */
/* .read-section */
/* ========================================== */

.read-section {
    background: url(../img/relax/section-bg01.webp) 100% 0 / cover no-repeat;

    @media (width <= 1024px) {
        background-image: url(../img/relax/section-bg01-sp.webp);
    }
}

.read-section-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid;
    border-radius: 20px 0 20px 0;
    padding: var(--space-32);
    font-weight: bold;

    &.read-section-box-other {
        border-color: #ccc;
    }
    &.read-section-box-esty {
        border-color: var(--color-primary);
    }
}

.read-section-box-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-12);
    padding-inline: var(--space-60);
    font-size: var(--font-size-24);
    font-weight: bold;
    line-height: 1.4;
    text-align: center;

    &::after {
        background: #000;
        content: '';
        display: block;
        width: 51px;
        height: 1px;
    }
}

.read-section-box-esty-balloon {
    position: absolute;
    top: 0;
    right: 10px;
    width: 2.8em;
    height: 2.8em;
    font-size: var(--font-size-32);

    @media (width <= 640px) {
        font-size: var(--font-size-28);
    }
    @media (width <= 480px) {
        right: 0;
    }

    img {
        width: 100%;
        transform: translateY(-10%);

        @media (width <= 480px) {
            transform: translate(10%, -5%);
        }
    }
}

.read-section-box-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    flex: 1 0 0%;
    justify-content: center;

    margin-top: var(--space-12);
    list-style: none;
    font-size: var(--font-size-20);
    line-height: 1.2;

    @media (width <= 640px) {
        font-size: var(--font-size-16);
    }

    li {
        display: flex;
        align-items: center;
        gap: var(--space-8);

        &::before {
            content: '';
            display: block;
            width: 1.25em;
            height: 1.25em;
            background: 50% 50% / contain no-repeat;
        }
        .read-section-box-other &::before {
            background-image: url(../img/relax/read-section-box-other-list-before.svg);
        }
        .read-section-box-esty &::before {
            background-image: url(../img/relax/read-section-box-esty-list-before.svg);
        }
        span {
            flex: 1 0 0%;
        }
    }

    strong {
        font-size: var(--font-size-28);

        @media (width <= 640px) {
            font-size: var(--font-size-24);
        }
    }
}

/* ========================================== */
/* .nav-grid-section */
/* ========================================== */

.nav-grid-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;

    &:hover {
        transform: scale(1.05);
    }
}

.nav-grid-img {
    width: 100%;
    height: auto;
}

.nav-grid-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-16);
    font-size: var(--font-size-20);
    font-weight: bold;
    text-align: center;

    @media (width <= 480px) {
        font-size: var(--font-size-14);
    }

    &::after {
        content: '';
        display: block;
        width: 8px;
        height: 5px;
        background: url(../img/relax/nav-grid-arrow.svg) 50% 50% / contain no-repeat;
    }
}

/* ========================================== */
/* .facility-section */
/* ========================================== */

.facility-section {
    /* 背景画像の上に下から白(#fff)になるグラデーションを重ねる */
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 60%),
        url(../img/relax/facility-section-bg.webp) 100% 0 / 100% auto no-repeat;
    padding-top: var(--space-240);
    padding-bottom: var(--space-60);
    overflow-x: clip;

    @media (width <= 1280px) {
        padding-top: var(--space-160);
    }
    @media (width <= 1024px) {
        padding-top: var(--space-140);
    }
    @media (width <= 800px) {
        padding-top: var(--space-120);
    }
}

.relax-facility-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-16);

    &::before,
    &::after {
        background: url(../img/relax/relax-facility-heading-after.svg) 50% 50% / contain no-repeat;
        content: '';
        display: block;
        width: 2.375em;
        aspect-ratio: 37.647 / 4.8517;
    }
}

.relax-facility-heading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    line-height: 1.4;
}

.relax-facility-heading-en {
    color: var(--color-primary);
    font-size: var(--font-size-16);

    @media (width <= 640px) {
        font-size: var(--font-size-12);
    }
}

.relax-facility-heading-ja {
    color: var(--color-primary);
    font-size: var(--font-size-48);

    @media (width <= 640px) {
        font-size: var(--font-size-32);
    }
}

.relax-facility-read {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-36);
    margin-top: var(--space-40);
    align-items: flex-start;

    @media (width <= 480px) {
        grid-template-columns: 1fr 1fr;
    }
}

.relax-facility-read-img {
    position: relative;

    @media (width <= 974px) {
        margin-left: calc(var(--space-40) * -1);
    }
}

.relax-facility-read-img-main {
    position: relative;
    width: 80%;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 2;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    @media (width >= 974px) {
        border-radius: 20px;
    }
    @media (width <= 640px) {
        width: 100%;
    }
    @media (width <= 480px) {
        aspect-ratio: 1 / 1;
    }
}

.relax-facility-read-img-sub {
    position: absolute;
    z-index: 3;

    @media (width > 640px) {
        top: 10%;
        right: 0;
        width: 40%;
    }
    @media (width <= 640px) {
        bottom: 0;
        left: 50%;
        width: calc(122 / 175 * 100%);
        transform: translate(-50%, 80%);
    }
}

.relax-facility-read-bg {
    position: absolute;
    z-index: 1;

    @media (width > 640px) {
        bottom: 0;
        left: 0;
        width: 40%;
        transform: translate(-20%, 30%);
    }
    @media (width <= 640px) {
        bottom: 0;
        right: 0;
        width: calc(118 / 175 * 100%);
        transform: translate(40%, 70%);
    }
}

.relax-facility-read-body {
    position: relative;
    z-index: 2;
}

.relax-facility-read-title {
    color: var(--color-primary);
    font-size: var(--font-size-32);
    font-weight: bold;
    line-height: 1.4;

    @media (width <= 640px) {
        font-size: var(--font-size-28);
    }
}

.relax-facility-read-text {
    margin-top: var(--space-24);
    font-size: var(--font-size-16);
    line-height: 1.8;

    @media (width <= 640px) {
        /* font-size: var(--font-size-12); */
    }
}

.relax-facility-merit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-16);
    background-color: #f9f1ec;
    margin-top: var(--space-40);
    padding: var(--space-32) 0;
    border-radius: 20px;
    z-index: 2;

    @media (width <= 640px) {
        margin-top: var(--space-120);
        border-radius: 10px;
    }
    @media (width <= 600px) {
        margin-top: var(--space-100);
    }
    @media (width <= 560px) {
        margin-top: var(--space-60);
    }
    @media (width <= 480px) {
        margin-top: var(--space-80);
        border-radius: 6px;
    }
    @media (width <= 440px) {
        margin-top: var(--space-100);
    }
    @media (width <= 400px) {
        padding: var(--space-24) 0;
        margin-top: var(--space-40);
    }
}

.relax-facility-merit-title {
    color: var(--color-primary);
    font-size: var(--font-size-24);
    font-weight: bold;
    text-align: center;

    @media (width <= 480px) {
        font-size: var(--font-size-20);
    }
    @media (width <= 400px) {
        font-size: var(--font-size-16);
    }
}

.relax-facility-merit-list {
    display: flex;
    justify-content: center;
    gap: var(--space-8);

    @media (width <= 480px) {
        flex-wrap: wrap;
    }
    @media (width <= 400px) {
        gap: var(--space-4);
    }

    li {
        background-color: var(--color-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 5.5em;
        height: 5.5em;
        border-radius: 50%;
        color: var(--color-text-inverted);
        font-size: var(--font-size-16);
        line-height: 1.25;
        text-align: center;

        @media (width <= 640px) {
            font-size: var(--font-size-12);
        }
        @media (width <= 480px) {
            font-size: 10px;
        }
    }
}

.relax-facility-merit-list01 {
    @media (width <= 540px) {
        flex-wrap: wrap;
        width: 60%;
    }
}

.relax-facility-voice {
    margin-top: var(--space-40);
}
.relax-facility-voice-title {
    color: var(--color-primary);
    font-size: var(--font-size-20);
    text-align: center;
    font-weight: bold;
    line-height: 1.4;

    @media (width <= 480px) {
        font-size: var(--font-size-16);
    }
}

.relax-facility-voice-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-24);
    margin-top: var(--space-20);
}
.relax-facility-voice-img {
    width: 80px;

    @media (width <= 480px) {
        width: 54px;
    }

    img {
        width: 100%;
    }
}

.relax-facility-voice-body {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    border: 1px dashed var(--color-primary);
    padding: var(--space-12) var(--space-20);
    font-size: var(--font-size-16);

    @media (width <= 480px) {
        font-size: var(--font-size-14);
    }

    &::after {
        content: '';
        display: block;
        width: 17px;
        aspect-ratio: 17 / 12;
        background: url(../img/relax/relax-facility-voice-body-after.svg) 50% 50% / contain no-repeat;
        position: absolute;
        top: var(--space-24);
        left: 0;
        transform: translateX(-90%);
    }
}

.relax-facility-point {
    margin-top: var(--space-40);
}
.relax-facility-point-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.relax-facility-point-title-main {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}
.relax-facility-point-title-keyword {
    color: var(--color-primary);
    font-size: var(--font-size-28);
    font-weight: bold;
    line-height: 1.4;

    @media (width <= 480px) {
        font-size: var(--font-size-22);
    }
}
.relax-facility-point-title-sub {
    color: var(--color-primary);
    font-size: var(--font-size-20);
    font-weight: bold;
    line-height: 1.4;;

    @media (width <= 480px) {
        font-size: var(--font-size-16);
    }
}

.relax-facility-point-list {
    display: flex;
    flex-direction: column;
    margin-top: var(--space-32);
    
    @media (width <= 800px) {
        gap: var(--space-64);
    }
    @media (width <= 800px) {
        gap: var(--space-32);
    }
}
.relax-facility-point-list-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-52);

    @media (width <= 480px) {
        grid-template-columns: 1fr 1fr;
    }
    
    &:nth-child(even) {
        grid-template-columns: 1fr 2fr;

        @media (width <= 480px) {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (width <= 480px) {
        gap: var(--space-40);
    }
}
.relax-facility-point-list-img {
    position: relative;
    /* display: flex;
    justify-content: center;
    align-items: flex-start; */

    .relax-facility-point-list-item:nth-child(even) & {
        order: 1;
    }
    img {
        aspect-ratio: 1 / 1;
        height: auto;
    }
}

.relax-facility-point-list-item-img-main {
    position: relative;
    z-index: 2;
    width: 100%;
    
}
.relax-facility-point-list-item-img-bg {
    position: absolute;
    z-index: 1;

    .relax-facility-point-list-item:nth-child(1) & {
        top: 20%;
        right: -10%;
        width: calc(130 / 143 * 100%);
    }
    .relax-facility-point-list-item:nth-child(2) & {
        top: 4%;
        left: -20%;
        width: calc(116 / 143 * 100%);
    }
    .relax-facility-point-list-item:nth-child(3) & {
        left: -6%;
        width: calc(112 / 143 * 100%);
        
        @media (width > 640px) {
            bottom: -6%;
        }
        @media (width <= 640px) {
            top: 11%;
        }
    }
}

.relax-facility-point-list-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

    @media (width <= 480px) {
        justify-content: flex-start;
    }

    .relax-facility-point-list-item:nth-child(even) & {
        order: 2;
    }
}

.relax-facility-point-list-num {
    position: absolute;
    top: 0;
    left: 0;
    color: #b54e86;
    font-size: var(--font-size-72);
    font-weight: bold;
    line-height: 1.4;
    opacity: 0.12;
    transform: translate(-30%, -60%);
}

.relax-facility-point-list-title {
    position: relative;
    z-index: 2;
    color: var(--color-primary);
    font-size: var(--font-size-28);
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.05em;

    @media (width <= 480px) {
        font-size: var(--font-size-20);
    }
}

.relax-facility-point-list-text {
    margin-top: var(--space-16);
    font-size: var(--font-size-16);

    @media (width <= 480px) {
        font-size: var(--font-size-14);
    }
}


/* ========================================== */
/* .facility-section */
/* ========================================== */

.scene-section {
    /* 背景画像の上に下から白(#fff)になるグラデーションを重ねる */
    background:
        linear-gradient(to bottom, rgba(249, 241, 236, 0) 0%, #f9f1ec 60%),
        url(../img/relax/scene-section-bg.svg) 100% 0 / 100% auto no-repeat;
    padding-top: var(--space-240);
    padding-bottom: var(--space-100);
    overflow-x: clip;

    @media (width <= 1280px) {
        padding-top: var(--space-160);
    }
    @media (width <= 1024px) {
        padding-top: var(--space-140);
    }
    @media (width <= 800px) {
        padding-top: var(--space-120);
    }
}

#scene-slider {
    margin-top: var(--space-40);

    .splide__arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 1;

        img {
            width: 64px;

            @media (width <= 480px) {
                width: 36px;
            }
        }
    }
    .splide__arrow--prev {
        left: 5%;
    }
    .splide__arrow--next {
        right: 5%;
    }
}
.scene-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}
.scene-card-img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    aspect-ratio: 440 / 293;
    object-fit: cover;
}
.scene-card-body {
    flex: 1 0 0%;
    background-color: #fff;
    padding: var(--space-24) var(--space-40) var(--space-32);
    border-radius: 0 0 10px 10px;
}
.scene-card-title {
    color: var(--color-primary);
    font-size: var(--font-size-20);
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
}
.scene-card-text {
    margin-top: var(--space-16);
}