@charset "utf-8";
/* ======================
header
====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding-top: clamp(1rem, 0.429rem + 0.893vw, 1.5rem);
  padding-bottom: clamp(1rem, 0.429rem + 0.893vw, 1.5rem);
}
.header__inner {
  padding-inline: clamp(0.625rem, -5.518rem + 9.598vw, 6rem);
}
.header__container {
  display: flex;
  align-items: center;
  gap: clamp(0.375rem, 0.232rem + 0.223vw, 0.5rem);
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: clamp(3rem, 1.857rem + 1.786vw, 4rem);
  padding: 0 clamp(1rem, -0.714rem + 2.68vw, 2.5rem);
  background-color: #fff;
  border-radius: clamp(0.9375rem, 0.58rem + 0.558vw, 1.25rem);
  box-shadow: 0 8px 16px rgba(34, 34, 34, 0.16);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.464rem + 0.446vw, 1rem);
}
.header-logo__icon {
  width: clamp(1.5rem, 0.929rem + 0.893vw, 2rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.header-logo__text {
  font-size: clamp(0.875rem, 0.589rem + 0.446vw, 1.125rem);
  font-weight: 700;
  line-height: 1;
  color: #222;
}
.header__items {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.393rem + 1.339vw, 2rem);
}
.header__item {
  font-size: clamp(0.75rem, 0.536rem + 0.335vw, 0.9375rem);
  font-weight: 400;
  line-height: 1;
  color: #222;
  white-space: nowrap;
  transition: all 0.5s;
}
.header__items a:hover .header__item {
  color: #fd7426;
  text-shadow: 0.02em 0 currentColor, -0.02em 0 currentColor;
}
.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.375rem, 0.232rem + 0.223vw, 0.5rem);
  height: clamp(3rem, 1.857rem + 1.786vw, 4rem);
  border-radius: clamp(0.9375rem, 0.58rem + 0.558vw, 1.25rem);
  box-shadow: 0 8px 16px rgba(34, 34, 34, 0.16);
}
.header__btn--recruit {
  width: clamp(8.625rem, 5.339rem + 5.134vw, 11.5rem);
  background-color: #fd7426;
}
.header__btn--contact {
  width: clamp(11.625rem, 7.196rem + 6.92vw, 15.5rem);
  background-color: #222;
}
.header-btn__icon {
  width: clamp(1.0625rem, 0.634rem + 0.67vw, 1.4375rem);
  height: auto;
}
.header-btn__text {
  font-size: clamp(0.75rem, 0.464rem + 0.446vw, 1rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

@keyframes hover-bounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}
a:hover .header__btn,
a:hover .sp-menu__btn {
  animation: hover-bounce 0.5s ease 1;
}

/* ======================
hamburger
====================== */
.hamBtn {
  display: none;
}
.sp__menu {
  display: none;
}

@media (max-width: 1023px) {
  .header {
    z-index: 9996;
    padding: 15px 0 0;
  }
  .header.active,
  body:has(.sp__menu.active) .header {
    background-color: transparent;
  }
  .header__inner {
    padding-inline: 10px;
  }
  .header__container {
    gap: 0;
  }
  .header__content {
    height: 40px;
    padding: 0 9px;
    border-radius: 10px;
  }
  .header.active .header__content,
  body:has(.sp__menu.active) .header__content {
    background-color: transparent;
    box-shadow: none;
  }
  .header.active .header__content > a {
    position: relative;
    z-index: 9997;
  }
  .header__logo {
    gap: 4px;
  }
  .header-logo__icon {
    width: 22px;
  }
  .header-logo__text {
    font-size: 14px;
  }
  .header__items,
  .header__container > a {
    display: none;
  }

  .hamBtn {
    position: fixed;
    top: 15px;
    right: 10px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.7s;
  }
  .hamBar {
    position: relative;
    width: 4px;
    height: 20px;
  }
  .hamBar > div {
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #222;
    transition: 0.7s;
  }
  .hamBar > div:nth-child(1) {
    top: 0;
  }
  .hamBar > div:nth-child(2) {
    top: 8px;
  }
  .hamBar > div:nth-child(3) {
    top: 16px;
  }
  .hamBar.active > div:nth-child(1) {
    top: 8.5px;
    left: -5px;
    width: 14px;
    height: 3px;
    border-radius: 0;
    transform: rotate(45deg);
  }
  .hamBar.active > div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active > div:nth-child(3) {
    top: 8.5px;
    left: -5px;
    width: 14px;
    height: 3px;
    border-radius: 0;
    transform: rotate(-45deg);
  }

  .sp__menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9995;
    display: block;
    width: 100%;
    height: 100svh;
    padding: 15px 10px 44px;
    overflow: hidden;
    background-color: transparent;
    visibility: hidden;
    transform: translateX(100%);
    transition: 0.5s;
  }
  .sp__menu.active {
    visibility: visible;
    transform: translateX(0);
  }
  .sp-menu__inner {
    width: 100%;
    height: 100%;
    overflow: scroll;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(34, 34, 34, 0.16);
  }
  .sp-menu__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100%;
    padding: 115px 16px 40px;
  }
  .sp-menu__items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
  }
  .sp-menu__item {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.1;
    color: #1a1a1a;
    text-align: center;
    transition: all 0.5s;
  }
  .sp-menu__items a:hover .sp-menu__item {
    color: #fd7426;
    text-shadow: 0.02em 0 currentColor, -0.02em 0 currentColor;
  }
  .sp-menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 248px;
    height: 64px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(34, 34, 34, 0.16);
  }
  .sp-menu__btn--recruit {
    background-color: #fd7426;
  }
  .sp-menu__btn--contact {
    background-color: #222;
  }
  .sp-menu__container > a + a {
    margin-top: 4px;
  }
  .sp-menu-btn__icon {
    width: 23px;
    height: auto;
  }
  .sp-menu-btn__text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
  }
  .sp-menu__sns {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
  }
  .sp-menu__facebook,
  .sp-menu__insta {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
}
