#hmenu .nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}


#hmenu .nav__inner {
  padding: 0 20px;
  position: relative;
}


/* ヘッダーのロゴ部分 */
#hmenu .nav__title {
  width: 80px;
}



#hmenu .nav__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */

#hmenu .nav__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateY(-100%);
  background: url(../img/bg_s.jpg);
  transition: ease .4s;
}



#hmenu .nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}


/* ナビのリンク */
#hmenu .nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 40px;
  margin-bottom: 24px;
  color: #333;
  font-family: 'Chewy','Yusei Magic', cursive;
}

.nav-deco{
  color: #fff;
  font-family: 'Chicle', cursive;
  -webkit-text-stroke: 2px #38333a;
}

#hmenu .nav-items__item:last-child a {
  margin-bottom: 0;
}



/* ハンバーガーメニュー */

#hmenu .nav__hamburger {
  width: 80px;
  position: fixed;
  top: 250px;
  right: 0;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}
#hmenu .hamburger img{
  width: 100%;
  cursor: pointer;
}
.fuwaf {
  animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
  transition: 1.5s ease-in-out;
}
@keyframes fuwaf {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}


/* ハンバーガーメニュークリック後のスタイル */
#hmenu .nav__nav.active {
  transform: translateX(0);
}

#hmenu .hamburger span:nth-child(2)::before{
	content: "MENU";
	display:inline-block;
	color:#333;
	cursor: pointer
}

#hmenu .hamburger.active span:nth-child(2)::before {
	content: "CLOSE";
	display:inline-block;
	color:#333;
	cursor: pointer
}

