@charset "UTF-8";

.spnav {
	display: none;
}

@media screen and (max-width: 900px) {
	
	.spnav {
	display: block;
}
	
  .toggle{
    display: block;
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 999;
    right: 0;
    top: 0;
    background-color: #fff;
  }

  .toggle span{
    display: block;
    position: absolute;
    width: 26px;
    height: 3px;
    border-radius: 10px;
    background-color: #3D1F1F;
    left: 18px;
    top: 29px;
    transition: all .5s;
  }

  .toggle span:first-child{
    margin-top: -9px;
  }

  .toggle span:nth-child(3){
    margin-top: 9px;
  }

  .toggle.active span:first-child{
    margin-top: 0;
    transform: rotate(45deg);
  }

  .toggle.active span:nth-child(2){
    opacity: 0;
  }

  .toggle.active span:nth-child(3){
    margin-top: 0;
    transform: rotate(-45deg);
  }
}

/*////////////////////////

 header

////////////////////////*/

@media screen and (max-width: 900px) {


#header{
  box-shadow: 0 3px 6px rgba(0,0,0,.16);
  position: relative;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  background-color: #FFF;
}

#header .h-logo{
  font-size: 1em;
  line-height: 1;
  background-color: #fff;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 168px;
  height: 140px;
  padding: 2px 10px 0;
  text-align: center;
}

  #header {
    height: 60px;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
  }
  #header .pc{
    display: none;
  }
  #header .sp{
    display: block;
  }
  #header .h-logo {
    position: static;
    width: 70px;
    height: 60px;
  }
  #header .spnav{
    position: fixed;
    width: 90%;
    max-width: 90%;
    z-index: 999;
    height: 100%;
    max-height: calc(100vh - 100px);
    max-height: calc( calc(var(--vh, 1vh) * 100) - 60px);
    background-color: #FFF;
    top: 60px;
    right: 0;
    padding: 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: all .5s;
    opacity: 0;
    font-size: 16px;
  }
  #header .spnav.active{
    transform: translateX(0);
    opacity: 1;
  }
  #header .spnav ul {
    width: 90%;
    max-width: 90%;
    margin: 0 auto 80px;
    text-align: center;
  }
  #header .spnav ul li {
    position: relative;
    width: 90%;
    border-top: 1px solid #DEDEDE;
    border-right: none;
    line-height: 1;
    text-align: left;
    font-weight: bold;
    padding: 0 15px;
  }
  #header .spnav ul li::before{
    position: absolute;
    top: 20px;
    right: 10px;
    content: '\f054';
    font-size: 1em;
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
    color: #3D1F1F;
    transition: 0.5s;
   }
  #header .spnav ul li a{
    display: block;
    background-color: #fff;
    color: #333;
    padding: 20px 0;
  }

  #header .spnav ul .tel{
    position: relative;
    display: inline-block;
    margin: 20px 0 10px;
    padding-left: 35px;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-align: center;
    color: #333333;
  }
  #header .spnav ul .tel span::before{
    position: absolute;
    left: 0;
    top: 3px;
    content: url(../images/common/icon-tel.svg);
    width: 17px;
    height: 17px;
  }

  #header .spnav ul .businesshours {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  #header .spnav ul .sp__menu-btn {
    width: 100%;
    display: inline-block;
    padding: 25px 0 25px;
    color: #FFF;
    background-color: #EB831B;
  }
  #header .spnav ul .sp__menu-btn span{
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding-left: 35px;
  }

  #header .spnav ul .sp__menu-btn__contact {
    margin-bottom: 10px;
  }

  #header .spnav ul .sp__menu-btn__contact span::before{
    position: absolute;
    left: -5px;
    top: -10px;
    content: url(../images/common/icon-mail.svg);
    transform: scale(0.8,0.8);
  }

  #header .spnav ul .sp__menu-btn__consultation {
    background-color: #EDE8B6;
  }
  #header .spnav ul .sp__menu-btn__consultation span {
    padding-left: 20px;
    color: #333;
  }
  #header .spnav ul .sp__menu-btn__consultation span::before{
    position: absolute;
    left: -10px;
    top: -7px;
    content: url(../images/common/icon-house.svg);
  }


  

}