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

.header__contents {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

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

.header-list {
  background-color: #fff;
  border-radius: 5px;
  display: none;
  padding: 10px 26px;
}
.header-list__item > p {
  font-size: 14px;
  font-weight: 500;
  line-height: calc(21 / 14);
}

.header-nuv {
  align-items: center;
  display: flex;
  gap: 10px;
}

a.header-nuv__bnr {
  align-items: center;
  background-color: #333;
  border: solid 1px #888;
  border-radius: 5px;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
  line-height: calc(21 / 14);
  padding: 10px 15px;
}
a.header-nuv__bnr p {
  display: none;
}

.header-nuv__img {
  flex-shrink: 0;
  overflow: hidden;
  width: 12px;
}
.header-nuv__img img {
  -o-object-fit: contain;
     object-fit: contain;
}

.header-btn {
  background-color: #fff;
  border: solid 1px #333333;
  border-radius: 50%;
  cursor: pointer;
  display: block;
  flex-shrink: 0;
  height: 40px;
  overflow: hidden;
  transition: opacity 0.3s ease;
  width: 40px;
}
.header-btn:hover {
  opacity: 0.7;
}
.header-btn.is-open .header-btn__bar-line:nth-of-type(1) {
  top: 50%;
  transform: translate(-50%, -50%) 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: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
}

.header-btn__bar {
  height: 100%;
  position: relative;
  width: 100%;
}

.header-btn__bar-line {
  background: #333333;
  height: 1px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease-in, top 0.3s ease-in;
  width: 10px;
}
.header-btn__bar-line:nth-of-type(1) {
  top: calc(50% - 6px);
}
.header-btn__bar-line:nth-of-type(3) {
  top: calc(50% + 6px);
}

.header-drawer {
  background-color: #333333;
  color: #fff;
  height: 100vh;
  min-width: 275px;
  overflow: auto;
  padding-inline: 40px;
  padding-top: 140px;
  position: fixed;
  right: 0;
  top: 0px;
  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 {
  font-size: 15px;
  font-weight: 500;
  padding-block: 15px;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  a.header-nuv__bnr p {
    display: block;
  }
}

@media (min-width: 1024px) {
  .header {
    padding-inline: 30px 20px;
  }
  .header-list {
    align-items: center;
    display: flex;
    gap: 15px;
  }
  a.header-nuv__bnr {
    padding: 10px 26px;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    width: 30%;
  }
}

@media (min-width: 1366px) {
  .header-list {
    gap: 28px;
    margin-right: 35px;
  }
}