/* チェックボックスを非表示 */
.menu-checkbox {
  display: none;
}

/* メニューボタンの装飾 */
.menu-button {
  display: block;
  /* position: fixed; */
  position: absolute;
  top: 35px;
  right: 38px;
  z-index: 200;
  height: 20px;
  width: 28px;
  cursor: pointer;
}
.menu-button::before,
.menu-button::after {
  content: "";
  transition: 0.3s;
}
.menu-button::before,
.menu-button::after,
.menu-button span {
  display: block;
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  margin-top: -1px;
  background-color: #01740e;
}
.menu-button::before {
  top: 0;
}
.menu-button::after {
  bottom: 0;
}
.menu-button span {
  top: 50%;
}

@media screen and (width > 768px) {
  .menu-button {
    display: none;
  }
}


/* メニューボタンのアニメーション */
.menu-checkbox:checked ~ .menu-button::before {
  background-color: #fff;
  top: 50%;
  transform: rotate(45deg);
}
.menu-checkbox:checked ~ .menu-button::after {
  background-color: #fff;
  top: 50%;
  transform: rotate(-45deg);
}
.menu-checkbox:checked ~ .menu-button span {
  display: none;
}

/* ドロワーメニューの装飾 */
.drawer-menu {
  background: #01740e url(../../../../../assets/images/bg_logo.png) top center/100% no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 190;
  height: 100%;
  width: 100vw;
  transform: translateY(-100%);
  transition: 0.5s;
}
.drawer-menu ul {
  border-top: 2px dashed #469a46;
  margin: 160px 90px 0;
  padding: 0;
  list-style-type: none;
}
.drawer-menu li {
  border-bottom: 2px dashed #469a46;
  text-align: center;
}
.drawer-menu a {
  display: block;
  font-size: 20px;
  padding: 15px;
  text-decoration: none;
}

/* ドロワーメニューの開閉 */
.menu-checkbox:checked ~ .drawer-menu {
  transform: translateX(0);
}

/* ドロワーメニューの背景 */
.menu-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.menu-checkbox:checked ~ .menu-background {
  display: block;
}
.menu-checkbox:checked ~ .content {
  overflow: hidden;
}
