@charset "UTF-8";

/* ==========================================
   Header Styles
   ========================================== */
.header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.header.is-scroll a.header-nav__item {
  color: #022247;
}

/* Logo Section */
.header-logo {
  left: 0;
  padding-left: 10px;
  padding-top: 10px;
  position: fixed;
  top: 0;
  z-index: 99;
}
.header-logo__link {
  aspect-ratio: 64/58;
  display: block;
  width: 64px;
}
.header-logo__link img {
  -o-object-fit: contain;
     object-fit: contain;
}

.header__contents {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-left: auto;
  padding-right: 10px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99;
}

/* Navigation */
.header-nav {
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.2);
  display: none;
  padding-block: 28px;
  padding-inline: 40px;
}
.header-nav__list {
  align-items: center;
  display: flex;
  gap: 40px;
}
.header-nav__item {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
}

a.header-nav__item {
  transition: color 0.3s ease;
}

.js .header-nav__item {
  color: #fff;
}

/* Contact Button */
.header-contact {
  align-items: center;
  aspect-ratio: 140/120;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 13px;
  justify-content: center;
  min-width: 68px;
  padding: 20px;
  position: relative;
}
.header-contact::before, .header-contact::after {
  content: "";
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.3s ease;
  width: 100%;
  z-index: 1;
}
.header-contact::before {
  background: linear-gradient(90deg, #0d2047 2.5%, #2e62b6 100%);
  opacity: 1;
}
.header-contact::after {
  background: linear-gradient(180deg, #0d2047 2.5%, #2e62b6 100%);
  opacity: 0;
}
.header-contact:hover {
  opacity: 1;
}
.header-contact:hover::before {
  opacity: 0;
}
.header-contact:hover::after {
  opacity: 1;
}
.header-contact img {
  flex-shrink: 0;
  height: 15px;
  -o-object-fit: contain;
     object-fit: contain;
  position: relative;
  width: 20px;
  z-index: 2;
}
.header-contact p {
  color: #fff;
  display: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 2;
}

/* Mobile Menu Button */
.header-menu {
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: clamp(0.25rem, 0.2026992936rem + 0.2018163471vw, 0.375rem);
  height: clamp(2.1875rem, 1.9509964682rem + 1.0090817356vw, 2.8125rem);
  justify-content: center;
  padding: 0;
  transition: opacity 0.3s ease;
  width: clamp(2.1875rem, 1.9509964682rem + 1.0090817356vw, 2.8125rem);
}
.header-menu:hover {
  opacity: 0.7;
}
.header-menu__bar {
  background-color: #B49465;
  border-radius: 1px;
  height: 2px;
  transition: all 0.3s ease;
  width: 100%;
}
.header-menu.is-open .header-menu__bar:nth-child(1) {
  transform: translateY(calc(clamp(0.25rem, 0.2026992936rem + 0.2018163471vw, 0.375rem) + 2px)) rotate(45deg);
}
.header-menu.is-open .header-menu__bar:nth-child(2) {
  opacity: 0;
}
.header-menu.is-open .header-menu__bar:nth-child(3) {
  transform: translateY(calc(-1 * (clamp(0.25rem, 0.2026992936rem + 0.2018163471vw, 0.375rem) + 2px))) rotate(-45deg);
}

/* Mobile Menu Drawer */
.header-drawer {
  background-color: #fff;
  height: 100svh;
  min-width: 275px;
  overflow: auto;
  padding-inline: 40px;
  padding-top: 100px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.6s ease;
  width: 50%;
  z-index: 98;
}
.header-drawer.is-checked {
  transform: translateX(0);
}

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

a.header-drawer__item {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 500;
  gap: 2px;
  justify-content: center;
  padding-block: 15px;
  text-align: center;
  width: 100%;
}

.header-drawer__item > p {
  font-weight: 600;
  letter-spacing: 0.03em;
}
.header-drawer__item img {
  aspect-ratio: 1/1;
  -o-object-fit: contain;
     object-fit: contain;
  width: 12px;
}
@media (min-width: 768px) {
  .header-logo {
    padding-left: 26px;
    padding-top: 9px;
  }
  .header-contact {
    padding: 10px;
  }
  .header-contact p {
    display: block;
  }
  .header-drawer {
    padding-top: 155px;
  }
}
@media (min-width: 1024px) {
  .header__contents {
    align-items: flex-start;
    gap: 0;
    padding-right: 0;
    position: absolute;
  }
  .header-nav {
    display: block;
    padding-inline: 62px 180px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99;
  }
  .header-contact {
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    width: 140px;
    z-index: 99;
  }
  .header-menu {
    display: none;
  }
  .header-drawer {
    display: none;
    width: 30%;
  }
}