@charset "utf-8";

.p-header {
  width: 100%;
  position: fixed;
  top: 20px;
  z-index: 10;
  height: 64px;

  @media (width < 768px) {
    height: auto;
  }
}

.p-header__inner {
  width: 100%;
  height: 100%;
  padding: 0 25px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;

  @media (width < 768px) {
    padding: 0 20px;
  }
}

.p-header__logo {
  display: block;
  width: 118px;
  aspect-ratio: 118/120;
  flex-shrink: 0;

  @media (width < 1120px) {
    width: 80px;
  }

  @media (width < 768px) {
    width: 60px;
  }

  img {
    object-fit: contain;
  }
}

.p-header__nav {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;

  @media (width < 768px) {
    display: none;
  }
}

.p-header__container {
  background: #fff;
  border-radius: 50px;
  height: 45px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;

  @media (width < 1120px) {
    padding: 0 20px;
    gap: 20px;
  }
}

.p-header__link a,
.p-drawer__link a {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.7;
}

.p-header__link a {
  @media (width < 1120px) {
    font-size: 12px;
  }
}

.p-header__link a:hover,
.p-drawer__link a:hover {
  opacity: 0.4;
}

.p-header__interview,
.p-drawer__interview {
  background: linear-gradient(90deg, #fc883c 0%, #ffb437 100%);
  width: 140px;
  height: 45px;
}

.p-header__contact,
.p-drawer__contact {
  background: linear-gradient(90deg, #16928d 0%, #81d2c5 100%);
  width: 140px;
  height: 45px;
}

.p-header__interview,
.p-header__contact {
  @media (width < 1120px) {
    width: 120px;
    font-size: 12px;
  }
}

.p-header__interview:hover,
.p-drawer__interview:hover,
.p-header__contact:hover,
.p-drawer__contact:hover {
  opacity: 0.7;
}

.p-header-icon {
  border-radius: 5px;
  background: #fff;
  width: 50px;
  aspect-ratio: 3/2;
  cursor: pointer;
  position: fixed;
  top: 18px;
  right: 25px;
  z-index: 50;
  display: none;

  @media (width < 768px) {
    display: flex;
  }
}

.p-header-icon.is-open {
  background: transparent;

  .p-header-icon__bar div:nth-of-type(1) {
    transform: translateY(7.6px) rotate(-45deg);
  }

  .p-header-icon__bar div:nth-of-type(2) {
    opacity: 0;
  }

  .p-header-icon__bar div:nth-of-type(3) {
    transform: translateY(-6px) rotate(45deg);
  }
}

.p-header-icon__bar {
  width: 16px;
  height: 16px;
  position: relative;
  margin: auto;

  div {
    position: absolute;
    display: flex;
    background: var(--color-green);
    width: 100%;
    height: 2px;
    transition: all 0.3s ease;
  }
}

.p-header-icon__bar div:nth-of-type(1) {
  top: 0;
}

.p-header-icon__bar div:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

.p-header-icon__bar div:nth-of-type(3) {
  bottom: 0;
}

.p-drawer {
  position: fixed;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  top: 0;
  right: -400px;
  overflow: auto;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 30;
  background: #fff;
  display: none;

  @media (width < 768px) {
    display: block;
  }
}

.gjs-dashed *[data-highlightable] .p-drawer {
  right: 0;
  opacity: 1;
  display: block;
  top: 98px;

  @media (width < 768px) {
    top: 60px;
  }
}

.p-drawer.is-show {
  opacity: 1;
  right: 0;
}

.p-drawer__inner {
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.p-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-drawer__container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
