@charset "UTF-8";

.top-page {
  color: #24242a;
  background: #fff;
  max-width: 100%!important;
  --top-section-gap: 104px;
  --top-section-side: 32px;
}

.top-page a {
  text-decoration: none;
}

.top-hero {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  min-height: 590px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.top-hero__swiper,
.top-hero__track,
.top-hero__slide {
  min-height: 590px;
}

.top-hero__slide {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.top-hero__slide.swiper-slide-active {
  pointer-events: auto;
}

.top-hero__slide:not(.swiper-slide-active) .top-hero__content {
  visibility: hidden;
  pointer-events: none;
}

.top-hero__inner {
  max-width: 1180px;
  min-height: 590px;
  margin: 0 auto;
  padding: 64px 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.top-hero__content {
  width: min(560px, 100%);
  position: relative;
  z-index: 2;
}

.top-hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.top-hero__image:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.62) 34%, rgba(255, 255, 255, 0) 62%);
  opacity: 0;
}

.top-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.top-hero__slide--split .top-hero__inner {
  justify-content: space-between;
  gap: 48px;
}

@media screen and (min-width: 768px) {
  .top-hero__slide--split.top-hero__slide--reverse .top-hero__inner {
    flex-direction: row-reverse;
  }

  .top-hero__slide--background.top-hero__slide--reverse .top-hero__inner {
    justify-content: flex-end;
  }

  .top-hero__slide--background.top-hero__slide--reverse .top-hero__content {
    width: min(500px, 42%);
    margin-left: auto;
  }

  .top-hero__slide--background.top-hero__slide--reverse .top-hero__image img {
    object-position: center left;
  }
}

.top-hero__slide--split .top-hero__content,
.top-hero__slide--split .top-hero__image {
  flex: 1 1 0;
  min-width: 0;
}

.top-hero__slide--split .top-hero__image {
  position: relative;
  inset: auto;
  z-index: 2;
}

.top-hero__slide--split .top-hero__image::before {
  display: none;
}

.top-hero__slide--split .top-hero__image img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}

.top-hero__content-logo {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.top-hero__nav {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.top-hero__nav-button {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(36, 36, 42, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #24242a;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background-color .2s ease, border-color .2s ease;
}

.top-hero__nav-button:hover {
  border-color: #53489b;
  background: #fff;
}

.top-hero__nav-button:focus-visible {
  outline: 3px solid #53489b;
  outline-offset: 3px;
}

.top-hero__nav-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.top-hero__nav-button--prev {
  left: 20px;
}

.top-hero__nav-button--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.top-hero__nav-button--next {
  right: 20px;
}

.top-hero__nav-button--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

@media screen and (min-width: 768px) {
  .top-hero__content-logo {
    width: min(400px, 100%);
  }
}

.top-hero__title {
  margin: 0 0 26px;
  font-size: 44px;
  line-height: 1.45;
  font-weight: 800;
}

.top-hero p {
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 700;
}

.top-hero__buttons {
  display: grid;
  gap: 16px;
  width: 360px;
  max-width: 100%;
}

.top-pill {
  min-height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 28px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.top-pill:after {
  content: "";
  width: 34px;
  height: 18px;
  background: url("img/btn_off.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

.top-pill--yellow:after {
  background-image: url("img/btn_on.svg");
}

.top-pill--yellow:hover:after {
  background-image: url("img/btn_off.svg")!important;
}

.top-pill:hover:after,
.top-pill:focus-visible:after {
  background-image: url("img/btn_on.svg");
}

.top-pill > span {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: solid 1px transparent;
  transition: border-color 0.2s ease;
  margin-top: 4px;
}

.top-pill:hover > span,
.top-pill:focus-visible > span {
  border-bottom-color: currentColor;
}

.top-pill--yellow {
  color: #19191d;
  background: #ffd400;
}

.top-pill--purple {
  background: #5648aa;
}

.top-pill--outline {
  min-height: 48px;
  border: 2px solid #fff;
  background: #514a97;
}

.top-pill:hover,
.top-pill:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.top-pill--yellow:hover,
.top-pill--yellow:focus-visible {
  color: #fff;
  background: #5648aa;
}

.top-pill--purple:hover,
.top-pill--purple:focus-visible {
  color: #19191d;
  background: #ffd400;
}

.top-pill--outline:hover,
.top-pill--outline:focus-visible {
  color: #19191d;
  border-color: #ffd400;
  background: #ffd400;
}

.top-page #main .top-more .top-pill,
.top-page #main .top-service-card .top-pill,
.top-page #main .top-banner-card .top-pill,
.top-page #main .top-recruit__body .top-pill {
  width: min(100%, 260px);
  min-width: 0;
  min-height: 54px;
  gap: 12px;
  padding: 0 24px;
  padding-right: 12px;
  font-size: 16px;
}

.top-page #main .top-service-card .top-pill {
  width: min(100%, 290px);
}

.top-page #main .top-more .top-pill:after,
.top-page #main .top-service-card .top-pill:after,
.top-page #main .top-banner-card .top-pill:after,
.top-page #main .top-recruit__body .top-pill:after {
  width: 30px;
  height: 16px;
}

.top-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: var(--top-section-gap) var(--top-section-side) 0;
}

.top-section-title {
  margin: 0 0 34px;
  text-align: center;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 800;
  position: relative;
}

.top-section-title:after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin: 10px auto 0;
  background: #24242a;
}

.top-section a:hover {
  opacity: 1;
}

.top-news__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 30px;
  max-width: 760px;
}

