/* 採用情報セクション */
.recruitment {
  background: #ffffff;
  width: 100%;
}

/* 採用画像エリア */
.recruitment__image {
  width: 100%;
  height: 385px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* 求める人材コンテンツエリア */
.recruitment__content {
  background: #f9f3eb;
  padding: 40px 0 100px;
  width: 100%;
}

.recruitment__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recruitment__title {
  font-weight: bold;
  font-size: 32px;
  line-height: 52px;
  height: 52px;
  text-align: center;
  margin: 0 0 60px 0;
}

/* 候補者グリッド */
.recruitment__candidates {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 940px;
}

.recruitment__candidate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 180px;
}

.recruitment__candidate-icon {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
}

.recruitment__candidate-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.recruitment__candidate-text {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.3;

  text-align: center;
  margin: 0;
  white-space: nowrap;
}

.recruitment__candidate-text-line {
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .recruitment__container {
    padding: 0 50px;
  }

  .recruitment__candidates {
    gap: 40px;
  }

  .recruitment__candidate {
    min-width: 0px;
    max-width: 140px;
  }
}

@media (max-width: 768px) {
  .recruitment__image {
    height: 390px;
  }

  .recruitment__content {
    padding: 40px 24px 0px;
  }

  .recruitment__container {
    padding: 0;
  }

  .recruitment__title {
    font-size: 24px;
    line-height: 39px;
    height: 39px;
    margin-bottom: 0;
  }

  /* 候補者を2×2グリッドに */
  .recruitment__candidates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 342px;
    margin: 0;
  }

  .recruitment__candidate {
    flex: 0 0 50%;
    width: 50%px;
    padding: 40px 0;
    min-width: auto;
    max-width: none;
    gap: 16px;
  }

  /* 下段の2つの候補者 */
  .recruitment__candidate:nth-child(3),
  .recruitment__candidate:nth-child(4) {
    padding: 0 0 40px 0;
  }

  .recruitment__candidate-icon {
    height: 120px;
  }

  .recruitment__candidate-text {
    font-size: 16px;
    white-space: normal;
  }
}
