/*チェックボックスを非表示*/
#checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.menuWrap {
  position: relative;
}

.menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
    position: relative;
    z-index: 9999;
  }
  .menu-trigger {
    position: absolute;
    top: -60px;
    right: 16px;
    width: 32px;
    height: 26px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
  }
  .menu-trigger span {
    position: absolute;
    right: 0;
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 4px;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 11px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
/*チェックボックスにチェックが入ったら*/
  #checkbox:checked + label span:nth-of-type(1) {
    transform: translateY(11px) rotate(-45deg);
  }
  #checkbox:checked + label span:nth-of-type(2) {
    opacity: 0;
  }
  #checkbox:checked + label span:nth-of-type(3) {
    transform: translateY(-11px) rotate(45deg);
  }
div.object {
  display: none;
}
@keyframes bgcolor {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
#checkbox:checked + label + div {
  display: block;
  margin-top: -110px;
  position: relative;
  z-index: 999;
  background-color: rgb(0, 0, 0, 0.8);
  width: 100%;
  height: 100vh;
  animation-name: bgcolor;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}
#checkbox:checked + label + div ul {
  padding-top: 40px;
}

