.l-top {
  display: block;
  overflow: hidden;
}

.p-topFv {
  position: relative;
  width: 100%;
  height: 768px;
  overflow: hidden;
}

@media (min-width: 1367px), (min-width: 769px) and (max-width: 1365px) {
  .p-topFv {
    height: 100vh;
    height: 100svh;
  }
  .p-topFv__inner {
    padding-bottom: clamp(69px, 8.984375svh, 120px);
  }
  .p-topFv__newsBlock {
    bottom: clamp(30px, 3.90625svh, 60px);
  }
}
.p-topFv__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.p-topFv__swiper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.p-topFv__swiper .swiper-wrapper {
  height: 100%;
}

.p-topFv__slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.p-topFv__slideImage {
  width: 100%;
  height: 100%;
}

.p-topFv__slideImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes p-topFv-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
.p-topFv__swiper .swiper-slide-active .p-topFv__slideImage,
.p-topFv__swiper .swiper-slide-duplicate-active .p-topFv__slideImage,
.p-topFv__swiper .swiper-slide-prev .p-topFv__slideImage {
  animation: p-topFv-zoom 12s linear 0s both;
}

.is-cms-edit .p-topFv,
.gjs-dashed .p-topFv {
  height: auto !important;
  min-height: 0;
  padding: 0;
  overflow: visible;
}

.is-cms-edit .p-topFv__slider,
.gjs-dashed .p-topFv__slider {
  position: relative;
  inset: auto;
  z-index: auto;
  height: auto;
  overflow: visible;
}

.is-cms-edit .p-topFv__swiper,
.is-cms-edit .p-topFv__swiper .swiper-wrapper,
.gjs-dashed .p-topFv__swiper,
.gjs-dashed .p-topFv__swiper .swiper-wrapper {
  height: auto;
  overflow: visible;
}

.is-cms-edit .p-topFv__swiper .swiper-wrapper,
.gjs-dashed .p-topFv__swiper .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  transform: none !important;
}

.is-cms-edit .p-topFv__slide,
.gjs-dashed .p-topFv__slide {
  width: 30% !important;
  min-width: 260px;
  height: auto;
  overflow: visible;
}

.is-cms-edit .p-topFv__slideImage.is-cms-selectable,
.gjs-dashed .p-topFv__slideImage.is-cms-selectable {
  width: 100%;
  height: auto;
  aspect-ratio: 1366/768;
  animation: none !important;
}

.is-cms-edit .p-topFv__inner,
.gjs-dashed .p-topFv__inner {
  height: auto;
  min-height: 0;
  justify-content: flex-start;
  padding-top: 48px;
  padding-bottom: 48px;
  isolation: isolate;
}

.is-cms-edit .p-topFv__inner::before,
.gjs-dashed .p-topFv__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(8, 43, 111, 0.94) 0%, rgba(30, 68, 150, 0.8) 100%);
  pointer-events: none;
}

.is-cms-edit .p-topFv__copy,
.gjs-dashed .p-topFv__copy {
  position: relative;
  z-index: 1;
}

.p-topFv__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("../images/img_topFv-mask.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.p-topFv__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 67px;
  padding-bottom: 69px;
  max-width: 760px;
}

.p-topFv__copy {
  display: flex;
  flex-direction: column;
  gap: 38px;
  max-width: 478px;
  width: 100%;
}

.p-topFv__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-topFv__sub {
  align-self: flex-start;
  display: inline-block;
  padding: 7px 10px;
  background: linear-gradient(90deg, #00b9ec 0%, #0040d1 72%, #ff9020 100%);
}

.p-topFv__newsBlock {
  position: absolute;
  bottom: 30px;
  right: 20px;
  z-index: 4;
  max-width: 386px;
  width: 100%;
  min-height: 78px;
}

.p-topFv__newsBlock .webgene-blog,
.p-topFv__newsBlock .webgene-item {
  width: 100%;
  height: 100%;
}

.p-topFv__news {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 8px;
  padding-top: 15px;
  padding-bottom: 14px;
  padding-inline: 16px;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-topFv__news:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.02);
  }
}
.p-topFv__newsMeta {
  display: flex;
  align-items: center;
  gap: 13px;
}

.p-topFv__newsTag {
  display: inline-block;
  padding-block: 2px;
  padding-left: 5px;
  padding-right: 3px;
  background: #8e8f90;
}

