@charset "utf-8";

/*========= じわっとCSS ===============*/
/* ぼかしから出現 */
.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
  }

  to {
	filter: blur(0);
	transform: scale(1);
  }
}

/*========= ナビゲーションのためのCSS ===============*/
#g-nav{
  position:fixed;
  z-index: -1;
  opacity: 0;
  top:0;
  width:100%;
  height: 100vh;
  background: #49bbdb;
  transition: all 0.3s;
}

#g-nav.panelactive{
  opacity: 1;
  z-index:999;
}

/*ナビゲーション*/
#g-nav ul {
  display: none;
  position: absolute;
  z-index: 999;
  top:40%;
  left:50%;
  transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
  display: block;
  padding: 0;
}

#g-nav li{
  list-style: none;
  text-align: center; 
}

#g-nav li a{
  color: #fff;
  text-decoration: none;
  padding-bottom: clamp(1rem, 0.5rem + 1.33vw, 1.5rem);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: clamp(1rem, 0.5rem + 1.33vw, 1.5rem)
}

.openbtn{
  position:fixed;
  top:10px;
  right: 10px;  
  z-index: 9997;
  background: #fff;
  cursor: pointer;
  width: 50px;
  height:50px;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #49bbdb;
}
  
/*ボタン内側*/
.openbtn .openbtn-area{
  transition: all .4s;/*アニメーションの設定*/
}

.openbtn span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #49bbdb;
  width: 45%;
  }

.openbtn span:nth-of-type(1) {
  top:15px;  
}

.openbtn span:nth-of-type(2) {
  top:23px;
}

.openbtn span:nth-of-type(3) {
  top:31px;
}

.openbtn.active .openbtn-area{
  transform: rotateX(360deg);
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-135deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(135deg);
  width: 30%;
}

