/* 🖥 はじめてクラス（2026-10-13）。土台は contest.css ＋ nakama.css */
.cls-card { background: #fffaf0; border: 3px solid var(--gold); border-radius: 16px; margin: 10px 0; overflow: hidden; }
.cls-card.waiting { border-color: #c9b26a; }
.cls-card.full { border-color: #cfc7b5; opacity: .85; }
.cls-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--navy); color: #fff; padding: 8px 14px; font-size: 17px; }
.cls-st { font-size: 12.5px; font-weight: 900; background: #ffe27a; color: #4a2c00; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.cls-card.waiting .cls-st { background: #e9e0c6; }
.cls-card.full .cls-st { background: #ddd; color: #555; }
.cls-body { padding: 10px 14px 14px; }
.cls-body p { margin: 4px 0; }
.cls-go { display: block; text-align: center; margin-top: 10px; }
.cls-full { display: block; text-align: center; margin-top: 10px; cursor: default; }
table.rate td:nth-child(2) { white-space: nowrap; }
table.rate td:nth-child(3), table.rate td:first-child { text-align: left; white-space: normal; font-weight: 500; }
table.rate td:first-child { font-weight: 800; }
.cls-trial { background: #fff; border: 1px dashed var(--gold); border-radius: 10px; padding: 8px 12px !important; margin-top: 8px !important; }
.cls-trial small { color: var(--sub); }

/* 📅 初回面談の 予約の 欄（2026-11-06） */
.md-form label { display: block; margin: 8px 0; font-weight: 900; font-size: 15px; }
.md-form input, .md-form select { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; font: inherit; font-size: 16px; font-weight: 500; padding: 9px 10px; border: 2px solid var(--gold); border-radius: 10px; background: #fff; color: var(--navy); }
.md-form .md-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.md-form .btn { display: block; width: 100%; text-align: center; margin-top: 12px; }
.md-form .ok { color: #1a7f37; font-weight: 900; }
/* 日 → 時間 の ボタン（2026-11-07） */
.md-pick { margin: 8px 0; }
.md-pick > b { display: block; font-weight: 900; font-size: 15px; margin: 8px 0 4px; }
.md-days, .md-times { display: flex; flex-wrap: wrap; gap: 8px; }
.md-day, .md-time { font: inherit; font-weight: 900; font-size: 16px; padding: 8px 12px; border-radius: 12px; border: 2px solid var(--gold); background: #fff; color: var(--navy); cursor: pointer; min-width: 64px; }
.md-day small { display: block; font-size: 12px; font-weight: 700; color: var(--sub); }
.md-day.sat { color: #1d4f9a; } .md-day.sun { color: #c0392b; }
.md-day.on, .md-time.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.md-day.on small { color: #ffe38a; }
.md-chosen { margin: 8px 0 0 !important; font-weight: 900; color: #1a7f37; min-height: 1.4em; }
/* 🖥 公開練習の 回（2026-11-07） */
.rs-list { display: grid; gap: 8px; margin: 8px 0; }
.rs-ev { font: inherit; text-align: left; display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--gold); background: #fff; color: var(--navy); cursor: pointer; }
.rs-ev b { font-size: 18px; font-weight: 900; } .rs-ev span { font-weight: 800; } .rs-ev small { color: var(--sub); font-size: 13px; }
.rs-ev.on { background: var(--navy); color: #fff; border-color: var(--navy); } .rs-ev.on small { color: #ffe38a; }
.rs-ev.full { opacity: .6; cursor: default; }
.rs-ev .rs-dates { white-space: normal; line-height: 1.6; }
@media (max-width: 420px) { .md-form .md-2 { grid-template-columns: 1fr; gap: 0; } }

/* ============ 文字＋大きな 絵の 帯（2026-11-10 ユーザー「ホテルの サイトの ように 大きな 絵と 余白」）
   パソコン：左に 題・説明・面談の ボタン、右に 絵（高さいっぱい）。スマホ：絵 → 文字の 縦 1列。絵は 今ある 物（learn/age-to-start.jpg） */
.hj-hero { margin: 24px 0 56px; }
.hj-hero-pic { margin: 0 0 22px; }
.hj-hero-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
@media (max-width: 899px) { .hj-hero { display: flex; flex-direction: column; } .hj-hero-pic { order: -1; } }
@media (min-width: 900px) {
  .hj-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin: 48px 0 80px; }
  .hj-hero-txt h1 { text-align: left; font-size: clamp(34px, 3.4vw, 46px); margin: 0 0 22px; }
  .hj-hero-txt .lead { text-align: left; font-size: 17px; line-height: 2.1; margin: 0 0 32px; }
  .hj-hero-txt .deadline { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 24px; margin: 0; }
  .hj-hero-pic { margin: 0; align-self: stretch; }
  .hj-hero-pic img { height: 100%; min-height: 460px; aspect-ratio: auto; border-radius: 6px; }
}
