/* ============================================================
   junior-youth.css - ジュニアユース（サブページ再設計版）
   ワイヤーフレーム_サブページ再設計.md §3-3 準拠
   参考: zelvia /academy/（MATCH/TEAM横断導線）＋/match/（数字の見せ方）
   ============================================================ */

/* ---------- CONCEPT（ステートメント＋写真2カラム） ---------- */
.jy-concept__catch {
  font-family: var(--font-head);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 48px;
}

.jy-concept__catch span {
  color: var(--primary);
}

.jy-concept {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.jy-concept__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-1);
}

.jy-concept__copy p {
  margin-bottom: 18px;
}

.jy-concept__copy p:last-child {
  margin-bottom: 0;
}

/* ---------- 環境ハイライト（数字タイル4枚） ---------- */
.jy-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.jy-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 28px 16px;
  text-align: center;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.jy-stat__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-sub);
}

.jy-stat__value {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
}

.jy-stat__sub {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-sub);
}

.jy-stats-note {
  margin-top: 16px;
  text-align: center;
}

/* ---------- 02 FEATURE（番号カード2×2） ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 32px 28px;
}

.feature-card__num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.9;
}

.feature-card strong {
  color: var(--primary);
}

/* ---------- MATCH / PLAYERS 横断導線 ---------- */
.jy-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.jy-link {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--secondary);
  box-shadow: var(--shadow-1);
}

.jy-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s var(--ease-out);
}

.jy-link:hover img {
  transform: scale(1.06);
}

.jy-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 33, 65, 0.82) 0%, rgba(0, 33, 65, 0.35) 100%);
}

.jy-link__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 24px 28px;
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.jy-link__en {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.jy-link__ja {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jy-link__arrow {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  transition: background 0.24s var(--ease-out), border-color 0.24s var(--ease-out);
}

.jy-link__arrow svg {
  stroke: var(--text-inverse);
}

.jy-link:hover .jy-link__arrow {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- 03 DETAIL（募集要項2カラムカード：活動／費用） ---------- */
.jy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.jy-detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 28px;
}

.jy-detail-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.jy-detail-card dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}

.jy-detail-card dl > div:last-child {
  border-bottom: none;
}

.jy-detail-card dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.jy-detail-card dd {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.jy-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ---------- 05 JOIN US（横並び3ステップ） ---------- */
.jy-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.jy-step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 26px 22px;
  text-align: center;
}

.jy-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.jy-step__label {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.jy-step h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.jy-step p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .jy-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jy-concept {
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .jy-concept {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jy-concept__catch {
    margin-bottom: 36px;
    text-align: left;
  }

  .jy-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .jy-stat {
    padding: 20px 12px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jy-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jy-link {
    aspect-ratio: 16 / 7;
  }

  .jy-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jy-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jy-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -16px;
    transform: translateX(50%) rotate(135deg);
  }
}