@media (max-width: 1365px) {
  .p-topFv__inner {
    max-width: calc(100% - 48px);
    padding-left: 24px;
    padding-right: 24px;
  }
  .p-topFv__copy {
    width: min(478px, 100%);
  }
}
@media (max-width: 900px) {
  .p-topFv {
    height: auto;
    min-height: 540px;
    padding: 110px 0 60px;
  }
  .p-topFv__inner {
    padding: 0 24px;
  }
  .p-topFv__heading {
    margin-bottom: 32px;
  }
  .p-topFv__newsBlock {
    position: relative;
    bottom: auto;
    right: auto;
    width: auto;
    height: auto;
    min-height: 78px;
    margin: 32px 24px 0;
    max-width: none;
  }
  .p-topFv__news {
    height: auto;
    min-height: 78px;
  }
}
.p-topAbout {
  position: relative;
  padding-top: 123px;
  padding-bottom: 136px;
  background: #fff;
}

.p-topAbout,
.p-topSchool,
.p-topStats,
.p-topService,
.p-topWorks,
.p-topCompany,
.p-topNews {
  position: relative;
}

.p-topAbout::before,
.p-topSchool::before,
.p-topStats::before,
.p-topService::before,
.p-topWorks::before,
.p-topCompany::before,
.p-topNews::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/img_com-section-mask.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.p-topStats::before,
.p-topService::before,
.p-topWorks::before {
  display: none;
}

.p-topAbout__inner,
.p-topSchool__inner,
.p-topStats__inner,
.p-topService__inner,
.p-topWorks__inner,
.p-topCompany__inner,
.p-topNews__inner {
  position: relative;
  z-index: 1;
}

.c-topSectionTitle__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 19px;
  padding: 7px 9px 8px;
  background: linear-gradient(90deg, #00b9ec 0%, #0040d1 72%, #ff9020 100%);
  box-sizing: border-box;
}

.p-topAbout__inner {
  display: grid;
  grid-template-columns: 475px 569px;
  column-gap: 121px;
  align-items: start;
  max-width: 1366px;
  margin: 0 auto;
  padding-left: 101px;
  padding-right: 100px;
  position: relative;
}

.p-topAbout__body {
  position: relative;
  display: flex;
  flex-direction: column;
}

.p-topAbout__title {
  margin-bottom: 50px;
}

.p-topAbout__lead {
  margin-bottom: 41px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-topAbout__text {
  margin-bottom: 40px;
}

.p-topAbout__heading h2 {
  display: inline-block;
  background: linear-gradient(90deg, #01b7ec 0%, #014ac0 78%, #ff9020 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.p-topAbout__text p + p {
  margin-top: 30px;
}

.p-topAbout__images {
  position: relative;
  width: 569px;
  height: 569px;
}

.p-topAbout__image {
  position: absolute;
  width: 314px;
  height: 406px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-section-light);
}

.p-topAbout__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topAbout__image--a {
  top: 193px;
  left: 0;
  z-index: 2;
}

.p-topAbout__image--b {
  top: 30px;
  right: 0;
  z-index: 1;
}

@media (max-width: 1365px) {
  .p-topAbout__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    column-gap: clamp(40px, 8vw, 121px);
    max-width: calc(100% - 48px);
    padding-left: 0;
    padding-right: 0;
  }
  .p-topAbout__images {
    width: 100%;
    max-width: 569px;
    height: auto;
    aspect-ratio: 1;
    justify-self: end;
  }
  .p-topAbout__image {
    width: 55.2%;
    height: auto;
    aspect-ratio: 314/406;
  }
  .p-topAbout__image--a {
    top: 28.7%;
  }
}
@media (max-width: 900px) {
  .p-topAbout {
    padding: 80px 0;
  }
  .p-topAbout__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .p-topAbout__body {
    width: 100%;
    min-width: 0;
  }
  .p-topAbout__images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: none;
    height: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: auto;
    justify-self: stretch;
  }
  .p-topAbout__image {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 11/10;
  }
}
.p-topSchool {
  position: relative;
  padding-top: 50px;
  background: var(--color-section-light);
  overflow: hidden;
}

