@charset "utf-8";
#menu-button {
  visibility: hidden;
  opacity: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  background: #006698;
  border: none;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .c-menu-btn__lines {
  position: relative;
  margin: 0 auto;
  width: 30px;
  height: 20px;
}

#menu-button .c-menu-btn__lines span,
#menu-button .c-menu-btn__lines::before,
#menu-button .c-menu-btn__lines::after {
  position: absolute;
  display: block;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 30px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}

#menu-button .c-menu-btn__lines span {
  bottom: 8px;
  transition: all 0.25s 0.25s;
  opacity: 1;
}

#menu-button .c-menu-btn__lines::before,
#menu-button .c-menu-btn__lines::after {
  content: "";
}

#menu-button .c-menu-btn__lines::before {
  bottom: 18px;
  animation: menu-bar01 0.75s forwards;
}

#menu-button .c-menu-btn__lines::after {
  bottom: 0px;
  animation: menu-bar03 0.75s forwards;
}

#menu-button.is-active .c-menu-btn__lines span {
  opacity: 0;
}

#menu-button.is-active .c-menu-btn__lines::before {
  animation: active-menu-bar01 0.5s forwards;
}

#menu-button.is-active .c-menu-btn__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(-9px) rotate(-45deg);
  }
}

@media screen and (max-width: 680px) {
  body #menu-button {
    visibility: visible;
    opacity: 1;
    display: flex;
    z-index: 701;
    padding: 0;
  }
  #main-menu-container .c-nav__list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  #main-menu-container .c-nav__list li {
    padding-block: 30px;
    border-bottom: 1px solid #fff;
    width: 100%;
  }
  #main-menu-container .c-nav__list a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #main-menu-container .c-nav__list a::after {
    content: "";
    background: url(../img/common/arrow-icon.webp) no-repeat;
    background-size: contain;
    display: inline-block;
    width: 17px;
    height: 18px;
    margin-left: 40px;
  }
  /*-------container----*/
  #main-menu-container {
    position: fixed;
    z-index: 700;
    top: 0;
    left: auto;
    right: -100vw;
    bottom: auto;
    overflow-y: auto;
    background: #006698;
    background-size: cover;
    display: none;
    width: 70vw;
    height: 100vh;
    transition: 0.3s linear;
  }

  #main-menu-container.is-active {
    right: 0vw;
  }

  body #main-menu-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
