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

.header__contents {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  display: flex;
  gap: 3px;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px calc(12 / 375 * 100vw);
}

.header-logo {
  display: block;
  flex-shrink: 0;
  height: 35px;
  width: 44px;
}
.header-logo img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}
.header-logo__link {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  min-width: 0;
}
.header-logo__name {
  color: #1b58cd;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.875rem, 0.7803985873rem + 0.4036326942vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: calc(20 / 18);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-nuv {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-left: auto;
}
.header-nuv__list {
  align-items: center;
  display: none;
  gap: 20px;
}
.header-nuv__item {
  flex-shrink: 0;
}
.header-nuv__item > p {
  color: #505050;
  font-size: clamp(0.75rem, 0.7026992936rem + 0.2018163471vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: calc(23 / 14);
  white-space: nowrap;
}
.header-nuv__cta {
  align-items: center;
  background: linear-gradient(90deg, #0c7eca 0%, #69cce1 50%, #0c7eca 100%);
  background-position: 0% 50%;
  background-size: 200% 100%;
  border-radius: 5px;
  color: #ffffff;
  display: inline-flex;
  flex-shrink: 0;
  gap: 6px;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  transition: background-position 0.4s ease, opacity 0.3s ease;
}
.header-nuv__cta > p {
  display: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: calc(23 / 14);
  white-space: nowrap;
}
.header-nuv__cta-icon {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: 12px;
  justify-content: center;
  width: 16px;
}
.header-nuv__cta-icon img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}

.header-btn {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: opacity 0.3s ease;
  width: 44px;
}
.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: 20px;
  position: relative;
  width: 28px;
}

.header-btn__bar-line {
  background-color: #1b58cd;
  height: 2px;
  left: 0;
  position: absolute;
  transition: transform 0.3s ease-in, top 0.3s ease-in;
  width: 28px;
}
.header-btn__bar-line:nth-of-type(1) {
  top: 0;
}
.header-btn__bar-line:nth-of-type(2) {
  top: 9px;
}
.header-btn__bar-line:nth-of-type(3) {
  top: 18px;
}

.header-drawer {
  background-color: #0f80cb;
  border-radius: 40px 0 0 0;
  height: calc(100vh - 10px - 64px - 10px);
  min-width: 275px;
  overflow: auto;
  padding: 32px 24px;
  position: fixed;
  right: 0;
  top: 84px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  width: min(88vw, 320px);
  z-index: 998;
}
.header-drawer.is-checked {
  transform: translateX(0);
}

.header-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.header-drawer__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  padding: 14px 0;
  text-align: left;
  width: 100%;
}
.header-drawer__item > p {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: calc(22 / 15);
}

.header.is-scroll .header__contents {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 414px) {
  .header-logo__name {
    max-width: none;
    overflow: visible;
  }
  .header-nuv {
    gap: 12px;
  }
  .header-nuv__cta {
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
  }
  .header-nuv__cta > p {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .header {
    padding-inline: 18px;
    padding-top: 30px;
  }
  .header__contents {
    gap: 16px;
    padding: 10px 20px;
  }
  .header-logo {
    height: 43px;
    width: 54px;
  }
  .header-logo__link {
    gap: 12px;
  }
  .header-nuv__cta {
    padding: 12px 24px;
  }
  .header-nuv__cta > p {
    display: block;
  }
  .header-drawer {
    height: calc(100vh - 30px - 64px - 10px);
    top: 104px;
  }
}

@media (min-width: 1024px) {
  .header-nuv__list {
    display: flex;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
  }
}

@media (min-width: 1366px) {
  .header__contents {
    gap: 40px;
    padding: 10px 8px;
  }
  .header-logo__name {
    padding-top: 8px;
  }
  .header-nuv {
    gap: 40px;
  }
  .header-nuv__list {
    gap: 40px;
  }
}

@media (hover: hover) {
  .header-nuv__item:hover {
    opacity: 0.7;
  }
  .header-nuv__cta:hover {
    background-position: 100% 50%;
    color: #ffffff;
    opacity: 1;
  }
  .header-btn:hover {
    opacity: 0.7;
  }
}