.flow{
    padding-top: 116px;
    padding-bottom: 60px;
    background: #F9F9F9;
}

.flow__title{
    display: inline-block;
    position: relative;
}

.flow__title::before{
    position: absolute;
    content: "";
    width: 395px;
    aspect-ratio: 395/92;
    background-image: url(../img/process.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    bottom: -10px;
    right: 34px;
    transform: translateX(100%);
}

.flow__items{
    position: relative;
    margin-top: 40px;
}

.flow__items::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background: #171C61;
    top: 0;
    left: 75.5px;
}

.flow__item{
    display: flex;
    gap: 60px;
    align-items: center;
}

.flow__item:nth-of-type(n + 2){
    margin-top: 100px;
}

.flow__head{
    width: 150px;
    height: 150px;
    background: #171C61;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
}

.flow__step{
font-weight: 700;
font-size: 24px;
line-height: 100%;
letter-spacing: normal;

}

.flow__number{
font-weight: 600;
font-size: 60px;
line-height: 100%;
letter-spacing: normal;
font-family: "Lato", sans-serif;

}

.flow__heading{
    font-weight: 700;
    font-size: 28px;
    line-height: 160%;
    letter-spacing: normal;
    color: #0F65EF;

}

.flow__text{
font-weight: 400;
font-size: 20px;
line-height: 160%;
letter-spacing: normal;
margin-top: 8px;

}

@media (max-width: 768px) {
    .flow{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .flow__title{
        display: block;
    }
    
    .flow__title::before{
        position: absolute;
        content: "";
        width: 186px;
        aspect-ratio: 186/44;
        background-image: url(../img/under/sp/process_sp.svg);
        bottom: -32px;
        right: 16px;
        transform: translateX(0%);
    }
    
    .flow__items{
        position: relative;
        margin-top: 46px;
    }
    
    .flow__items::before{
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        background: #171C61;
        top: 0;
        left: 50px;
    }
    
    .flow__item{
        display: flex;
        gap: 20px;
        align-items: center;
    }
    
    .flow__item:nth-of-type(n + 2){
        margin-top: 80px;
    }
    
    .flow__head{
        width: 100px;
        height: 100px;
    }
    
    .flow__step{
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: normal;
    
    }
    
    .flow__number{
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: normal;
    font-family: "Lato", sans-serif;
    
    }

    .flow__body{
        width: calc(100% - 100px);
    }
    
    .flow__heading{
        font-weight: 700;
        font-size: 20px;
        line-height: 160%;
        letter-spacing: normal;
        color: #0F65EF;
    
    }
    
    .flow__text{
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: normal;
    margin-top: 8px;
    
    }
    
    
}