@charset "utf-8";

input#navcheck {
  position: fixed;
  opacity: 0;
  display: none;
}

label#label_navcheck {
  display: none;
  position: fixed;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 100;
  overflow: hidden;
  width: 5.0rem;
  height: 5.0rem;
  right: 3.0vw;
  top: 1.0rem;
  border-radius: 50% 50%;
  transition: all 0.3s ease-out;
  background-color: #ffffff;
  opacity: 1;
}
label#label_navcheck:hover {
  opacity: 0.7;
}
label#label_navcheck #navcheck_centerline,
label#label_navcheck:before,
label#label_navcheck:after {
  content: "";
  position: absolute;
  display: block;
  width: 46%;
  height: 2px;
  left: 27%;
  transition: all 0.4s linear;
  z-index: 100;
  background-color: #f59918;
}
label#label_navcheck #navcheck_centerline {
  top: calc(50% - 1px);
  z-index: 100;
}
label#label_navcheck:before {
  top: calc(35% - 1px);
  z-index: 101;
}
label#label_navcheck:after {
  top: calc(65% - 1px);
  z-index: 101;
}

#navcheck:checked + label#label_navcheck {
  background-color: #f59918;
}
#navcheck:checked + label#label_navcheck #navcheck_centerline {
  opacity: 0;
  background-color: #ffffff;
}
#navcheck:checked + label#label_navcheck:before,
#navcheck:checked + label#label_navcheck:after {
  top: 48%;
  background-color: #ffffff;
}

#navcheck:checked + label#label_navcheck:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#navcheck:checked + label#label_navcheck:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#menu_container {
  position: fixed;
  margin: 0 auto;
  width: fit-content;
  left: calc(50% + 29.0rem);
  top: 12.0rem;
  overflow: hidden;
}

#menu_container #nav {
  position: relative;
  background-color: #f59918;
  width: 26.0rem;
  margin: 0 auto 0 0;
  border-radius: 0 3.6rem 3.6rem 0;
  padding: 2.5rem 0 2.5rem 0;
  overflow: visible;
}

#menu_container #nav li {
  position: relative;
  overflow: visible;
}
#menu_container #nav li:not(.menu_logo_container):not(.menu_button_container) {
  padding: 2.0rem 3.2rem 2.0rem 3.2rem;
}
#menu_container #nav li.menu_button_container {
  padding: 0.8rem 3.2rem 0.8rem 0;
}
#menu_container #nav li.menu_button_container.menu_button_container_1 {
  margin-top: 1.2rem;
}

#menu_container #nav li:not(.menu_logo_container):not(.menu_button_container) a {
  position: relative;
  display: block;
  width: fit-content;
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  overflow: visible;
  transition: opacity 0.3s ease-out;
  opacity: 1;
}
#menu_container #nav li:not(.menu_logo_container):not(.menu_button_container) a:hover {
  opacity: 0.7;
}
#menu_container #nav li:not(.menu_logo_container):not(.menu_button_container) a:after {
  content: "";
  display: block;
  position: absolute;
  width: 1.0rem;
  height: 1.0rem;
  top: calc(50% - 0.4rem);
  left: -1.8rem;
  background-color: #ffffff;
}

#menu_container #nav li.menu_button_container.menu_button_container_1 .menu_button.common_button .common_button_text {
  color: #ff6b56;
}
#menu_container #nav li.menu_button_container.menu_button_container_2 .menu_button.common_button .common_button_text {
  color: #ff9900;
}
#menu_container #nav li.menu_button_container.menu_button_container_1 .menu_button.common_button:after {
  background-color: #ff6b56;
}
#menu_container #nav li.menu_button_container.menu_button_container_2 .menu_button.common_button:after {
  background-color: #ff9900;
}


/* responsive */
@media (min-width: 871px) {
  #menu_container #nav li.menu_button_container .menu_button.common_button {
    border-radius: 0 1.4rem 1.4rem 0;
    justify-content: start;
  }
  #menu_container #nav li.menu_button_container .menu_button.common_button .common_button_text {
    font-size: 2.4rem;
    text-indent: 0.6em;
  }
  #menu_container #nav li.menu_button_container .menu_button.common_button:after {
    display: none;
  }
}

@media (max-width: 870px) {
  label#label_navcheck {
    display: block;
  }
  label#label_navcheck:hover {
    opacity: 1;
  }
  
  #menu_container {
    position: fixed;
    box-sizing: content-box;
    z-index: 95;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.22, 0.62, 0.36, 1);
  }
  
  #navcheck:checked ~ #menu_container {
    opacity: 1;
    visibility: visible;
  }
  
  #menu_container #nav {
    width: fit-content;
    margin: 0 0 0 auto;
    border-radius: 0;
    padding: 1.5rem 1.5rem 5.6rem 1.5rem;
    z-index: 97;
    transform: translate(100%, 0);
    transition: transform 0.3s cubic-bezier(0.22, 0.62, 0.36, 1);
  }
  #navcheck:checked ~ #menu_container #nav {
    transform: translate(0, 0);
  }
  
  #menu_container #nav li:not(.menu_logo_container):not(.menu_button_container) {
    padding: 1.8rem 6.5rem 1.8rem 6.5rem;
    text-align: center;
  }
  #menu_container #nav li:not(.menu_logo_container):not(.menu_button_container) a {
    margin: 0 auto;
    font-size: min(5.8vw, 3.2rem);
  }
  #menu_container #nav li:not(.menu_logo_container):not(.menu_button_container) a:after {
    display: none;
  }
  
  #menu_container #nav li.menu_logo_container {
    width: fit-content;
    margin: 0 auto 4.0rem 0;
    padding: 0.5rem 3.0rem;
    text-align: center;
    background-color: #ffffff;
    border-radius: 3.0rem;
  }
  #menu_container #nav li.menu_logo_container .menu_logo {
    height: 5.0rem
  }
  
  #menu_container #nav li.menu_button_container {
    padding: 0.8rem 3.2rem 0.8rem 3.2rem;
  }
  #menu_container #nav li.menu_button_container.menu_button_container_1 {
    margin-top: 3.8rem;
  }
  #menu_container #nav li.menu_button_container .menu_button.common_button {
    width: 70vw;
  }
  #menu_container #nav li a:hover {
    opacity: 1;
  }
}