.top-news__tabs a {
  min-height: 52px;
  border: 1px solid #bfc2ce;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444650;
  font-size: 17px;
  font-weight: 800;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.top-news__tabs a > span {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: solid 1px transparent;
  transition: border-color 0.2s ease;
}

.top-news__tabs a.is-active,
.top-news__tabs a:hover,
.top-news__tabs a:focus-visible {
  color: #fff;
  border-color: #5648aa;
  background: #5648aa;
}

.top-news__tabs a:hover > span,
.top-news__tabs a:focus-visible > span {
  border-bottom-color: currentColor;
}

.top-news__list {
  border-top: 1px solid #d7d8df;
}

.top-news__panel[hidden] {
  display: none;
}

.top-news__item {
  min-height: 70px;
  border-bottom: 1px solid #d7d8df;
  display: flex;
  gap: 18px;
  align-items: center;
  color: #2b2d34;
  position: relative;
  padding-right: 46px;
}

.top-news__meta {
  width: 216px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.top-news__item.no-cat .top-news__meta {
  width: 116px;
}

.top-news__meta time {
  font-size: 15px;
  white-space: nowrap;
}

.top-news__cat {
  min-width: 64px;
  border: 1px solid;
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--blue);
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.top-news__cat:hover,
a.top-news__cat:focus-visible {
  color: #fff;
  border-color: #5648aa;
  background: #5648aa;
}

.top-news__title {
  flex: 1 1 auto;
  min-width: 0;
  color: #2b2d34;
  font-size: 16px;
  line-height: 1.7;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-skip-ink: auto;
  transition: text-decoration-color 0.2s ease;
}

.top-news__title:hover,
.top-news__title:focus-visible {
  text-decoration-color: currentColor;
  text-decoration: underline;
  opacity: 1;
  text-decoration-thickness: 1px;
}

.top-news__arrow {
  width: 28px;
  height: 16px;
  background: url("img/news_off.svg") center / contain no-repeat;
  transition: background-image 0.2s ease;
  position: absolute;
  right: 0;
}

.top-news__arrow:hover,
.top-news__arrow:focus-visible {
  background-image: url("img/news_on.svg");
}

.top-news__empty {
  padding: 28px 0;
  text-align: center;
}

.top-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.top-more .top-pill {
  margin-inline: auto;
}

.top-service {
  max-width: 1040px;
  margin: 0 auto;
  padding: var(--top-section-gap) var(--top-section-side) 0;
}

.top-service__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.top-service-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(21, 25, 42, 0.14);
  background: #f6f7fb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-service-card--person {
  background: #fff8dc;
}

.top-service-card__link {
  display: block;
  height: 100%;
  color: inherit;
}

.top-service-card__link:focus-visible {
  outline: 3px solid #53489b;
  outline-offset: -3px;
}

.top-service-card__link:hover,
.top-service-card__link:focus-visible {
  opacity: 1;
}

.top-service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.top-service-card__body {
  padding: 34px 40px 42px;
  text-align: center;
}

.top-service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  background: url(img/top/person_icon.svg)no-repeat;
  font-size: 20px;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.top-service-card--corporate .top-service-card__icon {
  background-image: url(img/top/corporate_icon.svg);
}

.top-service-card:hover,
.top-service-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(21, 25, 42, 0.18);
}

.top-service-card:hover .top-service-card__icon,
.top-service-card:focus-within .top-service-card__icon {
  background-image: url(img/top/person_icon_hover.svg);
}

.top-service-card--corporate:hover .top-service-card__icon,
.top-service-card--corporate:focus-within .top-service-card__icon {
  background-image: url(img/top/corporate_icon_hover.svg);
}

.top-service-card:hover .top-pill--purple,
.top-service-card:focus-within .top-pill--purple {
  opacity: 1;
  color: #19191d;
  background: #ffd400;
  transform: translateY(-1px);
}

.top-service-card:hover .top-pill::after,
.top-service-card:focus-within .top-pill::after {
  background-image: url("img/btn_on.svg");
}

