/* =============================================
   CrossSports Crosen (選抜クラス) Page Styles
   Reuses CSS custom properties from common.css
   ============================================= */

/* ===== HERO ===== */
.cr-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  background: var(--cs-navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cr-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.cr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,43,69,.75) 0%, rgba(11,43,69,.88) 100%);
  z-index: 1;
}
.cr-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 700px;
}
.cr-hero__badge {
  display: inline-block;
  background: var(--cs-teal);
  color: var(--cs-navy);
  padding: 5px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.cr-hero__title {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}
.cr-hero__tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--cs-teal);
  margin-bottom: 14px;
}
.cr-hero__desc {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}
.cr-hero__diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--cs-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* Hero elements show immediately */
.cr-hero .cs-anim {
  opacity: 1;
  transform: none;
  animation: csFadeInUp .8s ease-out both;
}

/* ===== CONCEPT ===== */
.cr-concept {
  display: flex;
  align-items: center;
  gap: 60px;
}
.cr-concept__text-area {
  flex: 1;
}
.cr-concept__text-area .cs-section__title {
  border: none;
  padding: 0;
}
.cr-concept__text-area .cs-section__title::before,
.cr-concept__text-area .cs-section__title::after {
  display: none;
}
.cr-concept__text {
  font-size: 15px;
  color: var(--cs-gray);
  line-height: 2;
  margin-top: 16px;
}
.cr-concept__img {
  flex-shrink: 0;
}
.cr-concept__img-main {
  display: block;
}

/* ===== SELECTION CRITERIA ===== */
.cr-criteria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.cr-criteria__card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1.5px solid rgba(78,201,176,.12);
  transition: all .3s;
}
.cr-criteria__card:hover {
  border-color: var(--cs-teal);
  transform: translateY(-4px);
}
.cr-criteria__num {
  font-family: var(--cs-font-en);
  font-size: 36px;
  font-weight: 900;
  color: var(--cs-teal);
  line-height: 1;
  margin-bottom: 16px;
}
.cr-criteria__title {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--cs-dark);
  line-height: 1.5;
}
.cr-criteria__text {
  font-size: 13px;
  color: var(--cs-gray);
  line-height: 1.9;
}
.cr-criteria__note {
  font-size: 12px;
  color: var(--cs-gray);
  opacity: .8;
}
.cr-criteria__result {
  margin-top: 36px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 32px;
  border-left: 4px solid var(--cs-teal);
}
.cr-criteria__result p {
  font-size: 14px;
  color: var(--cs-gray);
  line-height: 1.8;
}

/* ===== INFO TABLE ===== */
.cr-info {
  margin-top: 50px;
  max-width: 800px;
}
.cr-info__table {
  width: 100%;
  border-collapse: collapse;
}
.cr-info__table th,
.cr-info__table td {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(78,201,176,.12);
  text-align: left;
  vertical-align: top;
}
.cr-info__table th {
  font-weight: 700;
  color: var(--cs-navy);
  white-space: nowrap;
  width: 100px;
  position: relative;
  padding-left: 18px;
}
.cr-info__table th::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--cs-teal);
  border-radius: 2px;
}
.cr-info__table td {
  color: var(--cs-dark);
}
.cr-info__note {
  font-size: 13px;
  color: var(--cs-gray);
}

/* ===== RECRUITMENT (募集状況) ===== */
.cr-recruit__table-wrap {
  overflow-x: auto;
  max-width: 600px;
}
.cr-recruit__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.cr-recruit__table thead th {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cs-navy);
  background: var(--cs-cream);
  border-bottom: 2px solid rgba(78,201,176,.15);
  text-align: center;
}
.cr-recruit__table thead th:first-child {
  text-align: left;
}
.cr-recruit__table tbody td {
  padding: 18px 24px;
  font-size: 15px;
  color: var(--cs-dark);
  border-bottom: 1px solid rgba(78,201,176,.08);
  text-align: center;
}
.cr-recruit__table tbody td strong {
  font-family: var(--cs-font-en);
  font-size: 22px;
  font-weight: 900;
  color: var(--cs-teal-dark);
}
.cr-recruit__row-label {
  text-align: left !important;
  font-weight: 700;
  color: var(--cs-navy) !important;
  white-space: nowrap;
}