.p-topSchool__inner {
  margin-bottom: 117px;
  display: grid;
  grid-template-columns: 656px 1fr;
  column-gap: 87px;
  align-items: start;
  width: 1265px;
  height: 754px;
  margin-top: -50px;
  margin-left: calc((100% - 1366px) / 2 + 43px);
  margin-right: auto;
  padding: 0 61px 0 43px;
  background: #ffffff;
  border-radius: 20px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1367px) {
  .p-topSchool__inner {
    margin-block: 117px;
  }
}
.p-topSchool__gallery {
  display: grid;
  margin-left: 14px;
  grid-template-columns: 314px 314px;
  column-gap: 10px;
  width: 638px;
  height: 1074px;
  overflow: hidden;
  position: relative;
}

.p-topSchool__column {
  --topSchool-loop-distance: 0px;
  width: 314px;
  height: 1074px;
  overflow: hidden;
}

.p-topSchool__track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
}

.p-topSchool__group {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 10px;
}

.p-topSchool__photo {
  width: 314px;
  height: 295px;
  overflow: hidden;
  background: var(--color-section-light);
}

.p-topSchool__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes p-topSchool-flowDown {
  0% {
    transform: translateY(calc(var(--topSchool-loop-distance) * -1));
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes p-topSchool-flowUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(var(--topSchool-loop-distance) * -1));
  }
}
@keyframes p-topSchool-flowRight {
  0% {
    transform: translateX(calc(var(--topSchool-loop-distance) * -1));
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes p-topSchool-flowLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(var(--topSchool-loop-distance) * -1));
  }
}
.p-topSchool__column--down.is-enhanced .p-topSchool__track {
  animation: p-topSchool-flowDown 40s linear infinite;
}

.p-topSchool__column--up.is-enhanced .p-topSchool__track {
  animation: p-topSchool-flowUp 40s linear infinite;
}

.is-cms-edit .p-topSchool__gallery,
.is-cms-edit .p-topSchool__column {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.is-cms-edit .p-topSchool__track,
.is-cms-edit .p-topSchool__group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  animation: none !important;
  transform: none !important;
}

.is-cms-edit .p-topSchool__photo.is-cms-selectable {
  width: 30%;
  min-width: 220px;
  height: auto;
  margin-bottom: 0;
  aspect-ratio: 314/295;
}

@media (prefers-reduced-motion: reduce) {
  .p-topSchool__column--down.is-enhanced .p-topSchool__track,
  .p-topSchool__column--up.is-enhanced .p-topSchool__track {
    animation: none;
  }
}
.p-topSchool__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  padding: 137px 73px 141px 0;
  box-sizing: border-box;
}

.p-topSchool__title {
  margin-bottom: 42px;
}

.p-topSchool__labels {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.p-topSchool__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: url("../images/icon_topSchool-circle.png") center/contain no-repeat;
  flex: 0 0 auto;
}

.p-topSchool__sub {
  display: inline-block;
  margin-top: 60px;
  margin-left: -2px;
  padding: 7px 10px;
  flex: 0 0 auto;
}

.p-topSchool__text {
  margin-bottom: 50px;
}

