/* Page heading */
.page-hero {
  position: relative;
  display: grid;
  min-height: 380px;
  color: var(--color-white);
  background: linear-gradient(118deg, var(--color-deep), #263b45);
  place-items: center;
  overflow: hidden;
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  border: 2px solid rgba(92, 239, 38, 0.42);
  content: "";
  transform: rotate(16deg);
}

.page-hero::before {
  top: -110px;
  right: 8%;
  width: 280px;
  height: 280px;
}

.page-hero::after {
  right: 20%;
  bottom: -120px;
  width: 190px;
  height: 190px;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__label {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.page-hero__subtitle {
  margin: 18px 0 0;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* Company profile */
.company-profile__list {
  border-top: 1px solid var(--color-line);
}

.company-profile__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 130px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--color-line);
}

.company-profile__row:nth-child(even) {
  background: #fafcfa;
}

.company-profile__term {
  font-size: 0.9rem;
  font-weight: 700;
}

.company-profile__term--english {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.company-profile__value {
  font-size: 0.95rem;
}

.company-profile__value--english {
  color: var(--color-muted);
  font-family: var(--font-en);
  font-size: 0.88rem;
}

/* Recruitment */
.recruitment__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.recruitment__heading,
.recruitment__label,
.recruitment__value {
  padding: 24px 22px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.recruitment__heading {
  color: var(--color-white);
  background: var(--color-deep);
  font-weight: 500;
}

.recruitment__heading:first-child {
  width: 150px;
}

.recruitment__label {
  background: var(--color-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.recruitment__value {
  font-size: 0.93rem;
}

@media (max-width: 900px) {
  .company-profile__row {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px 22px;
  }

  .company-profile__term--english {
    padding-top: 5px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 310px;
  }

  .recruitment__head {
    display: none;
  }

  .recruitment__table,
  .recruitment__body,
  .recruitment__row,
  .recruitment__label,
  .recruitment__value {
    display: block;
    width: 100%;
  }

  .recruitment__row {
    margin-bottom: 28px;
    border: 1px solid var(--color-line);
  }

  .recruitment__label,
  .recruitment__value {
    border-bottom: 1px solid var(--color-line);
  }

  .recruitment__value:last-child {
    border-bottom: 0;
  }

  .recruitment__value::before {
    display: block;
    margin-bottom: 7px;
    color: var(--color-accent-dark);
    content: attr(data-label);
    font-size: 0.73rem;
    font-weight: 700;
  }
}

@media (max-width: 560px) {
  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 22px 16px;
  }

  .company-profile__value {
    margin-bottom: 11px;
  }

  .company-profile__term--english {
    margin-top: 5px;
    padding-top: 0;
  }

  .company-profile__value--english {
    margin-bottom: 0;
  }

  .recruitment__label,
  .recruitment__value {
    padding: 19px 18px;
  }
}
