@charset "UTF-8";

.page-personal {
    --color-primary: #7568d1;
}

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

.personal-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--space-40);
    z-index: 2;

    @media (width <= 1680px) {
        padding-top: var(--space-60);
    }
    @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;
    }
}

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

.read-section01 {
    position: relative;
    background: url(../img/lp-personal/read-section01-bg.svg) 50% 100% / cover no-repeat;
    overflow: hidden;
    margin-top: calc(var(--space-200) * -1);
    padding-top: var(--space-220);
    padding-bottom: 12vw;

    &::after {
        content: '';
        display: block;
        width: 100%;
        max-width: 1000px;
        background: url(../img/lp-personal/read-section01-bg-after.webp) 50% 100% / contain no-repeat;
        aspect-ratio: 375 / 355;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .container-inner {
        position: relative;
        z-index: 2;
    }
}

.read-section02 {
    background: url(../img/lp-personal/section-bg-arrow.svg) 50% 100% / 40% auto no-repeat;
    margin-top: -15vw;
    margin-bottom: -17vw;
    padding-top: 10vw;
    padding-bottom: 20vw;
}

.read-section03-list {
    /* max-width: 640px; */
    padding-top: 1vw;
    margin-inline: auto;

    @media (width > 740px) {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: var(--space-20);
    }
    @media (width <= 740px) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 var(--space-20);
        padding-top: 4vw;
    }

    img {
        width: 100%;

        @media (width <= 740px) {
            width: 30%;
        }
    }
}

/* ========================================== */
/* malfunction-section */
/* ========================================== */

.personal-section-heading {
    position: relative;
    background-color: #000;
    width: fit-content;
    margin-inline: auto;
    min-width: 70%;
    padding: 0.6em 1.5em 0.6em 1.5em;
    border-radius: 0.25em;
    box-shadow: 0.25em 0.25em 0 var(--color-primary);
    color: var(--color-text-inverted);
    font-size: var(--font-size-32);
    line-height: 1.4;
    text-align: center;

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

    &::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 90%);
        width: 0.7em;
        height: 0.7em;
        background-color: #000000;
        clip-path: polygon(0% 0%, 0% 100%, 100% 0%);
    }
}

.malfunction-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--space-64);

    @media (width <= 480px) {
        margin-top: var(--space-40);
    }
}

