@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%;
}
.header__top {
      background-color: #287E55;
    height: clamp(3.75rem, 1.25rem + 3.13vw, 5rem);
}
.header-top__inner {
      padding: 0 clamp(1.25rem, -1.75rem + 6.25vw, 5.75rem);
    height: inherit;
}
.header-top__container {
      display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
}
.header__logo {
  width: clamp(10rem, 2.625rem + 9.22vw, 13.688rem);
}
.header-top__left {
      display: flex;
    column-gap: 24px;
    height: inherit;
}
.header-top-left__phone {
      display: flex;
    align-items: center;
    column-gap: 8px;
        width: 100%;
    justify-content: center;
  transition: .5s
}

.header-phone-a {
      display: flex;
    align-items: center;
}
.header-phone__icon {
  width: 40px;
}
.header-phone__text {
      color: #fff;
    border-bottom: 3px solid #fff;
    font-size: clamp(1.5rem, -0.5rem + 2.5vw, 2.5rem);
}
.header-line__img {
      object-fit: contain;
    height: clamp(3.75rem, 1.25rem + 3.13vw, 5rem);
  transition: .5s
}

.header__bottom {
  height: clamp(3.75rem, 1.25rem + 3.13vw, 5rem);
}
.header-bottom__inner {
      padding: 0 clamp(1.25rem, -1.75rem + 6.25vw, 5.75rem);
    height: inherit;
}
.header-bottom__container {
      display: flex;
    align-items: center;
    justify-content: end;
    height: inherit;
}
.header__items {
      display: flex;
    column-gap: clamp(1rem, -0.667rem + 3.47vw, 3.5rem);
    align-items: center;
    height: inherit;
}
.header__item {
     font-size: clamp(0.875rem, 0.25rem + 0.78vw, 1.188rem);
    font-weight: 700;
    transition: .5s;
    position: relative;
}
.header-item__wrap {
    display: flex;
        height: inherit;
    align-items: center;
    column-gap: 10px;
}
.header-tog__icon {
  width: 7px;
}
.header__toggle {
  position: relative;
      height: 100%;
    display: flex;
    align-items: center;
}
.header-toggle__box {
    display: none;/*デフォルトでは非表示の状態にしておく*/
    position: absolute;
    top: clamp(3.75rem, 1.25rem + 3.13vw, 5rem);
    left: -10px;
  padding: 10px;
}
.header__toggle:hover .header-toggle__box {
    display: block;/*Gナビメニューにホバーしたら表示*/
    width: clamp(13.75rem, 10.417rem + 6.94vw, 18.75rem);
    background-color: #FFFAE6;
    border: 1px solid #861A2A;
    border-radius: 15px;
    
}
.header__item--sub {
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
}
.header-toggle__item,
.header__item--sub {
  cursor: pointer;
     font-size: clamp(0.875rem, 0.25rem + 0.78vw, 1.188rem);
    font-weight: 700;
    transition: .5s;
}

.header__line {
        height: clamp(2rem, 1.667rem + 0.69vw, 2.5rem);
    border-right: 1px solid #861A2A;
}

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

@media (max-width: 767px) {
  .header__top {
        height: 70px;
    background-color: transparent;
  }
  .header-top__inner {
        padding-left: 16px;
    padding-right: 70px;
  }
  .header__logo {
    width: 160px;
  }
  .header-top__left {
        column-gap: 0;
    width: 70px;
    justify-content: center;
    background-color: #9CC1AD;
  }
  .header-phone-a {
    width: 100%;
  }
  .header-phone__text {
    display: none;
  }
  .header-line__img {
    display: none;
  }
  .header__bottom {
    display: none;
  }
  
  .hamBtn {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    cursor: pointer;
    z-index: 9999;
    transition: all .7s;
    color: #fff;
    background-color: #287E55;
    max-width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
  }
  .hamBar {
       position: relative;
    width: 32px;
    height: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .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: 50%;
  }
  .hamBar>div:nth-child(3) {
    top: 100%;
  }
  .hamBar.active>div:nth-child(1) {
    top: 9px;
    transform: rotate(-45deg);
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 9px;
    transform: rotate(45deg);
  }
  
  .sp__menu {
    background-color: #287E55;
    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: 48px 0;
    overflow: scroll;
  }
  .sp-menu__inner {
    padding: 0 50px;
  }
  .sp-menu__container {
        display: flex;
    flex-direction: column;
    row-gap: 40px;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__items {
        display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
  .sp-menu__item {
        padding-bottom: 20px;
    border-bottom: 1px solid #FFFAE6;
    width: 100%;
  }
  .sp-menu__item--main {
    cursor: pointer;
    width: fit-content;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    transition: .5s
  }
  .sp-menu-item-sub__wrap {
    margin-top: 16px;
        display: flex;
    flex-direction: column;
    row-gap: 8px;
  }
  .sp-menu__item--sub {
    cursor: pointer;
    width: fit-content;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    transition: .5s
  }
  .sp-menu__phone {
        display: flex;
    column-gap: 6px;
    align-items: center;
    justify-content: center;
    transition: .5s
  }
  .sp-menu-phone__icon {
    width: 27px;
  }
  .sp-menu-phone__text {
        font-size: 24px;
    font-weight: 700;
    color: #fff;
    border-bottom: 3px solid #fff;
  }
  .sp-menu-line__img {
        width: 142px;
    margin: auto;
    transition: .5s
  }
}
  