/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
.hamburger {
  width: 10%;
  max-width: 42px;
  height: 5vh;
  position: fixed;
  z-index: 5;
  right: 5%;
  top: 16px;
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.0);
  cursor: pointer;
}
@media screen and (min-width:1001px) {
  .hamburger{
    display: none !important;
  }
}
@media screen and (max-width:1000px) {
  .hamburger{
    display: block !important;
  }
}
.hamburger span,
.hamburger span::after,
.hamburger span::before {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.5s;
}
.hamburger span + div{
    position: absolute;
    top: 80%;
    width: 100%;
    text-align: center;
    font-size: 18px;
}
.hamburger span::before {
  top: -10px;
}
.hamburger span::after {
  bottom: -10px;
}
.hamburger.open span {
  background-color: transparent;
}

.hamburger.open span::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger.open span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ===============================================
メニューのスタイリング
=============================================== */
.hamburger + .hamburger_nav {
  position: fixed;
  width: 80%;
  height: 100vh;
  right: -100%;
  background-color: #fff;
  padding: 50px 0 150px;
  transition: all 0.5s;
  z-index: 4;
  top:0;
  overflow-y: auto;
  box-sizing: border-box;
}
.hamburger + .hamburger_nav .nav__item a {
  display: block;
  font-size: 20px;
  color: #333;
  text-decoration: none;
  padding: 20px 0 20px 50px;
  text-transform: uppercase;
}
.hamburger + .hamburger_nav .nav__item a:hover {
  color: #fff;
  background-color: var(--main-color-green);
}
.hamburger + .hamburger_nav.open {
  right: 0;
  top:0;
}