header {
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  padding: 3rem;
  position: fixed;
  z-index: 9999;
  font-family: var(--NotoSans);
}

.header_icon {
  position: relative;
  z-index: 5;
  display: block;
  padding: 1rem;
  aspect-ratio: 325/65;
  width: 25.4rem;
  border-radius: 1.2rem 0 0 1.2rem;
  background-color: #fff;
  border: solid black 0.1rem;
}
.header_icon_img {
  /* height: 3.7rem; */
}

/* .header_menu_contents{
  
} */

.contact_button {
  position: absolute;
  top: 3rem;
  right: 3rem;
  overflow: hidden;
  display: block;
  /* padding: 1.9rem 1.5rem; */
  aspect-ratio: 185/65;
  /* width: 18.5rem; */
  height: 6.5rem;
  background-color: #fff;
  border: solid black 0.1rem;
  transition: all ease 0.3s;
  border-radius: 1.2rem;
}

.contact_button_bg {
  position: absolute;
  top: 0;
  left: -100%;
  background-color: black;
  width: 100%;
  height: 100%;
  transition: all ease 0.3s;
}

.contact_button:hover {
  color: #fff;
}

.contact_button:hover .contact_button_bg {
  left: 0;
}

.contact_button_inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact_button_text {
  display: block;
  width: fit-content;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1em;
  margin-left: 1.5rem;
}

.contact_button_arrow {
  display: flex;
  align-items: center;
  width: fit-content;
  height: 100%;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1em;
  background-color: #0068b7;
  color: #fff;
  padding: 0 1.9rem 0 1rem;
}
.header_nav_flex {
  display: flex;
}
.header_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.3rem;
  /* position: absolute;
  top: 9.4rem;
  left: 3rem; */
  width: fit-content;
  height: 100%;
  padding: 1.1rem 1.5rem;
  background-color: #fff;
  border: solid black 0.1rem;
  border-radius: 0 1.2rem 1.2rem 0;
}

.japanese_official_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.3rem;
  /* position: absolute;
  top: 9.4rem;
  left: 3rem; */
  width: auto;
  font-size: 1.8rem;
  height: 100%;
  background-color: #fff;
  border: solid black 0.1rem;
  border-radius: 1.2rem;
  margin-left: 1rem;
}

.japanese_official_link {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1.1rem 1.5rem;
  width: 100%;
}

.header_menu_content {
  position: relative;
  display: block;
  /* height: 100%; */
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0;
  /* line-height: 1em; */
  transition: all ease 0.3s;
}

.header_menu_content:hover {
  color: #7e7e7e;
}

.header_menu_content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  transform-origin: 50%;
  transform: scaleX(0%);
  border: solid 0.1rem #7e7e7e;
  transition: all ease 0.3s;
}

.header_menu_content:hover::after {
  transform: scaleX(100%);
}

.current_page,
.current_page:hover {
  color: #0068b7;
}
.current_page:hover {
  color: #0068b7;
}

.current_page::after,
.current_page:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  transform: scaleX(100%);
  border: solid 0.1rem #0068b7;
}

/* FV部分 */
.head_fv_wrap {
  position: relative;
}
.header_fv {
  width: 100%;
  height: 53.3rem;
  max-height: 360px;
  overflow: hidden;
  filter: blur(0.1rem) brightness(80%);
}

.page_contact_fv {
  background-image: url(../img/fv_contact.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 40%;
}

/* contactFV文字 */
.conta_except {
  display: none;
}
.cont_fv_text_wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* margin-left: 45rem; */
  margin-top: 1.6rem;
  color: rgb(43, 62, 125);
  font-weight: bold;
}

.contact_fv_text {
  font-size: 60px;
  line-height: calc(70 / 60);
  /* margin-bottom: .2rem; */
  text-shadow: 5px 6px 0 #ffffff;
}
.conta_fv_sab_text {
  font-size: 34px;
  text-shadow: 5px 6px 0 #ffffff;
}

.header_fv > img {
  object-fit: cover;
}

.header_fv.the_front {
  display: none;
}

