@charset "UTF-8";

.p-flowV2,
.p-flowV2 * {
    box-sizing: border-box;
}

.p-flowV2 {
    position: relative;
    overflow: hidden;
    padding: 26px 0 92px;
    background:
        radial-gradient(circle at 50% 42%,rgba(255,255,255,.92) 0,rgba(255,255,255,.3) 34%,transparent 62%),
        linear-gradient(180deg,#fffdf1 0%,#fff9dc 100%);
    color: #063b7d;
    font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
}

.p-flowV2::before,
.p-flowV2::after {
    display: none;
}

.p-flowV2::before {
    top: 0;
    left: 0;
}

.p-flowV2::after {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.p-flowV2__inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px),1120px);
    margin: 0 auto;
}

.p-flowV2__header {
    text-align: center;
}

.p-flowV2__icon {
    display: block;
    width: 90px;
    height: 96px;
    margin: 0 auto 5px;
    object-fit: contain;
}

.p-flowV2__title {
    margin: 0;
    color: #063b7d;
    font-size: clamp(3.8rem,4.25vw,5.2rem);
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.2;
}

.p-flowV2__lead {
    margin: 24px 0 0;
    color: #06418c;
    font-size: clamp(1.8rem,2vw,2.4rem);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.55;
}

.p-flowV2__box {
    margin-top: 34px;
    border-radius: 13px;
    background: rgba(255,255,255,.95);
}

.p-flowV2__box--pc {
    width: min(100%,1000px);
    margin-right: auto;
    margin-left: auto;
    padding: 34px 28px 28px;
}

.p-flowV2__box--sp {
    display: none;
}

.p-flowV2__list {
    display: grid;
    grid-template-columns: repeat(8,80px);
    justify-content: center;
    gap: 42px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-flowV2__step {
    position: relative;
    display: flex;
    min-width: 0;
    height: 224px;
    flex-direction: column;
    align-items: center;
    padding: 15px 5px 14px;
    border: 2px solid #087bf0;
    border-radius: 8px;
    background: #fff;
    color: #063b7d;
}

.p-flowV2__step--free {
    border-color: transparent;
    background: linear-gradient(155deg,#39a0ff 0%,#0879ec 100%);
    color: #fff;
}

.p-flowV2__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 14px);
    width: 14px;
    height: 24px;
    transform: translateY(-50%);
    background: #0783f4;
    clip-path: polygon(0 0,100% 50%,0 100%);
}

.p-flowV2__num {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    background: #0a82f2;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
}

.p-flowV2__step--free .p-flowV2__num {
    background: #fff;
    color: #0876e2;
}

.p-flowV2__name {
    margin-top: 14px;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1.35;
    writing-mode: vertical-rl;
}

.p-flowV2__freePeriod,
.p-flowV2__freePeriodSp {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,#ffe629 0%,#fff15a 50%,#ffe000 100%);
    color: #063b7d;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1;
    clip-path: polygon(16px 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,16px 100%,0 50%);
}

.p-flowV2__freePeriod {
    width: 446px;
    height: 34px;
    margin: 11px 0 0 calc((100% - 934px) / 2);
    font-size: 1.6rem;
}

@media (max-width: 767px) {
    .p-flowV2 {
        padding: 22px 0 66px;
    }

    .p-flowV2__inner {
        width: min(calc(100% - 20px),520px);
    }

    .p-flowV2__icon {
        width: 68px;
        height: 74px;
        margin-bottom: 2px;
    }

    .p-flowV2__title {
        font-size: 3.2rem;
    }

    .p-flowV2__lead {
        margin-top: 14px;
        padding: 0 8px;
        font-size: 1.45rem;
        line-height: 1.5;
    }

    .p-flowV2__box {
        margin-top: 20px;
    }

    .p-flowV2__box--pc {
        display: none;
    }

    .p-flowV2__box--sp {
        display: block;
        padding: 20px 18px;
    }

    .p-flowV2__listSp {
        display: grid;
        justify-items: center;
        gap: 21px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .p-flowV2__listSp > * {
        position: relative;
    }

    .p-flowV2__listSp > *:not(:last-child)::after {
        content: "";
        position: absolute;
        top: calc(100% + 6px);
        left: 50%;
        width: 0;
        height: 0;
        transform: translateX(-50%);
        border-top: 11px solid #0a82f2;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
    }

    .p-flowV2__stepSp {
        display: grid;
        width: 84%;
        min-height: 52px;
        grid-template-columns: 52px 1fr;
        align-items: center;
        border: 2px solid #087bf0;
        border-radius: 8px;
        background: #fff;
        color: #07418c;
        font-size: 1.8rem;
        font-weight: 900;
        letter-spacing: .04em;
    }

    .p-flowV2__stepSp--free {
        border-color: transparent;
        background: linear-gradient(100deg,#2294fa 0%,#147eed 100%);
        color: #fff;
    }

    .p-flowV2__numSp {
        display: grid;
        width: 38px;
        height: 38px;
        margin-left: 8px;
        place-items: center;
        border-radius: 50%;
        background: #0b82ef;
        color: #fff;
        font-size: 1.5rem;
        font-weight: 900;
        line-height: 1;
    }

    .p-flowV2__stepSp--free .p-flowV2__numSp {
        background: #fff;
        color: #0876e2;
    }

    .p-flowV2__freePeriodSp {
        width: 84%;
        height: 52px;
        margin-top: -1px;
        padding: 0 18px 1px;
        font-size: 1.55rem;
        line-height: 1.2;
    }
}

@media (max-width: 359px) {
    .p-flowV2__title {
        font-size: 2.9rem;
    }

    .p-flowV2__lead {
        font-size: 1.3rem;
    }

    .p-flowV2__box--sp {
        padding: 17px 13px;
    }

    .p-flowV2__stepSp {
        grid-template-columns: 47px 1fr;
        font-size: 1.65rem;
    }
}
