@charset "utf-8";

/*================================
下層ページ共通設定
================================*/

.lower_mv {
    background-image: url(./img/lower_mv_bg.jpg);
}

.Installed_link a.btn_link {
    max-width: 320px;
    width: 100%;
}

.grey_box_mini .lower_flex02_txt {
    min-height: auto;
    margin-bottom: 15px;
}


.RootCanal_circle_wrap {
    position: relative;
}
.RootCanal_circle_wrap img{
    margin: 0 auto;
}

.RootCanal_circle {
    border-radius: 50%;
    background-color: rgb(61, 167, 209);
    position: absolute;
    right: 0;
    top: 0;
    width: 78px;
    height: 78px;
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.167;
}

.flow_wrap {
    position: relative;
}
.flow_wrap::before {
    content: "";
    border-left: 2px solid #d2d2d2;
    position: absolute;
    left: 60px;
    top: 0;
    height: 100%;
}

.flow_flex {
    display: flex;
    margin-bottom: 30px;
    gap: 25px;
}

.flow_txt .blue_big_txt01 {
    margin-bottom: 30px;
}

.flow_circle p{
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}
.flow_circle span{
    font-size: 36px;
    display: block;
}

.flow_item:nth-of-type(2n) .flow_circle {
    background-color: #ead31f;
}

.flow_item:last-of-type {
    position: relative;
    background-color: #fff;
}
.flow_circle {
    border-radius: 50%;
    background-color: #3da7d1;
    position: relative;
    width: 120px;
    height: 120px;
    display: grid;
    align-items: center;
    margin-right: 20px;
}

.flow_txt {
    flex: 1;
}

.why_wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}

.why_item .blue_big_txt01{
    text-align: center;
}
.why_item_bg {
    background: url(./img/RootCanal_why_bg.png) no-repeat center;
    max-width: 260px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    min-height: 260px;
    margin: 0 auto -30px;
}

.success_wrap .section_ttl01 {
    font-size: clamp(20px, 20 / 524 * 100vw, 24px);
}

.success_wrap .section_ttl01_wrap {
    margin-bottom: 30px;
}
.success_wrap .lower_flex03 {
    justify-content: center;
}
.section_ttl01_eng + .lower_ttl01 {
    margin-top: 10px;
    margin-bottom: 15px;
    color: #3da7d1;
    font-weight: 600;
}


.success_flex {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 30px 10px;
    margin-bottom: 50px;
}


.success_flex_item .blue_big_txt01{
    text-align: center;
}
.success_flex_item img{
    margin: 10px auto 5px;
}
.success_flex_item .txt{
    max-width: 290px;
    margin: 0 auto;
}



/*================================

　ここからPC適用

================================*/
@media(min-width: 897px) {


}

/*================================
TABLET縦 1024px～0px
================================*/
@media (max-width: 1024px) {

    .success_wrap .lower_flex03_img {
        max-width: 291px;
        width: 100%;
    }

}

/*================================

　ここからTABLET・SP適用

================================*/
@media(max-width: 896px) {
}

/*================================

　ここからSP適用

================================*/
@media(max-width: 700px) {



    .flow_flex {
        flex-wrap: wrap;
        gap: 10px 15px;
    }
    .flow_wrap::before {
        left: 30px;
    }
    .flow_circle {
        width: 70px;
        height: 70px;
        margin-right: 0;
    }
    .flow_circle span {
        font-size: 24px;
    }
    .flow_circle p {
        font-size: 18px;
        line-height: 1;
    }
    .flow_img {
        position: relative;
    }
    .flow_txt .blue_big_txt01 {
        margin-bottom: 0px;
    }
    

    .why_wrap {
        flex-wrap: wrap;
    }
    .why_item {
        display: contents;
    }
    .why_item img{
        order: 3;
    }

}

/*================================

　ここからSP適用

================================*/
@media(max-width: 480px) {

    .blue_box_txt {
        text-align: left;
    }

    .why_item_bg {
        margin-bottom: -10px;
    }

}