.top-service-card h2 {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 800;
}

.top-service-card p {
  min-height: 70px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

.top-service-card .top-pill {
  margin-inline: auto;
}

.top-banners {
  max-width: 100%;
  margin: var(--top-section-gap) auto 0;
  padding: 0 0 8px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 32px;
  overflow: hidden;
}

.top-banners .top-section-title {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.top-banners__swiper {
  grid-column: 1 / -1;
  width: 100%;
  overflow: visible;
}

.top-banners__track {
  align-items: flex-start;
}

.top-banner-card {
  width: min(48vw, 500px);
  color: #24242a;
  position: relative;
  display: block;
  overflow: visible;
  transform: scale(0.82);
  opacity: 0.48;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.top-banner-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(22, 22, 28, 0.16);
  transition: box-shadow 0.55s ease;
}

.top-banner-card strong,
.top-banner-card .top-pill {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.top-banner-card strong {
  margin: 28px 0 18px;
  color: #24242a;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  display: block;
}

.top-banner-card strong:after {
  content: none;
}

.top-banner-card .top-pill {
  margin: 0 auto;
  display: inline-flex;
  position: relative;
  left: 50%;
  transform: translate(-50%, 18px);
}

.top-banner-card.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.top-banner-card.swiper-slide-active img {
  box-shadow: 0 24px 54px rgba(22, 22, 28, 0.22);
}

.top-banner-card.swiper-slide-active strong {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

.top-banner-card.swiper-slide-active .top-pill {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0.24s;
}

.top-banner-card:hover,
.top-banner-card:focus-visible {
  opacity: 1;
}

.top-banner-card:hover:before,
.top-banner-card:focus-visible:before {
  /* background: rgba(65, 54, 145, 0.78); */
}

.top-banner-card:hover .top-pill--outline,
.top-banner-card:focus-visible .top-pill--outline {
  color: #19191d;
  border-color: #ffd400;
  background: #ffd400;
}

.top-banner-card:hover .top-pill:after,
.top-banner-card:focus-visible .top-pill:after {
  background-image: url("img/btn_on.svg");
}

.top-banner-card:hover .top-pill > span,
.top-banner-card:focus-visible .top-pill > span {
  border-bottom-color: currentColor;
}

.top-banners__nav {
  grid-row: 3;
  width: 70px;
  height: 44px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: #19191d;
  position: static;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.top-banners__nav:before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  display: block;
  margin: 0 auto;
}

.top-banners__nav--prev {
  grid-column: 2;
}

.top-banners__nav--prev:before {
  transform: rotate(-45deg);
}

.top-banners__nav--next {
  grid-column: 3;
}

.top-banners__nav--next:before {
  transform: rotate(135deg);
}

.top-banners__nav:hover,
.top-banners__nav:focus-visible {
  background: #5648aa;
  transform: translateY(-2px);
}

.top-banners__dots {
  display: none;
}

.top-banners__dots .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin: 0;
  opacity: 1;
  background: #d5d5d5;
}

.top-banners__dots .swiper-pagination-bullet-active {
  background: #ffd400;
}

.top-recruit {
  padding-bottom: 0;
}

.top-news {
  padding-bottom: var(--top-section-gap);
}

.top-recruit__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 64px;
  align-items: center;
}

.top-recruit__images img {
  width: 100%;
  /* aspect-ratio: 4 / 3; */
  /* object-fit: cover; */
  display: block;
}

.top-recruit__body h3 {
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 5px solid #5648aa;
  color: #5648aa;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 800;
  position: relative;
}

.top-recruit__body h3:before {
  content: "";
  border-right: 5px solid #ffd400;
  border-left: solid 1px transparent;
  height: 100%;
  position: absolute;
  left: 0;
}
.top-recruit__body {
      display: flex;
    flex-direction: column;
}
.top-recruit__body p {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 2.1;
  font-weight: 600;
}

.top-recruit__body .top-pill {
  margin-top: 2px;
  margin-inline:auto;
}

@media (max-width: 900px) {
  .top-hero,
  .top-hero__inner {
    min-height: 480px;
  }

  .top-hero__inner {
    padding: 48px 24px;
  }

  .top-hero__title {
    font-size: 34px;
  }

  .top-service__grid,
  .top-recruit__layout {
    grid-template-columns: 1fr;
  }

  .top-recruit__layout {
    gap: 32px;
  }
}

@media (min-width: 768px) and (max-width: 1240px) {
  .top-hero__inner {
    padding-inline: 96px;
  }

  .top-hero__nav-button--prev {
    left: 8px;
  }

  .top-hero__nav-button--next {
    right: 8px;
  }
}

@media (min-width: 768px) and (max-width: 1080px) {
  .top-hero__slide--background .top-hero__title,
  .top-hero__slide--background .top-hero__content > p {
    text-shadow: 0 0 16px rgba(255, 255, 255, .95), 0 0 24px rgba(255, 255, 255, .8);
  }
}

@media (max-width: 767px) {
  .top-page {
    --top-section-gap: 72px;
    --top-section-side: 20px;
  }

  .top-hero__nav-button {
    width: 44px;
    height: 44px;
  }

  .top-hero__nav-button--prev {
    left: 8px;
  }

  .top-hero__nav-button--next {
    right: 8px;
  }

  .top-hero {
    height: 133.333vw;
    min-height: 0;
    overflow: hidden;
  }

  .top-hero__swiper,
  .top-hero__track,
  .top-hero__slide {
    height: 100%;
    min-height: 0;
  }

  .top-hero__inner {
    min-height: 0;
    align-items: flex-start;
    padding: 20px 0 0;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }

  .top-hero__content {
    width: 100%;
    height: 100%;
    padding: 0 20px 30px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
  }

  .top-hero__image {
    position: relative;
    inset: auto;
    display: block;
    margin-top: 0px;
    z-index: 1;
  }

  .top-hero__image:before {
    display: none;
  }

  .top-hero__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center bottom;
  }

  .top-hero__slide--split .top-hero__inner {
    height: 100%;
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 0 0;
    box-sizing: border-box;
  }

  .top-hero__slide--split .top-hero__content {
    height: auto;
    padding-bottom: 24px;
  }

  .top-hero__slide--split .top-hero__image {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    max-width: 350px;
    margin-inline: auto;
    margin-bottom: 20px;
  }

  .top-hero__slide--split .top-hero__image img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .top-hero__slide--image-before-actions .top-hero__content {
    display: contents;
  }

  .top-hero__slide--image-before-actions .top-hero__content > :not(.top-hero__buttons) {
    /* margin-left: 20px; */
    /* margin-right: 20px; */
    margin-inline: auto;
  }

  .top-hero__slide--image-before-actions .top-hero__content-logo {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .top-hero__slide--image-before-actions .top-hero__image {
    order: 1;
  }

  .top-hero__slide--image-before-actions .top-hero__buttons {
    order: 2;
    width: calc(100% - 40px);
    margin: 0 auto 30px;
  }

  .top-hero__content-logo {
    margin: 0 auto 18px;
  }

  .top-hero__title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.55;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .top-hero p {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .top-hero__buttons {
    width: 100%;
    gap: 12px;
    position: relative;
    z-index: 3;
    padding-inline: 10px;
    max-width: 400px;
    margin: auto auto 0;
  }

  .top-hero__buttons .top-pill {
    width: 100%;
    min-height: 58px;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 17px;
  }

  .top-section,
  .top-service {
    padding-left: var(--top-section-side);
    padding-right: var(--top-section-side);
  }

  .top-section {
    padding-top: var(--top-section-gap);
  }

  .top-news__tabs {
    /* grid-template-columns: 1fr; */
  }

  .top-news__tabs a {
    min-height: 42px;
    font-size: 14px;
    padding-top: 4px;
  }

  .top-news__item {
    padding: 16px 0;
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .top-news__meta {
    width: auto;
    max-width: calc(100% - 40px);
    gap: 10px;
    flex: 0 1 auto;
  }

  .top-news__item.no-cat .top-news__meta {
    width: auto;
  }

  .top-news__title {
    width: 100%;
    flex-basis: 100%;
    white-space: normal;
    line-height: 1.6;
  }

  .top-news__arrow {
    top: 20px;
  }

  .top-page #main .top-more .top-pill,
  .top-page #main .top-service-card .top-pill,
  .top-page #main .top-banner-card .top-pill,
  .top-page #main .top-recruit__body .top-pill {
    width: min(100%, 240px);
    min-width: 0;
    min-height: 50px;
    font-size: 14px;
  }

  .top-service {
    padding-top: var(--top-section-gap);
  }

  .top-service__grid {
    gap: 28px;
  }

  .top-service-card__body {
    padding: 28px 24px 34px;
  }

  .top-service-card p {
    min-height: 0;
  }

  .top-banners {
    margin-top: var(--top-section-gap);
    padding: 0 0 8px;
    row-gap: 24px;
  }

  .top-banners__nav {
    width: 62px;
    height: 40px;
  }

  .top-banner-card {
    width: 82vw;
    transform: scale(0.88);
  }

  .top-banner-card strong {
    margin-top: 20px;
    font-size: 20px;
  }

  .top-recruit {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 420px) {
  .top-hero__title,
    .top-hero p {
    left: 0;
    right: 0;
    margin-inline: auto;
    display: table;
  }
}

@media screen and (min-width: 500px) {
  .top-banner-card {
    min-height: 0;
  }
}
