header{
  background: rgba(255, 255, 255, 1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.header_wrap{
  display: flex;
  width: 100%;
  padding: 0 6.4rem;
  height: 120px;
  margin: 0 auto;
  align-items: center;
}

.header_hamburger,
.header_sp{
  display: none;
}

.header_jost{
  font-family: "Jost",sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #333;
}

.header_item a{
  padding-bottom: 0px;
  position: relative;
  margin-left: 16px;
}

.header_item a::before{
  background-color: #999;
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.header_item a:hover::before{
  transform-origin: left top;
  transform: scale(1, 1);
}

.header_plus::after{
  content: "+";
  font-size: 14px;
  position: absolute;
  top: 0;
  padding-left: 2px;
  color: #999;
  pointer-events: none;
}

.header_img{
  max-width: 240px;
}

.header_img img{
  vertical-align: middle;
  margin: auto 0;
}

.header_link{
  margin-left: auto;
  width: 520px;
  position: relative;
}

.header_recruit_btn a{
  padding: 4px 56px;
  border: solid 1px #666;
  transition: opacity 0.3s ease;
  margin-left: 16px;
}

.header_recruit_btn{
  display: block;
  width: auto;
  height: auto;
  text-align: right;
  margin-bottom: 16px;
}

.header_recruit_btn a:hover{
  opacity: 0.6;
}

.header_list{
  display: flex;
  gap: 30px;
  list-style: none;
  justify-content: flex-end;
  align-items: flex-start;
  width: 520px;
}

.header_above{
  display: flex;
  margin-left: auto;
  gap: 30px;
  list-style: none;
  justify-content: flex-end;
  align-items: center;
  width: 450px;
  margin-bottom: 16px;
}

.header_item{
  position: relative;
  display: flex;
  flex-direction: column;
}

.header_item.yugo{
  font-family:  "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  color: #333;
}

/*--- hoverで出てくるパネル ---*/

.header_dropdown{
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 606px;
  background: transparent;
}

.header_dropdown.active {
  display: block;
}

.header_dropdown_panel{
  display: none;
}

.header_dropdown_panel.active{
  display: block;
}

.header_dropdown_panel_inner{
  position: relative;
  margin-left: auto;
  margin-right: 0;
  padding: 40px 56px 40px 40px;
  background-color: #fff;
}

.dropdown_left{
  position: absolute;
  width: 240px;
  margin-right: 160px;
  transition: left 0.25s ease;
}

.dropdown_en{
  font-size: 32px;
}

.dropdown_ja{
  font-size: 12px;
}

.dropdown_right{
  padding-left: 80px;
  border-left: solid #999 1px;
  padding-bottom: 24px;
  margin-left: 200px;
}

.dropdown_links{
  position: relative;
  top: 16px;
  font-size: 15px;
}

.dropdown_links li{
  margin-bottom: 16px;
  transition: opacity 0.3s ease;
}

.dropdown_links li:hover{
  opacity: 0.6;
}

.header_indent{
  padding-left: 16px;
}

.header_indent::before{
  content: "-";
  margin-right: 8px;
}






/*---------------------------
  HEADER RECRUIT
---------------------------*/
.header_recruit{
  width: 600px;
}

.header_recruit ul li.header_item a{
  margin-left: 0;
}

.header_img_recruit{
  max-width: 240px;
}

.header_img_recruit img{
  vertical-align: middle;
  margin: auto 0;
}

.header_img_recruit a p{
  font-size: 14px;
  padding-top: 2px;
  padding-left: 10px;
  text-align: center;
}

.header_recruit .header_recruit_btn{
  width: 600px;
}

.header_recruit ul{
  width: 600px;
}





/*---------------------------- SP ----------------------------*/

@media (max-width: 899px){
  header{
    background: rgba(255, 255, 255, 1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
  }

  .header_wrap{
    display: flex;
    width: 90%;
    height: 64px;
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    padding: 0;
  }
  
  .header_link{
    display: none;
  }

  .header_img{
    max-width: 160px;
  }
  
  .header_img img{
    vertical-align: left;
  }

  .header_img_recruit{
    max-width: 160px;
    margin-top: 8px;
  }
  
  .header_img_recruit img{
    vertical-align: left;
  }

  .header_hamburger {
    display: block;
    position: fixed;
    top: 12px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 900;
  }

  .header_hamburger span {
    display: block;
    height: 1px;
    width: 100%;
    background-color: #333;
    margin: 8px 0;
    transition: 0.4s;
  }

  .header_sp{
    padding: 0 40px;
    position: fixed;
    top: -100%;
    right: 0;
    width: 100%;
    height: 100vh;
    background:#fff;
    transition: top 0.3s ease;
    z-index: 100;
    box-sizing: border-box;
  }

  .header_sp.open {
    display: block;
    top: 64px;
  }

  .header_before::before{
    content: "-";
    padding: 0 4px;
    margin-left: 8px;
  }

  .header_sp ul{
    margin: 16px 24px;
  }

  .header_sp ul li.jost{
    font-size: 20px;
    margin: 14px 0;
  }

  .header_sp ul li.yugo{
    font-size: 16px;
    margin-bottom: 10px;
  }

  .header_entry_sp{
    font-size: 20px;
    margin: 24px;
  }

  /* バツ印に変わるハンバーガーボタン */
  .header_hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .header_hamburger.active span:nth-child(2) {
    opacity: 0; /* 真ん中の線を透明にする */
  }

  .header_hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}
