.hero__section {
  background-color: #000;
  color: var(--white-color);
  padding: 0;
}
.hero__section--service {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__inner {
  position: relative;
  padding-top: 4.375rem;
  padding-bottom: 3.75rem;
  min-height: 39.375rem;
}
.hero__header {
  max-width: 70%;
}
.hero__header_title {
  display: inline;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1;
}
.hero__header_subtitle {
  margin-top: -0.3125rem;
  margin-left: 1.5625rem;
  max-width: 21.25rem;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
}
.hero__form {
  margin-top: 2.5rem;
  max-width: 31.375rem;
}
.hero__form .search-btn {
  margin-top: 1.25rem;
}
.hero__form .search-btn_input_input {
  border: none;
}
.hero__form_btn-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.375rem;
}
.hero__form_btn-group_btn {
  padding: 0.75rem 2.1875rem;
  border: 0.125rem solid var(--main-color);
  border-radius: 0.5rem;
  background: var(--main-color);
  color: var(--white-color);
  font-size: 1.25rem;
  font-weight: 500;
}
.hero__form_btn-group_btn:hover {
  background: var(--main-color-hover);
  border-color: var(--main-color-hover);
}
.hero__form_btn-group_btn.--create {
  border: 0.125rem solid var(--main-color);
  background: transparent;
  color: var(--white-color);
}
.hero__form_text {
  margin-top: 0.9375rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.hero__form_text a {
  color: var(--main-color);
  -webkit-text-decoration: underline;
  text-decoration: underline;
}
.hero__image {
  position: absolute;
  bottom: 0;
  right: -10%;
  z-index: -1;
  height: 37.5rem;
  width: 53.125rem;
}
.hero__image_img {
  width: 100%;
  height: 100%;
}
.hero__section--service .hero__image {
  right: -5%;
  height: 32.5rem;
  width: 35.625rem;
}
@media (max-width: 1200px) {
  .hero__header {
    max-width: 80%;
  }
}
@media (max-width: 1024px) {
  .hero__header {
    max-width: 100%;
  }
  .hero__header.type--2 .hero__header_title {
    display: inline-block;
  }
  .hero__header.type--2 .hero__header_subtitle {
    margin-left: 1.5625rem;
    display: inline-block;
  }
  .hero__header_title {
    display: block;
    font-size: 3.125rem;
  }
  .hero__header_subtitle {
    margin-top: 0.875rem;
    margin-left: 0;
    display: block;
  }
  .hero__image {
    right: -10%;
    height: 31.25rem;
    width: 43.75rem;
  }
}
@media (max-width: 768px) {
  .hero__inner {
    padding: 2.5rem 0;
  }
  .hero__header_title {
    font-size: 2.875rem;
  }
  .hero__image {
    right: -10%;
    height: 25rem;
    width: 37.5rem;
  }
  .hero__section--service .hero__image {
    height: 25rem;
    width: 29.375rem;
  }
}
@media (max-width: 576px) {
  .hero__inner {
    padding-bottom: 0;
  }
  .hero__header {
    text-align: center;
  }
  .hero__header.type--2 .hero__header_title {
    display: block;
  }
  .hero__header.type--2 .hero__header_subtitle {
    margin-left: auto;
    display: block;
  }
  .hero__header_title {
    margin-left: auto;
    margin-right: auto;
    font-size: 2.625rem;
  }
  .hero__header_subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__form {
    margin-top: 1.875rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__form_btn-group {
    gap: 1.0625rem;
  }
  .hero__form_btn-group_btn {
    padding: 0.875rem 0;
    font-size: 1.125rem;
  }
  .hero__form_btn-group_btn.--find {
    width: calc(45% - 0.53125rem);
  }
  .hero__form_btn-group_btn.--create {
    width: calc(55% - 0.53125rem);
  }
  .hero__form_input {
    margin-top: 0.9375rem;
    height: 3.4375rem;
  }
  .hero__form_input_input {
    padding: 0 1.375rem;
    height: 100%;
  }
  .hero__form_input_btn {
    padding: 0 2.1875rem;
    height: 100%;
  }
  .hero__list {
    margin-top: 1.5625rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 31.25rem;
  }
  .hero__list_item_number {
    height: 1.6875rem;
    width: 1.6875rem;
    font-size: 1.125rem;
  }
  .hero__list_item_text {
    font-size: 1.0625rem;
  }
  .hero__image {
    position: relative;
    right: 0;
    margin-top: 1.875rem;
    margin-left: auto;
    margin-right: auto;
    height: 18.75rem;
    width: 100%;
    max-width: 27.5rem;
  }
  .hero__section--service .hero__image {
    right: 0;
    height: 25rem;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .hero__form_btn-group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.625rem;
  }
  .hero__form_btn-group_btn {
    padding: 0.75rem 0;
    font-size: 0.875rem;
  }
  .hero__form_btn-group_btn.--find {
    width: 100%;
  }
  .hero__form_btn-group_btn.--create {
    width: 100%;
  }
}
@media (max-width: 420px) {
  .hero__header_title {
    font-size: 2.25rem;
  }
  .hero__header_subtitle {
    font-size: 1rem;
  }
  .hero__image {
    height: 16.875rem;
  }
  .hero__form_input {
    height: 2.9375rem;
  }
  .hero__form_input_input {
    padding: 0 0.9375rem;
    font-size: 0.875rem;
  }
  .hero__form_input_btn {
    padding: 0 1.875rem;
    font-size: 1rem;
  }
  .hero__form_text {
    font-size: 0.875rem;
  }
  .hero__section--service .hero__image {
    height: 20rem;
  }
}
@media (max-width: 380px) {
  .hero__header_title {
    font-size: 1.96875rem;
  }
  .hero__header_subtitle {
    font-size: 0.875rem;
  }
  .hero__form_input_btn {
    padding: 0 1.25rem;
  }
  .hero__list_item_number {
    height: 1.5rem;
    width: 1.5rem;
    font-size: 1rem;
  }
  .hero__list_item_text {
    font-size: 0.9375rem;
  }
  .hero__image {
    height: 14.375rem;
  }
  .hero__section--service .hero__image {
    height: 17.5rem;
  }
}