@charset "utf-8";

.p-header {
  width: 100%;
  height: 122px;
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;

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

.p-header.is-top {
  background: var(--color-white);
}

.p-header.is-scroll {
  background: var(--color-white);
}

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

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

.p-header__logo {
  width: 100%;
  max-width: 179px;
  aspect-ratio: 179/43;

  img {
    width: 100%;
    object-fit: contain;
  }
}

.p-header__heading {
  visibility: hidden;
  font-size: 0;
}

.p-header__main {
  display: flex;
  align-items: center;
}

.p-header__nav {
  display: flex;
  gap: 19px;

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

.p-header__link a {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.p-header__link a:hover {
  opacity: 0.7;
}

.p-header__column {
  width: 142px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 30px;
  margin-right: 5px;

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

.p-header-time,
.p-header__contact {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-header-time {
  background: var(--color-white);
  border: 1px solid #dddddd;
  border-radius: 2px;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.p-header-time__head {
  background: #ededed;
  border-radius: 2px;
  padding: 0 6px;
  color: #d13537;
  line-height: 1.6;
}

.p-header__contact {
  background: var(--color-d-red);
  gap: 6px;

  p {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--color-white);
  }

  img {
    width: 14px;
    height: 11px;
    object-fit: contain;
  }
}

.p-header__contact:hover {
  background: var(--color-l-red);
}

.p-header-btn {
  position: fixed;
  z-index: 40;
  top: 27px;
  right: 27px;
  width: 68px;
  height: 68px;
  background: #e66057;
  box-shadow: inset 0px 3px 16px #ffffff6c;
  border-radius: 2px;
  cursor: pointer;

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

  @media (width < 768px) {
    top: 6px;
    width: 58px;
    height: 58px;
  }
}

.p-header-btn.is-open {
  .p-header-btn__bar div:first-of-type {
    transform: translateY(5px) rotate(-30deg);
  }

  .p-header-btn__bar div:last-of-type {
    transform: translateY(-6px) rotate(30deg);
  }
}

.p-header-btn__bar {
  width: 30px;
  height: 12px;
  position: relative;
  margin: 21px auto 0;

  @media (width < 768px) {
    margin: 16px auto 0;
  }

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

.p-header-btn__bar div:first-of-type {
  top: 0;
}

.p-header-btn__bar div:last-of-type {
  bottom: 0;
}

.p-header-btn__text {
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--color-white);
  line-height: 2.5;
  text-align: center;
  text-transform: uppercase;
}

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

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

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

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

.p-drawer__inner {
  padding: 162px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;

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

.gjs-dashed *[data-highlightable] .p-drawer__inner {
  padding: 20px 40px;
}

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

.p-drawer__column {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