@media (max-width: 1365px) {
  .p-topSchool {
    padding-left: 24px;
    padding-right: 24px;
  }
  .p-topSchool__inner {
    width: auto;
    margin: -50px auto 117px;
    grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 87px);
    padding: 0 clamp(24px, 4vw, 61px) 0 clamp(24px, 3.2vw, 43px);
  }
  .p-topSchool__gallery {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-topSchool__column,
  .p-topSchool__photo {
    width: 100%;
  }
  .p-topSchool__photo {
    height: auto;
    aspect-ratio: 314/295;
  }
  .p-topSchool__body {
    min-width: 0;
    padding: clamp(72px, 9vw, 137px) clamp(16px, 5vw, 73px) clamp(72px, 9vw, 141px) 0;
  }
}
@media (max-width: 1124px) {
  .p-topSchool {
    padding: 80px 0;
    background: var(--color-section-light);
  }
  .p-topSchool__inner {
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    width: auto;
    height: auto;
    margin: 0 24px;
    padding: 32px 24px;
    border-radius: 20px;
  }
  .p-topSchool__body {
    order: 1;
    align-self: initial;
    padding: 0;
  }
  .p-topSchool__title {
    margin-inline: auto;
  }
  .p-topSchool__text {
    width: min(100%, 760px);
    margin-inline: auto;
  }
  .p-topSchool__body .c-button {
    align-self: center;
  }
  .p-topSchool__gallery {
    --topSchool-marquee-row-height: clamp(150px, 21vw, 236px);
    order: 2;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, var(--topSchool-marquee-row-height));
    gap: 10px;
    height: auto;
    margin-left: 0;
  }
  .p-topSchool__column {
    width: 100%;
    height: var(--topSchool-marquee-row-height);
  }
  .p-topSchool__track,
  .p-topSchool__group {
    flex-direction: row;
    width: max-content;
    height: 100%;
  }
  .p-topSchool__photo {
    width: clamp(160px, 22vw, 251px);
    height: 100%;
    aspect-ratio: auto;
  }
  .p-topSchool__column--down.is-enhanced .p-topSchool__track {
    animation-name: p-topSchool-flowRight;
  }
  .p-topSchool__column--up.is-enhanced .p-topSchool__track {
    animation-name: p-topSchool-flowLeft;
  }
}
@media (min-width: 768px) and (max-width: 1124px) {
  .p-topSchool__title {
    position: relative;
    width: fit-content;
    max-width: 100%;
    padding-right: 120px;
    box-sizing: border-box;
  }
  .p-topSchool__labels {
    display: block;
  }
  .p-topSchool__sub {
    margin-top: 0;
  }
  .p-topSchool__tag {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}
@media (max-width: 500px) {
  .p-topSchool__tag {
    width: clamp(72px, 20vw, 100px);
    height: clamp(72px, 20vw, 100px);
  }
}
@media (max-width: 1365px) {
  .p-topSchool {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
}
.p-topStats {
  position: relative;
  padding: 100px 0 76px;
  background: var(--color-bg-stats);
}

.p-topStats__inner {
  display: grid;
  grid-template-columns: 347px 736px;
  column-gap: 129px;
  align-items: start;
  justify-content: center;
  width: 1212px;
  height: 700px;
  max-width: calc(100% - 44px);
  margin: 0 auto;
  margin-left: 102px;
  padding: 0;
}

@media screen and (max-width: 1365px) {
  .p-topStats__inner {
    margin-inline: auto;
    column-gap: 9.4436310395vw;
  }
}
.p-topStats__intro {
  position: relative;
  max-width: 347px;
  width: 100%;
  padding-top: 174px;
}

.p-topStats__sub {
  margin-bottom: 23px;
}

.p-topStats__heading {
  margin-bottom: 36px;
}

.p-topStats__text {
  max-width: 347px;
}

@media screen and (max-width: 1180px) {
  .p-topStats__text {
    max-width: 50%;
  }
}
.p-topStats__cards {
  display: grid;
  grid-template-columns: repeat(2, 358px);
  column-gap: 20px;
  row-gap: 16px;
  width: 736px;
  height: 700px;
  padding-bottom: 0;
}

.p-topStats__card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #fff;
  border-radius: 4px;
  width: 358px;
  height: 295px;
  padding-top: 30px;
  padding-right: 41px;
  padding-bottom: 61px;
  padding-left: 35px;
  box-sizing: border-box;
}

.p-topStats__card:nth-child(2),
.p-topStats__card:nth-child(4) {
  transform: translateY(85px);
}

.p-topStats__card:nth-child(3),
.p-topStats__card:nth-child(4) {
  margin-top: -80px;
}

.p-topStats__number {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.p-topStats__numberValue {
  display: flex;
  align-items: baseline;
}

.p-topStats__desc {
  max-width: 282px;
}

@media (max-width: 1365px) {
  .p-topStats__inner {
    width: auto;
    height: auto;
    grid-template-columns: minmax(280px, 347px) minmax(0, 1fr);
    column-gap: clamp(40px, 7vw, 129px);
  }
  .p-topStats__intro {
    width: auto;
    padding-top: clamp(72px, 9vw, 116px);
  }
  .p-topStats__cards {
    width: auto;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-topStats__card {
    width: auto;
    height: auto;
    min-height: 295px;
    padding: 30px clamp(24px, 3vw, 41px) 48px clamp(24px, 3vw, 35px);
  }
  .p-topStats__card:nth-child(2),
  .p-topStats__card:nth-child(4) {
    transform: none;
  }
  .p-topStats__card:nth-child(3),
  .p-topStats__card:nth-child(4) {
    margin-top: 0;
  }
  .p-topStats__desc {
    max-width: none;
  }
}
@media (max-width: 1180px) {
  .p-topStats__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: calc(100% - 48px);
  }
  .p-topStats__intro {
    max-width: 100%;
    padding-top: 0;
  }
}
@media (max-width: 900px) {
  .p-topStats {
    padding: 64px 0;
  }
  .p-topStats__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    width: auto;
    height: auto;
    padding: 0 24px;
  }
  .p-topStats__intro {
    padding-top: 0;
  }
  .p-topStats__text {
    max-width: none;
  }
  .p-topStats__cards {
    width: auto;
    height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-bottom: 0;
  }
  .p-topStats__card {
    width: auto;
    height: auto;
  }
  .p-topStats__card:nth-child(2),
  .p-topStats__card:nth-child(4) {
    transform: none;
  }
}
@media (max-width: 767px) {
  .p-topStats__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.p-topService {
  position: relative;
  margin-top: -1px;
  padding: 31px 0 55px;
  background: var(--color-bg-stats);
}

.p-topService__inner {
  width: 1265px;
  min-height: 834px;
  margin: 0 auto;
  padding: 94px 51px 90px 52px;
  display: grid;
  grid-template-columns: 347px 1fr;
  column-gap: 85px;
  align-items: start;
  background: #eef7ff;
  border-radius: 20px;
  box-sizing: border-box;
  max-width: calc(100% - 44px);
}

.p-topService__intro {
  display: flex;
  flex-direction: column;
  align-self: start;
  max-width: 347px;
  width: 100%;
  min-height: 255px;
  padding-top: 18px;
}

.p-topService__sub {
  margin-bottom: 19px;
}

.p-topService__heading {
  margin-bottom: 40px;
}

.p-topService__text {
  max-width: 347px;
  width: 100%;
}

.p-topService__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: -20px;
}

.p-topService__item {
  display: grid;
  grid-template-columns: 251px 1fr;
  gap: 50px;
  align-items: center;
  padding: 22px 0 29px;
  border-bottom: 1px solid #c4d8ea;
}

.p-topService__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.p-topService__itemImage {
  width: 251px;
  height: 181px;
  overflow: hidden;
  border-radius: 10px;
  background: #d9eaf8;
}

.p-topService__itemImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topService__itemBody {
  padding: 0;
}

.p-topService__itemTitle {
  display: flex;
  align-items: baseline;
  gap: 17px;
  margin-top: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.p-topService__itemDesc {
  max-width: 428px;
}

@media (max-width: 1365px) {
  .p-topService__inner {
    width: auto;
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: calc(100% - 48px);
  }
  .p-topService__intro {
    width: auto;
    min-height: 0;
    max-width: 100%;
    padding-top: 0;
  }
  .p-topService__text {
    width: auto;
    max-width: 50%;
  }
  .p-topService__item {
    grid-template-columns: 251px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 50px);
  }
  .p-topService__itemDesc {
    max-width: none;
  }
}
@media (max-width: 900px) {
  .p-topService {
    padding: 64px 0;
  }
  .p-topService__inner {
    width: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    column-gap: 0;
    gap: 40px;
    padding: 48px 24px;
    max-width: calc(100% - 32px);
  }
  .p-topService__intro {
    padding-top: 0;
  }
  .p-topService__heading {
    margin-bottom: 32px;
  }
  .p-topService__item {
    gap: 16px;
    padding: 24px 0;
  }
  .p-topService__itemImage {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 767px) {
  .p-topService__item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0;
  }
  .p-topService__text {
    width: auto;
    max-width: 100%;
  }
  .p-topService__itemImage {
    width: min(251px, 100%);
    height: auto;
    aspect-ratio: 251/181;
    margin-inline: auto;
  }
  .p-topService__itemTitle {
    gap: 10px;
    margin-top: 0;
    margin-bottom: 14px;
  }
  .p-topService__itemDesc {
    max-width: none;
  }
}
.p-topWorks {
  position: relative;
  margin-top: -1px;
  padding: 54px 0 115px;
  background: var(--color-bg-stats);
}

.p-topWorks__inner {
  width: 1150px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: calc(100% - 44px);
  text-align: center;
}

.p-topWorks__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 50px;
}

