/*----------------------------------------------------- */
/*  header           */
/*----------------------------------------------------- */
.header {
  width: 100%;
  height: auto;
  background: #fff;
  /* position: fixed;
  top: 0;
  left: 0;
  z-index: 10; */
}

.header_wrap {
  max-width: 1230px;
  height: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto;
}

.header_wrap.sp {
  display: none;
}

.header_wrap.pc {
  display: flex;
}

.header_logo {
  max-width: 210px;
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 16px;
  margin: 0 0 0 auto;
  gap: 12px;
}

.nav li a {
  display: inline-block;
  transition: .3s;
  -webkit-transform: scale(1);
  transform: scale(1);
  color: #414141;
  width: auto;
  font-size: unset;
  height: auto;
}

.nav li a:hover {
  -webkit-transform: scale(1.1);
  transform: translateY(-5px);
}

.drop_menu {
  transition: all .3s;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  transition: .3s;
  -webkit-transform: scale(1);
  transform: scale(1);
  padding-right: 14px;
}

.drop_menu::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #414141;
  border-left: 2px solid #414141;
  transform: rotate(225deg);
  position: absolute;
  right: 0;
  top: calc(50% - 5px);
  transition: .3s;
}

.drop_menu:hover {
  color: #ff7a21;
}

.drop_menu:hover::before {
  transform: rotate(45deg);
}

.drop_menu a:hover {
  transform: translateY(0);
}

.drop_list_wrap {
  display: none;
}

.drop_menu:hover .drop_list_wrap {
  display: block;
  width: 200%;
  position: absolute;
  top: 100px;
  left: -10px;
  padding: 0;
  background-color: #fff;
  border-radius: 16px;
}

.drop_list {
  margin: 1em 2em;
}

.drop_list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
  position: relative;
  border-bottom: 1px #006CD6 solid;
  padding-bottom: 10px;
}

.header_line,
.header_contact {
  width: 160px;
  height: 44px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: #fff !important;
  background: #05C755;
  margin: 0 0 0 0;
  font-size: 14px;
  line-height: 44px;
  border-radius: 100vh;
  transition: 0.3s ease-in-out;
}

.header_line span {
  padding-left: 27px;
  background: url(../images/ico_line.png) left center no-repeat;
  background-size: 26px;
}

.header_contact {
  background: #F95C0C;
}

.header_line:hover,
.header_contact:hover {
  opacity: 0.7;
}

.header_contact span {
  padding-left: 27px;
  background: url(../images/ico_mail.png) left center no-repeat;
  background-size: 24px;
  font-weight: 500;
}

@media screen and (max-width: 1310px) {
  .header_wrap.pc {
    display: none;
  }

  .header_wrap.sp {
    display: flex;
    height: 60px;
    justify-content: space-between;
    margin: 0 55px 0 20px;
  }

  .header_logo {
    width: 82px;
  }

  .cta_wrap {
    display: flex;
    gap: 6px;
  }

  .header_line,
  .header_contact {
    width: 85px;
    border-radius: 8px;
  }

  .header_line span {
    padding-left: 24px;
    background-size: 22px;
  }

  .header_contact span {
    padding-left: 22px;
    background-size: 20px;
  }
}

/* ハンバーガーメニュー */
.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: #fff;
    padding: 5% 2%;
    width: 100%;
    height: auto;
    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 #006CD6;
    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 #006CD6;
    border-left: 2px solid #006CD6;
    transform: rotate(135deg);
    position: absolute;
    right: 0;
    top: calc(50% - 5px);
  }

  .gnav_cta {}

  .gnav_cta .gnav_cta_inner {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .gnav_cta a {
    width: 100%;
    border-radius: 100vh;
    font-size: 15px;
    font-weight: bold;
  }

  .gnav_cta .gnav_cta_paidy {
    border: 2px solid transparent;
    border-radius: 100vh;
    background-image: linear-gradient(white, white),
      linear-gradient(90deg, #FF019C, #8A38F5);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 10px 0;
    position: relative;
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #FF019C;
  }

  .gnav_cta .gnav_cta_paidy::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 12px;
    border-color: transparent transparent transparent #FF019C;
    position: absolute;
    top: 0;
    right: 40px;
    bottom: 0;
    margin: auto;
  }

  .gnav .method_wrap {
    margin-left: 1em;
    padding: 2px;
  }

  .gnav .method_item {
    padding-top: 16px;
  }

  .gnav .method_item a {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

@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;
  }
}

.floating-banner {
  display: none;
}

@media screen and (max-width:768px) {
  .floating-banner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px 16px;
  }

  .floating-banner>span {
    color: #0166CC;
    text-shadow: rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px, rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279415px 0px;
    font-size: 18px;
    font-weight: bold;
  }

  .floating-banner_cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .floating-banner_cta a {
    width: 100%;
  }

  .floating-banner.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}