.lp-flow {
    background-color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    overflow: clip;
    padding-block: 64px;
    position: relative;
    z-index: 1;
}

.lp-flow::before {
    border-radius: 100%;
    left: 50%;
    top: 0;
    translate: -50%;
}

.lp-flow::after,
.lp-flow::before {
    background-color: #f9f4f9;
    content: '';
    position: absolute;
    z-index: 1;
}

.lp-flow::after {
    bottom: 0;
    left: 0;
    right: 0;
}

.lp-flow .lp-flow-inner {
    position: relative;
    z-index: 2;
}

.lp-flow .lp-flow-title {
    font-weight: 700;
    text-align: center;
}

.lp-flow .lp-flow-list {
    display: grid;
}

.lp-flow .lp-flow-list > li {
    position: relative;
    z-index: 1;
}

.lp-flow .lp-flow-list > li::before {
    background-color: #372d31;
    content: '';
    position: absolute;
    z-index: 1;
}

.lp-flow .lp-flow-list > li:last-child::before {
    display: none;
}

.lp-flow .lp-flow-list > li .lp-flow-list-item-number {
    background-color: #fff;
    border: 2px solid;
    border-radius: 100%;
    display: grid;
    font-family: sofia-pro, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    height: 1.25em;
    line-height: 1;
    place-items: center;
    width: 1.25em;
    z-index: 2;
}

.lp-flow .lp-flow-list > li .lp-flow-list-item-number > span {
    position: relative;
    top: -0.1em;
}

.lp-flow .lp-flow-list > li .lp-flow-list-item-text {
    font-weight: 700;
}
@media (min-width: 576px) {

    .lp-flow {
        padding-inline: 32px;
    }

    .lp-flow::before {
        height: 374.609375vw;
        width: 374.609375vw;
    }

    .lp-flow::after {
        top: calc(187.30469vw - 1px);
    }

    .lp-flow .lp-flow-title {
        font-size: 2rem;
        line-height: 1.1875;
        margin-block-end: 56px;
    }

    .lp-flow .lp-flow-list {
        gap: 24px;
        grid-template-columns: repeat(4, 1fr);
    }

    .lp-flow .lp-flow-list > li {
        display: block;
    }

    .lp-flow .lp-flow-list > li::before {
        height: 2px;
        left: 50%;
        top: 1.25em;
        width: calc(100% + 24px);
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-number {
        margin-inline: auto;
        position: relative;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-image {
        margin-block-start: 24px;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-image-sp {
        display: none;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-text {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-block-start: 24px;
        text-align: center;
    }
}
@media (min-width: 1200px) {

    .lp-flow {
        padding-block: 80px;
        padding-inline: 0;
    }

    .lp-flow::before {
        height: 266.388889vw;
        width: 266.388889vw;
    }

    .lp-flow::after {
        top: calc(133.19444vw - 1px);
    }

    .lp-flow .lp-flow-inner {
        margin-inline: auto;
        max-width: 1200px;
    }

    .lp-flow .lp-flow-title {
        font-size: 3rem;
        line-height: 1.2083333333;
        margin-block-end: 64px;
    }

    .lp-flow .lp-flow-list {
        gap: 32px;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-number {
        font-size: 2.5rem;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-image {
        margin-block-start: 32px;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-text {
        font-size: 1.5rem;
        line-height: 1.5;
        margin-block-start: 32px;
    }
}
@media (max-width: 575.96px) {

    .lp-flow {
        padding-inline: 24px;
    }

    .lp-flow::before {
        height: 408vw;
        width: 408vw;
    }

    .lp-flow::after {
        top: calc(204vw - 1px);
    }

    .lp-flow .lp-flow-title {
        font-size: 1.5rem;
        line-height: 1.2083333333;
        margin-block-end: 40px;
    }

    .lp-flow .lp-flow-list {
        gap: 40px;
    }

    .lp-flow .lp-flow-list > li {
        display: flex;
        flex-direction: column-reverse;
        padding-inline-start: 86px;
    }

    .lp-flow .lp-flow-list > li::before {
        bottom: -40px;
        left: calc(1.25em - 1px);
        top: 1.25em;
        width: 2px;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-number {
        left: 0;
        position: absolute;
        top: 0;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-image {
        display: none;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-image-sp {
        margin-block-start: 16px;
        margin-inline-end: 14px;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-text {
        font-size: 1.25rem;
        line-height: 1.5;
        padding-block: 5px;
    }

    .lp-flow .lp-flow-list > li .lp-flow-list-item-text br {
        display: none;
    }
}