.p-topWorks__list {
  margin-bottom: 50px;
}

.p-topWorks__list .webgene-blog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.p-topWorks__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 450px;
  min-width: 0;
  justify-self: center;
  text-decoration: none;
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-topWorks__item:hover {
    opacity: 0.85;
    transform: scale(1.03);
  }
}
.p-topWorks__itemImage {
  width: 100%;
  aspect-ratio: 354/250;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.18);
}

.p-topWorks__itemImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topWorks__itemMeta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 4px;
}

.p-topWorks__itemTag {
  display: inline-block;
  padding: 4px 12px 5px;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.p-topWorks__itemText {
  margin-bottom: 11px;
  flex: 1 1 auto;
  text-align: left;
}

.p-topWorks__itemText p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-topWorks__itemMore {
  position: relative;
  align-self: flex-end;
  margin-left: auto;
  padding-right: 22px;
  border-bottom: 1px solid currentColor;
}

.p-topWorks__itemMore::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 8px;
  background: url("../images/icon_topWorks-arrow.svg") center/contain no-repeat;
  transform: translateY(-50%);
}

.p-topWorks__inner .p-topWorks__head,
.p-topWorks__inner .p-topWorks__list {
  text-align: left;
}

@media (max-width: 1365px) {
  .p-topWorks__inner {
    width: min(1150px, 100% - 48px);
    max-width: none;
  }
}
@media (max-width: 1035px) {
  .p-topWorks__list .webgene-blog {
    gap: 28px;
  }
}
@media (max-width: 1003px) {
  .p-topWorks__list .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}
