@charset "utf-8";
nav {
    position: fixed;
    width: 100%;
    height:50px;
    z-index: 2000;
}

.nav-btn .hum{
  position: absolute;/*ボタン内側の基点となるためrelativeを指定*/
  cursor: pointer;
  width: 50px;
  height:50px;
  border-radius: 5px;
  z-index: 1;
  right: 0px;
}

.nav-btn .hum span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 5px;
    border-radius: 2px;
    background: #E2007D;
    width: 45%;
  }

.nav-btn .hum span:nth-of-type(1) {
  top:15px; 
}

.nav-btn .hum span:nth-of-type(2) {
  top:23px;
}

.nav-btn .hum span:nth-of-type(3) {
  top:31px;
}

nav.active {
  height:100%;
}

nav.active .hum span {
    background: #fff;
}
nav.active .hum span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

nav.active .hum span:nth-of-type(2) {
  opacity: 0;/*真ん中の線は透過*/
}

nav.active .hum span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.nav-btn .nav-bg {
    background: #E2007D;
    height: 100vh;
    width: 100vw;
    position: absolute;
    visibility: hidden;
    transition: 0.5s;
    opacity: 0;
}
nav.active .nav-bg {
    visibility: visible;
    transition: 0.2s;
    opacity: 1;
}

.nav-btn .nav-list {
    position: absolute;
    left: 2000px;
    color: #fff;
    font-size: 26px;
}

nav.active .nav-list {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    top: 50%;
}

.nav-list li {
  margin-bottom:15px;
}