@charset "utf-8";

.student__top-wrap {
  border-bottom: 1px solid #BABABA;
}

.student__top  p{
  display: inline; 
  background:linear-gradient(transparent 98%, #5A5A5A 0%);
  word-break: auto-phrase;
}

.student__box {
  padding: 70px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
}
@media screen and (min-width: 768px) {
  .student__box {
    flex-direction: row;
    max-width: 850px;
  }
}
@media screen and (min-width: 1100px) {
  .student__box {
    padding: 70px min(calc(132 / 1366 * 100vw), 132px);
    gap: 50px;
  }
}

.student__box-btn {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 268px;
  position: relative;
  border-radius: 30px;
  border: 1.5px solid #B9B9B9;
  padding: 19px 0 19px 31px;
}
.student__box-btn::before {
  content: "";
  background: #A7BB65;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.student__box-btn::after {
  content: "";
  position: absolute;
  background: url(../images/icon-arrow-gray.svg);
  width: 33px;
  height: 33px;
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  transition: top 0.2s;
}
@media screen and (min-width: 1024px) {
  .student__box-btn::after {
    right: 38px;
  }
}
.student__box-btn:hover {
  opacity: 0.7;
}
.student__box-btn:hover::after {
  top: 55%;
}

.student__wrap {
  margin-bottom: 150px;
}
.student__item {
  padding: 100px 0;
  border-bottom: 1px solid #BABABA;
}
.student__title {
  display: flex;
  align-items: center;
  gap: 18px;
}
.student__title::before {
  content: "";
  width: 25px;
  height: 25px;
  display: inline-block;
  background: #A7BB65;
  border-radius: 7px;
}

.student__item-wrap {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
  flex-direction: column;
}
@media screen and (min-width: 1000px) {
  .student__item-wrap {
    flex-direction: row;
    gap: min(calc(87 / 1366 * 100vw), 87px);
  }
}
.student__item-img {
  aspect-ratio: 597 / 360;
  width: 100%;
  max-width: 500px;
  height: 100%;
  flex-shrink: 0;
  border-radius: 30px;
  overflow: hidden;
}
@media screen and (min-width: 1000px) {
  .student__item-img {
    width: min(calc(597 / 1366 * 100vw), 597px);
    max-width: 597px;
  }
}
.student__item-img img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.student__left-wrap {
  display: flex;
  justify-content: center;
  gap: 50px;
  align-items: stretch;
  flex-direction: column;
}
.student__left-item {
  flex: 1;
}
.student__left-title {
  transform: translateX(-50%) !important;
  padding: 13px 0 14px 0 !important;
}
.student__left-title--large {
  width: 270px !important;
}

.student__left-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 9px;
}
.student__left-tag {
  width: fit-content;
   padding: 4px 15px 5px 15px !important;
}

.service-bottom__wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
}
@media screen and (min-width: 1000px) {
  .service-bottom__wrap {
    flex-direction: row;
  }
}
.service-bottom__item {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}
@media screen and (min-width: 1000px) {
  .service-bottom__item {
	max-width: 100%;
  }
}
.service-bottom__item:first-of-type::after {
  display: none;
}
.service-bottom__item::after {
  content: "";
  background: url("../images/gray-arrow.svg");
  width: 10.81px;
  height: 15.53px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -15%;
  transform: translateX(-50%);
  left: 48%;
  rotate: 90deg;
}
@media screen and (min-width: 1000px) {
  .service-bottom__item::after {
    top: 50%;
    transform: translateY(-50%);
    left: -13%;
    rotate: unset;
  }
}
@media screen and (min-width: 1200px) {
  .service-bottom__item::after {
    left: -10%;
  }
}