@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: calc(100vh - 60px);
    --max-height: 156vw;
    --min-height: 620px;
    z-index: 1;
  }
  .home_page .key .inner{
    padding: 0 10px;
  }
  .home_page .key .key_text {
    font-size: min(8px, 1.65vw);
  }
  .home_page .key .key_text .item {
    padding: 32.5em 0 10.5em;
  }
  .home_page .key .catch {
    padding-left: 0;
    text-align: center;
  }
  .home_page .key .catch::before {
    top: -6.6em;
    left: 0;
    right: 0;
    margin: auto;
    font-size: min(8px, 1.4vw);
  }
  .home_page .key .catch h2 {
    line-height: 1.4;
  }
  .home_page .key .catch p {
    line-height: 1.8;
  }
  .bnr_fix {
    position: absolute;
    bottom: 46px;
    left: 15px;
    font-size: 8px;
  }
  .bnr_fix.active {
    bottom: 75px;
    position: fixed;
  }
  .bnr_fix.ac {
    bottom: 126px;
  }
}
@media only screen and (max-width: 450px) {
  .home_page .key {
    --min-height: 520px;
  }
  .bnr_fix {
    font-size: 6px;
  }
  .bnr_fix.active {
    bottom: 75px;
  }
  .bnr_fix.ac {
    bottom: 126px;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .home_page .key .key_text {
    font-size: 1.4vmin;
  }
}
/* @media only screen and (max-width: 768px) and (orientation: portrait) {
  .home_page .key .s1 {
    background-image: url(../images/idx_mv01_sp.jpg);
  }
  .home_page .key .slick-initialized .s2 {
    background-image: url(../images/idx_mv02_sp.jpg);
  }
  .home_page .key .slick-initialized .s3 {
    background-image: url(../images/idx_mv03_sp.jpg);
  }
} */
@media only screen and (max-width: 768px) {
  .tl_h3 {
    font-size: min(18px, 5.4vw);
  }
  .tl_h3 .en {
    font-size: min(35px, 8vw);
    letter-spacing: 0.02em;
  }
  .h3_st02 {
    font-size: min(23px, 7vw);
  }
  .h3_st02 .en {
    font-size: min(16px, 4.5vw);
    margin: 0 auto 0.8em;
  }
}
@media only screen and (max-width: 768px) {
  .idx01 {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .idx01::before {
    bottom: -3.125em;
    right: 2.625em;
    font-size: 10px;
  }
  .idx01 .tl_h3 {
    width: 100%;
    padding-left: 0;
    padding-bottom: 10px;
    margin: 0;
    font-size: 28px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .idx01 .tl_h3::before {
    content: '';
    position: absolute;
    width: 3.4em;
    height: 2px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: var(--clr3);
  }
  .idx01 .tl_h3 .en {
    margin-top: 4px;
  }
  .idx01 .cm_btn {
    margin: 20px auto 0;
  }
  .idx01 .inner_max {
    width: calc(100% - 40px);
    padding-left: 0;
    padding-right: 0;
    border-radius: 15px;
  }
  .idx01 .inner_max::before {
    left: -15px;
    top: -21px;
    font-size: 10px;
  }
  .idx01 .box_news {
    margin-bottom: 25px;
    padding: 40px 1%;
  }
  .idx01 .box_news:last-child {
    margin-bottom: 0;
  }
  .idx01 .list_post {
    margin-top: 10px;
    width: 100%;
    --w: 100px;
  }
  .idx01 .list_post a {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 12px 21px 11px 10px;
  }
  .idx01 .list_post .title {
    width: 100%;
    margin-top: 4px;
  }
}
@media only screen and (max-width: 768px) {
  .idx02 {
    padding-top: 12vw;
    padding-bottom: 60px;
  }
  .idx02 .tl_h3 {
    margin-bottom: 10px;
  }
  .idx02 .tl_h3 .en {
    margin-top: 5px;
  }
  .idx02 .txt_en {
    top: -6.3vw;
    font-size: 1.2vw;
  }
  .idx02 .txt_en .text {
    -webkit-animation-duration: 105s;
            animation-duration: 105s;
  }
  .idx02 .block_greeting {
    padding-top: 52vw;
  }
  .idx02 .block_greeting:before {
    width: 100%;
    border-radius: 20px;
    max-height: 512px;
    height: 57vw;
    background-size: 45% auto, cover;
    background-position: center;
    border-radius: 15px;
  }
  .idx02 .greeting_cont {
    width: calc(100% - 20px);
    margin: auto;
    padding: 75px 5% 50px;
    border-radius: 15px;
  }
  .idx02 .box_name {
    right: 0;
    left: 0;
    margin: auto;
    top: 40vw;
    font-size: min(14px, 2.5vw);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 1.1875em 1.5625em 1.5em;
  }
  .idx02 .gr_btn {
    margin-top: 20px;
  }
}
@media only screen and (max-width: 450px) {
  .idx02 .block_greeting {
    padding-top: 62vw;
  }
  .idx02 .block_greeting::before {
    height: 70vw;
    background-size: 58% auto, cover;
    background-position: center, left 0% center;
  }
  .idx02 .box_name {
    top: 53vw;
  }
  .idx02 .gr_btn .cm_btn {
    margin: 10px auto;
  }
}
@media only screen and (max-width: 768px) {
  .idx03 {
    padding-bottom: 30px;
    padding-top: 60px;
  }
  .idx03 .tl_h3 {
    margin-bottom: 20px;
  }
  .idx03 .idx_logo {
    max-width: 320px;
    width: 100%;
    margin: 0 auto 20px;
  }
  /* .idx03 .col_img {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    display: table;
  } */
  .idx03 .col_map{
    margin-top: 30px;
  }
  .idx03 .cm_btn {margin-top: 15px;}
  .idx03 .col .cm_btn {
    margin-right: auto;
  }
  .idx03 .col.col_map .cm_btn{
    margin-left: auto;
    margin-right: auto;
  }
  .idx03 .box_infor {
    --w: 77px;
    letter-spacing: 0.05em;
  }
  .idx03 .box_infor .tt_22 {
    font-size: 20px;
  }
  .idx03 .block_clinic {
    padding: 50px 5%;
    background-image: url(../images/idx03_bg_sp.jpg);
  }
  .idx03_map{height: 400px;}
  .idx03_img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .idx03_img figure{
    height: 44vw;
    max-height: 500px;
  }
  .idx03_banner {
    margin: 35px 0;
  }
  .idx03_banner .bnr {
    margin: 10px auto;
  }
  .idx03_img{margin-top: 40px;}
}
@media only screen and (max-width: 768px) {
  .idx03_banner .bnr {
    width: 100%;
    margin: 8px auto;
  }
  .idx03_banner .bnr:last-child {
    margin-right: auto;
  }
}
@media only screen and (max-width: 420px) {
  .idx03 .pc_br{display: none;}
}
@media only screen and (max-width: 768px) {
  .idx04 {
    padding: 55px 0 60px;
  }
  .idx04_title {
    width: 100%;
    margin-bottom: 30px;
  }
  .idx04_title::before {
    width: 60px;
    height: 100px;
    top: -90px;
    left: 0;
  }
  .idx04_title p {
    font-size: 16px;
  }
  .idx04 .tl_h3 {
    margin-bottom: 10px;
  }
  .idx04 h4 {
    font-size: 20px;
    line-height: 1.4;
    padding-bottom: 10px;
  }
  .idx04 .col {
    margin-bottom: 35px;
  }
  .idx04 .col:last-child {
    margin-bottom: 0;
  }
  .idx04 .block_l_btn .btn_it {
    width: calc(50% - 0.5em);
    margin: 0.25em;
  }
  .idx04 .block_l_btn .btn_it.m_r10{margin-right: 14px;}
  .idx04 .block_l_btn .btn_it a {
    font-size: 16px;
  }
  .idx04 .block_l_btn .btn_it a::after {
    width: 5px;
    height: 8px;
    right: 10px;
  }
  .idx04 .st_orange .block_l_btn .btn_it a{
     color: #3a488b;
    font-weight: 700;  
  }
  .idx04 .st_orange .block_l_btn.st02 .btn_it a{
    color: #3a488b;
    font-weight: 700;    
  }
  .idx04 .block_l_btn.st02 .btn_it a {
    background-color: #ffffff;
  }
  .bx_disease .disease_icon{
    width: 55px;
    padding: 10px 10px;
  }
  .bx_disease .disease_icon img{max-width: 30px;}
  .bx_disease .disease_icon.w_img50 img{max-width: 40px;}
  .bx_disease .block_l_btn{width: calc(100% - 70px);}
}
@media only screen and (max-width: 450px) {
  .idx04 .block_l_btn .btn_it.w_100{
    width: 100%;
  }
  .idx04 .block_l_btn .btn_it a {
    padding: 0.6875em 1em 0.6875em 0.5em;
    font-size: min(16px, 3.4vw);
    letter-spacing: 0.05em;
  }
  .idx04 .block_l_btn .btn_it a::after{
    right: 6px;
  }
}
@media only screen and (max-width: 768px) {
  .idx05 {
    padding: 55px 0 50px;
  }
  .idx05 .tl_h3 {
    margin-bottom: 20px;
  }
  .idx05 .block_treatment {
    font-size: min(14px, 2vw);
  }
  .idx05 .block_treatment .treatment_it {
    width: calc((100% - 20px) / 3);
    margin-right: 10px;
    margin-bottom: 10px;
    max-width: 245px;
    padding: 1.25em 0.5em 3.5em;
  }
  .idx05 .block_treatment .treatment_it::after {
    right: 0;
    left: 0;
    margin: auto;
  }
   /* .idx05 .block_treatment .treatment_it.it_w50 {
    width: calc((100% - 10px) / 2);
    max-width: 235px;
  } */
  .idx05 .block_treatment .treatment_it:nth-child(3), .idx05 .block_treatment .treatment_it:last-child {
    margin-right: 0;
  }
  .idx05 .block_treatment .treatment_it:nth-child(5){margin-right: 20px;}
  .idx05 .block_treatment .box_in {
    display: block;
    text-align: center;
  }
  .idx05 .block_treatment .treatment_img {
    margin: 0 auto 1em;
  }
  .idx05 .block_treatment .treatment_tl {
    padding: 0;
  }
}
@media only screen and (max-width: 550px) {
  .idx05 .block_treatment {
    font-size: min(14px, 2.5vw);
  }
  .idx05 .block_treatment .treatment_it {
    width: calc((100% - 10px) / 2);
  }
  .idx05 .block_treatment .treatment_it:nth-child(2n+2) {
    margin-right: 0;
  }
  .idx05 .block_treatment .treatment_it:nth-child(3), .idx05 .block_treatment .treatment_it:nth-child(6) {
    margin-right: 10px;
  }
  .idx05 .block_treatment .treatment_it:nth-child(7){margin-right: 0;}
}
@media only screen and (max-width: 768px) {
  .idx06 {
    padding: 107px 0 45px;
    margin-top: -110px;
  }
  .idx06 .inner_big, .idx06 .inner_max {
    max-width: 640px;
  }
  .idx06 .h3_st02 {
    margin-bottom: 20px;
  }
  .idx06 .h3_st02::before {
    width: 50px;
    height: 88px;
    top: -96px;
    right: 6px;
  }
  .idx06 h4 {
    font-size: 22px;
    padding-bottom: 3px;
    margin-bottom: 22px;
  }
  .idx06 h4 span {
    font-size: 28px;
  }
  .idx06 h5 {
    font-size: 20px;
    margin-bottom: 18px;
    margin-top: 15px;
    background: linear-gradient(0deg, rgba(246, 181, 127, 0.5) 10px, rgba(255, 255, 255, 0) 10px);
  }
  .idx06 .cm_btn {
    margin-right: auto;
    margin-top: 25px;
  }
  .idx06 .block_ct {
    margin-bottom: 35px;
    padding: 30px 20px;
  }
  .idx06 .block_ct::before {
    width: 100%;
    left: 0;
    border-radius: 12px;
  }
  .idx06 .block_ct:last-child {
    margin-bottom: 0;
  }
  .idx06 .block_ct .ct_img {
    margin: 0 auto 20px;
    max-width: 500px;
  }
  .idx06 .block_ct .ct_img img {
    border-radius: 10px;
  }
  .idx06 .block_ct p {
    font-size: 16px;
  }
  .idx06 .idx_list li {
    font-size: 16px;
    padding-left: 25px;
    margin-bottom: 10px;
  }
  .idx06 .idx_list li::before {
    top: 9px;
  }
  .idx06 .block_circle {
    padding: 0 0;
    font-size: min(14px, 2.6vw);
  }
  .idx06 .block_circle .circle_it {
    width: calc(50% - 1.6666666667em);
    padding-top: 0.8em;
    margin: 0.8333333333em;
  }
  .idx06 .block_circle .circle_img{margin-bottom: 0.3em;}
}
@media only screen and (max-width: 450px) {
  .idx06 .block_circle .circle_tl {
    font-size: min(1.8em, 4.5vw);
  }
}
@media only screen and (max-width: 768px) {
  .idx07 {
    padding: 50px 0 16vw;
  }
   .idx07::before {
      left: -10%;
      width: 120%;
      mask-image: url(../images/idx07_mask_sp.svg);
      -webkit-mask-image: url(../images/idx07_mask_sp.svg);

   }
  .idx07 .box_title::before {
    height: calc(100% + 62px);
    top: -60px;
  }
  .idx07 .box_title::after {
    background-size: 100% auto;
    bottom: -46px;
  }
  .idx07 .h3_st02::before {
    width: 47px;
    height: 83px;
    bottom: -63px;
    top: unset;
    left: 6px;
  }
  .idx07 .txt_catch {
    font-size: 18px;
    margin-bottom: 17px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    display: table;
    max-width: 530px;
    width: 100%;
  }
  .idx07 p:not(.txt_catch) {
    font-size: 16px;
    line-height: 2;
  }
  .idx07 .b_cont {
    padding: 0px 0 15px;
    max-width: 640px;
  }
  .idx07 .cm_btn {
    margin-top: 25px;
  }
}
@media only screen and (max-width: 768px) {
  .idx08 {
    padding: 45px 0 60px;
  }
  .idx08 .tl_h3 {
    margin-bottom: 20px;
  }
  .idx08 h4 {
    font-size: 22px;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }
  .idx08 .block_special .item {
    max-width: 640px;
    width: 100%;
    margin: 0 auto 30px;
  }
  .idx08 .block_special .item:last-child {
    margin-bottom: 0;
  }
  .idx08 .block_special .img {
    display: table;
    margin: 0 auto 15px;
  }
  .idx08 .block_special .img img {
    margin: auto;
    width: 75%;
  }
  .idx08 .block_special .special_title {
    padding: 35px 5%;
  }
  .idx08 .block_special .special_title::before {
    mask-size: 80% 80%;
    -webkit-mask-size: 80% 80%;
    mask-position: top 49% center;
    -webkit-mask-position: top 49% center;
  }
  .idx08 .block_special .special_cont {
    padding: 30px 4%;
    font-size: min(14px, 2.5vw);
  }
  .idx08 .block_special .special_cont .circle {
    width: calc(50% - 1em);
    margin: 0.5em;
  }
}
@media only screen and (max-width: 450px) {
  .idx08 .block_special .special_title::before {
    mask-size: 69vw 69vw;
    -webkit-mask-size: 69vw 69vw;
    mask-position: top 18vw center;
    -webkit-mask-position: top 18vw center;
  }
  .idx08 .block_special .special_cont .cir_tt {
    font-size: 1.8em;
  }
  .idx08 .block_special .special_cont .circle::after {
    font-size: 3vw;
    bottom: 1em;
  }
}
@media only screen and (max-width: 768px) {
  .idx09 {
    padding: 55px 0 60px;
  }
  .idx09 .inner_big::before {
    width: 66px;
    height: 141px;
    top: -106px;
    right: 20px;
  }
  .idx09 .tl_h3 {
    margin-bottom: 20px;
  }
  .idx09 .cm_btn {
    margin-top: 30px;
  }
  .idx09 .block_feature h4 {
    font-size: min(22px, 5.2vw);
    text-align: center;
  }
  .idx09 .block_feature .feature_it {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
  .idx09 .block_feature .feature_it:last-child {
    margin-bottom: 0;
  }
  .idx09 .block_feature .feature_it:nth-child(2n+2) h4 {
    color: #e99a59;
  }
  .idx09 .block_feature .feature_it:nth-child(2n+2) .num {
    background-color: #f6b57f;
  }
  .idx09 .block_feature .feature_cont {
    padding: 30px 25px;
    position: relative;
    z-index: 0;
  }
  .idx09 .block_feature .feature_cont::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 60px);
    background-color: #ffffff;
    z-index: -1;
    border-radius: 12px;
    box-shadow: 0 0 20px rgb(0 0 0 / 7%);
   }
  .idx09 .block_feature .feature_img {
    width: 90%;
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
  }
  .idx09 .block_feature .num {
    width: 60px;
    height: 60px;
    font-size: 10px;
    padding-bottom: 5px;
    top: unset;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .idx09 .block_feature .num span {
    font-size: 30px;
    margin-top: 1px;
  }

}
@media only screen and (max-width: 550px) {
  .idx09 .block_feature h4{letter-spacing: 0.05em;}
  .idx09 .block_feature h4 .br_auto{display: inline;}
}
@media only screen and (max-width: 768px) {
  .block_recruit {
    margin: -60px auto 40px;
    padding: 40px 5% 35px;
  }
  .block_recruit .tl_h3 {
    padding: 0;
    text-align: center;
  }
  .block_recruit .cm_btn {
    margin: 20px auto 0;
  }
  .block_recruit .recruit_cont {
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
    margin-top: 10px;
  }
  .block_recruit .recruit_cont::before {
    top: 0;
    bottom: unset;
    right: 0;
    width: 100px;
    height: 1px;
    margin: auto;
  }
  .idx_banner {
    margin-bottom: 0;
  }
  .idx_banner .bnr_it {
    margin: 5px;
    width: calc(50% - 10px);
  }
}
@media only screen and (max-width: 400px) {
  .idx_banner .bnr_it {
    margin: 5px auto;
    width: 100%;
    max-width: 250px;
  }
}
