/* ============================================================
   junior.css — ジュニア（新規ページ）固有
   2026-07-09作成／同日夜に全面改訂：junior-youth.htmlと同じ
   8セクション構成（CONCEPT/ENVIRONMENT/FEATURE/MATCH&STAFF/
   DETAIL/VOICE/JOIN US/RELATED+CTA）に統一。カテゴリーカードは
   feature-cardと同じ「影付き白箱＋小さな金ラベル」に統一し、
   左アクセント線の定型パターン（AIっぽいと指摘）は廃止。
   実データが乏しい項目（活動日・費用の具体額・保護者の声）は
   でっち上げず「お問い合わせください」「準備中」で正直に表示。
   共通部品＝page-head / sub-head / sec-action / related / cta-band は
   style.css を使用。
   ============================================================ */

/* ---------- 01 CONCEPT（大タイポ＋写真2カラム） ---------- */
.jr-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;
}

.jr-concept__catch span {
  color: var(--primary);
}

.jr-concept {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.jr-concept__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-1);
}

.jr-concept__copy p {
  margin-bottom: 18px;
}

.jr-concept__copy p:last-child {
  margin-bottom: 0;
}

.jr-concept__copy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 環境ハイライト（数字タイル4枚） ---------- */
.jr-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.jr-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;
}

.jr-stat__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-sub);
}

.jr-stat__value {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
}

.jr-stat__sub {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-sub);
}

.jr-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 / STAFF 横断導線 ---------- */
.jr-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.jr-link {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--secondary);
  box-shadow: var(--shadow-1);
}

.jr-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s var(--ease-out);
}

.jr-link:hover img {
  transform: scale(1.06);
}

.jr-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%);
}

.jr-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;
}

.jr-link__en {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.jr-link__ja {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jr-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);
}

.jr-link__arrow svg {
  stroke: var(--text-inverse);
}

.jr-link:hover .jr-link__arrow {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- 03 DETAIL（活動／費用） ---------- */
.jr-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.jr-detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 28px;
}

.jr-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);
}

.jr-detail-card dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}

.jr-detail-card dl > div:last-child {
  border-bottom: none;
}

.jr-detail-card dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.jr-detail-card dd {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.jr-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ---------- 04 VOICE（実データ未収集のため正直な案内パネル） ---------- */
.jr-voice-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-1);
  padding: 40px 32px;
}

.jr-voice-panel p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.jr-voice-panel .btn-std {
  margin-top: 12px;
}

/* ---------- 05 JOIN US（横並び3ステップ） ---------- */
.jr-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.jr-steps--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jr-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;
}

.jr-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);
}

.jr-step__label {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.jr-step h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.jr-step p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .jr-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jr-concept {
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .jr-concept {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jr-concept__catch {
    margin-bottom: 36px;
    text-align: left;
  }

  .jr-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .jr-stat {
    padding: 20px 12px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jr-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jr-link {
    aspect-ratio: 16 / 7;
  }

  .jr-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jr-voice-panel {
    padding: 28px 20px;
  }

  .jr-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jr-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -16px;
    transform: translateX(50%) rotate(135deg);
  }
}


/* ============================================================
   2026-07-09 実データ全面再構築で追加（GROWTH PLAN / DEV PHILOSOPHY /
   VOICE / 体験会概要）。金の罫線・縦バーは使わず影付き白箱で統一。
   ============================================================ */

/* ---------- GROWTH PLAN（年代別育成プログラム・影付き白カード） ---------- */
.jr-growth-intro {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
}
.jr-growth-intro strong { color: var(--primary); }


/* ---------- DEVELOPMENT PHILOSOPHY（濃紺帯・金ライン無し） ---------- */
.jr-philo {
  max-width: 880px;
  margin: 0 auto;
}

.jr-philo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.jr-philo-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.jr-philo-list__num {
  flex: none;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 2px;
}

.jr-philo-closing {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.7;
}
.jr-philo-closing strong { color: var(--accent); }

/* ---------- 無料体験会概要（Surfaceカード） ---------- */
.jr-trial {
  max-width: 820px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
}

.jr-trial__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.jr-trial__list { display: flex; flex-direction: column; }

.jr-trial__list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.jr-trial__list > div:last-child { border-bottom: none; }

.jr-trial__list dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.jr-trial__list dd {
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Responsive（追加分） ---------- */
@media (max-width: 767px) {
  .jr-trial { padding: 22px 18px; }
  .jr-trial__list > div { grid-template-columns: 84px 1fr; gap: 12px; }
}

/* ============================================================
   GROWTH PLAN 学年アコーディオン（案B・2026-07-26フェーズF承認モック準拠）
   native <details>：JS不要・閉状態でも年代/キャッチ/進行ドットが見える。
   ============================================================ */
.jr-acc {
  border-top: 1px solid var(--border);
}

.jr-acc__item {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.jr-acc__sum {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 104px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 10px;
}

.jr-acc__sum::-webkit-details-marker { display: none; }

.jr-acc__cat {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--secondary);
}

.jr-acc__cat small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.06em;
  margin-top: 5px;
}

.jr-acc__sub {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--primary);
}

.jr-acc__meter {
  display: flex;
  gap: 5px;
}

.jr-acc__meter i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dbe4ee;
}

.jr-acc__meter i.on { background: var(--primary); }

.jr-acc__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.jr-acc__toggle::before,
.jr-acc__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--text);
  transform: translate(-50%, -50%);
}

.jr-acc__toggle::before { width: 12px; height: 2px; }
.jr-acc__toggle::after { width: 2px; height: 12px; }
.jr-acc__item[open] .jr-acc__toggle::after { display: none; }
.jr-acc__item[open] .jr-acc__sum { background: #f4f8fc; }

.jr-acc__body {
  padding: 4px 10px 24px;
}

.jr-acc__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.jr-acc__panel {
  border-radius: 6px;
  padding: 16px 18px;
}

.jr-acc__panel--theme { background: var(--surface); }
.jr-acc__panel--approach { background: rgba(196, 155, 56, 0.10); }

.jr-acc__chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.jr-acc__chip--theme { background: var(--primary); }
.jr-acc__chip--approach { background: var(--grad-gold); }

.jr-acc__theme {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jr-acc__theme li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
}

.jr-acc__theme li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.jr-acc__approach {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
}

.jr-acc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.jr-acc__tags span {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100vmax;
  background: var(--surface);
  color: var(--primary);
}

@media (max-width: 767px) {
  .jr-acc__sum {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
    padding: 14px 4px;
  }

  .jr-acc__cat { font-size: 17px; }
  .jr-acc__cat small { font-size: 10px; }
  .jr-acc__sub { font-size: 13px; }
  .jr-acc__meter { display: none; }
  .jr-acc__toggle { width: 28px; height: 28px; }
  .jr-acc__body { padding: 2px 4px 18px; }

  .jr-acc__cols {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jr-acc__panel { padding: 14px 14px; }
}
