@charset "UTF-8";

.header {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.header__label {
  background-image: linear-gradient(91deg, #f44d95, #e88686);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.8px;
  line-height: 1.5;
  padding-left: 5px;
  width: 100%;
}

.header__contents {
  align-items: center;
  background-color: #fff;
  border: solid 0.5px #d6d6d6;
  display: flex;
  justify-content: space-between;
}

.header-logo {
  aspect-ratio: 227/65;
  flex-shrink: 0;
  overflow: hidden;
  width: 181px;
}
.header-logo img {
  -o-object-fit: contain;
     object-fit: contain;
}

.header-menu {
  display: none;
}

.header-menu__item {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
}
.header-menu__item--square {
  border: solid 0.5px rgba(228, 2, 101, 0.2);
  border-radius: 5px;
  color: #e40265;
  padding: 10px 14px;
}
.header-menu__item--square:hover {
  color: #e40265;
}
.header-menu__item:nth-of-type(n + 2) {
  margin-left: 20px;
}
.header-menu__item:nth-of-type(n + 2).header-menu__item--square {
  margin-left: 30px;
}
.header-menu__item:nth-of-type(n + 2).header-menu__item--square + .header-menu__item:nth-of-type(n + 2).header-menu__item--square {
  margin-left: 9px;
}

.header-btn {
  align-items: center;
  aspect-ratio: 1/1;
  background: #e40265;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  justify-content: center;
  transition: opacity 0.3s ease;
  width: 60px;
}
.header-btn:hover {
  opacity: 0.7;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(1) {
  top: 9px;
  transform: rotate(35deg);
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(2) {
  display: none;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(3) {
  top: 9px;
  transform: rotate(-35deg);
}

.header-btn__bar {
  height: 14px;
  position: relative;
  width: 20px;
}

.header-btn__bar-line {
  background: #fff;
  border-radius: 1px;
  height: 2px;
  left: 0;
  position: absolute;
  transition: transform 0.3s ease-in, top 0.3s ease-in;
  width: 20px;
}
.header-btn__bar-line:nth-of-type(1) {
  top: 0;
}
.header-btn__bar-line:nth-of-type(2) {
  top: 7px;
}
.header-btn__bar-line:nth-of-type(3) {
  top: 14px;
}

.header-drawer {
  background-color: #fff;
  height: calc(100vh - 77px);
  max-width: 400px;
  min-width: 275px;
  overflow: auto;
  padding-inline: 40px;
  padding-top: 6vh;
  position: fixed;
  right: 0;
  top: 77px;
  transform: translateX(100%);
  transition: transform 0.6s ease;
  width: 50%;
  z-index: 98;
}
.header-drawer.is-checked {
  transform: translateX(0);
}
.header-drawer .header-link-head__sns {
  gap: 20px;
  justify-content: center;
  margin-top: 22px;
}

.header-drawer__list {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 250px;
  width: 100%;
}

.header-drawer__item {
  border-bottom: 2px solid #ee6b8d;
  font-size: 15px;
  font-weight: 500;
  padding-block: 10px;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .header__label {
    font-size: 10px;
  }
  .header__contents {
    padding-right: 18px;
  }
  .header-logo {
    width: 227px;
  }
  .header-menu {
    align-items: center;
    display: flex;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
    width: 30%;
  }
}

@media (min-width: 1366px) {
  .header-menu__item:nth-of-type(n + 2) {
    margin-left: 40px;
  }
}