@charset "utf-8";

/**********************************　
以下、ハンバーガーメニューの設定　
************************************/

@media (max-width: 1080px) {

  header {
    height: 120px
  }

.logo{
  margin-top: 15px;
}

#h-menu2{
background: rgb(255, 239, 247);
}
#h-menu2 p {
  text-align: center;
}
  .pc {
    display: none;
  }
  .pc2 {
    display: none;
  }

  #hamburger {
    background-color: transparent;
    position: relative;
    cursor: pointer;
    margin: 25px 0 0 auto;
    height: 60px;
    width: 120px;
  }

  .icon span {
    position: absolute;
    left: 5px;
    width: 60px;
    height: 5px;
    background-color: rgb(61, 61, 61);
    border-radius: 8px;
    transition: ease 0.75s;
  }

  .icon span:nth-of-type(1) {
    top: 10px;
  }
  .icon span:nth-of-type(2) {
    top: 30px;
  }
  .icon span:nth-of-type(3) {
    bottom: 4px;
  }

  .close span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 28px;
  }

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

  .close span:nth-of-type(3) {
      transform: rotate(-45deg);
      top: 28px;
  }

  .sm {
      top: 85px;
      left: -40px;
      position: absolute;
      z-index: 10;
      width: 100%;
      background-color: rgb(255, 255, 255);
  }

  ul {
    flex-direction: column;
    font-size: 25px;
  }

  a {
    text-align: center; 
    ;
  }
}

.top p {
  position: absolute;
  top: 90%;
  left: 51%;
  width: 60%;
}
.top img{
margin-top: 100px;
}


#sample1{
  margin-top: -10px;
  font-size: 10px;

}

.sample2_title {
  width: 60%;
}

#sample2{
  font-size: 14px;
  margin-bottom: 90px;
}

.box4 {
  width: 55%;
  font-size: 30px;
}
.box5 {
  font-size: 12px;
  width: 80%;
  padding: 10px;
  margin: 25px auto;
}

.sample2-2 p {
  font-size: 11px;
}

.sample2-1 p {
  font-size: 20px;
}


.sample13_title {
  font-size: 20px;
  width: 85%;
}

.too_title {
  width: 70%;
  font-size: 20px;
  padding: 10px;
}

  .too-1 p {
    position: absolute;
    text-align: left;
    color: rgb(0, 0, 0);
    top: 5%;
    left: 5%;
    padding: 20px;
    font-size: 20px;
    width: 72%;
    background-color: rgba(255, 255, 255, 0.685);
    line-height: 35px;
  }

  .sample12 .sample12-2-text .sample12-2-heading {
    font-size: 25px;
    text-align: center;
  }
  .sample12 .sample12-2-text {
    padding: 50px;
    text-align: center;
    font-size: 18px;
  }

  .a333 .f3 {
    width: 100%;
    margin-bottom: -7px;
  }

  .f3 p {
   top: 39%;
   left: 39%;
   font-size: 30px;
  }

  #footer{
    font-size:10px;
  }


/*---------------------------------------  自費メニュー -------------------------------------------------*/
  .jihi_title {
    width: 30%;
  }

#jihi p {
    text-align: center;
    margin-bottom: 50px;
    font-size: 15px;
}

  .biyoubox {
    font-size: 12px;
    padding: 0.5em 1em;
    line-height: 15px;
  }

  .ems_title {
    width: 50%;
    margin: 50px auto 60px 50px;
  }

  .emsbox{
  margin: 0 50px;
  }

  .emsbox p {
    font-size: 13px;
  }

  .emsbox p span {
    font-size: 20px;
  }

  .money p {
    font-size: 13px;
    margin: 50px 50px;
    line-height: 16px;
  }

  .mm2 {
    padding: 0.5em 1em;
    font-size: 13px;
    line-height: 16px;
  }



/*---------------------------------------  診療案内 -------------------------------------------------*/
  #annnai p {
    font-size: 13px;
  }
  #annnai2 {
    font-size: 13px;
  }
  td {
     width: 0%;
  }

  #access p {
    font-size: 14px;
    text-align: center;
    margin: 0;
  }


  .tel .btn-surround {
    width: calc( (100%) / 2 );
  }