@charset "UTF-8";

.header {
  background-color: transparent;
  border-radius: 0 0 10px 10px;
  left: 0;
  position: fixed;
  top: 0;
  transition: background-color 0.3s ease;
  width: 100%;
  z-index: 999;
}
.header.is-scroll {
  background-color: rgba(255, 255, 255, 0.5);
}

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

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

.header-nuv {
  align-items: center;
  display: flex;
  gap: 5px;
  margin-left: auto;
}
.header-nuv__list {
  display: none;
}
.header-nuv__item {
  padding-bottom: 2px;
  position: relative;
  transition: none;
}
.header-nuv__item > p {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: calc(20 / 14);
  white-space: nowrap;
}
.header-nuv__item::after {
  background-color: #333;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: translateY(-4px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 100%;
}
.header-nuv__item:hover {
  opacity: 1;
}
.header-nuv__item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.header-contact {
  align-items: center;
  background-color: #153d68;
  border: 1px solid #153d68;
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  gap: 8px;
  height: 40px;
  justify-content: center;
  width: 140px;
}
.header-contact > p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: calc(23 / 14);
  transition: transform 0.4s ease;
}
.header-contact__icon {
  flex-shrink: 0;
  height: 10px;
  overflow: visible;
  transition: transform 0.4s ease;
  width: 13px;
}
.header-contact__icon img {
  display: block;
  height: 11px;
  max-width: none;
  -o-object-fit: contain;
     object-fit: contain;
  width: 14px;
}
.header-contact:hover {
  opacity: 1;
}
.header-contact:hover > p,
.header-contact:hover .header-contact__icon {
  transform: translateX(3px);
}

.header-btn {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.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: 16px;
  position: relative;
  width: 22px;
}

.header-btn__bar-line {
  background: #153d68;
  height: 1px;
  left: 0;
  position: absolute;
  transition: transform 0.3s ease-in, top 0.3s ease-in;
  width: 22px;
}
.header-btn__bar-line:nth-of-type(1) {
  top: 0;
}
.header-btn__bar-line:nth-of-type(2) {
  top: 8px;
}
.header-btn__bar-line:nth-of-type(3) {
  top: 16px;
}

.header-drawer {
  background-color: #153d68;
  height: calc(100vh - 60px);
  max-width: 320px;
  overflow: auto;
  padding: 40px 24px;
  position: fixed;
  right: 0;
  top: 60px;
  transform: translateX(100%);
  transition: transform 0.6s ease;
  width: 80%;
  z-index: 98;
}
.header-drawer.is-checked {
  transform: translateX(0);
}

.header-drawer__list {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

a.header-drawer__item {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding-block: 12px;
  text-align: center;
  width: 100%;
}

@media (width >= 1024px) {
  .header__contents {
    padding: 23px 20px 10px;
  }
  .header-logo {
    width: 199px;
  }
  .header-nuv {
    gap: 15px;
  }
  .header-nuv__list {
    align-items: center;
    display: flex;
    gap: 15px;
  }
  .header-contact {
    height: 47px;
    width: 160px;
  }
  .header-btn {
    display: none;
  }
  .header-drawer {
    display: none;
  }
}

@media (width >= 1366px) {
  .header-nuv {
    gap: 32px;
  }
  .header-nuv__list {
    gap: 40px;
  }
}