@charset "UTF-8";

.B3_MVisual .item img{ object-fit: cover;}
.B3_MVisual .slogan_txt.ty1 { top:4rem; bottom:auto !important; width: calc(100% - 4rem); text-align: center; text-shadow: 0 0 10px rgba(0,0,0,0.5);}
.B3_MVisual .slogan_txt.ty1 strong { display: inline-block; padding:0.25rem 0.75rem; background:#fff; color:#2173dc; font-weight: 900; font-size: 2rem; border-radius: 0.25rem; margin-bottom: 1rem; text-shadow: none; box-shadow:0 0 10px rgba(0,0,0,0.2);}
.B3_MVisual .slogan_txt.ty1 p{ font-size: 1.5rem; }
.B3_MVisual .slogan_txt.ty1 p em{ font-weight: 700; color:#e5ff13;}
.B3_MVisual .slogan_txt.ty1 span{ font-weight: 700; font-size: 1.7rem; margin-top: 0;}


@media screen and (max-width: 1240px) and (min-width: 1190px) {
    
    /* 진료예약 */ 
    .B3_resv > ul{ padding: 0.35rem 1rem;}
    .B3_resv > ul li:first-of-type{ margin-bottom:0.35em; padding-bottom:0.35em; }
    .B3_resv > ul li a{ font-size: 1.2em;}
}

@media screen and (max-width:768px) {

    .B3_MVisual .slogan_txt.ty1{ top: 5rem;}
    .B3_MVisual .slogan_txt.ty1 strong { font-size: 1.7rem; }
    .B3_MVisual .slogan_txt.ty1 span{ font-size: 1.5rem;}
}
@media screen and (max-width:460px) {

    .B3_MVisual .slogan_txt.ty1{ width:calc(100% - 2rem);}
    .B3_MVisual .slogan_txt.ty1 strong { font-size: 1.5rem; }
    .B3_MVisual .slogan_txt.ty1 p{ font-size: 1.4rem;}
    .B3_MVisual .slogan_txt.ty1 span{ font-size: 1.2rem;}
}
@media screen and (max-width:380px) {

    .B3_MVisual .slogan_txt.ty1 strong { font-size: 1.3rem; }
    .B3_MVisual .slogan_txt.ty1 p{ font-size: 1.3rem;}
    .B3_MVisual .slogan_txt.ty1 span{ font-size: 1.1rem;}
}