/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 08 2022 | 06:07:01 */
#page > section.message.block{
    padding-top: 160px!important;
    padding-bottom: 160px;
  }

  #page > section.about.medical-care{
    padding:0;
  }

  #page > section.about-clinic > div{
        margin-bottom: 160px;
  }

  #page > div.col-md-9{
     margin-bottom: 48px!important;
  }

  #page > section.feature.block-sm > div > div.content-space.text-center > a{
    width: 415px;
  }

/*アイコンカードアニメーション*/

.icon-card .card-icon:hover{
  -webkit-transform: scale(1.1);
    transform: scale(1.1);
    cursor: pointer;
}

.icon-card:hover{
   color: #056EAF;
}

section.feature.block-sm > div > div.row > div > div > a:hover{
   color: #056EAF;
}


  #page > section.access.block-md.section_tb > div > div{
    display:flex;
    justify-content: center;
    margin:0;
    --bs-gutter-x: 0;
  }

  p.detail-text{
    text-align: start!important;
  }

  .infomation{
    display:flex;
    align-items: center;
    flex-direction: column;
    width:880px;
    margin: 0 auto;
  }

  .info-body{
      display: flex;
      padding-bottom:24px;
  }

  @media screen and (min-width:767.98px) {
    div.whatsnew > hr{
       width:600px; 
    }
  }

  div.whatsnew a{
    padding:20px 0 20px 20px;
  }

  div.whatsnew dt{
    color:#FF8200;
  }

  div.whatsnew > hr{
    height:1px;
    border-style:dashed;
    border-color:#414155;
    justify-content:center;
  }

  section.contact > .container{
    padding:0;
  }

  section.access > .container{
    padding:0px 5%;
  }

  .text-center > div > img{
    width: 277px;
    padding-bottom:40px;
  }

section.feature.block-sm > div > div.row > div > div > a{ 
  padding:0;
  color:#333333;
  height:260px;
}

  .access.block-md > div > div.row > div > div > span{
    font-weight: 700;
    font-size: 28px;
    line-height: 40px;
  }

section.info-section{
  width:720px;
  margin:0 auto;
  display:flex;
  flex-direction: column;  
}

  section.info-section > div > p{
    text-align:center;
  }

  .rsv_btn_box{
      background: #FF8200;
      border-radius: 30px;
    margin:40px auto;
    width:40%;
  }

  .access.block-md > div > div:nth-child(3) > p:nth-child(1){
    font-size: 14px;
  line-height: 28px;
  }

  section.access-container{
    display:flex;
    margin-top:40px;
    width:1080px;
    margin-bottom:40px;
  }

  /*アクセス部分左側*/
  .access-content{
    background: #EBF5FA;
    height:540px;
    width:540px;
    max-width: none;
    display:flex;
    flex-direction: column;
    justify-content: center;
    position:relative;
  }

  /*アクセス部分右側*/
  .map > img{
     height:540px;
    max-width: none;
  }

  section.contact > div > div > div.row{
    --bs-gutter-x: 0;
    justify-content: center;
  }

  section.contact > div > div{
    padding:0;
  }

  .access-box{
      position: absolute;
      bottom: 0;
      right: -1px;
      margin: 0;
      display: flex;
      justify-content: space-between;
  }

  section.access-container > div > div > div.access-box > span.dtl-map-box{
    background:#FF8200;
    padding:16px 32px;
  }

  section.access-container > div > div > div.access-box > span > a {
    color:#FFF;
  }

  section.access-container > div > div > div.access-box > span > a:visited {
    color:#FFF;
  }

  section.access-container > div > div > div.access-box > span.parking-box{
    background:#056EAF;
    color:#FFF;
    padding:16px 32px;
  }

  section.contact{
    background:none;
    padding-left:0;
    padding-right:0;
    padding-top:0!important;
    padding-bottom:120px!important;
    width:1080px;
    margin:0 auto;
  }

.contact-box{
  width:1080px;
  display:flex;
  justify-content: space-between;
}

  #page > section.contact > div > div > div > div.col-md-12.text-center{
    display:none;
  }

  /*#page > section.contact > div > div{
    padding-top:0!important;
    padding-bottom:120px!important;
  }*/

  .col-md-6.col-lg-5.px-lg-0{
    width:40%;
  }
  .col-md-6.col-lg-5.px-lg-0 > ul > li{
    background: #EBF5FA;
    font-size:13px;
  }

  #page > section.access.block-md.section_tb > div > div > section.access.block-md{
    padding-top:0!important;
  }

  .info-text > a{
    font-size:20px;
  }

  .col-md-6.col-lg-6.offset-lg-1.px-lg-0{
    width:50%;
    padding-left:20px;
  }

  section.our-group.block-md.pt-0.section_b > div > div > div > div > div > div{
    display:flex;
    justify-content: space-evenly;
  }

 .card-box > .card-body{
    width:90%;
    margin-right:5%;
}


  .card-box > span > img{
    width:100%;
  }

  section.our-group.block-md.pt-0.section_b > div > div > div > div > h4{
    font-size:22px;
  }

  section.our-group.block-md.pt-0.section_b > div > div > div > div > p{
    font-size:21px;
  }

  a.text-end{
    color: #056EAF;
  }

 .card-box{
   padding-bottom:68px;
   display:flex;
}

