@media (min-width: 769px) and (max-width: 1400px) {
  html {
    font-size: clamp(42.5%, 4.3vw, 62.5%);
  }
  .tab_only{
    display: block;
  }
/* ---section1--- */
.section1{
  padding:80px 7.1vw 130px;
}
  .section1_head h3{
    transform: translateY(-30px);
    font-size:3.9vw;
  }
  [class^="section1_image"]{
    width:50%;
  }
  .section1_image2{
    width:70%;
  }
  h4.shop_name{
    font-size:6.8vw;
  }
  .section1_table_content h3{
    font-size:2.8rem
  }
  table.comparison{
    width: calc(100% - 80px);
  }
/* ---section2--- */
  .clinic_detail_top{
    padding:60px 10%;
  }
  .clinic_detail_head{
    width:100%;
  }
  .clinic_detail_head p{
    font-size:2.2vw;
  }
  .clinic_detail_btn{
    width:80%;
  }
  .clinic_detail_btn a{
    width:48%;
  }
  .clinic_detail_btn a img{
    width:100%;
  }
  .clinic_detail_under img{
    width:100%;
  }
/* ---section2--- */

  .reason_inner img,.reason_content.re .reason_inner img{
    width:100%;
  }
  .reason_detail h4.reason_inner_title{
    font-size:2.7vw;
  }
  .reason_detail{
    width:60%;
    padding:3.4vw;
  }
/* ---section3--- */
  .section3{
    padding:65px 4vw 120px;
  }
  .section3_inner img{
    width:50%;
    height: auto; /* 縦横比を保持 */
    aspect-ratio: 1 / 1;
  }
  .section3_inner h4{
    font-size:1.8vw;
  }
  .section3_inner h5{
    font-size:1.3vw;
  }
  .section3_inner p{
    font-size:1vw;
  }
  .section3_detail {
  flex: 1; /* 残りはテキスト */
  padding: 20px;
  margin-right: 0; /* マイナスマージン削除 */
}
.clinic_detail_under h3{
  font-size:3rem;
}
/* ---point--- */
 .point{
  padding: 180px 7.1vw 80px;
 }
  .point ul{
    padding:0 4.1vw 4.1vw;
  }
  .point ul li h4{
    font-size:1.5vw;
  }
  img.tab_only{
    width:100%;
  }
/* ---greeting--- */
  .greeting::after{
  content:"";
  position:absolute;
  z-index: 0;
  width:70vw;
  height:1000px;
  transform: rotate(60deg);
  background-color: #283A81;
  opacity: 10%;
  right:-30%;
  top:50%;
}
  .greeting img{
    right:4.5vw;
}
/* ---price--- */
  .price{
    padding:100px 13.8vw;
  }
/* ---flow--- */
  .flow-text {
    width:40.2vw;
  }
  .flow-text h3{
    font-size: 2.08vw;
  }
  .flow-text p{
    font-size: 1.3vw;
  }
  .flow-image{
    width:20.8vw;
  }
  /* ---guidance--- */
.guidance{
  padding:100px 10vw;
  text-align: center;
  background-color: rgba(39, 57, 129, 0.1);
}
.guidance_content{
  background-color: #fff;
  padding:40px;
  margin-top:40px;
}
.guidance_head{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guidance_info{
  text-align: left;
}
.guidance_info h3{
  font-size:2.08vw;
  color:#39B6FA;
  margin-bottom: 3.4vw;
}
.address,.tel{
  text-align: left;
  font-size: 1.8rem;;
}
a.tel{
  color:#283A81;
}
.calender{
  width:38.2vw;
}
.calender h4{
  font-size:2rem;
}
.calender_wrap{
  background-color: #E9EBF2;
  padding:30px;
  margin-top:1.5rem;
}
.calender_wrap table{
  width:100%;
  font-size:1.6rem;
}

.reserve_btn{
  display: flex;
  justify-content: space-around;
  gap:5%;
}
.reserve_btn a{
  display: block;
  width:calc(100% / 3);
}
.reserve_btn a img{
  width:100%;
}

.calender_wrap table tr.exec{
  border-bottom:1px solid #293B82;
}
.calender_info{
  display: flex;
  justify-content: space-between;
  margin-top:8px;
}
.calender_info p{
  font-size:1.4rem;
  color:#293B82;
  display: inline;
}
}

/* タブレット例外処理 */
@media (min-width: 769px) and (max-width: 1024px) {
  /* reason flex解除 */
  .reason_inner{
    display: block;
  }
  .reason_detail{
    width:100%;
  }
  /* section3 コンテンツ微調整 */
  .section3_head{
    display: block;
    text-align: center;
  }
  .section3_head p{
    width:100%;
    max-width: 626px;
    margin:48px auto 0;
  }
  .section3_content{
    display: block;
  }
  .section3_inner{
    width:100%;
    max-width: 626px;
    margin:0 auto 30px;
  }
  .section3_inner p{
    font-size:1.4vw;
  }
  /* ---greeting理事長画像位置調整--- */
  
  .greeting img{
    right:-1.8vw;
}
/* ---pointセクション余白調整--- */
 .point{
  padding: 180px 3.2vw 80px;
 }
/* ---guidanceセクション余白調整--- */

 .guidance{
   padding:100px 4vw;
 }
.calender_info p{
  font-size:1.2rem;
}
.calender_wrap table tr th:first-child{
  font-size:1.4rem;
}
}

