.header {
  display: grid;
  grid-template-columns: 168px 1fr clamp(150px, 14vw, 192px);
  align-items: center;
  gap: 16px;
  width: calc(100% - 20px);
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(7px);
  border-radius: 5px;
  padding: 12px 15px 12px 25px;
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.h_logo_area {
  max-width: 168px;
  width: 100%;
}

.h_logo_area a:hover {
  text-decoration: none;
}

.h_logo_img {
  width: 72px;
}

.h_logo_text {
  width: max-content;
  color: #000;
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.h_logo_area a:hover .h_logo_text {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.h_nav_top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin-bottom: 6px;
}

.h_nav_recruit a {
  color: #373737;
  font-size: clamp(1.5rem, 1.3vw, 1.7rem);
  padding: 4px 24px 4px 8px;
  text-decoration: none;
  position: relative;
}

.h_nav_recruit a:hover {
  opacity: 0.6;
}

.h_nav_recruit a::after {
  content: '';
  width: 14px;
  aspect-ratio: 1;
  background: url(../img/common/arrow_icon_line.svg) no-repeat center center / contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}

.h_nav_english {
  max-width: 134px;
  width: 100%;
}

.h_nav_english a {
  display: block;
  color: var(--main-color);
  font-size: clamp(1.5rem, 1.3vw, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 4px 20px 4px 8px;
  border: 1px solid #CDCDCD;
  border-radius: 100vmax;
  background: rgba(255, 255, 255, 0.50);
  position: relative;
  transition: all 0.3s ease;
}

.h_nav_english a:hover {
  text-decoration: none;
  color: #fff;
  background: var(--main-color);
  border-color: var(--main-color);
}

.h_nav_english_arrow {
  display: block;
  width: 18px;
  aspect-ratio: 1;
  background: var(--main-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translate(0, -50%);
}

.h_nav_english_arrow::after {
  content: '';
  width: 10px;
  aspect-ratio: 1;
  background: #fff;
  mask-image: url('../img/common/arrow_icon_line.svg');
  -webkit-mask-image: url('../img/common/arrow_icon_line.svg');
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: calc(50% + 3px);
  transform: translate(-50%, -50%);
}

/* ==============================================
メインメニュー
============================================== */

.h_nav_menu_list {
  display: flex;
  justify-content: flex-end;
  gap: clamp(20px, 1.3vw, 25px);
}

.h_nav_menu_item > a {
  color: #373737;
  font-size: clamp(1.4rem, 1.3vw, 1.8rem);
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
}

.h_nav_menu_item > a:hover {
  opacity: 0.6;
}

.has_child > a {
  padding-right: 20px;
  position: relative;
}

.h_nav_menu_item_arrow {
  display: block;
  width: clamp(12px, 1vw, 14px);
  aspect-ratio: 1;
  background: url(../img/common/arrow_icon_line.svg) no-repeat center center / contain;
  position: absolute;
  top: clamp(10px, 1vw, 12px);
  right: 0;
  rotate: 90deg;
  transition: rotate 0.6s ease;
}

.h_nav_menu_item:hover .h_nav_menu_item_arrow {
  rotate: -90deg;
}

.h_nav_menu_child_area {
  width: 100%;
  max-height: 0;
  position: absolute;
  top: 100%;
  left: 0;
  overflow: hidden;
  /* opacity: 0;
  visibility: hidden; */
  transition: all 0.9s ease;
}

.h_nav_menu_item:hover .h_nav_menu_child_area {
  /* opacity: 1;
  visibility: visible; */
  max-height: 500px;
}

.h_nav_menu_child_area_inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background-color: #fff;
  padding: 30px 20px 35px;
}

.h_nav_menu_child {
  max-width: 1051px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 23px;
}

.h_nav_menu_child_area_en .h_nav_menu_child {
  max-width: 1090px;
}

.h_nav_menu_child_title {
  max-width: 130px;
  width: 100%;
  font-size: 1.6rem;
  color: var(--main-color);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.h_nav_menu_child_area_en .h_nav_menu_child_title {
  max-width: 200px;
}

.h_nav_menu_child02 .h_nav_menu_child_title {
  color: #56277C;
}

.h_nav_menu_child_list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.h_nav_menu_child01 .h_nav_menu_child_item {
  max-width: 282px;
  width: calc((100% - 52px) / 3);
}

.h_nav_menu_child02 .h_nav_menu_child_item {
  min-width: 282px;
  width: 100%;
}

.h_nav_menu_child_item a {
  display: block;
  text-decoration: none;
}

.h_nav_menu_child_item a:hover {
  opacity: 0.6;
}

.h_nav_menu_child_item_img {
  width: 100%;
  min-height: 45px;
  background: #EDF5F9;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.h_nav_menu_child_item_text {
  color: #141414;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
  padding-left: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.h_nav_menu_child_item_text::before {
  content: '';
  width: 8px;
  aspect-ratio: 1;
  border-style: solid;
  border-color: #7A7A7A;
  border-width: 0 0 1px 1px;
  position: absolute;
  top: 7px;
  left: 0;
  rotate: 225deg;
}

.h_nav_contact {
  max-width: clamp(150px, 14vw, 192px);
  width: 100%;
}

.h_nav_contact a {
  display: block;
  min-height: 76px;
  color: #fff;
  font-size: clamp(1.4rem, 1.3vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  background: linear-gradient(90deg, #335AE1 3.94%, #0034D7 99.85%);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 0;
}

.h_nav_contact a:hover {
  text-decoration: none;
  color: #0337D8;
  background: transparent;
}

.h_nav_contact a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s;
}

.h_nav_contact a:hover::before {
  opacity: 1;
}

.h_nav_contact_icon {
  display: block;
  width: 18px;
  aspect-ratio: 18/13;
  background: #fff;
  mask-image: url(../img/common/mail_icon.svg);
  -webkit-mask-image: url(../img/common/mail_icon.svg);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  transition: all 0.3s ease;
}

.h_nav_contact a:hover .h_nav_contact_icon {
  background: #0337D8;
}

.sp_menu {
  display: none;
}

@media (max-width: 1024px) {
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    top: 10px;
  }

  .h_logo_area {
    max-width: 140px;
  }

  .h_logo_area a:hover {
    text-decoration: none;
  }

  .h_logo_img {
    width: 60px;
  }

  .h_logo_text {
    font-size: 1.2rem;
  }

  .h_nav_area,
  .h_nav_contact {
    display: none;
  }

  .sp_menu {
    display: block;
    overflow: hidden;
  }

  .h_logo_area,
  .sp_menu_trigger {
    position: relative;
    z-index: 10;
  }

  .sp_menu_trigger {
    width: 30px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .sp_menu_trigger_line {
    display: block;
    width: 16px;
    aspect-ratio: 16/19;
    background: url(../img/common/hum_icon.svg) no-repeat center center / contain;
    transition: all 0.3s ease;
  }

  .sp_menu_content_header {
    position: fixed;
    top: calc(-100svh - 10px);
    right: 0;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    height: 100svh;
    background-color: #fff;
    padding: 100px 20px 60px 20px;
    box-sizing: border-box;
    z-index: 5;
    transition: top 0.6s ease;
    overflow: hidden;
  }

  .sp_menu_content_header.is-open {
    top: -10px;
    overflow: scroll;
  }

  .sp_menu_trigger.is-change .sp_menu_trigger_line {
    width: 14px;
    aspect-ratio: 1;
    background: url(../img/common/hum_icon_close.svg) no-repeat center center / contain;
  }

  .header.is-fixed::after {
    content: "";
    width: 100%;
    height: calc(100% + 10px);
    position: absolute;
    top: -10px;
    background: #fff;
    z-index: 9;
  }
}

@media (max-width: 767px) {
  .header {
    padding: calc(10 / 400 * 100vw) calc(10 / 400 * 100vw);
    top: calc(10 / 400 * 100vw);
  }

  .h_logo_area {
    max-width: calc(140 / 400 * 100vw);
  }

  .h_logo_img {
    width: calc(60 / 400 * 100vw);
  }

  .h_logo_img img {
    width: 100%;
  }

  .h_logo_text {
    font-size: calc(12 / 400 * 100vw);
  }

  .sp_menu_trigger {
    width: calc(40 / 400 * 100vw);
  }

  .sp_menu_trigger_line {
    width: calc(24 / 400 * 100vw);
  }

  .sp_menu_content_header {
    top: calc(-100svh - 10px);
    padding: calc(100 / 400 * 100vw) calc(20 / 400 * 100vw) calc(60 / 400 * 100vw) calc(20 / 400 * 100vw);
  }

  .sp_menu_content_header.is-open {
    top: calc(-10 / 400 * 100vw);
  }

  .sp_menu_trigger.is-change .sp_menu_trigger_line {
    width: calc(14 / 400 * 100vw);
  }

  .header.is-fixed::after {
    height: calc(100% + (10 / 400 * 100vw));
    top: calc(-10 / 400 * 100vw);
  }
}


/* ==============================================
SPメニュー
============================================== */

.menu-item > a {
  display: block;
  color: #373737;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid #E8E8E8;
  padding: 20px 23px;
  position: relative;
}

.menu-item > a::after {
  content: '';
  width: 14px;
  aspect-ratio: 1;
  background: #373737;
  mask-image: url('../img/common/arrow_icon_line.svg');
  -webkit-mask-image: url('../img/common/arrow_icon_line.svg');
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
}

.sub-menu {
  width: 100%;
  max-height: 0;
  position: absolute;
  top: 100%;
  left: 0;
  overflow: hidden;
  transition: all 0.9s ease;
}

.sp_nav {
  margin-bottom: 35px;
}

/* SPサブメニュー開閉 */
.menu-item-has-children > .sub-menu {
  position: static;
}

.menu-item-has-children.is-open > .sub-menu {
  max-height: 500px;
}

.menu-item-has-children > a::after {
  width: 18px;
  mask-image: url(../img/common/open_icon.svg);
  -webkit-mask-image: url(../img/common/open_icon.svg);
  transition: all 0.3s ease;
}

.menu-item-has-children.is-open > a::after {
  mask-image: url(../img/common/close_icon.svg);
  -webkit-mask-image: url(../img/common/close_icon.svg);
}

.sub-menu .menu-item > a {
  font-weight: 500;
  padding: 18px 23px 18px 40px;
  background: #F3F7FA;
  border-bottom: none;
}

.sub-menu .menu-item:not(:last-child) > a::before {
  content: '';
  width: calc(100% - 35px);
  height: 1px;
  background: #C9E1FF;
  position: absolute;
  bottom: 0;
  left: 20px;
}
/* SPサブメニュー開閉ここまで */

.h_nav_contact_sp {
  max-width: 338px;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 30px;
}

.h_nav_contact_sp a {
  display: block;
  width: 100%;
  min-height: 76px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  background: #0337D8;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}

.h_nav_contact_sp a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s;
}

.h_nav_contact_sp a:hover::before {
  opacity: 1;
}

.h_nav_contact_icon_sp {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
}

.h_nav_sp_btn {
  max-width: 338px;
  width: 100%;
  margin-inline: auto;
}

.h_nav_recruit_sp {
  margin-bottom: 23px;
}

.h_nav_sp_btn a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 41px;
  font-weight: 700;
  text-align: center;
  border-radius: 100vmax;
  position: relative;
}

.h_nav_recruit_sp a {
  color: #000;
  font-size: 1.5rem;
  background: #F0F3F6;
  padding: 7px 20px;
}

.h_nav_english_sp a {
  color: var(--main-color);
  font-size: 1.7rem;
  background: #fff;
  border: 1px solid #CDCDCD;
}

.h_nav_sp_btn_arrow {
  display: block;
  width: 18px;
  aspect-ratio: 1;
  background: var(--main-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translate(0, -50%);
}

.h_nav_sp_btn_arrow::after {
  content: '';
  width: 8px;
  aspect-ratio: 1;
  background: #fff;
  mask-image: url('../img/common/arrow_icon_line.svg');
  -webkit-mask-image: url('../img/common/arrow_icon_line.svg');
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: calc(50% + 2px);
  transform: translate(-50%, -50%);
}

@media (max-width : 767px) {

  .menu-item > a {
    font-size: calc(16 / 400 * 100vw);
    padding: calc(20 / 400 * 100vw) calc(23 / 400 * 100vw);
  }

  .menu-item > a::after {
    width: calc(14 / 400 * 100vw);
    right: calc(20 / 400 * 100vw);
  }

  .sp_nav {
    margin-bottom: calc(35 / 400 * 100vw);
  }

  /* SPサブメニュー開閉 */

  .menu-item-has-children.is-open > .sub-menu {
    max-height: calc(500 / 400 * 100vw);
  }

  .menu-item-has-children > a::after {
    width: calc(18 / 400 * 100vw);
  }

  .sub-menu .menu-item > a {
    padding: calc(18 / 400 * 100vw) calc(23 / 400 * 100vw) calc(18 / 400 * 100vw) calc(40 / 400 * 100vw);
  }

  .sub-menu .menu-item:not(:last-child) > a::before {
    width: calc(100% - (35 / 400 * 100vw));
    height: calc(1 / 400 * 100vw);
    left: calc(20 / 400 * 100vw);
  }
  /* SPサブメニュー開閉ここまで */

  .h_nav_contact_sp {
    max-width: calc(338 / 400 * 100vw);
    margin-bottom: calc(30 / 400 * 100vw);
  }

  .h_nav_contact_sp a {
    min-height: calc(76 / 400 * 100vw);
    font-size: calc(18 / 400 * 100vw);
    border-radius: calc(5 / 400 * 100vw);
  }

  .h_nav_contact_sp a::before {
    border-radius: calc(5 / 400 * 100vw);
  }

  .h_nav_contact_icon_sp {
    width: calc(18 / 400 * 100vw);
    right: calc(20 / 400 * 100vw);
  }

  .h_nav_sp_btn {
    max-width: calc(338 / 400 * 100vw);
  }

  .h_nav_recruit_sp {
    margin-bottom: calc(23 / 400 * 100vw);
  }

  .h_nav_sp_btn a {
    min-height: calc(41 / 400 * 100vw);
  }

  .h_nav_recruit_sp a {
    font-size: calc(15 / 400 * 100vw);
    padding: calc(7 / 400 * 100vw) calc(20 / 400 * 100vw);
  }

  .h_nav_english_sp a {
    font-size: calc(17 / 400 * 100vw);
  }

  .h_nav_sp_btn_arrow {
    width: calc(18 / 400 * 100vw);
    right: calc(11 / 400 * 100vw);
  }

  .h_nav_sp_btn_arrow::after {
    width: calc(8 / 400 * 100vw);
    left: calc(50% + (2 / 400 * 100vw));
  }
}