.header {
  max-width: 88.89%;
  width: 100%;
  margin-inline: auto;
  position: fixed;
  margin: auto;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 1rem 2.75rem;
  background: var(--default-color);
  box-shadow: 1px 2px 10px rgba(151, 151, 151, 0.25);
  border-radius: 20px;
}
.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_inner h1 {
  max-width: 12%;
  width: 100%;
}
.header_logo {
  display: block;
}
.header_hamburger {
  display: none;
}
.header_nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
.header_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.header_item-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  color: transparent;
  text-shadow: 0 -1em 0 var(--primary-black-color),
    0 0 0 var(--primary-black-color);
  transition: text-shadow 0.4s;
}
.header_item-link:hover {
  text-shadow: 0 0 0 var(--primary-black-color),
    0 1em 0 var(--primary-black-color);
}
.header_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.sp_nav {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .header {
    padding: 16px 24px;
  }
  .header_inner h1 {
    max-width: 30%;
    width: 100%;
  }
  .header_nav {
    display: none;
  }
  .header_hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 20px;
    height: 20px;
  }
  .header_hamburger-line:nth-child(1) {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-black-color);
    transition: all 0.3s ease;
  }
  .header_hamburger-line:nth-child(2) {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-black-color);
    transition: all 0.3s ease;
  }
  .header_hamburger-line:nth-child(3) {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-black-color);
    transition: all 0.3s ease;
  }
  .header_hamburger-line.active:nth-child(1) {
    transform: translateY(3.2px) rotate(45deg);
  }
  .header_hamburger-line.active:nth-child(2) {
    display: none;
  }
  .header_hamburger-line.active:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }
  .sp_nav.active {
    max-height: 70vh;
    opacity: 1;
    margin-top: 40px;
  }
  .sp_nav-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .sp_nav-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
  }
}
