.p-advertising {
  margin: 30px 0 0;
  padding: 0 48px;
}

.p-advertising_item {
  margin: 80px 0 0;
}

.p-advertising_text {
  font-size: 16px;
  line-height: 1.5;
}

.p-advertising_unit {
  margin: 48px 0 0;
}
.p-advertising_unit + .p-advertising_unit {
  margin-top: 62px;
}

.p-advertising_title {
  color: var(--black, );
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
}
.p-advertising_title span {
  display: inline-block;
  position: relative;
  border: solid 1px #101010;
  background-color: var(--white);
  padding: 11px 17px;
}
.p-advertising_title span:after {
  display: block;
  position: absolute;
  right: -6px;
  bottom: -6px;
  z-index: -1;
  border: solid 1px #101010;
  width: 100%;
  height: 100%;
  content: "";
}

.p-advertising_image {
  position: relative;
  margin: 36px auto 0;
  width: 100%;
  max-width: 256px;
}
.p-advertising_image figcaption {
  display: flex;
  position: absolute;
  right: -78px;
  justify-content: center;
  align-items: center;
  background-image: url("/common/img/common_ico_caption.svg");
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 0 13px;
  width: 137px;
  height: 150px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.6;
}
.p-advertising_image._top figcaption {
  top: 379px;
}
.p-advertising_image._theme figcaption {
  top: 31px;
}

.p-advertising_list {
  margin: 48px 0 0;
}

.p-advertising_note {
  margin: 16px 0 0;
}

.p-contact {
  margin: 81px 0 0;
  padding: 0 48px 64px;
}

.p-contact_step {
  display: flex;
  margin: 56px 0 0;
  padding: 0 36px;
}

.p-contact_step-item {
  display: flex;
  position: relative;
  justify-content: flex-end;
  counter-increment: item;
  width: 100%;
}
.p-contact_step-item:before {
  display: block;
  position: absolute;
  top: 16px;
  left: 12px;
  background-color: #8D8C8C;
  width: calc(100% - 38px - 24px);
  height: 2px;
  content: "";
}
.p-contact_step-item:first-child {
  justify-content: flex-start;
  width: auto;
}
.p-contact_step-item:first-child:before {
  content: none;
}
.p-contact_step-item span {
  display: inline-block;
  position: relative;
  padding: 42px 0 0;
  width: 38px;
  color: #8D8C8C;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.p-contact_step-item span:before {
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  justify-content: center;
  align-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: #8D8C8C;
  width: 38px;
  height: 38px;
  content: counters(item, "");
  color: var(--white);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
}
.p-contact_step-item span:after {
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  justify-content: center;
  align-items: center;
  transform: translateX(-50%);
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(129deg) brightness(108%) contrast(101%);
  background-image: url("/common/img/common_ico_checked.svg");
  background-position: 50% 50%;
  background-size: 22px 17px;
  background-repeat: no-repeat;
  width: 38px;
  height: 38px;
  content: none;
}
.p-contact_step-item._active span {
  color: var(--black);
}
.p-contact_step-item._active span:before {
  background-color: var(--black);
}
.p-contact_step-item._check span {
  color: var(--black);
}
.p-contact_step-item._check span:before {
  background-color: var(--black);
  content: "";
}
.p-contact_step-item._check span:after {
  content: "";
}

.p-contact_lead {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .p-advertising {
    margin: 20px 0 0;
    padding: 0 32px;
  }
  .p-advertising_item {
    margin: 54px 0 0;
  }
  .p-advertising_text {
    font-size: 14px;
  }
  .p-advertising_unit {
    margin: 32px 0 0;
  }
  .p-advertising_unit + .p-advertising_unit {
    margin-top: 40px;
  }
  .p-advertising_title {
    font-size: 12px;
  }
  .p-advertising_title span {
    padding: 7px 11px;
  }
  .p-advertising_title span:after {
    right: -4px;
    bottom: -4px;
  }
  .p-advertising_image {
    margin: 24px auto 0;
    width: 44.2666666667vw;
    max-width: none;
  }
  .p-advertising_image figcaption {
    right: -13.3333333333vw;
    padding: 0 0 2.4vw;
    width: 23.7333333333vw;
    height: 26.1333333333vw;
    font-size: 4.2666666667vw;
  }
  .p-advertising_image._top figcaption {
    top: 65.3333333333vw;
  }
  .p-advertising_image._theme figcaption {
    top: 4.8vw;
  }
  .p-advertising_list {
    margin: 32px 0 0;
  }
  .p-advertising_note {
    margin: 12px 0 0;
  }
  .p-contact {
    margin: 53px 0 0;
    padding: 0 32px 40px;
  }
  .p-contact_step {
    margin: 37px 0 0;
    padding: 0 24px;
  }
  .p-contact_step-item:before {
    top: 10px;
    left: 8px;
    width: calc(100% - 28px - 16px);
  }
  .p-contact_step-item span {
    padding: 28px 0 0;
    width: 28px;
    font-size: 12px;
  }
  .p-contact_step-item span:before {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  .p-contact_step-item span:after {
    background-size: 14px 11px;
    width: 24px;
    height: 24px;
  }
  .p-contact_lead {
    margin: 20px 0 0;
    font-size: 14px;
  }
}
