@charset "UTF-8";

#business .page_ttl_img {
    background-image: url(../images/business/business_title.jpg);
    background-image: image-set(url(../images/business/business_title.webp) type("image/webp"),
            url(../images/business/business_title.jpg) type("image/jpeg"));
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
    height: 256px;
    margin-bottom: 10px;
    max-width: initial;
    object-position: center;
    width: 100%;
}


@media screen and (max-width: 767px) {

    #business .page_ttl_img {
        background-image: url(../images/business/business_title_sp.jpg);
        background-image: image-set(url(../images/business/business_title_sp.webp) type("image/webp"),
                url(../images/business/business_title_sp.jpg) type("image/jpeg"));
        background-size: cover;
        background-position: center;
        position: relative;
        background-repeat: no-repeat;
        height: 180px;
        margin-bottom: 20px;
        max-width: initial;
        object-position: center;
        width: 100%;
    }

}

.business_intro_h {
    font-size: 2.8rem;
    line-height: 1.45;
    font-weight: 700;
    text-align: center;
}

.business_intro_p {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .business_intro_h {
        font-size: 2rem;
        line-height: 1.4;
        text-align: left;
    }

    .business_intro_p {
        text-align: left;
    }
}

.flow_img {
    position: relative;
    padding: 60px 0 90px 0;
}

.flow_img_sp {
    padding: 25px 0 100px 0;
    max-width: 345px;
    margin: 0 auto;
}


.flow_img::after {
    content: "";
    width: 96vw;
    border: 1px solid var(--gray02);
    border-left: none;
    position: absolute;
    height: 160%;
    top: 0;
    left: calc(50% - 50vw);
    z-index: -2;
    margin-left: clamp(20px, 2vw, 9999px);
    margin-right: clamp(20px, 2vw, 9999px);
}

.flow_box {
    position: relative;
    padding-left: 80px;
}

.flow_box:not(:last-child) {
    padding-bottom: 30px;
}

.flow_box::before {
    display: inline-block;
    position: absolute;
    top: 12px;
    left: 7px;
    width: 1px;
    height: 100%;
    background-color: var(--gray02);
    content: "";
}


.flow_box::after {
    display: inline-block;
    position: absolute;
    top: 0;
    left: -4.5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--main-color);
    border: 5px solid #cce3f5;
    content: "";
    box-sizing: border-box;
    border-style: solid;
}

.flow_card {
    display: flex;
    background: #fff;
    width: 100%;
    height: auto;
    max-width: 909px;
    min-height: 305px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.flow_card_left {
    padding: 45px 40px 40px 40px;
    width: 50.2%;
}

.flow_card_right {
    overflow: hidden;
    width: 49.7%;
}

.flow_card_right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 5px 5px 0;
}

.flow_nop .flow_card {
    min-height: 223.4px;
}

.flow_nop .flow_card_left {
    width: initial;
}

.flow_h {
    display: flex;
    align-items: center;
    gap: 25px;
    line-height: 1;
    margin-bottom: 30px;
}


.flow_num {
    font-family: 'Poppins', 'メイリオ', 'Meiryo', sans-serif;
    font-size: 4.2rem;
    font-weight: 500;
    color: var(--gray02);
}

.flow_jp {
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.4;
    letter-spacing: 0.05em
}

@media screen and (max-width: 991px) {

    .flow_img::after {
        margin-left: clamp(0px, 4vw, 20px);
        margin-right: clamp(0px, 4vw, 20px);
    }

    .flow_card_left {

        padding: 30px 15px;
    }

}


@media screen and (min-width: 768px) {

    .flow_img_sp {
        display: none;
    }

}


@media screen and (max-width: 767px) {
    .flow_title {
        text-align: center;
    }

    .flow_img {
        display: none;
    }

    .flow_box {
        padding-left: 0;
    }

    .flow_box:not(:last-child) {
        padding-bottom: 60px;
    }

    .flow_box::before {
        right: 0;
        left: 0;
        margin: 0 auto;
        top: -20px;
        z-index: -1;
        height: 120%;
    }

    .flow_box::after {
        right: 0;
        left: 0;
        margin: 0 auto;
        top: -42.5px;
    }

    .flow_card {
        display: block;
    }

    .flow_card_left {
        width: 100%;
    }

    .flow_num {
        font-size: 3rem;
    }

    .flow_jp {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .flow_h {
        margin-bottom: 20px;
    }

    .flow_card_right {
        width: 100%;
    }

    .flow_card_right img {
        border-radius: 0 0 5px 5px;
    }


}