section.our-group > div > div > div > div > div > h4{
  color: #FF8200;
}

#page > section.our-group > div > div > div > div:nth-child(2){
      flex-direction: row-reverse;
}

#page > section.our-group > div > div > div > div:nth-child(2) > div{
  margin-right:0;
  margin-left:20px;
}



  #page > section.our-group.block-md.pt-0.section_b > div > div > div > div > div:nth-child(2) > div{
    display:flex;
    flex-direction: row-reverse;
  }

  #page > section.access.block-md.section_tb > div > div > section:nth-child(5) > div > div > div > div.col-md-12.text-center > div{
    display:none;
  }

  div.shift-section > p{
    color: #056EAF;
  }

  section.message.block{
    padding-top:0;

  }

  .adsense-section{
    display:flex;
    justify-content: space-evenly;
  }

@media screen and (max-width:767.98px) {
  .adsense-section{
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
  }
}

  /*医院案内*/
  #page > section.facility.block > div > div > div > div > figure > img{
    border-radius:0%;
      max-width: 301px;
      max-height: 220px;
  }

/*オルソケラトロジー*/
.sub-title{
  font-weight: 400;
font-size: 36px;
line-height: 64px;
}

.sub-title2{
  font-weight: 400;
font-size: 22px;
line-height: 32px;
  color: #056EAF;
}

.sub-title3{
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: #056EAF;
}

.ort_title_banner::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  background: url(https://shimizu-ganka.site/wp-content/uploads/2022/06/orcTitleRectangle.svg);
  background-repeat: no-repeat;
}

@media screen and (max-width:600px) {
  .ort_title_banner::before{
    display:none;
  }
}

span.text-trans{
  writing-mode: vertical-rl;
}

section.about-orthokeratology{
  padding-bottom:0;
}

section.about_orthokeratology > p > span.text-color{
  color: #FF8200;
}

#page > section.about-orthokeratology.block.pt-0 > div > div > div:nth-child(2) > div > section.about_orthokeratology > p:nth-child(5){
  margin-bottom:20px;
  text-align:left;
}


#page > section.surgery-flow.block.pt-0 > div > div > div:nth-child(2) > div:nth-child(1) > div.card.surgery-card > div{
  padding-top:50px;
}

#page > section.surgery-flow.block.pt-0 > div > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(3){
  padding:20px;
}

div.table_content{
  margin: 0 auto;
}

section.recommend_section{
  margin-top: 50px;
}

a.btn-primary-aeon{
  background-color: #056EAF;
  color:#FFF;
}

@media screen and (min-width: 1080px) {
  section.about-orthokeratology.block.pt-0 > div > div > div:nth-child(1) > div > h3{
    line-height: 50px;
  }
}

.structure_orthokeratology{
  padding-top: 40px;
}

.flow-content{
  background: #F7F7F7;
  padding:0 50px 50px 50px;
}

.schedule-img{
  margin:0 auto;
}

section.reference_section.block.pt-0 > div > div > div > a{
  color: #056EAF!important;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  margin-bottom:62px;
}

section.reference_section.block.pt-0 > div > div > div > a::before{
  content: url(http://shimizu-ganka.site/wp-content/uploads/2022/06/eva_external-link-outline.png);
  position:relative;
  top:10px;
}

#page > section.reference_section.block.pt-0 > div > div > div > h2:nth-child(5){
  padding:62px 0 24px 0;
  font-weight: 400;
  font-size: 22px;
  line-height: 32px;
}

.icon-card {
    min-height: 320px;
}


