@charset "utf-8";

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

.txt.text_right {
    letter-spacing: 1px;
}

.txt {
    text-align: left;
}

.lower_mv {
    background-image: url(./img/lower_mv_bg.jpg);
}
.lower_ttl01.LT_blue {
    margin-bottom: 40px;
}

.services_links {
    padding: 50px 5px;
    background-color: #e3f7fe;
}

.services_links_inner {
    background: url(../common/img/logo_bg_item5.png) no-repeat left;
    max-width: 1366px;
    margin: 0 auto;
}

.services_link a.btn_link::after{
    display: none;
}
.services_link a.btn_link{
    min-width: 320px;
}
.services_link + .services_link {
    margin-top: 20px;
}
.services_link {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.services_img_flex {
    display: flex;
    margin: 75px auto 90px;
    justify-content: center;
    gap: 20px 0px;
}

.services_img_border {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.services_img_p {
    border-radius: 20px;
    border: dashed 2px #3da7d1;
    color: #3da7d1;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    padding: 2px 15px;
    /* letter-spacing: 0.5px; */
}
.services_img_item {


}
  
#orthodontics_pic02 .services_img_item{
    margin-inline: -22px;
}
.orthodontics_ttl {
    border: solid 2px #333;
    color: #3f3a39;
    font-size: 24px;
    font-weight: bold;
    line-height: 48px;
    height: 54px;
    text-align: center;
    margin: 0 auto 30px;
    min-width: 228px;
}


.price_box {
    background-color: #fff;
    border: solid 1px #3da7d1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
}
.price_box_ttl {
    background-color: #3da7d1;
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
}


.price_flex .price_box {
    width: 100%;
}
.price_flex {
    display: flex;
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}

#surgery_pic02 {
    justify-content: center;
}

#sports_diamond {

}

#sports_diamond .diamond_list li{
    line-height: 1.5;
}

.sports_diamond_ttl {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.visit_pic_flex {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 90px;
}
.visit_pic_item .txt_medium_size{
    font-size: 18px;
    display: grid;
    align-items: center;
    color: #3da7d1;

}
.visit_pic_item img{
    margin: 0 auto 0;
}
.visit_pic_item {
    min-width: 150px;
    min-height: 200px;
    text-align: center;
    display: grid;
    justify-content: center;
    text-align: center;
    background-color: #e3f7fe;
    border-radius: 10px;
}

.whitening_flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.whitening_img {
    min-height: 175px;
    text-align: center;
    display: flex;
    align-items: flex-end;
}

.whitening_flex_item img {
    margin: 0 auto;
}

.whitening_pic03 .whitening_flex_ttl {
    background-color: #e8f1f6;
}
.whitening_pic04 .whitening_flex_ttl {
    background-color: #fff;
    color: #3da7d1;
}
.whitening_flex_ttl {
    background-color: #e8e2c0;
    border: 2px solid #4c3a37;
    border-radius: 20px;
    font-weight: bold;
    font-size: 22px;
    min-height: 38px;
    text-align: center;
    max-width: 280px;
    width: 100%;
}


.whitening_flex_item {
    min-height: 190px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 280px;
    width: 100%;
}

.whitening_pic03 {
    position: relative;
}

.whitening_pic03_sub p {
    line-height: 1.5;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.whitening_pic03_before {
    position: absolute;
    left: -50%;
    bottom: 0;
}
.whitening_pic03_after p{
    margin-bottom: 10px;
}
.whitening_pic03_after {
    position: absolute;
    right: -42%;
    bottom: 0;
}

.visit_area {
    max-width: 100%;
}

.lower_flex03_txt {
    flex: 1;
}

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

　ここからPC適用

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


}

/*================================
TABLET縦 1200px
================================*/
@media (max-width: 1200px) {
    .lower_section:first-of-type {
        margin-top: 80px;
    }
}


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

    .services_link {
        display: contents;
    }

    .services_links_inner {
        display: flex;
        flex-wrap: wrap;
        gap: 22px 20px;
        justify-content: center;
    }

    .services_img_flex {
        margin-top: 0;
        flex-wrap: wrap;
        gap: 10px;
    }
    .services_img_border {
        /* flex: auto; */
        order: 3;
        gap: 10px;
    }
    .services_img_p {
        font-size: 20px;
        width: 100%;
    }

    #orthodontics_pic02 .services_img_item{
        margin-inline: 0;
    }
    .services_img_item {
        width: 100%;
        display: grid;
        justify-content: center;
    }

    .whitening_pic03_sub p {
        font-size: 16px;
    }
    .whitening_pic03_sub p {
        font-size: 16px;
    }

    .visit_pic_flex {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 650px;
        margin: 0 auto 90px;
    }

    .whitening_pic02 .whitening_img{
        max-width: 105px;
    }

    .whitening_pic04 .whitening_img{
        max-width: 168px;
    }

    .whitening_pic03_before {
        position: absolute;
        left: -36%;
        bottom: 50px;
    }

    .whitening_pic03_after p{
        margin-bottom: 15px;
    }
    .whitening_pic03_after {
        position: absolute;
        right: -32%;
        bottom: 50px;
    }

}

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

　ここからTABLET・SP適用

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


}

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

　ここからSP適用

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

    main {
        padding-bottom: 50px;
    }

    .lower_flex02_txt {
        min-height: auto;
    }

    .price_flex {
        flex-wrap: wrap;
    }

    .services_links_inner {
        gap: 10px 15px;
        justify-content: space-around;
        background: none;
    }

    .services_link li {
        width: 47%;
    }
    .services_link a.btn_link {
        width: 100%;
        min-width: auto;
        height: 40px;
        line-height: 40px;
    }
    .services_img_p {
        font-size: 17px;
        width: 100%;
    }

    

    .whitening_flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .whitening_flex_item {
        max-width: 100%;
        min-height: auto;
    }

    .whitening_flex .whitening_img {
        margin-top: 15px;
        max-width: 100%;
        min-height: auto;
    }

    .whitening_pic03_before img,.whitening_pic03_after img{
        transform: rotate(90deg);
    }
    .whitening_pic03_before,.whitening_pic03_after {
        position: relative;
        inset: 0;
        margin-bottom: 20px;
    }
    .whitening_pic03_sub p {
        margin: 10px auto;
    }

    .blue_bg_item .lower_flex03 .lower_flex03_txt ,
    .blue_bg_item .lower_flex03 .lower_flex03_img {
        display: contents;
    }
    .blue_bg_item .lower_flex03 .lower_flex03_img img{
        margin-top: 20px;
    }
    .blue_bg_item .lower_flex03 {
        gap: 0;
    }
    .blue_bg_item .lower_flex03 .price_box {
        order: 3;
        margin-top: 20px;
    }

    .services_img_border {
        flex: auto;
        width: 100%;
    }

}

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

　ここからSP適用

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

    .section_ttl01_eng {
        letter-spacing: 0;
    }

    .lower_ttl01.LT_blue {
        margin-bottom: 20px;
    }

    .grey_box {
        padding-block: 20px;
    }

    .visit_pic_flex {
        gap: 10px;
        min-height: 180px;
    }

    .visit_pic_item {
        min-width: auto;
        width: 47%;
    }

    .txt_medium_size {
        font-size: 16px;
    }

    .PMTC {
        text-align: left;
    }

}