/* =============================================
   CrossSports Maverick (高校生) Page Styles
   Reuses CSS custom properties from common.css
   ============================================= */

/* ===== HERO ===== */
.cm-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  background: var(--cs-navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.cm-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;
}
.cm-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 700px;
}
.cm-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;
}
.cm-hero__title {
  font-family: var(--cs-font-en);
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.cm-hero__tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--cs-teal);
  margin-bottom: 14px;
}
.cm-hero__desc {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}
.cm-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 */
.cm-hero .cs-anim {
  opacity: 1;
  transform: none;
  animation: csFadeInUp .8s ease-out both;
}

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

/* ===== FEATURES ===== */
.cm-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.cm-features__card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1.5px solid transparent;
  transition: all .3s;
}
.cm-features__card:hover {
  border-color: var(--cs-teal);
  transform: translateY(-4px);
}
.cm-features__icon {
  width: 52px;
  height: 52px;
  background: var(--cs-navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cm-features__title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--cs-dark);
}
.cm-features__text {
  font-size: 13px;
  color: var(--cs-gray);
  line-height: 1.8;
}

/* ===== RESULTS (実績) ===== */
.cm-results__sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 40px;
}
.cm-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cm-results__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(78,201,176,.15);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
}
.cm-results__card:hover {
  background: rgba(78,201,176,.06);
  border-color: rgba(78,201,176,.3);
}
.cm-results__period {
  display: inline-block;
  background: rgba(78,201,176,.15);
  color: var(--cs-teal);
  font-family: var(--cs-font-en);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.cm-results__before {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.cm-results__arrow {
  margin-bottom: 12px;
}
.cm-results__after {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
}
.cm-results__highlight {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cs-teal);
  margin-top: 4px;
}

/* ===== INFO TABLE ===== */
.cm-info {
  margin-top: 50px;
  max-width: 800px;
}
.cm-info__table {
  width: 100%;
  border-collapse: collapse;
}
.cm-info__table th,
.cm-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;
}
.cm-info__table th {
  font-weight: 700;
  color: var(--cs-navy);
  white-space: nowrap;
  width: 100px;
  position: relative;
  padding-left: 18px;
}
.cm-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;
}
.cm-info__table td {
  color: var(--cs-dark);
}
.cm-info__note {
  font-size: 13px;
  color: var(--cs-gray);
}

/* ===== PRICING ===== */
.cm-pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
  max-width: 700px;
}
.cm-pricing__card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1.5px solid rgba(78,201,176,.12);
  transition: all .3s;
}
.cm-pricing__card:hover {
  border-color: var(--cs-teal);
  transform: translateY(-4px);
}
.cm-pricing__card--primary {
  border-color: var(--cs-teal);
  background: linear-gradient(180deg, #fff 0%, rgba(78,201,176,.04) 100%);
}
.cm-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;
}
.cm-pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}
.cm-pricing__num {
  font-family: var(--cs-font-en);
  font-size: 42px;
  font-weight: 900;
  color: var(--cs-navy);
  line-height: 1;
}
.cm-pricing__yen {
  font-size: 18px;
  font-weight: 700;
  color: var(--cs-navy);
}
.cm-pricing__tax {
  font-size: 13px;
  color: var(--cs-gray);
  margin-left: 4px;
}
.cm-pricing__desc {
  font-size: 13px;
  color: var(--cs-gray);
  line-height: 1.6;
}
.cm-pricing__note {
  font-size: 13px;
  color: var(--cs-gray);
  margin-top: 20px;
}

/* ===== STEPS ===== */
.cm-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cm-steps__item {
  flex: 1;
  text-align: center;
  max-width: 240px;
}
.cm-steps__connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cs-teal), rgba(78,201,176,.2));
  margin-top: 58px;
  flex-shrink: 0;
}
.cm-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;
}
.cm-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);
}
.cm-steps__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--cs-dark);
  margin-bottom: 8px;
}
.cm-steps__text {
  font-size: 13px;
  color: var(--cs-gray);
  line-height: 1.7;
}

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

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

  .cm-features {
    grid-template-columns: 1fr;
  }

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

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

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

  .cm-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .cm-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) {
  .cm-hero {
    height: 45vh;
    min-height: 340px;
  }
  .cm-hero__title {
    font-size: 28px;
  }
  .cm-hero__tagline {
    font-size: 15px;
  }
  .cm-hero__diagonal {
    height: 60px;
  }

  .cm-results {
    grid-template-columns: 1fr;
  }

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