.section__job-cats {
  position: relative;
  padding-top: 14.6527%;
}

.section__job-cats .job-cat-line-animation {
  position: absolute;
  left: -8.06%;
  bottom: -24rem;
  width: 57.5%;
  padding-bottom: 20.2083%;
  z-index: -1;
  overflow: hidden;
}

.section__job-cats .job-cat-line-animation .wrap-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 0;
  transform: translate(-50%, -50%) rotate(19deg);
  pointer-events: none;
}

.section__job-cats .job-cat-line-animation .line {
  display: block;
  height: 1px;
  background: var(--color-line);
  transform: scaleX(0);
  transform-origin: left center;
}

.section__job-cats h2 {
  color: var(--color-title-gray);
  font-family: var(--font-featured);
  font-size: 13rem;
  line-height: 11rem;
  font-weight: 500;
  margin-top: 0;
  margin-left: 29.375%;
  margin-bottom: 4rem;
  text-transform: uppercase;
}

.section__job-cats h5 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row-reverse;
  gap: 1rem;
  color: black;
  font-size: 1.6rem;
  line-height: 1.9rem;
  font-weight: 330;
  margin-top: 0;
  margin-bottom: 1.4rem;
  padding-left: 29.72%;
}

.section__job-cats h5:before {
  content: "02";
  order: 2;
}

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

.section__job-cats p {
  font-size: 1.6rem;
  line-height: 2.8rem;
  padding-left: 56.11%;
  margin-bottom: 7.6rem;
}

.wrap__list-job-category {
  position: relative;
  margin-bottom: 14.3rem;
}

.wrap__list-job-category:before {
  content: "";
  position: absolute;
  top: 7.5rem;
  left: 34.6rem;
  width: 13.5rem;
  height: 13.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><rect x='0' y='0' width='11' height='11' fill='%23FFD400'/></svg>");
  background-repeat: repeat;
  background-size: calc(13.5rem / 5.5) calc(13.5rem / 5.5);
}

.list__job-category {
  position: relative;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  row-gap: 4.8rem;
  border: 1px solid black;
  border-radius: 2.5rem;
  padding: 6.4rem 9rem 6.9rem;
  margin-left: 29.72%;
  margin-right: 12.5%;
}

.list__job-category .item__job-category {
  flex: 0 0 35%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.3rem;
  font-size: 2.4rem;
  line-height: 2.9rem;
  font-weight: 530;
  color: var(--color-gray);
}

.list__job-category .item__job-category:nth-child(3) {
  flex: 0 0 30%;
}

.list__job-category .item__job-category:last-child {
  flex: 0 0 62%;
}

.list__job-category .item__job-category:before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M15.9498 7.83081C14.5498 7.83081 8.24982 14.1309 8.24982 15.5309C8.24982 14.1309 1.9498 7.83081 0.549805 7.83081C1.9498 7.83081 8.24982 1.53086 8.24982 0.130859C8.24982 1.53086 14.5498 7.83081 15.9498 7.83081Z' fill='%233B3B3B'/></svg>") no-repeat center/contain;
}

@media screen and (max-width: 1023px) {
  .section__job-cats {
    padding-top: 51.4527%;
  }

  .section__job-cats .job-cat-line-animation {
    left: -11.7893%;
    bottom: -3.1rem;
    width: 123.5787%;
    padding-bottom: 43.3413%;
    transform: translateY(100%);
  }

  .section__job-cats h2 {
    font-size: 5.5rem;
    line-height: 4.8rem;
    margin-left: 5.33%;
    margin-bottom: 2.6rem;
  }

  .section__job-cats h5 {
    gap: .9rem;
    font-size: 1.4rem;
    line-height: 1.7rem;
    padding-left: 5.8667%;
    margin-bottom: 5.8rem;
  }

  .section__job-cats h5:after {
    width: 6.5rem;
  }

  .section__job-cats p {
    font-size: 1.4rem;
    line-height: 1.75;
    padding-inline: 5.8667% 8.2667%;
    margin-bottom: 3.8rem;
  }

  .section__job-cats p br {
    display: none;
  }

  .wrap__list-job-category {
    position: relative;
    margin-bottom: 11.4rem;
  }

  .wrap__list-job-category:before {
    top: 4.5rem;
    left: 0;
    width: 5.1rem;
    height: 8rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15'><rect x='0' y='0' width='7' height='7' fill='%23FFD400'/></svg>");
    background-repeat: repeat;
    background-size: calc(5.1rem / 3.5) calc(8rem / 5.5);
  }

  .list__job-category {
    position: relative;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 2rem;
    border-radius: 1.5rem;
    padding: 3rem 3.1rem 3.4rem;
    margin-inline: 5.8667%;
  }

  .list__job-category .item__job-category {
    flex: 0 0 calc(50% - 1.6rem);
    gap: 1.5rem;
    font-size: 1.5rem;
    line-height: 1.8rem;
  }

  .list__job-category .item__job-category:nth-child(3) {
    flex: 0 0 50%;
  }

  .list__job-category .item__job-category:last-child {
    flex: 0 0 100%;
  }

  .list__job-category .item__job-category:before {
    width: 1rem;
    height: 1rem;
  }
}