@media (max-width: 900px) {
  .p-topWorks {
    padding: 64px 0;
  }
  .p-topWorks__inner {
    width: auto;
    padding: 0 24px;
    max-width: none;
  }
}
@media (max-width: 671px) {
  .p-topWorks__list .webgene-blog {
    grid-template-columns: 1fr;
  }
}
.p-topCompany {
  padding: 0 0 20px;
  background: #1e4496;
  overflow: hidden;
}

.p-topCompany__surface {
  padding-top: 100px;
  padding-bottom: 98px;
  background: #eff9ff;
  border-radius: 20px;
  overflow: hidden;
}

.p-topCompany__inner {
  display: grid;
  grid-template-columns: 495px 592px;
  column-gap: 80px;
  row-gap: 60px;
  align-items: center;
  justify-content: center;
  width: 1167px;
  min-height: 699px;
  margin: 0 auto;
}

.p-topCompany__body {
  margin-top: -29px;
}

.p-topCompany__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 40px;
}

.p-topCompany__table {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.p-topCompany__row {
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(154, 154, 154, 0.3);
}

.p-topCompany__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.p-topCompany__image {
  width: 592px;
  height: 699px;
  overflow: hidden;
  border-radius: 10px;
}

.p-topCompany__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topCompany__button {
  grid-column: 1/-1;
  justify-self: center;
}

@media (max-width: 1365px) {
  .p-topCompany__inner {
    width: auto;
    height: auto;
    column-gap: clamp(40px, 6vw, 80px);
    max-width: calc(100% - 48px);
  }
  .p-topCompany__image {
    width: 100%;
    max-width: 592px;
    height: auto;
    aspect-ratio: 592/699;
  }
}
@media (max-width: 1180px) {
  .p-topCompany__inner {
    grid-template-columns: 41.9491525424vw 50.1694915254vw;
    column-gap: 30px;
  }
  .p-topCompany__image {
    width: 100%;
    max-width: 50.1694915254vw;
    height: auto;
    aspect-ratio: 592/699;
  }
}
@media (max-width: 900px) {
  .p-topCompany {
    padding-bottom: 16px;
  }
  .p-topCompany__surface {
    padding: 64px 0;
  }
  .p-topCompany__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .p-topCompany__image {
    width: 100%;
    max-width: none;
    height: clamp(280px, 42vw, 360px);
    aspect-ratio: auto;
  }
  .p-topCompany__row {
    grid-template-columns: 100px 1fr;
  }
}
.p-topNews {
  padding: 120px 0 160px;
  background: #1e4496;
}

.p-topNews__inner {
  width: calc(100% - 48px);
  max-width: 1142px;
  margin-inline: auto;
}

.p-topNews__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
}

