/* CSS変数 */
:root {
  /* font */
  --Blinker: "Blinker", sans-serif;
  /* color */
  --default-color: #FFFFFF;
  --sub-color: #333333;
}

* {
  text-decoration: none;
}
li {
  list-style: none;
}

.header_container {
  width: 100%;
  height: 16rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.main_title_wrap_top {
  display: flex;
  max-width: 138rem;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.header_logo_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25rem;
  height: 16rem;
  background-color: white;
  box-shadow: 0 0.3rem 0.6rem #00000029;
}

.logo_img_top {
  width: 15.58rem;
  height: auto;
}

.nav_top {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 6rem;
}

.header_link_top {
  /* color: white; */
  display: block;
  color: white;
  font-size: 1.6rem;
  font-family: Noto Sans JP;
  font-weight: bold;
}

.contact_link_top {
  display: flex;
  width: 21.6rem;
  height: 6rem;
  border-radius: 3.2rem;
  background-color: #254792;
  color: white;
  font-size: 1.6rem;
  line-height: calc(60 / 16);
  justify-content: space-between;
  align-items: center;
  padding: 0 3.5rem;
  overflow: hidden;
}

.plane_top {
  display: flex;
  align-items: center;
}
/* HEADER-CONTACT-BTN-ANIMATION */
.plane_top_arrow {
  width: 3.4rem;
  height: 3.4rem;
}
.header_arrow_animation {
  animation: header-animation ease 0.6s 1;
}



@keyframes header-animation {
  0% {
    transform: translate3D(0, 0, 0);
  }
  50% {
    transform: translate3d(100%, -100%, 0);
    opacity: 0;
  }
  51% {
    transform: translate3d(-100%, 100%, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}


.main_title_wrap_other {
  width: 138rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000000;
}

.logo_base_other {
  width: 13.5rem;
  height: 8.6rem;
  box-shadow: 0 0.3rem 0.6rem #00000029;
  padding: 2rem 2.5415rem;
}

.logo_img {
  width: 9.4rem;
  height: 4.8rem;
}

.nav_other {
  display: flex;
  align-items: center;
  gap: 6rem;
  margin: 0;
  padding: 0;
}

.header_link_other {
  color: #333333;
  font-family: Noto Sans JP;
  font-weight: bold;
  font-size: 1.6rem;
}

.contact_link_other {
  display: flex;
  position: relative;
  border-radius: 3.2rem;
  background-color: #254792;
  color: white;
  font-size: 1.4rem;
  padding: 0 1.9rem;
  margin-left: 7.1rem;
  align-items: center;
  overflow: hidden;
  line-height: calc(40 / 14);
}
.plane_other_arrow {
  width: 2.278rem;
  height: 2.278rem;
  display: flex;
  align-items: center;
}

.header_top_lang_button{
  color:white;
  font-size:1.8rem;
  font-weight:400;
}

.header_other_lang_button{
  color:#333333;
  font-size:1.8rem;
  font-weight:400;
}

.lang_bold{
  font-weight:800;
}


.main_title_wrap_sp {
  display: none;
}

.hamburger_menu {
  opacity: 0;
  visibility: hidden;
}

@media screen and (max-width: 699.98px) {
  .main_title_wrap_top {
    display: none;
  }

  .main_title_wrap_other {
    display: none;
  }

  .header_container {
    height: auto;
    background-color: white;
    padding: 0.5rem 0 0.525rem;
  }

  .main_title_wrap_sp {
    width: 34.3rem;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    align-items: center;
  }

  .logo_img_sp {
    width: 8rem;
    height: auto;
  }

  /* ハンバーガーボタン */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hamburger span {
    display: block;
    width: 3rem;
    height: 0.1rem;
    background-color: #254792;
    transition: all .5s;
  }

  /* ハンバーガーボタン：開き */
  .hamburger.active span:nth-child(1) {
    transform: rotate(22deg) translate(0.3rem, 0.5rem);
    width: 3.23rem;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-22deg) translate(0.4rem, -0.5rem);
    width: 3.23rem;
  }


  /* ハンバーガーメニュー */
  .hamburger_menu {
    opacity: 0;
    visibility: hidden;
    background-color: white;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100vi;
    height: calc(100vh - 5rem);
    z-index: -1;
    font-weight: bold;
    overflow-y: scroll;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .hamburger_menu.open {
    opacity: 1;
    z-index: 999;
    visibility: visible;
  }

  .hamburger_menu_list {
    width: 37.5rem;
    margin: 7.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .nav-fade__item {
    line-height: calc(30 / 25);
    opacity: 1;
    transform: translateY(10rem);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
  }

  .nav-fade__item.is_animated {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-fade__item.is_animated:nth-child(1) {
    transition-delay: 0.2s;
  }

  .nav-fade__item.is_animated:nth-child(2) {
    transition-delay: 0.3s;
  }

  .nav-fade__item.is_animated:nth-child(3) {
    transition-delay: 0.4s;
  }

  .nav-fade__item.is_animated:nth-child(4) {
    transition-delay: 0.5s;
  }

  .hamburger_menu_list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 20.25rem;
    margin-left: 7rem;
    margin-right: auto;
  }

  .hamburger_menu_list li a span {
    text-align: center;
  }

  .hamburger_menu_list li a .hamburger_title_en {
    display: block;
    font-family: Blinker;
    font-weight: bold;
    font-size: 2.5rem;
    color: #254792;
    width: 44%;
  }

  .hamburger_menu_list li a .hamburger_title_ja {
    display: block;
    font-family: Noto Sans JP;
    font-size: 1.4rem;
    font-weight: 500;
    color: #254792;
    width: 46%;
  }

  .hamburger_menu_list li a .hamburger_title_separate_mark {
    display: block;
    font-family: Noto Sans JP;
    font-size: 1.5rem;
    font-weight: 500;
    color: #254792;
    width: 10%;
    margin-top: 0.2rem;
  }

  .hamburger_contact {
    display: flex;
    color: white;
    background-color: #254792;
    width: 15.4rem;
    border-radius: 2.2rem;
    font-family: Noto Sans JP;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: calc(44 / 12);
    padding-left: 2.4rem;
    margin: 4.5rem auto 10.4rem 10.1rem;
  }
  .hamburger_contact.is_animated:nth-child(1) {
    transition-delay: 0.6s;
  }

  .hamburger_contact_img {
    width: 2.9rem;
    height: 2.9rem;
    margin-top: 0.8rem;
    margin-left: 1rem;
  }

  .hamburger_footer {
    width: 37.5rem;
    height: max(12.6rem, calc(100vh - 51.3rem));
    background-color: #254792;
    color: white;
    padding-top: 2rem;
    padding-left: 3rem;
  }
  .hamburger_footer.is_animated {
    transition-delay: 0.7s  !important;
  }

  .hamburger_footer_name {
    font-family: Noto Sans JP;
    font-weight: bold;
    font-size: 2rem;
    letter-spacing: 0.064em;
    margin-bottom: 0.5rem;
    line-height: calc(29 / 20);
  }

  .hamburger_footer_address {
    font-family: Noto Sans JP;
    font-size: 1.1rem;
    line-height: calc(52 / 33);
    font-weight: normal;
  }

/*================================
  英語版
================================*/
  .hamburger_contact_en {
    padding-right: 2.1rem;
    justify-content: space-between;
  }
}