#nav_container_right {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(6, 8, 40, 0.9);
  z-index: 33;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.5s, opacity 0.5s, visibility 0.5s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  color: #fff;
  padding-left: 30px;
  overflow-y: auto;
  will-change: transform, opacity, visibility;
}

#nav_container_right.move {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

#nav_wrapper_right {
  max-width: 1200px;
  margin: 50px auto;
  padding-bottom: 100px;
}


@media (min-width: 1921px) {
  #nav_wrapper_right {
    margin: 30px auto 0;
  }
}

.nav_box {
  border-radius: 15px;
  width: 400px;
  padding-bottom: 20px;
}

#nav_wrapper_right .nav_title {
  cursor: pointer;
  font-size: 24px;
  display: flex;
  justify-content: flex-start;
  border-radius: 30px;
  color: #fff;
  padding: 14.5px 0;
  padding-left: 45px;
  width: min(23vw, 360px);
  line-height: 1;
  margin: auto;
  position: relative;
  pointer-events: none;
  top: -22px;

  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

#nav_wrapper_right .nav_title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 1;
}

#nav_wrapper_right .nav_title .nav_title_text {
  position: relative;
  z-index: 2;
}

#nav_wrapper_right .nav_title .nav_title_arrow {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: inline-block;
  margin-left: auto;
  margin-right: 30px;
  opacity: 0;
  margin-top: -20px;
  width: 40px;
}

#nav_wrapper_right .bg_on .nav_title .nav_title_arrow {
  transform: rotate(0);
}

#nav_wrapper_right .nav_title .nav_title_arrow img {
  vertical-align: baseline;
}

#nav_wrapper_right ul {
  padding: 0;
  list-style: none;
}

#nav_wrapper_right_ul1 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#nav_wrapper_right ul.nav_each_btns {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 0 25px;
}

#nav_wrapper_right ul.nav_each_btns li {
  cursor: pointer;
  margin-top: 12px;
  padding-bottom: 10px;
  position: relative;
  cursor: default;
}

.nav_each_btns li {
  position: relative;
}

.nav_each_btns li::before {
  content: '▶';
  position: absolute;
  left: -26px;
  top: 1px;
}

#nav_wrapper_right ul.nav_each_btns li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  display: inline-block;
  position: relative;
}

#nav_wrapper_right ul.nav_each_btns li:hover,
#nav_wrapper_right ul.nav_each_btns li:hover a {
  color: #f9e444;
}

#nav_wrapper_right ul.nav_each_btns li:hover::before {
  color: #f9e444;
}

#nav_wrapper_right ul.nav_each_btns li.grayout a {
  color: #9e9e9e;
}

.menu_nidan .nav_title_arrow_child {
  position: absolute;
  top: 16px;
}

.nav_title_arrow_child {
  position: absolute;
  left: -17px;
  top: 2px;
}

.nav_title_arrow_child img {
  vertical-align: baseline;
  opacity: 0;
  visibility: hidden;
}

#nav_wrapper_right ul.nav_each_btns li a:hover .nav_title_arrow_child img {
  opacity: 1;
  visibility: visible;
}

.nav_top_banner_sp {
  display: none;
}

.header_nav_modal_up_sp {
  display: none;
}

#nav_wrapper_right ul.nav_each_btns .gaibu a {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}



@media (max-width: 1199px) {
  #nav_wrapper_right ul.nav_each_btns .gaibu a .gaibu_icon {
    width: min(3.5vw, 25px);
    min-width: 19px;
    height: min(3.5vw, 25px);
    min-height: 19px;
    position: relative;
    top: 1px;
  }

  .nav_each_btns li::before {
    top: 36%;
    transform: translateY(-36%);
    font-size: 13px;
  }
}

/* ハンバーガーメニューディレイ */
.delay_contents {
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  transition-delay: var(--i);
}

#nav_container_right.move .delay_contents {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

#nav_menu_sp_sns_box {
  display: none;
}

@media (max-width: 1400px) {
  .nav_box {
    max-width: 30%;
  }

  #nav_wrapper_right .nav_title {
    font-size: 20px;
  }

  #nav_wrapper_right ul.nav_each_btns li a {
    font-size: min(1.2vw, 16px);
  }
}

@media (max-width: 1199px) {
  #nav_wrapper_right .nav_title {
    pointer-events: auto;
    width: 100%;
    padding: min(3.5vw, 14.5px) 0;
    font-size: min(5vw, 38px);
  }

  #nav_wrapper_right .nav_title .nav_title_arrow {
    opacity: 1;
    transform: rotate(-180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    margin-top: 20px;
  }

  #nav_wrapper_right ul.nav_each_btns li a {
    font-size: min(4vw, 18px);
  }

  .nav_top_banner_sp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 92%;
    margin: auto;
    margin-top: 10px;
  }

  .header_nav_modal_up_sp {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 126px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.5s, opacity 0.5s, visibility 0.5s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity, visibility;
  }

  #header_container.move .header_nav_modal_up_sp {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .header_nav_modal_up_sp ul {
    margin-top: min(1vw, 10px);
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: min(1.5vw, 20px);
    max-width: 500px;
    position: relative;
    left: 15px;
  }

  .header_nav_modal_up_sp ul li {
    width: 14vw;
    text-align: center;
  }

  .header_nav_modal_up_sp ul li a {
    display: block;
  }

  #nav_container_right {
    width: 100%;
    padding-left: 0;
    user-select: none;
    overflow-x: hidden;
    overflow-y: visible;
    z-index: 103;
  }

  #nav_container_right.move {
    transform: translateX(0);
    padding-bottom: 150px;
  }

  #nav_wrapper_right {
    width: 82%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 100px;
  }

  #nav_wrapper_right ul {
    display: block;
  }

  .nav_box {
    max-width: none;
    background-color: transparent;
    margin: auto;
  }

  .nav_box+.nav_box {
    margin-top: min(5vw, 40px);
  }

  .nav_box.bg_on+.nav_box {
    margin-top: min(10vw, 40px);
  }


  #nav_menu_sp_sns_box {
    display: block;
    margin: auto;
    margin-top: min(16vw, 70px);
    top: 0;
  }

  #nav_menu_sp_sns_box ul {
    display: flex;
  }

  .sns_box_pc ul a span {
    font-size: 10px;
  }
}

@media (max-width: 600px) {
  #nav_wrapper_right {
    width: 100%;
  }

  #nav_wrapper_right ul.nav_each_btns {
    padding-left: 60px;
  }

  #nav_wrapper_right .nav_title {
    width: 75%;
  }
}


@media(min-width: 1200px) {
  #nav_wrapper_right .nav_title {
    display: none;
  }
}