/* ===== PRICING (4 cards) ===== */
.cr-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.cr-pricing__card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  border: 1.5px solid rgba(78,201,176,.12);
  transition: all .3s;
  position: relative;
}
.cr-pricing__card:hover {
  border-color: var(--cs-teal);
  transform: translateY(-4px);
}
.cr-pricing__card--highlight {
  border-color: var(--cs-teal);
  background: linear-gradient(180deg, #fff 0%, rgba(78,201,176,.06) 100%);
}
.cr-pricing__recommend {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cs-teal);
  color: var(--cs-navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 1px;
}
.cr-pricing__label {
  font-family: var(--cs-font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--cs-teal-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cr-pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.cr-pricing__num {
  font-family: var(--cs-font-en);
  font-size: 38px;
  font-weight: 900;
  color: var(--cs-navy);
  line-height: 1;
}
.cr-pricing__yen {
  font-size: 16px;
  font-weight: 700;
  color: var(--cs-navy);
}
.cr-pricing__tax {
  font-size: 13px;
  color: var(--cs-gray);
  margin-left: 4px;
}

/* ===== RULES (4つの掟) ===== */
.cr-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.cr-rules__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(78,201,176,.1);
  border-radius: 14px;
  padding: 32px 24px;
  transition: all .3s;
}
.cr-rules__card:hover {
  background: rgba(78,201,176,.06);
  border-color: rgba(78,201,176,.25);
}
.cr-rules__num {
  font-family: var(--cs-font-en);
  font-size: 48px;
  font-weight: 900;
  color: var(--cs-teal);
  line-height: 1;
  margin-bottom: 16px;
}
.cr-rules__title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.cr-rules__text {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}
.cr-rules__note {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-top: 32px;
}

/* ===== STEPS ===== */
.cr-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cr-steps__item {
  flex: 1;
  text-align: center;
  max-width: 240px;
}
.cr-steps__connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cs-teal), rgba(78,201,176,.2));
  margin-top: 58px;
  flex-shrink: 0;
}
.cr-steps__num {
  font-family: var(--cs-font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--cs-teal-dark);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.cr-steps__icon {
  width: 64px;
  height: 64px;
  background: var(--cs-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid rgba(78,201,176,.15);
}
.cr-steps__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--cs-dark);
  margin-bottom: 8px;
}
.cr-steps__text {
  font-size: 13px;
  color: var(--cs-gray);
  line-height: 1.7;
}

/* ===== RESPONSIVE: 900px ===== */
@media (max-width: 900px) {
  .cr-hero {
    height: 50vh;
    min-height: 380px;
  }
  .cr-hero__title {
    font-size: 32px;
  }
  .cr-hero__tagline {
    font-size: 17px;
  }
  .cr-hero__desc {
    font-size: 14px;
  }

  .cr-concept {
    flex-direction: column;
    gap: 30px;
  }
  .cr-concept__text-area {
    text-align: left;
  }
  .cr-concept .cs-section__title {
    text-align: center;
  }
  .cr-concept__img {
    text-align: center;
  }
  .cr-concept__img-main {
    margin: 0 auto;
    width: 200px !important;
  }

  .cr-criteria {
    grid-template-columns: 1fr;
  }

  .cr-info__table th {
    display: block;
    padding-bottom: 4px;
    border-bottom: none;
  }
  .cr-info__table td {
    display: block;
    padding-top: 0;
    padding-left: 18px;
  }

  .cr-recruit {
    grid-template-columns: 1fr;
  }

  .cr-pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  .cr-rules {
    grid-template-columns: repeat(2, 1fr);
  }

  .cr-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .cr-steps__connector {
    width: 2px;
    height: 40px;
    margin: 0;
    background: linear-gradient(180deg, var(--cs-teal), rgba(78,201,176,.2));
  }
}

/* ===== RESPONSIVE: 480px ===== */
@media (max-width: 480px) {
  .cr-hero {
    height: 45vh;
    min-height: 340px;
  }
  .cr-hero__title {
    font-size: 26px;
  }
  .cr-hero__tagline {
    font-size: 15px;
  }
  .cr-hero__diagonal {
    height: 60px;
  }

  .cr-pricing {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .cr-pricing__num {
    font-size: 34px;
  }

  .cr-rules {
    grid-template-columns: 1fr;
  }
}
