@charset "utf-8";
/* CSS Document */

/* PC・SPのオンオフ */

.pc {
  display: block;
}

.sp {
  display: none;
}

br {
  display: none;
}

.pc {
  display: none !important;
}

.sp {
  display: block;
}

/*sp_navi*/
/*========= ナビゲーションのためのCSS ===============*/
.nav_arrow {
  display: none;
}

/*アクティブになったエリア*/
#g-nav.panelactive {

  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: url("../images/blue_bg_img.jpg");
  /*丸のスタート位置と形状*/
  transform: scale(0);
  /*scaleをはじめは0に*/
  right: -50px;
  top: calc(50% - 50px);
  /*50%から円の半径を引いた値*/
  transition: all .6s;
  /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
  transform: scale(50);
  /*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none;
  /*はじめは表示なし*/
  /*naviの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
  display: block;
  /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0;
  /*はじめは透過0*/
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示*/
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: .2s;
  /*0.2 秒遅らせて出現*/
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/*listのレイアウト設定*/
#g-nav li {
  text-align: center;
  list-style: none;
}

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


/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  top: 5px;
  right: 5px;
  margin-right: 10px;
  z-index: 9999;
  /*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #333;
  width: 45%;
}

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

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

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

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

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

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

.openbtn {
  display: block;
}




/*sp_navi*/
.sp_navi {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 62px;
  font-size: 18px;
  font-weight: bold;
  z-index: 9998;
}

.sp_navi dt a {
  display: block;
  width: 42px;
  height: 42px;
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 9999999;
}

nav li {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;

  border-left: none;
}

nav li:last-child {
  border-right: none;
}

.menu-btn {
  color: #333;
  cursor: pointer;
  z-index: 100;
  background-color: #FFFFFF;
  max-width: 42px;
  width: 42px;
}

.menu-btn i {
  display: block;
  font-size: 24px;
  text-align: center;

}

.menu-btn span {
  display: block;
  padding: 0 0 10px 0;
  font-size: 10px;
  text-align: center;
}

.open {
  transition: all .5s;
  visibility: visible;
  opacity: 1;
  z-index: 10;
}

.menu-btn span::after {
  content: attr(data-txt-menu);
}

.open span::after {
  content: attr(data-txt-close);
}

.menu-btn.close {
  background-color: #fff;
  color: #333;
}

.img {
  max-width: 100%;
}

/*main*/
.mainvisual_headline {
  background-image: url("../images/snow.png");
  object-fit: cover;
  text-align: center;
  font-size: 20px;
}

.mainvisual_headline h2 {
  padding-top: 30px;
  padding-bottom: 10px;
  margin-top: 40px;
  font-size: 24px;
}

.mainvisual_headline p {
  padding-bottom: 20px;
}

h5 {
  margin-bottom: 60px;
  margin-top: 60px;
}

/*clinic*/
#clinic {
  padding: 80px 24px 80px;
  background-color: #EEFAFC;
}

#clinic h3 {
  text-align: center;
  font-size: 18px;
}


#clinic h4 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 24px;
}

#clinic img {
  width: 64%;
  display: flex;
  margin: 0 auto;
}

/*clinicroom*/
#clinicroom {
  padding: 80px 24px 80px;
  background-color: #fff;
}

#clinicroom h3 {
  text-align: center;
  font-size: 18px;
}

#clinicroom h4 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 24px;
}

#clinicroom img {
  width: 64%;
  display: flex;
  margin: 0 auto;
}

.waitingroom {
  padding-bottom: 60px;
}

.private_room {
  padding-bottom: 60px;
}

/*large_equipment*/
#large_equipment {
  padding: 80px 24px;
  background-color: #EEFAFC;
}

#large_equipment h3 {
  text-align: center;
  font-size: 18px;
}

#large_equipment h4 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 24px;
}

#large_equipment img {
  width: 64%;
  display: flex;
  margin: 0 auto;
}

.panorama {
  padding-bottom: 60px;
}

/*small_equipment*/
#small_equipment {
  padding: 80px 24px 0px;
  background-color: #fff;
}

#small_equipment h3 {
  text-align: center;
}

#small_equipment p {
  padding-bottom: 40px;
}

#small_equipment h4 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 24px;
}

#small_equipment img {
  width: 64%;
  display: flex;
  margin: 0 auto;
}

.back_icon {
  text-align: right;
  background-color: #fff;
}

.back_icon img {
  width: 24%;
  padding-top: 40px;
}

/*footer*/
#footer_sentense {
  background-color: #6ec8da;
  padding-top: 40px;
  text-align: center;
}

.footer_nav img {
  max-width: 300px;
  width: 100%;
}

.footer_txt {
  color: #FFF;
  line-height: 1.8;
  padding-top: 24px;
  padding-bottom: 24px;
}

.dl_txt {
  color: #FFF;
  padding-bottom: 24px;
}

