@charset "utf-8";

/* =========================================================
  header
========================================================= */
.site-header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  color: #fff;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

body:not(.home) .site-header {
  background: #021023;
}

.site-header.is-scrolled {
  background: rgba(2, 13, 34, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 80px), 1360px);
  height: 74px;
  margin: 0 auto;
}

.site-header__logo {
  position: relative;
  z-index: 1003;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
}

.site-header__logo-image {
  display: block;
  width: min(320px, 100%);
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 38px;
}

.site-header__nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-header__nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: calc(100% - 18px);
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s ease;
}

.site-header__nav-arrow {
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.site-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 170px;
  min-height: 43px;
  padding: 10px 18px;
  border: 1px solid #FFD783;
  background-color: #BEA571;
  background-image: linear-gradient(to right, #dfbd69 0%, #dfbd69 100%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0 100%;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header__contact img {
  display: block;
  width: 19px;
  height: 13px;
  flex: 0 0 auto;
}

.site-header__menu-button,
.site-header__drawer {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .site-header__nav-list a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .site-header__nav-list a:hover .site-header__nav-arrow {
    transform: translateX(3px) rotate(45deg);
  }

  .site-header__contact:hover {
    background-size: 100% 100%;
  }
}

/* =========================================================
  tablet / drawer
========================================================= */
@media screen and (max-width: 1180px) {
  .site-header__nav-list {
    gap: 22px;
  }

  .site-header__nav-list a {
    font-size: 12px;
  }

  .site-header__nav {
    gap: 22px;
  }

  .site-header__contact {
    width: 152px;
    font-size: 12px;
  }
}

@media screen and (max-width: 1024px) {
  .site-header {
    background: #021023;
  }

  .site-header.is-scrolled {
    background: #021023;
  }

  .site-header__inner {
    width: calc(100% - 64px);
    height: var(--header-height);
  }

  .site-header__logo-image {
    width: 220px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__menu-button {
    position: relative;
    z-index: 1003;
    display: block;
    width: 44px;
    height: 44px;
    margin-right: -10.5px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header__menu-button span {
    position: absolute;
    right: 10.5px;
    display: block;
    height: 1px;
    margin: 0;
    background: #fff;
    transform-origin: center;
    transition: width 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  }

  .site-header__menu-button span:nth-child(1) {
    top: 14px;
    width: 23px;
  }

  .site-header__menu-button span:nth-child(2) {
    top: 21px;
    width: 16px;
  }

  .site-header__menu-button span:nth-child(3) {
    top: 28px;
    width: 10px;
  }

  body.is-drawer-open .site-header__menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.is-drawer-open .site-header__menu-button span:nth-child(2) {
    opacity: 0;
  }

  body.is-drawer-open .site-header__menu-button span:nth-child(3) {
    width: 23px;
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header__drawer {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .site-header__drawer-inner {
    width: min(420px, 88vw);
    min-height: 100dvh;
    padding: 120px 42px 52px;
    background: var(--color-navy-deep);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.is-drawer-open .site-header__drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.is-drawer-open .site-header__drawer-inner {
    transform: translateX(0);
  }

  .site-header__drawer-label {
    margin-bottom: 34px;
    color: var(--color-gold);
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 0.28em;
  }

  .drawer-nav__list {
    display: grid;
    gap: 22px;
  }

  .drawer-nav__list a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }

  .drawer-nav__list a span {
    color: var(--color-gold);
    font-family: var(--font-en);
    font-size: 12px;
  }

  .drawer-contact {
    margin-top: 44px;
    width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .site-header__inner {
    width: calc(100% - 60px);
    height: var(--header-height);
  }

  .site-header__logo-image {
    width: 182px;
  }

  .site-header__drawer-inner {
    padding: 88px 28px 42px;
  }
}