.malfunction-section-heading-num {
    font-size: var(--font-size-24);
    color: var(--color-primary);

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

.malfunction-section-heading {
    font-size: var(--font-size-40);
    line-height: 1.4;
    text-align: center;

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

.malfunction-section-content {
    display: grid;
    gap: var(--space-36);
    margin-top: var(--space-32);
    
    @media (width <= 640px) {
        grid-template-columns: 1fr 1fr;
    }
    
    .malfunction-section:nth-of-type(odd) & {
        @media (width > 640px) {
            grid-template-columns: 1fr 3fr;
        }
        @media (width <= 480px) {
            margin-left: calc(var(--space-40) * -1);
        }
    }
    .malfunction-section:nth-of-type(even) & {
        @media (width > 640px) {
            grid-template-columns: 3fr 1fr;
        }
        @media (width <= 480px) {
            margin-right: calc(var(--space-40) * -1);
        }
    }
}

.malfunction-section-content-body {
    display: flex;
    flex-direction: column;
    justify-content: center;

    .malfunction-section:nth-of-type(odd) & {
        order: 2;
    }
}

.malfunction-section-content-img {
    .malfunction-section:nth-of-type(odd) & {
        order: 1;

        @media (width <= 480px) {
            img {
                border-radius: 0 10px 10px 0;
            }
        }
    }
    .malfunction-section:nth-of-type(even) & {
        @media (width <= 480px) {
            img {
                border-radius: 10px 0 0 10px;
            }
        }
    }

    img {
        width: 100%;
        border-radius: 10px;
    }
}

.malfunction-section-point {
    margin-top: var(--space-32);

    @media (width <= 480px) {
        margin-top: var(--space-24);
    }
}

.malfunction-section-point-heading {
    color: var(--color-primary);
    font-size: var(--font-size-32);
    line-height: 1.4;
    text-align: center;

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

    strong {
        font-size: 1.2em;
    }
}

.malfunction-section-point-img {
    margin-top: var(--space-24);

    img {
        width: 100%;
    }
}

.malfunction-section-point-box {
    margin-top: var(--space-40);
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    padding: 0 var(--space-32) var(--space-32);

    @media (width <= 640px) {
        padding: 0 var(--space-24) var(--space-24);
    }

    @media (width <= 480px) {
        padding: 0 var(--space-20) var(--space-20);
    }
}

.malfunction-section-point-box-label {
    display: block;
    background-color: var(--color-primary);
    width: fit-content;
    margin-inline: auto;
    color: var(--color-text-inverted);
    padding: 0.25em 2em;
    font-size: var(--font-size-16);
    border-radius: 9999px;
    transform: translateY(-50%);
}

.malfunction-section-point-box-text {
    font-size: var(--font-size-32);
    line-height: 1.4;
    text-align: center;

    @media (width <= 640px) {
        font-size: var(--font-size-20);
        margin-top: -0.25em;
    }

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

/* ========================================== */
/* goal-section */
/* ========================================== */

.goal-section {
    background: linear-gradient(to bottom, #fff, #eeedfa);
    padding-bottom: 10vw;
    margin-bottom: -10vw;
}
.goal-section-header {
    background: url(../img/lp-personal/section-bg-arrow.svg) 50% 100% / 40% auto no-repeat;
    padding-top: var(--space-100);
    padding-bottom: var(--space-80);

    @media (width <= 480px) {
        padding-top: var(--space-40);
        padding-bottom: var(--space-100);
    }
}

.goal-section-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-20);
    max-width: 600px;
    margin-top: calc(var(--space-40) * -1);
    margin-inline: auto;
    padding-bottom: var(--space-60);

    @media (width <= 480px) {
        gap: var(--space-12);
    }
}

.goal-section-list-item {
    position: relative;
    background-color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-32);
    padding: var(--space-20) var(--space-32);
    border-radius: 10px;

    &::after {
        content: '';
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 21px;
        height: 21px;
        background-color: var(--color-primary);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
        border-top-right-radius: 6px;
    }
}

.goal-section-list-img {
    width: 120px;

    @media (width <= 640px) {
        width: 100px;
    }
    @media (width <= 480px) {
        width: 73px;
    }

    img {
        width: 100%;
    }
}

.goal-section-list-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================== */
/* feature-section */
/* ========================================== */

.feature-section {
    margin-top: var(--space-64);
}
.feature-section-cover {
    display: flex;
    flex-direction: column;

    .feature-section:nth-of-type(odd) & {
        align-items: flex-end;
    }
    .feature-section:nth-of-type(even) & {
        align-items: flex-start;
    }
}

.feature-section-cover-label {
    position: relative;
    z-index: 2;
    margin-bottom: calc(var(--space-64) * -0.5);

    @media (width <= 640px) {
        margin-bottom: calc(var(--space-48) * -0.5);
    }
    @media (width <= 480px) {
        margin-bottom: calc(var(--space-40) * -0.5);
    }

    img {
        width: auto;
        height: var(--space-64);

        @media (width <= 640px) {
            height: var(--space-48);
        }
        @media (width <= 480px) {
            height: var(--space-40);
        }
    }
}

.feature-section-cover-img {
    position: relative;
    width: 100%;
    border-radius: 20px;
    z-index: 1;
    aspect-ratio: 335 / 150;
    object-fit: cover;

    @media (width <= 800px) {
        aspect-ratio: 335 / 185;
    }

    .feature-section:nth-of-type(odd) & {
        margin-right: calc(var(--space-40) * -1);
        margin-left: var(--space-40);

        @media (width <= 976px) {
            border-radius: 20px 0 0 20px;
        }
    }
    .feature-section:nth-of-type(even) & {
        margin-right: var(--space-40);
        margin-left: calc(var(--space-40) * -1);

        @media (width <= 976px) {
            border-radius: 0 20px 20px 0;
        }
    }
}

.feature-section-header {
    display: flex;
    gap: var(--space-48);
    margin-top: var(--space-40);

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

.feature-section-header-num {
    padding-top: var(--space-12);

    img {
        width: auto;
        height: var(--space-96);

        @media (width <= 640px) {
            height: var(--space-80);
        }
    }
}

.feature-section-header-title {
    flex: 1 0 0%;
    font-size: var(--font-size-40);
    line-height: 1.4;

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

.feature-slider-box {
    margin-top: var(--space-40);
    padding: var(--space-40);
    border: 2px solid var(--color-primary);
    border-radius: 20px;
}
.feature-slider {
    margin-top: var(--space-24);
    margin-inline: calc(var(--space-40) * -1);

    .splide__slide {
        padding-top: 0;
    }
    .splide__arrow {
        position: absolute;
        top: 32%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: var(--space-76);
        height: var(--space-76);
        background: 50% 50% / contain no-repeat;
        border: none;
        z-index: 1;
        cursor: pointer;

        svg {
            display: none;
        }
    }
    --slider-item-width: 400px;

    @media (width <= 800px) {
        --slider-item-width: 360px;
    }
    @media (width <= 640px) {
        --slider-item-width: 320px;
    }
    @media (width <= 480px) {
        --slider-item-width: 240px;
    }
    .splide__arrow--prev {
        left: calc((100% - var(--slider-item-width)) / 2);
        transform: translateX(-100%);
        background-image: url(../img/front/top-facility-slider-arrow-prev.svg);
    }
    .splide__arrow--next {
        right: calc((100% - var(--slider-item-width)) / 2);
        transform: translateX(100%);
        background-image: url(../img/front/top-facility-slider-arrow-next.svg);
    }
}

.feature-slider-img {
    position: relative;
    z-index: 1;

    img {
        width: 100%;
    }
}

.feature-slider-label {
    position: relative;
    z-index: 2;
    background: #383366;
    padding: 0.25em 1em;
    border-radius: 9999px;
    color: var(--color-text-inverted);
    font-size: var(--font-size-20);
    line-height: 1.4;
    text-align: center;
    margin-top: calc(var(--space-24) * -1);
    width: fit-content;
    margin-inline: auto;

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

.feature-slider-text {
    margin-top: var(--space-16);
    font-size: var(--font-size-18);
    line-height: 1.4;
    text-align: center;


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

.feature-section-sub-heading {
    display: flex;
    align-items: center;
    margin-top: var(--space-48);
    gap: var(--space-16);

    &::after {
        content: "";
        display: block;
        flex: 1 0 0%;
        height: 2px;
        background: var(--color-primary);
    }
}
.feature-section-sub-heading-inner {
    color: var(--color-primary);
    font-size: var(--font-size-24);
    line-height: 1.4;
}

.feature-section-point-list {
    margin-top: var(--space-32);
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}
.feature-section-point-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    background: #DCE8F7;
    padding: .75em 1em;
    min-height: 4em;
    border-radius: 20px;
    font-size: var(--font-size-20);
    line-height: 1.4;
    
    @media (width <= 640px) {
        font-size: var(--font-size-18);
        min-height: 3.5em;
    }

    &::before {
        content: "";
        display: block;
        width: 1.5em;
        height: 1.5em;
        background: url(../img/lp-personal/feature-section-point-list-item-before.svg) 50% 50% / contain no-repeat;
    }

    p {
        flex: 1 0 0%;
    }
}

.fukidashi-line {
    &.color-primary {
        color: var(--color-primary);

        &::before {
            background-image: url(../img/lp-personal/fukidashi-line-primary-before.svg);
        }
        &::after {
            background-image: url(../img/lp-personal/fukidashi-line-primary-after.svg);
        }
    }
}

/* ========================================== */
/* personal-voice-slider */
/* ========================================== */

.personal-voice-slider {
    margin-top: var(--space-48);

    .splide__slide {
        padding-top: 0;
    }
    .splide__arrow {
        position: absolute;
        top: 45%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: var(--space-64);
        height: var(--space-64);
        background: 50% 50% / contain no-repeat;
        border: none;
        z-index: 1;
        cursor: pointer;

        svg {
            display: none;
        }
    }
    --slider-item-width: 400px;

    @media (width <= 800px) {
        --slider-item-width: 360px;
    }
    @media (width <= 640px) {
        --slider-item-width: 320px;
    }
    @media (width <= 480px) {
        --slider-item-width: 240px;
    }
    .splide__arrow--prev {
        left: calc((100% - var(--slider-item-width)) / 2);
        transform: translateX(-100%);
        background-image: url(../img/front/top-facility-slider-arrow-prev.svg);
    }
    .splide__arrow--next {
        right: calc((100% - var(--slider-item-width)) / 2);
        transform: translateX(100%);
        background-image: url(../img/front/top-facility-slider-arrow-next.svg);
    }
}

/* ========================================== */
/* price-section */
/* ========================================== */

.price-section {
    background: linear-gradient(to bottom, #fff, #eeedfa);
    padding-bottom: 15vw;
    margin-bottom: -10vw;

    @media (width <= 640px) {
        padding-bottom: var(--space-160);
    }
    @media (width <= 480px) {
        padding-bottom: var(--space-120);
    }
}

.price-section-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 20px;
    margin-top: var(--space-80);
    padding: 0 var(--space-32) var(--space-40);

    img {
        width: 580px;
    }
}

.price-section-box-label {
    background-color: var(--color-primary);
    color: var(--color-text-inverted);
    margin-top: calc(var(--space-16) * -1);
    width: fit-content;
    padding: 0.25em 1em;
    border-radius: 9999px;
    font-size: var(--font-size-16);
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
}