.section__work-environment {
  position: relative;
  padding-top: 12.2rem;
  padding-bottom: 13.5rem;
}

.section__work-environment .star-img {
  position: absolute;
  top: 3.5rem;
  left: 65.4861%;
  width: 16.3194%;
}

.section__work-environment h2 {
  text-align: center;
  color: var(--color-title-gray);
  font-family: var(--font-featured);
  font-size: 8rem;
  line-height: 7rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 2.8rem;
  text-transform: uppercase;
}

.section__work-environment h5 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 1rem;
  color: black;
  font-size: 1.6rem;
  line-height: 1.9rem;
  font-weight: 330;
  margin-top: 0;
  margin-bottom: 12.7rem;
}

.section__work-environment h5:before {
  content: "03";
  order: 2;
}

.section__work-environment h5:after {
  content: "";
  display: inline-block;
  width: 7.4rem;
  border-top: 1px solid black;
  order: 0;
}

.section__work-environment p {
  max-width: clamp(67.5rem, 47.36%, 68.2rem);
  font-size: 1.6rem;
  line-height: 2.8rem;
  padding-left: 8.4rem;
}

.section__work-environment a {
  position: absolute;
  bottom: 24.4rem;
  right: calc(23.75% - 16rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: black;
  font-size: 1.6rem;
  line-height: 1.9rem;
  margin-left: 62.6rem;
  min-width: 32rem;
  width: 32rem;
  min-height: 6.4rem;
  border: 1px solid black;
  border-radius: 100em;
  overflow: hidden;
  opacity: 1;
  z-index: 1;
  transition: all .3s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.section__work-environment a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.9rem;
  width: 1.8rem;
  height: .7rem;
  margin-top: -.3rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 7'><path d='M18.05 3.2L11.65 0V2.74H0V3.74H11.65V6.41L18.05 3.2Z' fill='%23000'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 7'><path d='M18.05 3.2L11.65 0V2.74H0V3.74H11.65V6.41L18.05 3.2Z' fill='%23000'/></svg>") no-repeat center / contain;
  transition: all .3s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.section__work-environment a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background-color: var(--color-yellow);
  transition: all .3s ease-in-out;
  z-index: -1;
}

.section__work-environment a:hover {
  opacity: 1;
  font-weight: 530;
}

.section__work-environment a:hover:after {
  right: 1.2rem;
}

/* .section__work-environment a:hover:before {
  left: 0;
  width: 100%;
} */

.section__work-environment .image-we-overlay {
  position: absolute;
  z-index: -1;
}

.section__work-environment .image-we-overlay:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-overlay-workenvironment_left);
  background-size: cover;
  background-position: center;
}

.section__work-environment .image-we-overlay.image-we-overlay-right:before {
  background-image: var(--bg-overlay-workenvironment_right);
}

.section__work-environment .image-we-overlay.image-we-overlay-left {
  top: 22.4rem;
  left: 0;
  width: 55.56%;
  padding-bottom: 38.265%;
}

.section__work-environment .image-we-overlay.image-we-overlay-right {
  top: 44.5rem;
  right: 0;
  width: 23.75%;
  padding-bottom: 38.1944%;
}

.section__work-environment .swiper-work-environment {
  margin-bottom: 5.7rem;
}

.section__work-environment .swiper-work-environment .swiper-wrapper {
  transition-timing-function: linear !important;
}

.section__work-environment .image-work-environment {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.section__work-environment .image-work-environment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

@media screen and (max-width: 1023px) {
  .section__work-environment {
    position: relative;
    padding-top: 9.1rem;
    padding-bottom: 0;
  }

  .section__work-environment .star-img {
    position: absolute;
    top: 4.2rem;
    left: auto;
    right: 5.867%;
    width: 22.1813%;
  }

  .section__work-environment h2 {
    font-size: 4.5rem;
    line-height: 4rem;
    margin-bottom: 2.6rem;
  }

  .section__work-environment h5 {
    gap: .9rem;
    font-size: 1.4rem;
    line-height: 1.7rem;
    margin-bottom: 5.8rem;
  }

  .section__work-environment h5:after {
    width: 6.5rem;
  }

  .section__work-environment p {
    max-width: 100%;
    font-size: 1.4rem;
    line-height: 1.75;
    padding-left: 5.867%;
    padding-right: 8.267%;
  }

  .section__work-environment p br {
    display: none;
  }

  .section__work-environment a {
    position: relative;
    bottom: 0;
    right: 0;
    font-size: 1.3rem;
    line-height: 1.6rem;
    margin-left: calc(94% - 24rem);
    min-width: 24rem;
    width: 24rem;
    min-height: 4.8rem;
    margin-top: 2.9rem;
  }

  .section__work-environment a:after {
    right: 1.5rem;
    width: 1.4rem;
    height: .5rem;
    margin-top: -.3rem;
  }

  .section__work-environment a:hover {
    font-weight: 330;
  }

  .section__work-environment a:hover:after {
    right: 1.5rem;
  }

  .section__work-environment .image-we-overlay.image-we-overlay-left {
    top: 15.3rem;
    left: 0;
    width: 69.56%;
    padding-bottom: 42.465%;
  }

  .section__work-environment .image-we-overlay.image-we-overlay-right {
    top: 40rem;
    right: 0;
    width: 26.75%;
    padding-bottom: 43.1944%;
  }

  .section__work-environment .swiper-work-environment {
    margin-bottom: 6.1rem;
  }

  .section__work-environment .image-work-environment {
    position: relative;
    padding-bottom: 66.65%;
    aspect-ratio: unset;
  }

  .section__work-environment .image-work-environment img {
    position: absolute;
    inset: 0;
  }
}