/* 解決する課題セクション */
.challenges-section {
  width: 1440px;
  height: 1018px;
  background-color: #202020;
  padding: 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.challenges-section .container {
  padding: 0;
  position: relative;
}

/* タイトル - 画像の上にオーバーレイ */
.challenges-section .section-title {
  position: absolute;
  left: 50px;
  top: 50px;
  color: #fff;
  margin: 0;
  z-index: 10;
}

/* 背景画像グリッド */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 480px);
  gap: 0;
  width: 100%;
  height: 100%;
}

.challenge-card {
  position: relative;
  width: 480px;
  height: 1018px;
  overflow: hidden;
}

.challenge-overlay {
  position: relative;
  width: 100%;
  height: 100%;
}

.challenge-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 2つのオーバーレイ */
.challenge-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.challenge-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.challenge-content {
  position: relative;
  z-index: 3;
  padding: 314px 80px 0;
}

/* 課題3は高さが違う */
.challenge-card:nth-child(3) .challenge-content {
  padding: 314px 80px 0;
}

.challenge-title {
  font-family: noto-sans-jp, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0;
  max-width: 320px;
}
