/* ============================
   体験会ページ
   ============================ */

/* ヒーロー */
.trial-hero {
  position: relative;
  background: linear-gradient(135deg, #87CEEB 0%, #FFB6C1 100%);
  padding: 80px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.trial-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero5.jpg');
  background-size: cover;
  background-position: center 50%;
  opacity: 0.15;
}

.trial-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.trial-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #87CEEB, #FFB6C1);
  color: white;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: 50px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.trial-hero h1 {
  font-size: clamp(2rem, 7vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.trial-hero h1 span {
  -webkit-text-fill-color: white;
  color: white;
  text-shadow: 0 2px 12px rgba(135, 206, 235, 0.7), 0 2px 12px rgba(255, 182, 193, 0.5);
}

.trial-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-weight: 700;
}

.trial-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.trial-hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #87CEEB, #FFB6C1);
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(135, 206, 235, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
}

.trial-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(135, 206, 235, 0.6);
}

.trial-hero-btn.outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  box-shadow: none;
}

/* ============================
   セクション共通
   ============================ */
.trial-section {
  padding: 70px 0;
}

.trial-section.beginner-bg {
  background: linear-gradient(160deg, #f0f9ff 0%, #fff0f5 100%);
}

.trial-section.advance-bg {
  background: linear-gradient(160deg, #f5f0ff 0%, #ede8f7 100%);
}

.trial-section.light {
  background: #fafafa;
}

.trial-section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.trial-section-label.beginner {
  background: linear-gradient(135deg, #87CEEB, #b0e0ff);
  color: white;
}

.trial-section-label.advance {
  background: linear-gradient(135deg, #9B7FD4, #c9a8e8);
  color: white;
}

.trial-section-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 8px;
}

.trial-section.dark .trial-section-title,
.trial-section.beginner-bg .trial-section-title,
.trial-section.advance-bg .trial-section-title {
  color: #222;
}

.trial-section.light .trial-section-title {
  color: #222;
}

.trial-section-desc {
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.trial-section.dark .trial-section-desc { color: rgba(255,255,255,0.75); }
.trial-section.light .trial-section-desc,
.trial-section.beginner-bg .trial-section-desc,
.trial-section.advance-bg .trial-section-desc { color: #555; }

/* ============================
   日程ボックス
   ============================ */
.schedule-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.schedule-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 16px 20px;
  min-width: 120px;
  text-align: center;
}

.trial-section.light .schedule-card {
  background: white;
  border: 2px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.schedule-card-date {
  font-size: 1.5rem;
  font-weight: 900;
  color: #87CEEB;
  line-height: 1;
  margin-bottom: 4px;
}

.trial-section.light .schedule-card-date {
  color: #5BB8E8;
}

.schedule-card-day {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
}

.trial-section.light .schedule-card-day {
  color: #888;
}

.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.schedule-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.trial-section.dark .schedule-meta-item { color: rgba(255,255,255,0.9); }
.trial-section.light .schedule-meta-item { color: #333; }

.schedule-meta-item i {
  color: #87CEEB;
  font-size: 1rem;
  width: 20px;
}

/* ============================
   写真グリッド
   ============================ */
.trial-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  border-radius: 20px;
  overflow: hidden;
}

.trial-photo-main {
  grid-row: span 2;
}

.trial-photo-grid img,
.trial-photo-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.trial-photo-main img,
.trial-photo-main .trial-photo-placeholder {
  height: 100%;
  min-height: 300px;
}

.trial-photo-placeholder {
  background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ============================
   強調ポイント
   ============================ */
.trial-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.trial-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid #87CEEB;
}

.trial-section.light .trial-point {
  background: #f0f9ff;
  border-left: 3px solid #87CEEB;
}

.trial-point-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beginner-bg .trial-point:nth-child(1) .trial-point-icon {
  background: linear-gradient(135deg, #FFB6C1, #ffd6e0);
  color: white;
}

.beginner-bg .trial-point:nth-child(2) .trial-point-icon {
  background: linear-gradient(135deg, #87CEEB, #b0e0ff);
  color: white;
}

.advance-bg .trial-point .trial-point-icon {
  background: linear-gradient(135deg, #9B7FD4, #c9a8e8);
  color: white;
}

.trial-point-text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 700;
}

.trial-section.dark .trial-point-text { color: rgba(255,255,255,0.9); }
.trial-section.light .trial-point-text { color: #333; }

.trial-point-text span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  margin-top: 2px;
}

.trial-section.dark .trial-point-text span { color: rgba(255,255,255,0.6); }
.trial-section.light .trial-point-text span { color: #777; }

/* ============================
   CTAボタン
   ============================ */
.trial-cta-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #87CEEB, #FFB6C1);
  color: white;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 18px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(135, 206, 235, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
}

.trial-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(135, 206, 235, 0.5);
}

.trial-cta-btn.purple {
  background: linear-gradient(135deg, #9B7FD4, #c9a8e8);
  box-shadow: 0 4px 24px rgba(155, 127, 212, 0.4);
}

.trial-cta-note {
  text-align: center;
  font-size: 0.82rem;
  margin-top: 10px;
}

.trial-section.dark .trial-cta-note { color: rgba(255,255,255,0.5); }
.trial-section.light .trial-cta-note,
.trial-section.beginner-bg .trial-cta-note,
.trial-section.advance-bg .trial-cta-note { color: #aaa; }

/* ============================
   大会クラス特別バナー
   ============================ */
.advance-banner {
  background: white;
  border: 2px solid #9B7FD4;
  border-left: 5px solid #9B7FD4;
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.advance-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.advance-banner-text {
  color: #7B5FC4;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
}

.advance-banner-text span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: #888;
  margin-top: 2px;
}

/* ============================
   トライアウト情報
   ============================ */
.tryout-box {
  border: 2px solid #9B7FD4;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  background: white;
}

.tryout-box h4 {
  font-size: 1rem;
  font-weight: 900;
  color: #7B5FC4;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tryout-box p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}

/* ============================
   2カラムレイアウト
   ============================ */
.trial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ============================
   無料バッジ
   ============================ */
.free-badge {
  display: inline-block;
  background: #FFB6C1;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

/* ============================
   新スケジュールブロック
   ============================ */
.sched-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.sched-block {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.sched-class-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.red-header { background: linear-gradient(135deg, #FF8FAB, #FFB6C1); }
.tiny-header { background: linear-gradient(135deg, #FFB6C1, #ffd6e0); }
.blue-header { background: linear-gradient(135deg, #5BB8E8, #87CEEB); }

.sched-class-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: white;
  letter-spacing: 0.05em;
}

.sched-class-age {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.2);
  padding: 3px 12px;
  border-radius: 50px;
}

.sched-free {
  margin-left: auto;
  font-size: 1rem;
  font-weight: 900;
  color: white;
  background: rgba(255,255,255,0.25);
  padding: 4px 16px;
  border-radius: 50px;
}

.sched-fee {
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 900;
  color: white;
  background: rgba(255,255,255,0.25);
  padding: 4px 16px;
  border-radius: 50px;
}

.sched-body {
  background: white;
  padding: 20px 24px;
}

.sched-dates {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.sched-date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 10px 0;
  width: 64px;
  flex-shrink: 0;
}

.sched-date-item.highlight {
  background: rgba(135, 206, 235, 0.2);
  border: 1px solid rgba(135, 206, 235, 0.4);
}

.sched-date-item.highlight-purple {
  background: rgba(155, 127, 212, 0.12);
  border: 1px solid rgba(155, 127, 212, 0.3);
}

.trial-section.light .sched-date-item {
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
}

.sched-month {
  font-size: 0.82rem;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 2px;
}

.sched-day {
  font-size: 1.9rem;
  font-weight: 900;
  color: #222;
  line-height: 1;
}

.sched-date-item.highlight .sched-day { color: #87CEEB; }
.sched-date-item.highlight-purple .sched-day { color: #9B7FD4; }

.sched-week {
  font-size: 0.82rem;
  font-weight: 700;
  color: #aaa;
  margin-top: 2px;
}

.sched-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.sched-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
}

.sched-info-row i {
  color: #87CEEB;
  width: 16px;
  text-align: center;
}

.light-info .sched-info-row { color: #444; }

/* 写真グリッド */
.sched-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-radius: 16px;
  overflow: hidden;
  margin: 28px 0;
}

.sched-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sched-photo-placeholder {
  height: 180px;
  background: linear-gradient(135deg,#f0f9ff,#fff0f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}

/* ============================
   レスポンシブ
   ============================ */
@media (max-width: 768px) {
  .trial-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trial-photo-grid {
    grid-template-columns: 1fr;
  }

  .trial-photo-main {
    grid-row: span 1;
  }

  .trial-photo-main img,
  .trial-photo-main .trial-photo-placeholder {
    min-height: 220px;
  }

  .trial-hero {
    padding: 60px 20px 48px;
  }

  .trial-hero-sub {
    font-size: 0.82rem;
  }

  .sched-photos {
    grid-template-columns: 1fr 1fr;
  }

  .sched-photos img:last-child,
  .sched-photo-placeholder {
    grid-column: span 2;
    height: 140px;
  }

  .sched-class-header {
    padding: 14px 16px;
  }

  .sched-body {
    padding: 16px;
  }

  .sched-date-item {
    width: 56px;
    padding: 8px 0;
  }

  .sched-day {
    font-size: 1.3rem;
  }

  .sched-free, .sched-fee {
    margin-left: 0;
    width: 100%;
  }
}
