@charset "utf-8";
.header {
  height: 160px;
      position: absolute;
    width: 100%;
}
.header__inner {
      height: inherit;
    padding-left: clamp(1.25rem, -3.893rem + 8.04vw, 5.75rem);
}
.header__container {
      display: flex;
    justify-content: space-between;
    height: inherit;
    column-gap: 20px;
}
.header__items {
    display: flex;
    background-color: #fff;
    border-radius: 49px;
    row-gap: 10px;
    padding: clamp(1rem, 0.286rem + 1.12vw, 1.625rem);
    column-gap: clamp(1.25rem, -3.036rem + 6.7vw, 5rem);
    margin-top: 16px;
    margin-bottom: auto;
}
.header-item__wrap {
      display: flex;
    align-items: center;
    column-gap: clamp(0.375rem, 0.089rem + 0.45vw, 0.625rem);
    cursor: pointer;
}
.header-recruit__box {
  display: none;
  margin-top: 4px;
}
.header__item {
    font-size: clamp(0.75rem, 0.321rem + 0.67vw, 1.125rem);
    white-space: nowrap;
    font-weight: 700;
    transition: .5s;
}
.header__item:hover {
    color: #FF6F00
}
.header__item--sub {
      padding-left: 1.35em;
    padding-top: 2px;
}
.header-item__wrap img {
  width: clamp(0.5rem, 0.78vw, 0.938rem);
}
.header__logo {
      position: relative;
    z-index: 9999;
}
.header__logo img {
  width: 288px;
}

.hamBtn {
        position: fixed;
    right: clamp(2.5rem, 1.929rem + 0.89vw, 3rem);
    top: clamp(21.25rem, 1.464rem + 30.92vw, 38.563rem);
    z-index: 9990;
    width: clamp(5rem, 2.357rem + 4.13vw, 7.313rem);
    height: clamp(5rem, 2.357rem + 4.13vw, 7.313rem);
    flex-direction: column;
    row-gap: 10px;
    background-color: #FFC848;
    border-radius: 50%;
    cursor: pointer;
    transition: all .5s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hamBar {
    width: clamp(2.5rem, 1.571rem + 1.45vw, 3.313rem);
    height: clamp(1.5rem, 0.571rem + 1.45vw, 2.313rem);
    position: relative;
}
.hamBtn p {
  font-size: clamp(0.75rem, 0.607rem + 0.22vw, 0.875rem);
  color: #fff;
  font-weight: 700;
      line-height: 1;
    margin-top: clamp(0.25rem, -0.179rem + 0.67vw, 0.625rem);
}
.hamBar>div {
    position: absolute;
    right: 0;
    width: 100%;
    height: clamp(0.313rem, 0.17rem + 0.22vw, 0.438rem);
    background: #FFF;
    transition: .5s;
}
.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: 14px;
  transform: rotate(-45deg);
}
.hamBar.active>div:nth-child(2) {
  opacity: 0;
}
.hamBar.active>div:nth-child(3) {
  top: 14px;
  transform: rotate(45deg);
}

.sp__menu {
      position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    height: 100svh;
    transition: .5s;
    width: 501px;
    visibility: hidden;
    z-index: 9000;
    display: flex;
    background-color: #FFFBE4;
}
.sp__menu.active {
  transform: translateX(0%);
  visibility: visible;
  pointer-events: auto;
}
.sp-menu__items {
      width: 100%;
    padding-left: 68px;
    padding-top: 80px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    row-gap: clamp(1.875rem, -0.911rem + 4.35vw, 4.313rem);
    overflow: scroll;
}
.sp-menu__item {
  font-size: clamp(1rem, 0.714rem + 0.45vw, 1.25rem);
  font-weight: 700;
  transition: .5s;
}
.sp-menu__item:hover {
  color: #FF6F00;
}

@media (max-width: 1023px) {
  .header {
    height: clamp(9.438rem, 8.321rem + 4.58vw, 11.25rem);
    background-image: url(https://gokigenjuku.jp/system_panel/uploads/images/top-header-bg-sp.png);
    background-size: cover;
    background-position: center;
  }
  .header__items {
    display: none;
  }
  .header__logo {
        width: 100%;
    display: flex;
    justify-content: end;
  }
  .header__logo img {
    width: clamp(10.688rem, 4.933rem + 23.61vw, 16.25rem);
  }
}

@media (max-width: 767px) {
  .hamBtn {
    display: none;
  }
  .sp__menu {
    width: 100%;
  }
  .sp-menu__items {
        width: 100%;
    align-items: center;
    padding-left: 0;
    row-gap: 20px;
  }
  .sp-menu__item {
    font-size: 20px;
  }
}