 /*----------------------------------------------------- */
/*  header           */
/*----------------------------------------------------- */
.header {
    width: 100%;
    height: 80px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    z-index: 10;
  }
  
  .header_logo {
    max-width: 166px;
    margin-left: 3.5%;
  }
  
  .nav {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 20px;
    margin: 0 0 0 auto;
  }
  .nav li {
    margin: 0 24px 0 0;
  }
  .nav a{
    color: #414141;
    width: auto;
    font-size: unset;
    height: auto;
  }
  
  .header_line,
  .header_contact {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #fff !important;
    background: #65cc26;
    margin: 0 0 0 0;
    font-size: 12px;
  }
  .header_line span {
    line-height: 1.2;
  }
  
  .header_contact {
    line-height: 78px;
    background: #FF7A21;
  }
  .header_contact span {
    padding-left: 30px;
    background: url(../images/ico_mail.png) left center no-repeat;
    background-size: 26px;
    font-weight: 500;
  }
  
  @media screen and (min-width: 1000px) {
    .header_line,
    .header_contact {
      width: 130px;
    }
    .drop_menu{
      transition: all .3s;
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
  }
  .drop_menu:hover{
    color: #ff7a21;
  }
  .drop_menu a:hover{
    transform: translateY(0);
  }
  .drop_list_wrap{
    display: none;
  }
  .drop_menu:hover .drop_list_wrap{
    display: block;
    width: 400%;
    position: absolute;
    top: 65px;
    left: -10px;
    padding: 10px;
    background-color: #fffde8;
    border-radius: 16px;
  }
  .drop_list{
    margin: 2em;
  }
  .drop_list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-decoration: none;
    position: relative;
  }
  .drop_list a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #414141;
    border-left: 2px solid #414141;
    transform: rotate(135deg);
    position: absolute;
    right: 0;
    top: calc(50% - 5px);
  }
  }
  @media screen and (min-width: 768px) {
    .header_contact {
      transition: 0.3s ease-in-out;
    }
    .header_contact:hover {
      opacity: 0.7;
    }
    .nav li a {
      display: inline-block;
    transition: .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
    }
    .nav li a:hover {
      -webkit-transform: scale(1.1);
      transform: translateY(-5px);
    }
  }
  @media screen and (min-width:1300px) {
    .drop_menu:hover .drop_list_wrap{
      padding: 0;
    }
  }
  @media screen and (max-width: 1300px) {
    .header_logo{
      width: 120px;
      margin-left: 2%;
    }
    .nav {
      font-size: 16px;
    }
    .nav li {
      margin: 0 14px 0 0;
    }
    .header_line,
    .header_contact {
      width: 110px;
    }
  }
  @media screen and (max-width: 1000px) {
    .header_logo{
      width: 100%;
    }
    .nav {
      display: none;
    }
    .header_line {
      margin: 0 0 0 auto;
      /* margin-right: 60px; */
    }
    .header_contact{
      margin-right: 60px;
    }
    .header_line,
    .header_contact {
      width: 130px;
    }
  }
  @media screen and (max-width: 767px) {
    .header {
      height: 60px;
    }
    .header_logo {
      max-width: 100px;
      margin-left: 3%;
    }
    .header_line,
    .header_contact {
      width: 100px;
      height: 60px;
      line-height: 58px;
      font-size: 12px;
    }
    .header_contact span {
      padding-left: 25px;
      background: url(../images/ico_mail.png) left center no-repeat;
      background-size: 20px;
    }
  }
  
  @media screen and (max-width:420px) {
    .header_logo{
      max-width: 70px;
    }
    .header_line,
    .header_contact {
      width: 96px;
    }
    .header_contact{
      margin-right: 50px;
    }
  }
  
  /* ハンバーガーメニュー */
  .sp-button{
    display: none;
  }
  .gnav{
    display: none;
  }
  @media screen and (max-width:1000px) {
    .sp-button {
      position: relative;
      display: inline-block;
  }
  
  .hamburger {
      position: absolute;
      z-index: 2;
      top: 30px;
      right: 15px;
      width: 30px;
          height: 24px;
          border: none;
          background-color: transparent;
  }
  
  .hamburger-line {
      position: absolute;
      width: 30px;
      height: 3px;
      background-color: #414141;
      top: 0;
      right: 0;
  }
  
  .hamburger-line1 {
   top: 1px;
   transition: .3s;
  }
  
  .hamburger-line2 {
      top: 10px;
  }
  
  .hamburger-line3 {
      top: 19px;
      transition: .3s;
  }
  
  .g-active .hamburger-line1 {
      top: 10px;
      transform: rotate(-45deg);
  }
  
  .g-active .hamburger-line3 {
      top: 10px;
      transform: rotate(45deg);
  }
  
  .g-active .hamburger-line2 {
      opacity: 0;
  }
  .gnav{
    display: block;
  }
  .gnav ul {
      position: absolute;
      z-index: 1;
      top: 0;
      left: 0;
      flex-direction: column;
      justify-content: center;
      background-color: #fffde8;
      padding: 5% 2%;
      width: 100%;
      height: 40em;
      transform: translateX(-100%);
      transition-duration: 1s;
      overflow-y: scroll;
  }
  
  .g-active .gnav ul {
      transform: translateX(0)
  }
  
  .gnav-li, .gnav_cta {
      margin-left: 8%;
      margin-right: 8%;
      padding: 1.5em 10px;
  }
  .gnav-li{
    border-bottom: 1px solid #cccccc;
    font-weight: bold;
  }
  .gnav-li a{
    position: relative;
    display: inline-block;
    width: 100%;
    color: #414141;
  }
  .gnav-li a::after{
      content: '';
      display: block;
      width: 6px;
      height: 6px;
      border-top: 2px solid #414141;
      border-left: 2px solid #414141;
      transform: rotate(135deg);
      position: absolute;
      right: 0;
      top: calc(50% - 5px);
  }
  .gnav .method_wrap{
    margin-left: 1em;
    padding: 2px;
  }
  .gnav .method_item{
    padding-top: 3vh;
  }
  .gnav .method_item a{
     word-break: keep-all;
     overflow-wrap: break-word;
  }
  /* .gnav_cta{
  display: flex;
  gap: 2%;
  }
  .gnav .gnav_cta a{
  display: flex;
  width: 50%;
  } */
  }
  @media screen and (max-width:768px) {
    .hamburger{
      top: 18px;
    }
    .gnav-li, .gnav_cta {
      padding: 1.5em 2px;
  }
  }
  @media screen and (max-width:420px) {
    .hamburger{
      right: 10px;
    }
  }
  