@media screen and (max-width: 699.98px) {
  /* debug */
  main {
    width: 37.5rem;
    overflow: hidden;
  }

  /* debug */
  header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    padding: 1.5rem;
  }

  .header_inner {
    overflow-x: hidden;
  }

  .header_sp_inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header_icon {
    display: block;
    padding: 0;
    width: 25.4rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
  }

  .header_icon_img {
    /* aspect-ratio: 309/45; */
    width: 24.3rem;
    height: 3.5rem;
  }

  .japanese_official_btn {
    justify-content: flex-start;
    border-radius: 0 1.2rem 1.2rem 0;
    margin-left: 0;
    right: -120%;
    position: relative;
  }

  .japanese_official_link {
    font-size: 2rem;
  }

  .japanese_official_btn.active {
    right: 0;
    transition: 0.3s;
  }

  .hamburger_icon {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    aspect-ratio: 1/1;
    width: 5rem;
    padding: 1.3rem 0.75rem;
    background-color: #fff;
    border: solid black 0.1rem;
    transition: all ease 0.3rem;
  }

  .hamburger_icon.active {
    padding: 1.38rem 1.16rem;
  }

  .hamburger_line {
    position: relative;
    width: 3.5rem;
    height: 0.1rem;
    background-color: black;
    transition: all ease 0.3s;
  }

  .hamburger_line:nth-child(2) {
    transform-origin: left;
  }

  .hamburger_line.active:nth-child(1) {
    transform: translate(0px, 1rem) rotateZ(40deg);
  }

  .hamburger_line.active:nth-child(2) {
    transform: scale(0);
  }

  .hamburger_line.active:nth-child(3) {
    transform: translate(0px, -1.1rem) rotateZ(-40deg);
  }

  .header_menu_contents {
    width: 100%;
    height: 100vh;
    padding: 6.4rem 1.5rem;
    z-index: -1;
    left: 100%;
    top: 0;
    background-color: #272727;
    transition: all ease 0.3s;
    position: absolute;
  }

  .header_menu_contents.active {
    left: 0;
  }

  .contact_button {
    position: relative;
    top: unset;
    right: unset;
    /* padding: 1.15rem .7rem; */
    aspect-ratio: 173/50;
    /* width: 18.5rem; */
    height: 5rem;
    background-color: #fff;
    border: solid black 0.1rem;
    transition: all ease 0.3s;
  }

  .contact_button_bg {
    position: absolute;
    top: 0;
    left: -100%;
    background-color: black;
    width: 100%;
    height: 100%;
    transition: all ease 0.3s;
  }

  .contact_button:hover {
    color: #fff;
  }

  .contact_button:hover .contact_button_bg {
    left: 0;
  }

  /* .contact_button_inner {
    justify-content: start;
    gap: 3.5rem;
  } */
  .header_menu_wrap {
    position: absolute;
    top: 11.4rem;
    left: 1.5rem;
  }

  /* クリック範囲用 */
  .header_menu_wrap {
    opacity: 0;
    pointer-events: none;
  }

  /* メニューが開いた時クリックできる */
  .header_menu_wrap.active {
    opacity: 1;
    pointer-events: auto;
  }

  .header_menu {
    margin-top: -0.1rem;
    flex-wrap: wrap;
    justify-content: start;
    gap: 2.5rem;
    position: relative;
    top: unset;
    left: 120%;
    width: 34.5rem;
    height: fit-content;
    padding: 1.1rem 1.3rem;
    /* display: none; */
  }

  .header_menu::after {
    content: "";
    position: absolute;
    width: 31.5rem;
    top: 50%;
    left: 1.5rem;
    border-bottom: solid black 0.1rem;
  }

  .header_menu_content {
    position: relative;
    display: block;
    height: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1em;
    transition: all ease 0.3s;
  }

  .header_menu_content:hover {
    color: #0068b7;
  }

  .header_menu_content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    transform-origin: 50%;
    transform: scaleX(0%);
    border: solid 0.1rem #0068b7;
    transition: all ease 0.3s;
  }

  .header_menu_content:hover::after {
    transform: scaleX(100%);
  }

  /* 修正 */
  .contact_button_text {
    margin-left: 0.7rem;
  }
  .contact_button_arrow {
    padding: 0 1rem 0 1rem;
  }
  .header_menu.active {
    display: flex;
    left: 0;
    transition: 0.3s;
  }

  /* FV部分 */
  .header_fv {
    width: 37.5rem;
    height: 50rem;
    max-height: 360px;
  }

  .header_fv img {
    width: unset;
    transform: translate(-35rem, 0);
  }

  .page_contact_fv img {
    transform: translate(-5.5rem, 0);
  }

  .cont_fv_text_wrap {
    margin-top: 1rem;
  }

  .contact_fv_text {
    font-size: 4rem;
    line-height: calc(50 / 40);
    margin-bottom: 0.2rem;
    text-shadow: 0.3rem 0.3rem 0 #ffffff;
  }
  .conta_fv_sab_text {
    font-size: 2rem;
    text-shadow: 0.3rem 0.3rem 0 #ffffff;
  }
}
