@charset "utf-8";
/*========= メニュー ===============*/
header {
   display: none;
}

.header-nav {
  padding: 30px 4% 10px;
  position: fixed;
  width: 25%;
  height: 100vh;
  text-align: center;
  z-index: 999
}
.nav-log img{
   width: 100px;
}
a {	
   text-decoration: none;
   color: gray;
}
nav {
   margin: 0 0 0 auto;
}
ul {
   list-style: none;
   margin: 0;
}
li {
   margin-top: 5vh;
}
.sp-nav {
   display: none;
}
.img-nav-log-facebook{
   width: 36px;
}

/*SP*/
@media screen and (max-width: 640px) , (max-height: 600px) {
   header {
      padding: 10px 15px 10px;
      position: fixed;
      top: 0;
      width: 100vw;
      height: 65px;
      float: left;
      background-color: #fff;
      display: flex;
      align-items: center;
      z-index: 1;
   }
   .nav-log{
      width: 20%;
   }
   .nav-log img{
      margin-left: 0;
      margin-right: 0;
      height: 65px;
      width: 65px;
   }
   .pc-nav,
   .header-nav  {
      display: none;
   }
   .sp-nav {
      z-index: 1;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      display: block;
      background: rgba(0, 0, 0, .8);
      opacity: 0;
      transform: translateY(-100%);
      transition: all .2s ease-in-out;
   }
   #hamburger {
      position: relative;
      display: block;
      width: 30px;
      height: 25px;
      margin: 0 0 0 auto;
   }
   #hamburger span {
      position: absolute;
      top: 50%;
      left: 0;
      display: block;
      width: 100%;
      height: 2px;
      background-color: gray;
      transform: translateY(-50%);
   }
   #hamburger::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: gray;
   }
   #hamburger::after {
      content: '';
      display: block;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: gray;
   }
   /*スマホメニュー*/
   .sp-nav ul {
      padding: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
   }
   .sp-nav li {
      margin: 0;
      padding: 0;
      margin-top: 20px;
      margin-bottom: 20px;
   }
   .sp-nav li a, .sp-nav li span {
      display: block;
   }
   /*-閉じるボタンー*/
   .sp-nav .close {
      position: relative;
   }
   .toggle {
      transform: translateY( 0 );
      opacity: 1;
   }
   .img-nav-log-facebook{
      height: 45px;
      width: 45px;
   }
}
@media screen and (max-height: 600px) {
   .sp-nav ul {
      flex-direction: unset;
      display: flex;
      flex-wrap: wrap;
      height: 80px;
      margin-top: calc(50vh - 40px);
   }
   .sp-nav li {
      margin: 0;
      padding: 0;
      text-align: center;
      height: 45px;
      margin-right: 2vw;
      margin-left: 2vw;
   }
   .img-nav-log-facebook{
      height: 40px;
      width: 40px;
      margin-top: -10px;
   }
}
