@charset "UTF-8";

.p-header {
  position: fixed;
  top: 0;
  left: 19px;
  width: calc(100% - 38px);
  height: 85px;
  border-bottom: 1px solid #ccdbe3;
  z-index: 100;
}
.p-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -19px;
  width: 100vw;
  height: 100%;
  background: #ffffff;
  z-index: -1;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.p-header.is-active::after {
  opacity: 0.92;
}

.p-header__logo {
  position: absolute;
  top: 31px;
  left: 5px;
  width: clamp(180px, 15.0805270864vw, 206px);
  aspect-ratio: 206/29;
}

.p-header__menu {
  display: none;
}
@media screen and (min-width:1024px) {
  .p-header__menu {
    position: absolute;
    top: 20px;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
  }
}
@media screen and (min-width:1200px) {
  .p-header__menu {
    gap: clamp(20px, 2.8550512445vw, 39px);
  }
}

.p-header__menu-link {
  color: #151515;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.p-header__btn {
  padding-block: 11px;
  padding-inline: 45px 23px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3846153846;
  letter-spacing: 0.78px;
  font-weight: 500;
  border: 1px solid #0056CF;
  background: #0056CF;
  border-radius: 5px;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
.p-header__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 25px;
  width: 13px;
  height: 10px;
  background: url(../images/icon-mail.svg) no-repeat center center/contain;
}
@media (any-hover: hover) {
  .p-header__btn:hover {
    opacity: 1;
    color: #0056CF;
    background: #ffffff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.drawer__icon {
  position: fixed;
  z-index: 102;
  top: 12px;
  right: 20px;
  width: 60px;
  padding: 22px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:1024px) {
  .drawer__icon {
    display: none;
  }
}

.drawer__icon.js-show {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: transparent;
}
.drawer__icon.js-show .drawer__icon-bar:nth-of-type(1) {
  rotate: 45deg;
  translate: 0 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.drawer__icon.js-show .drawer__icon-bar:nth-of-type(2) {
  display: none;
}
.drawer__icon.js-show .drawer__icon-bar:nth-of-type(3) {
  rotate: -45deg;
  translate: 0 -5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.drawer__icon-bar {
  width: 30px;
  height: 2px;
  background: #3c3c3c;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: #ECF6FC;
  overflow-y: scroll;
  translate: 101%;
  -webkit-transition: translate 0.5s ease;
  transition: translate 0.5s ease;
}
@media screen and (min-width:414px) {
  .drawer {
    width: 400px;
  }
}

.drawer.js-show {
  translate: 0;
}

.drawer__menu-list {
  margin-top: 100px;
  padding-inline: 50px;
  margin-bottom: 50px;
}
.drawer__menu-list .text {
  display: block;
  font-size: 16px;
  font-weight: 500;
  opacity: 1;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 24px;
}
.drawer__menu-list .p-header__btn {
  margin-top: 24px;
  margin-left: 0;
  max-width: 200px;
  margin-inline: auto;
  text-align: center;
}
.drawer__menu-list .p-header__btn .text {
  margin-top: 0;
}
