@charset "utf-8";

@media screen and (max-width: 900px) {
  nav {
    left: -240px;
    width: 240px;
  }
}

/*============
@keyframes
=============*/
@keyframes equalizer01 {
  0% {
    width: 70%;
  }

  10% {
    width: 50%;
  }

  20% {
    width: 100%;
  }

  30% {
    width: 10%;
  }

  40% {
    width: 50%;
  }

  50% {
    width: 70%;
  }

  60% {
    width: 50%;
  }

  70% {
    width: 10%;
  }

  80% {
    width: 100%;
  }

  90% {
    width: 10%;
  }

  100% {
    width: 70%;
  }
}

@keyframes equalizer02 {
  0% {
    width: 30%;
  }

  10% {
    width: 20%;
  }

  20% {
    width: 40%;
  }

  30% {
    width: 10%;
  }

  40% {
    width: 20%;
  }

  50% {
    width: 30%;
  }

  60% {
    width: 20%;
  }

  70% {
    width: 10%;
  }

  80% {
    width: 40%;
  }

  90% {
    width: 10%;
  }

  100% {
    width: 30%;
  }
}

/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 30px;
  left: 30px;
  width: 60px;
  height: 30px;
  transform: translate(0, 0);
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}

.open .toggle_btn {
  left: 330px;
}

.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: rgb(255, 255, 255);
  transition: all .5s;
  border-radius: 4px;
}

.toggle_btn span:nth-child(1) {
  top: 5px;
  width: 60px;
  animation: equalizer01 7000ms infinite;
}

.toggle_btn span:nth-child(2) {
  top: 15px;
  width: 30px;
  animation: equalizer02 5000ms infinite;
  animation-delay: 0.33s;
}

.toggle_btn span:nth-child(3) {
  top: 25px;
  width: 20px;
  animation: equalizer02 5000ms infinite;
}

.open .toggle_btn span {
  background-color: #fff;
  width: 30px;
}

.open .toggle_btn span:nth-child(1) {
  transform: translate(0, 10px) rotate(-45deg);
  animation: unset;
}

.open .toggle_btn span:nth-child(2) {
  opacity: 0;
  animation: unset;
}

.open .toggle_btn span:nth-child(3) {
  transform: translate(0, -10px) rotate(45deg);
  animation: unset;
}

@media screen and (max-width: 900px) {
  .open .toggle_btn {
    left: 260px;
  }
}

/*============
#mask
=============*/
#mask {
  display: none;
}

.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
  transition: all .5s;
}


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

  .site-menu ul {
    display: block;
    text-align: center;
  }

  .site-menu li {
    margin-top: 20px;
    font-family: 'Josefin Slab', serif;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #f8f8f8;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
  }

  .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #000;
    background-color: #736E62;
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
  }

  .header-site-menu.is-show {
    display: block;
  }

  .footer li {
    display: none;
  }

}