/* ==================================================
   Flow
================================================== */

.flow {
    padding: 30px 0 60px;
    background: rgba(163, 148, 204, 0.08);
}

.flow__inner {
    width: min(calc(100% - 80px), 1120px);
    margin: 0 auto;
}

.flow__eyebrow {
    margin-bottom: 12px;
    color: #9b8a67;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
}

.flow__title {
    margin: 0;
    color: #2f2f2f;
    font-size: clamp(2.7rem, 2.4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.flow__title-decoration img {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.flow__items {
    display: flex;
    flex-direction: column;
}

.flow__item {
    display: grid;
    grid-template-columns: 140px 1fr 120px;
    gap: 32px;
    align-items: center;
    padding: 16px 0 16px;
}

.flow__icon img {
    width: 55px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.flow__icon {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: rgba(181, 147, 81, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-20px, 7px);
}

.flow__heading {
    margin: 24px 0 0;
    color: #2f2f2f;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.flow__text {
    margin: 24px 0 0;
    color: #5f5a63;
    font-size: 1.8rem;
    line-height: 1.9;
}

.flow__card {
    max-width: 760px;
    margin: 48px auto 0;
    padding: 20px 64px 50px 64px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 32px;
}

.flow__divider {
    margin: 40px 0;
    border: none;
    border-top: 1px solid rgba(181, 147, 81, 0.2);
}

.flow__step {
    margin: 0;
    color: #9b8a67;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-left: 18px;
}

.flow__number {
    margin: 2px 0 0 11px;
    color: rgba(163, 148, 204, 0.8);
    font-size: 8rem;
    font-weight: 400;
    line-height: 1;
    text-align: left;
}

.flow__number-decoration {
    width: 110px;
    height: 1px;
    margin: 4px 0 0;
    background: rgba(181, 147, 81, 0.4);
}

.flow__number-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
}

.flow__message {
    margin-top: 4px;
    text-align: center;
    color: #5f5a63;
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.05em;
}

.flow__cta {
    margin-top: 32px;
    text-align: center;
}

.flow__content {
    transform: translate(-14px, -12px);
}

.flow__arrow {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 35px;
}

.flow__arrow img {
    display: block;
    width: 40px;
    height: auto;
    margin: 0;
}

.flow__divider {
    margin: 24px 0;
}

.flow__divider img {
    display: block;
    width: 100%;
    height: auto;
}

.flow__cta-divider {
    margin: 28px 0;
}

.flow__cta-divider img {
    display: block;
    width: 100%;
    height: auto;
}

.flow .fv__cta {
    width: 100%;
    max-width: 420px;
    margin: 0px auto 0;
}

/* ==========================================
   Flow CTA - PC
========================================== */

.flow__cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    width: 100%;
    max-width: 420px;
    margin: 0 auto;

    min-height: 72px;
    padding: 0 56px 0 30px;

    overflow: hidden;
    border: 1px solid rgba(190, 157, 88, 0.82);
    border-radius: 3px;
    color: #fff;
    background:
        linear-gradient(115deg,
            #4e2d6d 0%,
            #74469b 52%,
            #583276 100%);

    box-shadow:
        0 18px 38px rgba(70, 39, 94, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);

    font-family:
        "Noto Sans JP",
        "Yu Gothic",
        sans-serif;

    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.flow__cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);

    transform: skewX(-22deg);
    transition: left 0.75s ease;
}

.flow__cta:hover {
    color: #fff;
    box-shadow:
        0 24px 48px rgba(70, 39, 94, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14);

    transform: translateY(-2px);
}

.flow__cta:hover::before {
    left: 145%;
}

.flow__cta-arrow {
    position: absolute;
    right: 50px;

    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 300;

    transition: transform 0.3s ease;
}

.flow__cta:hover .flow__cta-arrow {
    transform: translateX(5px);
}

.flow__cta-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.flow__cta-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.flow__notice {
    margin-top: 16px;
    color: #777;
    font-family:
        "Noto Sans JP",
        "Yu Gothic",
        sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
}

/* Smartphone
-------------------------------------------------- */

@media (max-width: 767px) {

    .flow {
        padding-top: 20px;
        padding-bottom: 40px;
        background: #fff;
    }

    .flow__eyebrow {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .flow__title {
        font-size: 2.6rem;
    }

    .flow__title-decoration img {
        width: 180px;
    }

    .flow__title-decoration {
        margin-top: 8px;
    }

    .flow__card {
        background: transparent;
        padding: 0;
        margin-top: 10px;
        max-width: 100%;
    }

    .flow__number-group {
        transform: translate(-15px, -4px);
    }

    .flow__step {
        font-size: 1.4rem;
        margin-left: 8px;
        letter-spacing: 0.15em;
    }

    .flow__number {
        font-size: 5rem;
        margin: -2px 0 0;
    }

    .flow__number-decoration {
        width: 60px;
        margin-top: 3px;
    }

    .flow__content {
        transform: none;
    }

    .flow__heading {
        margin: 0;
        font-size: 1.7rem;
        line-height: 1.5;
    }

    .flow__text {
        margin: 8px 0 0;
        font-size: 1.3rem;
        line-height: 1.8;
    }

    .flow__icon {
        width: 70px;
        height: 70px;
        transform: translateX(5px);
    }

    .flow__icon img {
        width: 32px;
    }

    .flow__arrow {
        padding-left: 1px;
    }

    .flow__arrow img {
        width: 28px;
    }

    .flow__message {
        margin-top: 4px;
        font-size: 1.8rem;
        font-weight: 600;
        line-height: 2;
        letter-spacing: 0.05em;
        width: 100%;
        white-space: nowrap;
    }

    .flow__item {
        grid-template-columns: 60px 1fr 60px;
        gap: 10px;
        align-items: center;
        padding: 20px 0;
    }

    .flow__cta-divider {
        margin-bottom: 30px;
    }

    .flow__cta {
        width: min(calc(100vw - 40px), 360px);
        max-width: none;
        min-height: 64px;
        margin: 1px auto 0;
        padding: 0 56px 0 30px;
        left: 50%;
        translate: -50% 0;
        font-size: 1.7rem;
    }

    .flow__cta-icon {
        width: 36px;
        height: 36px;
    }

    .flow__cta-arrow {
        right: 30px;
    }

    .flow__cta::before {
        animation: fv-cta-shine-mobile 3s ease-in-out infinite;
    }

    .flow__item:last-of-type {
        padding-bottom: 12px;
    }

    .flow__cta-divider {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .flow__cta {
        margin-top: 2px;
    }

}