@charset "UTF-8";

.p-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  z-index: 100;
}
.p-header.is-active .p-header__logo {
  color: #282828;
}

.p-header__logo {
  position: absolute;
  top: 22px;
  left: 17px;
  width: 112px;
  height: 58px;
}

.p-header__menu {
  display: none;
}
@media screen and (min-width:1024px) {
  .p-header__menu {
    position: absolute;
    top: 25px;
    right: 25px;
    padding-block: 7px;
    padding-inline: 24px 7px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: #ffffff;
    gap: clamp(20px, 2.34375vw, 24px);
  }
}

.p-header__menu-link {
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.65px;
  font-weight: 700;
}

.p-header__link {
  padding-right: 12px;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.65px;
  font-weight: 700;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.p-header__link::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  width: 7px;
  height: 4px;
  background: url(../images/icon-arrow-down-red.svg) no-repeat center center/contain;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.p-header__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #E64849;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.header__item--menu {
  display: inline-block;
  position: relative;
  cursor: pointer;
}
@media (any-hover: hover) {
  .header__item--menu:hover .p-header__link {
    color: #E64849;
  }
  .header__item--menu:hover .p-header__link::before {
    rotate: 180deg;
  }
  .header__item--menu:hover .p-header__link::after {
    opacity: 1;
  }
}


.header__sublist-wrap {
  position: absolute;
  top: calc(100% - 5px);
left: 0;
  padding-top: 15px;
  display: none;
}

.header__sublist {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: auto;
  background: #f4f2f2;
  padding: 15px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.header__sublist .p-header__menu-link {
  padding-block: 15px;
  padding-right: 25px;
  font-weight: 500;
  position: relative;
}
.header__sublist .p-header__menu-link::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 13px;
  width: 8px;
  height: 5px;
  background: url(../images/icon-arrow-right-black.svg) no-repeat center center/contain;
}
.header__sublist .p-header__menu-link + .p-header__menu-link {
  border-top: 1px solid rgba(40, 40, 40, 0.1);
}
.header__sublist a {
  white-space: nowrap;
}

.p-header__btn {
  margin-left: 13px;
  padding-block: 8px;
  padding-inline: 23px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 500;
  border: 1px solid #E64849;
  background: #E64849;
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  .p-header__btn:hover {
    opacity: 1;
    color: #E64849;
    background: #ffffff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}