@media screen and (max-width: 1079px) {
  
  section.page-header{
    padding-top:0;
  }
  
  section.page-header > div{
    margin:0;
  }
  
  section.page-header > div > div > div{
    padding:0;
  }
  
  .title-banner{
    height:90vh;
    width:100vw;
  }
  
  section.info-section {
    width: 480px;
  }
  
  .infomation{
    width:440px;
  }
  
  .info-body{
    justify-content: center;
  }
  
  section.access-container {
    display: flex;
    flex-direction: column;
    width:540px;
    height:1080px;
  }

  hr{
  	width:440px;
  }
  
  section.contact{
    width:540px;
  }
  
  .contact-box{
    width:360px;
  	flex-direction: column;
    align-items: center;
  }
  
  .col-md-6.col-lg-5.px-lg-0{
    width:360px;
  }
  
  .col-md-6.col-lg-6.offset-lg-1.px-lg-0{
    width:360px;
    padding:32px 0 0 0;
  }
  
  #page > section.access.block-md.section_tb > div > div > section.access.block-md > div > section.access-container > div{
    width:100%;
  }
  
  .info-text.rsv_btn_box{
    width:440px;
  }
  
 #page > section.feature.block-sm > div > div.row > div:nth-child(7) > div{
    width:80%!important;
  }
  
  .ors-icon-card {
    width: 100%!important;
  }
  
  #page > section.sec-message.block.text-center > div > div > div > div > div > div:nth-child(1) > figure > img{
    aspect-ratio: 1;
  }
 
.ors-icon-card{
    width: 50%!important;
    height: 400px!important;
  }

.ors-icon-card > div {
    width: 100%;
    height: 400px!important;
}
  
  #page > section.feature.block-sm > div > div.row > div:nth-child(4){
    width:50%!important;
  }
  
  #page > section.feature.block-sm > div > div.row > div:nth-child(4) > div{
    width:100%!important;
  }
  
}
  
@media screen and (max-width: 599px) {
  section.page-header{
    padding-top:0;
  }
  
  section.page-header > div > div > div{
    padding:0;
  }
  
  .title-banner{
    height:90vh;
    width:100vw;
  }
  
  .me_title_banner::before{
    display:none;
  }
  
  .haji_title_banner::before{
     display:none; 
  }
  
  .pom_title_banner::before {
     display:none; 
  }
  
  .sg_title_banner::before{
     display:none;   
  }
  
  .ion_title_banner::before{
  display:none; 
  }
  
  .aeon_title_banner::before{
    display:none; 
  }
  
  section.access-container {
    display: flex;
    flex-direction: column;
    width:324px;
    height:960px;
  }
  
  section.info-section {
    width: 300px;
  }
  
  .infomation{
    width:324px;
  }
  
  .info-body{
    width: 324px;
  }

  hr{
  	width:324px;
  }
  
  section.contact{
    width:324px;
  }
  
  span.shmizu_h3{
    font-size:18px;
  }
  
  span.haji_h3{
    font-size:18px;
  }
  
  #page > section.feature.block-sm > div > div.content-space.text-center > a{
    width:324px;
  }
  
  .contact-box{
    width:324px;
  	flex-direction: column;
    align-items: center;
  }
  
  .access-content{
    width:324px;
    padding: 15px;
  }
  
  .map > img{
    width:324px;
    height:324px;
  }
  
  .col-md-6.col-lg-5.px-lg-0{
    width:324px;
  }
  
  .col-md-6.col-lg-6.offset-lg-1.px-lg-0{
    width:324px;
    padding:32px 0 0 0;
  }
  
  #page > section.access.block-md.section_tb > div > div > section.access.block-md > div > section.access-container > div{
    width:100%;
  }
  
  .info-text.rsv_btn_box{
    width:300px;
  }
  
  .card-box{
    width: 324px;
    flex-direction: column;
    margin: 0 auto;
  }

   .card-box > .card-body{
    width: auto;
    margin-right:0;
}
  
  #page > section.our-group > div > div > div > div:nth-child(2) {
    width: 324px;
    flex-direction: column;
    margin: 0 auto; 
}
  
  #page > section.access.block-md.section_tb > div:nth-child(2) > div > div.info-text.rsv_btn_box > a{
    font-size:13px;
  }
  
  #page > section.page-header > div.rsv-btn-content > div > a{
    font-size:13px;
  }
  
  #page > section.access.block-md.section_tb > div > div > div.info-text.rsv_btn_box > a{
    font-size:13px;  
  }
  
  .shift-section{
    font-size:14px;
  }
  
    #page > section.feature.block-sm > div > div.row > div:nth-child(7){
    width:100%!important;
  }
  
  .ors-icon-card {
    width:100%!important;
  }

  #page > section.feature.block-sm > div > div.row > div:nth-child(7) > div{
    width:100%!important;
    height:400px;
  }
  
  #page > section.feature.block-sm > div > div.row > div:nth-child(4) > div{
    width:100%!important;
    height:400px;
  }
 
    
  #page > section.feature.block-sm > div > div.row > div:nth-child(4){
    width:100%!important;
  }
  
  .access-content{
    padding:15px!important;
  }
  
  section.access p{
    font-size:13px;
  }
  
}
