/* =========================================
   Evaluation System Page Styles
   ========================================= */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 800px;
  color: var(--color-white);
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
  overflow: hidden;
}

.hero-section__bg-text {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero-section__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
}

.hero-section__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 40px;
}

.hero-section__sub-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.4;
}

.hero-section__text {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 2;
}

.main-bg {
  background: linear-gradient(
    100deg,
    rgba(185, 34, 51, 1) 0%,
    rgba(121, 42, 54, 1) 40%,
    rgba(223, 29, 49, 1) 100%
  );
  color: #fff;
}

/* =========================================
   Feature Blocks (img & Text)
   ========================================= */

.feature-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin-bottom: 120px;
}

.feature-block--reverse {
  flex-direction: row-reverse;
}

.feature-block__text {
  flex-basis: 50%;
}

.feature-block__img {
  flex-basis: 40%;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.feature-block__title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.4;
  color: #fff;
}

.feature-block__desc {
  font-size: 15px;
  line-height: 2;
  color: #fff;
}

/* =========================================
   Recruit Info Section
   ========================================= */

.recruit-info-section {
  padding: 80px 0 120px;
  text-align: center;
}

.recruit-info__title {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 60px;
}

.recruit-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.recruit-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.recruit-link-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.recruit-link-card__title {
  font-size: 20px;
  font-weight: 900;
}

.recruit-link-card.close {
  /* グレーアウトにして、テキストを白にする */
  pointer-events: none;
  background: rgb(120, 120, 120);
  border: none;
  color: #fff;
  cursor: default;
  outline: none;
}

/* =========================================
   Responsive adjustments
   ========================================= */

@media (max-width: 1024px) {
  .feature-block,
  .feature-block--reverse {
    flex-direction: column;
  }

  .feature-block__text,
  .feature-block__img {
    flex-basis: 100%;
    width: 100%;
  }

  .feature-block__img {
    order: -1;
    margin-bottom: 30px;
  }

  .recruit-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recruit-link-card {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 230px;
    padding-bottom: 150px;
    min-height: auto;
  }

  .hero-section__title {
    font-size: 32px;
  }

  .hero-section__sub-title {
    font-size: 20px;
  }

  .hero-section__bg-text {
    font-size: 60px;
    top: 30%;
  }

  .feature-block {
    gap: 40px;
    margin-bottom: 80px;
  }

  .feature-block__title,
  .recruit-info__title {
    font-size: 24px;
  }
}
