@charset "utf-8";


.pc{
  display: none;
}
.sp{
  display: block;
}

div.page_content{
  width: 96%;
  margin:0 auto;
}
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    position:fixed;
  z-index: -1;
  opacity: 0;/*はじめは透過0*/
  top:0;
  width:100%;
  background:#fff;
  transition: all 0.3s;
  width: 100% !important;
}
#g-nav.panelactive{
  opacity: 1;
  z-index:999;
  height: 100vh;
}
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    display: none;
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}

#g-nav li{
  list-style: none;
    text-align: center; 
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

div.pagetop_h1{
  padding-top: 150px;
}

div.pagetop_h1 h1{
  font-size: 2rem;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  cursor: pointer;
    width: 50px;
    height:50px;
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #666;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


p.content_btm span{
    margin-bottom: 0 auto;
  }
  #header{
    height: 100px;
  }
  div.top_greeting span.greeimgb{
    position: revert;
    width: 100%;
  }
  div.top_greeting span.greeimga{
    position: revert;
    width: 100%;
  }
  div.top_greeting div.top_greeting_img {
    width: 100%;
    float: none;
    margin-left: 0;
}
  div.top_greeting p.top_greeting_text{
    width: 100%;
    float: none;
  }
  div.contentarea{
    margin: 100px auto;
  }
  div.treatment_area_btm{
    margin-right: 0;
    margin-bottom: 10%;
  }
  div.treatment_area_btm:last-child{
    margin-bottom: 0;
  }
  div.treatment_area_link{
    display: block;
  }
  div.treatment_area_left,
  div.treatment_area_right{
    margin-bottom: 80px;
  }
  div.treatment_area_right div.treatment_area_text{
    position: revert;
  }
  div.treatment_area_right img{
  margin-left: 0;
  width: 100%;
  }
  div.treatment_area_left div.treatment_area_text{
    position: revert;
  }
  div.treatment_area_left img {
    margin-left: 0;
    width: 100%;
}
  div.features_right h3::before{
    right: 235px;
  }
  div.features_right{
    display: block;
  }
  div.features_right_right {
    width: 100%;
    margin-left: 0;
    margin-bottom: 5%;
}
  div.topb_content p{
    font-size: 1.4rem;
  }
  div.features_left{
    display: block;
  }
  div.features_left img, div.features_right img {
    width: 100%;
}
  div.features_left_left {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5%;
}
  div.clinic_info_area{
    display: block;
  }
  div.contentarea{
    width: 93.333333%;
  }
  div.yoyaku_btm{
    bottom: 0;
    right: -80px;
  }
  div.yoyaku_btm img{
    width: 60%;
  }

  div#slider p.top_intro {
    left: 3%;
    bottom: 23%;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px #000, 0 0 1em #666, 0 0 0.2em #666;
  }
  div#slider p.top_intro span{
    font-size: 2em;
  }
  div.contentarea h2 span.h2sub{
    font-size: 3rem;
    bottom: 0;
  }

  div.accessarea{
    display: block;
  }

  div.foot_right_area{
    width: 90%;
    margin: 20px auto;
    float: none;
  }

  div.footer_contents img {
    width: 90%;
    display: block;
    margin: 20px auto;
}

ul.foot_menu {
    display: block;
    list-style: none;
}
ul.foot_menu li{
  text-align: left;
  font-size: 1.2rem;
    padding: 5px 0;
}

div.yoyaku_btm{
  display: none;
}

#access div.pagecontall{
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin-bottom: 0;
}
#access div.access_top_img{
  float: none;
  width: 100%;
  margin-right: 0;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
#access div.access_top div.access_clinic_info{
  width: 100%;
  float: none;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

div.imagescontent{
  display: block;
}
div.imagescontent img{
  width: 48%;
  float: left;
  margin-bottom: 1%;
}
div.concept_b img{
  margin: auto;
  width: 100%;
}
div.concept_b ul{
  position: revert;
  width: 90%;
}
div.messagecontent {
  background-image: none;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    height: auto;
}
div.message_img img{
  width: 100%;
  margin-left: 0;
}
div.human_block img{
  width: 100%;
}
div.recruitcontent table tr th,
div.recruitcontent table tr td{
  width: 95%;
  display: block;
}
div.recruitcontent table tr th{
  background-color: #7c7c7c;
  color: #fff;
}
div.concept_b ul{
  background: rgba(255, 255, 255, 1.0);
  color: #7c7c7c;
}

div.position_btm{
  display: block;
  position: revert;
}

/* --------- フッター -----------*/
div.spmenubtm{
  display: flex;
  position: fixed;
  bottom: 0;
  width: 100%;
}
div.spmenubtm img{
  width: 28%;
    display: block;
    margin: 0 auto;
}
div.spmenubtm p{
  flex: 1;
  text-align: center;
  font-size: 1em;
  border-top: 1px solid #cac7c0;
  border-right: 1px solid #cac7c0;
  background: rgba(238, 236, 231, 1);
}
div.spmenubtm p a{
  text-decoration: none;
  color: #7c7c7c;
}
div.spmenubtm p a span{
  display: block;
  height: 100%;
  width: 100%;
  padding:5px;
}
div.spmenubtm p:last-child{
  border-right: none;
}
div.perio_flex{
  display: block;
}
div.perio_flex img{
  width: 100% !important;
  margin-right: 0;
}