.dl_txt dd {
  padding-bottom: 10px;
}

.tel,
.fax {
  color: #FFF;
  padding-left: 8px;
}

small {
  color: #FFF;
  text-align: center;
}

.small_area {
  padding-bottom: 24px;
}


/*PC*/
@media (min-width: 768px) {
  html {
    max-width: 100%;

  }

  br {
    display: block;
  }

  h4 {
    font-size: 18px;
  }

  /*navi*/
  .openbtn {
    display: none;
  }

  nav {

    width: 100%;
    z-index: 9999;

  }

  nav {
    display: block;
  }

  .nav_arrow {
    background-image: url("../images/polygon.png");
    background-repeat: no-repeat;
    background-position: center top 45px;
    background-size: 10px;
  }

  .nav_arrow {
    display: block;
  }

  nav ul {
    max-width: 100%;
    text-align: center;
    display: flex;
  }

  nav li {
    display: inline-block;
    position: relative;
    height: inherit;
  }

  nav li a {
    display: table;
    padding: 0 21px 0 23px;
    vertical-align: middle;
    color: #333333;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    height: 50px;
    margin-bottom: 10px;
  }

  a {
    text-decoration: none;
  }

  ul,
  li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav_arrow em {
    color: #0a49f8;
    font-family: Arial, bold;
  }

  /*main*/
  h5 {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 80px;
    font-size: 20px;
  }

  /*clinic*/
  #clinic {
    padding: 120px 160px 160px;
  }

  #clinic h3 {
    font-size: 24px;
  }

  #clinic p {
    text-align: left;
  }

  #clinic img {
    width: 88%;
  }

  .clinic_top {
    display: flex;
    justify-content: space-around;
    gap: 60px;
  }

  .clinic_top img {
    width: 450px;
    height: 310px;
    border-radius: 20px;
  }

  .waitingroom {
    width: 450px;
    height: auto;
    padding-bottom: 0;
  }

  .waitingroom h4 p {
    text-align: left;
  }

  .counselingroom {
    width: 450px;
    height: auto;
  }

  /*clinicroom*/
  #clinicroom {
    padding: 120px 160px 160px;
  }

  #clinicroom h3 {
    font-size: 24px;
  }

  #clinic h4 {
    margin-top: 60px;
    margin-bottom: 40px;
  }

  #clinicroom h4 {
    margin-top: 60px;
    margin-bottom: 40px;
  }

  #clinicroom img {
    width: 88%;
  }

  .clinicroom_top {
    display: flex;
    justify-content: space-around;
    gap: 60px;
  }

  .clinicroom_top img {
    width: 450px;
    height: 310px;
    border-radius: 20px;
  }

  .private_room {
    width: 450px;
    height: auto;
    padding-bottom: 0px;
  }

  .separate_room {
    width: 450px;
    height: auto;
  }


  /*large_equipment*/
  #large_equipment {
    padding: 120px 160px 160px;
  }

  #large_equipment h3 {
    font-size: 24px;
  }

  #large_equipment h4 {
    margin-top: 60px;
    margin-bottom: 40px;
  }

  #large_equipment img {
    width: 88%;
  }

  .large_equipment__top {
    display: flex;
    justify-content: space-around;
    gap: 60px;
  }

  .panorama img {
    width: 450px;
    height: 310px;
    border-radius: 20px;
  }

  .microscope img {
    width: 450px;
    height: 310px;
    border-radius: 20px;
  }

  .panorama {
    width: 450px;
    height: auto;
    padding-bottom: 0px;
  }

  .microscope {
    width: 450px;
    height: auto;
  }



  /*small_equipment*/
  #small_equipment {
    display: flex;
    justify-content: space-around;
    gap: 60px;
    padding: 120px 160px 40px;
  }

  #small_equipment h4 {
    margin-top: 60px;
    margin-bottom: 40px;
  }

  #small_equipment img {
    width: 88%;
  }

  #small_equipment p {
    padding-bottom: 0px;
  }

  .laser img {
    width: 450px;
    height: 450px;
    border-radius: 20px;
  }

  .scaler img {
    width: 450px;
    height: 450px;
    border-radius: 20px;
  }

  .laser {

    width: 450px;
    height: auto;
  }

  .scaler {
    width: 450px;
    height: auto;
  }

  .back_icon img {
    width: 12%;
    padding-top: 80px;
  }



  /*footer*/
  #footer_sentense {
    padding-top: 80px;
  }

  .footer_nav {
    display: flex;
    justify-content: space-around;
    padding-bottom: 40px;
  }

  .footer_nav img {
    min-height: 60px;
    height: 100%;
  }


  .footer_txt {
    margin: 0;
    padding: 0;
  }


  .dl_txt dd {
    padding-top: 8px;
    padding-bottom: 20px;
  }

  small {
    text-align: center;
  }
}