@charset "utf-8";

/* section__topic */
.article__header {
    width: 100%;
    height: 100%;
    background: url(../images/plan-sp.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 154px 0 10px 0;
}

.article__header .section__topic {
    padding-left: 33px;
}

.article__header .section__topic::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 1px;
    background-color: var(--primary-mauvepink, #A36D6A);
    top: 80px;
    left: 33px;
}

@media screen and (min-width: 769px) {
    .article__header {
        background: url(../images/plan-pc.jpg);
        padding: 362px 0 28px 0;
    }

    .article__header .section__topic {
        padding-left: 13.33%;
    }

    .article__header .section__topic::before {
        top: 84px;
        left: 13.33%;
    }
}

/* Preopen */
.preopen {
    /* width: 100%;
    height: 100%; */
    background: url(../images/preBg-sp.jpg);
    padding: 89px 30px;
}

.preopen p {
    color: var(--primary-white, #FFF);
    text-shadow: 4px 4px 4px var(--primary-black25, #64646440);
    text-align: center;
    margin-top: 6px;
    font-size: 1.6rem;
    font-weight: 700;
}

.preopen__big {
    font-size: 4rem;
}

.preopen__medium {
    font-size: 2.4rem;
}

.preopen__small {
    font-size: 2rem;
}

.preopen p:first-child {
    margin-top: 0;
}

@media screen and (min-width:769px) {
    .preopen {
        background: url(..//images/preBg-pc.jpg);
        margin-top: 0;
    }

    .preopen p {
        font-size: 2rem;
        margin-top: 34px;
    }

    .preopen p br {
        display: none;
    }

    .preopen__big {
        font-size: 4.8rem;
    }

    .preopen__medium {
        font-size: 3.2rem;
    }
}

/* Plan */
.plan__headline {
    font-weight: 700;
}

.plan {
    margin-top: 36px;
    max-width: 1080px;
}

.plan__item {
    background-color: var(--primary-white, #FFF);
    margin-top: 24px;
    box-shadow: 4px 4px 4px var(--primary-black25, #64646440);
    padding: 48px 0;
    position: relative;
}

.plan__title {
    color: var(--primary-white);
    background-color: var(--primary-silverpink);
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    max-width: 253px;
    padding: 7px;
    margin: 0 auto;
    border-radius: 20px;
}

.plan__price {
    text-align: center;
    font-size: 2rem;
    border-bottom: solid 1px var(--primary-black25);
    padding: 20px 0;
    max-width: 305px;
    margin: 0 auto;
}

.plan__item p:first-of-type {
    margin-top: 40px;
}

.plan__price span {
    font-size: 3.2rem;
    font-weight: 700;
    margin-left: 24px;
}

.plan__txt {
    font-size: 1.6rem;
    text-align: center;
    margin-top: 33px;
}

@media screen and (min-width: 769px) {
    .section--plan .section__topic {
        text-align: center;
    }

    .section--plan .section__topic::before {
        width: 100px;
        top: 92px;
        left: 50%;
        margin-left: -50px;
    }

    .section--plan .section__topic--ja {
        margin-top: 12px;
    }

    .plan__headline {
        text-align: center;
        margin-top: 34px;
        font-size: 1.6rem;
    }

    .plan {
        display: flex;
        margin: 64px auto 0;
        gap: 0 24px;
        justify-content: center;
    }

    .plan__item {
        margin-top: 0;
        width: 100%;
        padding: 42px 22px;
    }

    .plan__price {
        max-width: 318px;
    }

    .plan__price span {
        font-size: 3.6rem;
    }
}

/* Flow */
.section--flow .section__topic {
    text-align: center;
    padding-left: 0;
}

.section--flow .section__topic::before {
    width: 100px;
    top: 80px;
    left: 50%;
    margin-left: -50px;
}

.flow {
    margin-top: 36px;
    text-align: center;
}

.flow__item {
    background-color: var(--primary-frostypink, #FFF3F2);
    border-radius: 30px;
    padding: 44.5px 42px;
    max-width: 300px;
    height: auto;
    align-content: space-between;
    margin: 0 auto 88px;
    position: relative;
}

.flow__item:last-child {
    margin-bottom: 0;
}

.flow__txt {
    font-size: 1.6rem;
    text-align: left;
    margin-top: 73px;
}

.flow__item:first-child .flow__txt {
    margin-top: 59px;
}

.flow__item:last-child .flow__txt {
    margin-top: 27px;
}

.flow__item::after {
    content: '';
    position: absolute;
    display: block;
    background: url(../images/arow.svg);
    top: 350px;
    left: 50%;
    margin-left: -24px;
    width: 48px;
    height: 28px;
}

.flow__item:last-child::after {
    display: none;
}

@media screen and (min-width: 1260px) {
    .section--flow {
        padding: 78px var(--contentsp2Padding);

    }

    .flow {
        display: flex;
        margin-top: 52px;
        justify-content: center;
    }

    .flow__item {
        margin: 0 88px 0 0;
    }

    .flow__item:last-child {
        margin-right: 0;
    }

    .flow__item::after {
        transform: rotate(-90deg);
        top: 50%;
        left: 100%;
        margin-left: 24px;
        margin-top: -24px;
    }
}