@charset "utf-8";
#menu-button {
  position: relative;
  display: flex;
  z-index: 701;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
  width: 100px;
  height: 100px;
  background: #222222;
  cursor: pointer;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .ham-lines {
  position: relative;
  margin: 0 auto;
  width: 42px;
  height: 27px;
}

#menu-button .ham-lines span,
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  position: absolute;
  display: block;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 42px;
  height: 3px;
  background-color: #fff;
  border-radius: 1px;
}

#menu-button .ham-lines span {
  bottom: 12px;
  transition: all 0.25s 0.25s;
  opacity: 1;
}

#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  content: "";
}

#menu-button .ham-lines::before {
  bottom: 24px;
  animation: menu-bar01 0.75s forwards;
}

#menu-button .ham-lines::after {
  bottom: 0px;
  animation: menu-bar03 0.75s forwards;
}

#menu-button .ham-text {
  font-size: max(1.111vw, 8px);
  margin-top: 0.75em;
  line-height: 1;
  color: #fff;
}

#menu-button.is-active .ham-lines span {
  opacity: 0;
}

#menu-button.is-active .ham-lines::before {
  animation: active-menu-bar01 0.5s forwards;
}

#menu-button.is-active .ham-lines::after {
  animation: active-menu-bar03 0.5s forwards;
}

@keyframes menu-bar01 {
  0% {
    transform: translateY(9px) rotate(45deg);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes menu-bar03 {
  0% {
    transform: translateY(-9px) rotate(-45deg);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(9px) rotate(45deg);
  }
}

@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(-14px) rotate(-45deg);
  }
}
/*-------container----*/
#main-menu-container {
  position: fixed;
  z-index: 700;
  top: 0;
  left: auto;
  right: -100vw;
  bottom: auto;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.9);
  background-size: cover;
  display: none;
  width: calc(max(20.833vw, 300px) + max(15.486vw, 223px) + 100px);
  height: 100vh;
  transition: 0.5s linear;
}

#main-menu-container.is-active {
  right: 0vw;
}

body #main-menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(100px + 100px);
}
.main-menu-nav ul li {
  line-height: 3.85;
  font-weight: 600;
  font-size: max(1.111vw, 1.2rem);
}
.main-menu-nav ul li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 3px;
  background: #dcc078;
  margin-right: 10px;
}
.main-menu-nav .sub-menu li {
  line-height: 2.5;
  margin-left: calc(22px + 10px);
}
.main-menu-nav .sub-menu li::before {
  width: 13px;
  height: 15.5px;
  background: none;
  border-left: 2px solid #dcc078;
  border-bottom: 2px solid #dcc078;
  vertical-align: baseline;
}

@media screen and (max-width: 1180px) {
  #menu-button {
    height: 60px;
    width: 60px;
  }
  #main-menu-container {
    width: calc(60px + 215px + 180px);
  }
  .main-menu-nav ul li::before {
    width: 10px;
    margin-right: 5px;
  }
  body #main-menu-container {
    padding-top: calc(60px + 60px);
  }
  #menu-button .ham-lines {
    position: relative;
    margin: 0 auto;
    width: 23px;
    height: 15px;
  }
  #menu-button .ham-lines span,
  #menu-button .ham-lines::before,
  #menu-button .ham-lines::after {
    width: 23px;
    height: 1.5px;
  }
  #menu-button .ham-lines span {
    bottom: 5.5px;
  }
  #menu-button .ham-lines::before {
    bottom: 11px;
  }
  @keyframes active-menu-bar03 {
    0% {
      transform: translateY(0) rotate(0);
    }

    50% {
      transform: translateY(-9px) rotate(0);
    }

    100% {
      transform: translateY(-2px) rotate(-45deg);
    }
  }
}
@media screen and (max-width: 680px) {
  #menu-button {
    height: 50px;
    width: 50px;
    top: 5px;
    right: 5px;
  }
  body #main-menu-container {
    width: 100%;
    padding-inline: 5.55%;
  }
  .main-menu-nav ul li {
    font-size: 1.6rem;
  }
  #main-menu-container {
    transition: 0.2s linear;
  }
}