.p-topNews__list .webgene-blog {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-topNews__list {
  margin-bottom: 60px;
}

.p-topNews__item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 22px;
  align-items: center;
  column-gap: 40px;
  min-height: 96px;
  padding: 0 42px 0 49px;
  background: #fbfbfb;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-topNews__item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
}
.p-topNews__itemLink {
  color: inherit;
}

.p-topNews__itemMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.p-topNews__itemTag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 19px;
  padding: 0 8px;
  border-radius: 999px;
  background: #b1d9f0;
}

.p-topNews__itemTitle {
  min-width: 0;
}

.p-topNews__itemTitle p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-topNews__itemArrow {
  width: 22px;
  height: 22px;
  background: url("../images/icon_news-arrow.svg") center/contain no-repeat;
}

.p-topNews__inner {
  text-align: center;
}

.p-topNews__inner .p-topNews__head,
.p-topNews__inner .p-topNews__list {
  text-align: left;
}

@media (max-width: 900px) {
  .p-topNews {
    padding: 64px 0;
  }
  .p-topNews__inner {
    width: min(100% - 48px, 860px);
    margin-inline: auto;
  }
  .p-topNews__list {
    padding: 0;
  }
  .p-topNews__list .webgene-blog {
    gap: 12px;
  }
  .p-topNews__item {
    grid-template-columns: minmax(0, 1fr) 22px;
    row-gap: 8px;
    column-gap: 16px;
    min-height: 0;
    padding: 16px 16px 16px 18px;
  }
  .p-topNews__itemMeta,
  .p-topNews__itemTitle {
    grid-column: 1/2;
  }
  .p-topNews__itemArrow {
    grid-column: 2/3;
    grid-row: 1/3;
  }
}
.p-topInstagram {
  padding: 118px 0 120px;
  background: #ffffff;
}

.p-topInstagram__inner {
  width: 1150px;
  max-width: calc(100% - 44px);
  margin: 0 auto;
}

.p-topInstagram__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 50px;
  align-items: center;
}

.p-topInstagram__list .webgene-blog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.p-topInstagram__item {
  display: block;
  min-width: 0;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-topInstagram__item:hover {
    opacity: 0.85;
    transform: translateY(-3px);
  }
}
.p-topInstagram__itemImage {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #eff9ff;
}

.p-topInstagram__itemImage > img,
.p-topInstagram__itemImage > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topInstagram__imageLink {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.p-topInstagram__media {
  display: block;
  width: 100%;
  height: 100%;
}

.p-topInstagram__media > img,
.p-topInstagram__media > video,
.p-topInstagram__imageLink > img,
.p-topInstagram__imageLink > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topInstagram__itemImage > .p-topInstagram__fallback,
.p-topInstagram__imageLink > .p-topInstagram__fallback {
  display: none;
  width: 100%;
  height: 100%;
}

.p-topInstagram__itemImage > .p-topInstagram__fallback.is-show,
.p-topInstagram__imageLink > .p-topInstagram__fallback.is-show {
  display: block;
}

.p-topInstagram__itemImage > .p-topInstagram__fallback > img,
.p-topInstagram__imageLink > .p-topInstagram__fallback > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topInstagram__captionLink {
  color: inherit;
  text-decoration: none;
}

.p-topInstagram__itemText {
  margin-top: 14px;
}

.p-topInstagram__itemText p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1100px) {
  .p-topInstagram__list .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}
@media (max-width: 900px) {
  .p-topInstagram {
    padding: 64px 0;
  }
  .p-topInstagram__inner {
    width: auto;
    max-width: none;
    padding: 0 24px;
  }
  .p-topInstagram__head {
    margin-bottom: 32px;
  }
}
@media (max-width: 520px) {
  .p-topInstagram__list .webgene-blog {
    gap: 20px 14px;
  }
  .p-topInstagram__itemText {
    margin-top: 10px;
  }
}
@media (min-width: 1367px) {
  .p-topFv__inner {
    padding-left: 4.904831vw;
  }
  .p-topFv__newsBlock {
    right: 1.464129vw;
  }
  .p-topStats__inner {
    margin-left: calc((100% - 1366px) / 2 + 102px);
  }
  .p-topNews__inner {
    margin-left: calc((100% - 1366px) / 2 + 104px);
  }
  .p-topSchool__inner {
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 500px) {
  .p-topStats__inner {
    padding: 0;
  }
}
