.section_top_box{
    background-image: url(../img/flow_top.webp);
    background-size: cover;
    background-position: center;
}

.section.section_2{
    align-items: center;
    padding: 60px 10px;
}
.flow_container{
    width: 100%;
    max-width: 1500px;
    gap: 60px;
    align-items: center;
}
.flow_content_container{
    width: 100%;
    position: relative;
}
.flow_content_box.type_1{
    flex: 1;
    align-items: center;
    padding: 10px;
}
.flow_content_box.type_1.box_1{
    justify-content: flex-end;
    gap: 20px;
}
.flow_content_box.type_1.box_2{
    flex: 1.5;
}
.flow_title_box{
    align-items: flex-start;
    gap: 20px;
}
.flow_title{
    font-size: 32px;
    font-weight: bold;
    color: rgb(18,77,137);
}
.flow_title_border{
    width: 50%;
    height: 2px;
    background: rgb(16, 16, 16);
    align-self: flex-end;
}
.flow_movie_box{
    width: 100%;
    height: 100%;
    min-height: 450px;
}
iframe.flow_movie{
    width: 100%;
    height: 100%;
}
.flow_content_container.container_2{
    max-width: 1000px;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
}
.flow_content_container.container_2::before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100px;
    background-color: rgb(18,77,137);
    left: 0;
    top: 0;
    background-image: url(/src/img/arrow_w.webp);
    background-size: 100% 150px;
    background-repeat: repeat-y;
    animation: for_arrow 10s linear infinite;
}
@keyframes for_arrow{
    0%{
        background-position: 100% 100%;
    }
    100%{
        background-position: 100% calc(100% + 150px);
    }
}
.flow_content_row{
    width: 100%;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    z-index: 1;
}
.flow_content_box.type_2{
    width: 100%;
    height: 100%;
    position: relative;
}
.flow_content_box.type_2.box_1{
    justify-content: center;
}
.flow_content_box.type_2.box_2{
    align-items: center;
    padding: 10px;
    gap: 10px;
    background: white;
    border: 1px solid rgb(16, 16, 16);
}
.flow_content_label{
    width: 100%;
    height: 80px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    position: relative;
    border: 2px solid rgb(18,77,137);
}
.flow_content_label::before{
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgb(18,77,137);
    right: -19px;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    z-index: -1;
}
.flow_content_label_text{
    font-weight: bold;
    letter-spacing: 1px;
}
.flow_content_number{
    font-size: 36px;
    color: rgb(18,77,137);
}
.flow_content_title_box,.flow_content_text_box{
    flex: 1;
}
.flow_content_title_box{
    max-width: 250px;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.flow_content_title{
    font-weight: bold;
}
.flow_content_text_box{
    padding: 20px;
}
.flow_content_text{
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.8em;
    text-align: justify;
}
.flow_text_divider{
    width: 1px;
    height: 80%;
    background-color: rgb(18,77,137);
}
img.flow_icon{
    width: auto;
    height: 40px;
}

@media all and (max-width:1200px){

}
@media all and (max-width:900px){
    .flow_container{
        gap: 30px;
    }
    .flow_content_container.container_1{
        flex-direction: column;
    }
    .flow_content_box.type_1,.flow_content_box.type_1.box_2{
        flex: inherit;
        width: 100%;
    }
    .flow_content_box.type_1.box_1{
        align-items: flex-start;
    }
    .flow_title{
        font-size: 28px;
    }
    .flow_title_border{
        align-self: flex-start;
    }
    .flow_movie_box{
        height: max-content;
        min-height: 0;
    }
    iframe.flow_movie{
        min-height: 350px;
    }
    .flow_content_container.container_2::before{
        width: 50px;
        background-size: 100% 75px;
    }
    @keyframes for_arrow{
        0%{
            background-position: 100% 100%;
        }
        100%{
            background-position: 100% calc(100% + 75px);
        }
    }
    .flow_content_row{
        grid-template-columns: 200px 1fr;
    }
    .flow_content_label{
        height: 60px;
    }
    .flow_content_label_text{
        font-size: 14px;
    }
    .flow_content_number{
        font-size: 32px;
    }
    .flow_content_title_box{
        max-width: 200px;
    }
    .flow_content_title{
        font-size: 16px;
    }
    .flow_content_text_box{
        padding: 15px;
    }
}
@media all and (max-width:524px){
    .section.section_2{
        padding: 30px 10px;
    }
    .flow_title{
        font-size: 20px;
    }
    .flow_content_box.type_1{
        padding: 10px 0;
    }
    iframe.flow_movie{
        min-height: 200px;
    }
    .flow_content_row{
        grid-template-rows: repeat(2, max-content);
        grid-template-areas: 
        "grid1 gridx"
        "grid2 grid2";
    }
    .flow_content_box.type_2.box_1{
        grid-area: grid1;
    }
    .flow_content_box.type_2.box_2{
        grid-area: grid2;
        flex-direction: column;
        gap: 0;
    }
    .flow_content_title_box,.flow_content_text_box{
        flex: none;
    }
    .flow_content_label::before{
        right: 10px;
        bottom: -19px;
        clip-path: polygon(0 0, 50% 100%, 100% 0);
    }
    .flow_content_title_box{
        max-width: none;
        width: 100%;
        justify-content: flex-start;
        padding: 10px;
    }
    .flow_content_text_box{
        padding: 10px;
    }
    .flow_text_divider{
        width: 50px;
        height: 2px;
        align-self: flex-start;
        margin-left: 10px;
    }
}
