@charset "utf-8";
.header.UpMove{
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
.header.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  position: fixed;
    z-index: 9990;
  width: 100%;
  height: clamp(5rem, 3.25rem + 3.65vw, 7.625rem);
}
.header.is-scroll {
  background: linear-gradient(rgba(156,192,218), rgba(156,192,218,0.87), rgba(156,192,218,0), rgba(156,192,218,0));
}
.header__inner {
      padding: 0 clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
    height: inherit;
    padding-top: 12px;
}
.header__container {
      display: flex;
    column-gap: 20px;
    justify-content: space-between;
    height: inherit;
}
.header__logo {
      width: clamp(3.75rem, 2.25rem + 3.13vw, 6rem);
    height: 100%;
    aspect-ratio: 96/110;
    object-fit: contain;
}
.header__right {
    display: flex;
    align-items: center;
    column-gap: 24px;
    height: fit-content;
}
.header__items {
      display: flex;
    column-gap: 27px;
}

.header__toggle {
  position: relative;
    height: 30px;
    display: flex;
    align-items: center;
}
.header-item__wrap {
  height: 30px;
}
.header-toggle__box {
    display: none;/*デフォルトでは非表示の状態にしておく*/
    position: absolute;
    top: 30px;
    left: -10px;
  padding: 10px;
  padding-left: 24px;
}
.header__toggle:hover .header-toggle__box {
        display: block;
    width: clamp(13.75rem, 10.417rem + 6.94vw, 18.75rem);
    background-color: #FAFBFF;
    box-shadow: 5px 4px 6px rgba(0,0,0,0.18);   
}
.header-toggle__item {
      display: flex;
    align-items: center;
    column-gap: 10px;
    transition: .5s;
    cursor: pointer;
    height: 30px;
}
.header-toggle-item__img {
      height: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
    object-fit: contain;
}
.header-toggle-item__text {
      font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
    font-weight: 500;
    white-space: nowrap;
    color: #000F1A;
  transition: .5s;
}
.header-arrow__icon {
      width: 16px;
    height: 8px;
    border: 0;
    border-bottom: solid 1px #000F1A;
    border-right: solid 1px #000F1A;
    transform: rotate(45deg);
  transition: .5s;
}
.header__item--sub {
      font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
    font-weight: 500;
    cursor: pointer;
    transition: .5s;
    padding: 10px 0;
    white-space: nowrap;
    transition: .5s;
  color: #000F1A;
}

.header__line {
        transform: rotate(20deg);
    border-right: 1px solid #055391;
    height: clamp(1.75rem, 1.5rem + 0.52vw, 2.125rem);
}

.header-contact__btn {
      width: clamp(10rem, 8.333rem + 3.47vw, 12.5rem);
    height: clamp(2.5rem, 2.167rem + 0.69vw, 3rem);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    background-color: #055391;
    border-radius: 21px;
    color: #fff;
    font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
  transition: .5s;
}

.header-hover:hover {
  opacity: 1;
}
.header-hover:hover .header-toggle-item__text {
  color: #055391;
}
.header-hover:hover .header-arrow__icon {
  border-bottom: solid 1px #055391;
    border-right: solid 1px #055391;
}
.header-hover--contact:hover {
  opacity: 1;
}
.header-hover--contact:hover .header-contact__btn {
  background-color: #F9BF45;
}

.sp__menu {
  display: none;
}
.hamBtn {
  display: none;
}

@media (max-width: 767px) {
  .header__inner {
    padding-top: 0;
  }
  .header__logo {
    width: 50px;
  }
  .header__right {
    display: none;
  }
  
    .hamBtn {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    cursor: pointer;
    z-index: 9999;
    transition: all .7s;
    color: #FAFBFF;
    background-color: #055391;
    max-width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
  }
  .hamBar {
       position: relative;
    width: 41px;
    height: 31px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hamBar p {
        position: absolute;
    top: 60%;
    font-family: "Open Sans", sans-serif;
        font-size: 14px;
    letter-spacing: 0.02em;
  }
  .hamBar > div {
        position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: .7s;
  }
  .hamBar>div:nth-child(1) {
    top: 0; 
  }
  .hamBar>div:nth-child(2) {
    top: 45%;
  }
  .hamBar.active>div:nth-child(1) {
    top: 9px;
    transform: rotate(-25deg);
  }
  .hamBar.active>div:nth-child(2) {
    top: 9px;
    transform: rotate(25deg);
  }
  
  .sp__menu {
    background-color: #055391;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100svh;
    transition: .5s;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    visibility: hidden;
    padding: 80px 0;
    overflow: scroll;
  }
  .sp-menu__inner {
    padding: 0 50px;
  }
  .sp-menu__container {
        display: flex;
    flex-direction: column;
    row-gap: 56px;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__items {
        display: flex;
    flex-direction: column;
    row-gap: 40px;
  }
  .sp__box {
        display: flex;
    flex-direction: column;
    row-gap: 16px;
  }
  .sp__item {
        font-size: clamp(1rem, 0.871rem + 0.53vw, 1.125rem);
    font-weight: 500;
    color: #FAFBFF;
  }
  .sp-item__content {
        display: flex;
    flex-direction: column;
    row-gap: 8px;
  }
  .sp-item__sub {
    font-weight: 400;
    color: #FAFBFF;
  }
  .sp__contact {
        width: clamp(10rem, 8.333rem + 3.47vw, 12.5rem);
    height: clamp(2.5rem, 2.167rem + 0.69vw, 3rem);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    background-color: #F9BF45;
    border: 1px solid #F9BF45;
    border-radius: 21px;
    color: #fff;
    font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
    transition: .5s;
  }
  .sp-contact-hover:hover {
    opacity: 1;
  }
  .sp__contact:hover {
        background-color: #FAFBFF;
    color: #F9BF45;
  }
}