/* =====================================================
   curriculum.css — 教材一覧ページ専用スタイル
   education.qumcum.com
   ===================================================== */

/* ===== PAGE HERO ===== */
.cur-hero {
  background:
    linear-gradient(135deg, rgba(30,42,59,0.88) 0%, rgba(26,58,107,0.85) 100%),
    url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1600&q=80&fit=crop&auto=format') center/cover no-repeat;
  padding: 96px 0 80px;
  text-align: center;
}
.cur-hero-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7AAAD8;
  margin-bottom: 16px;
}
.cur-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.cur-hero-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CURRICULUM SECTION ===== */
.cur-section {
  padding: 96px 0;
  background: #fff;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}
.curriculum-card {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.curriculum-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.curriculum-card--primary { border-color: #1A56A4; }
.curriculum-card-icon {
  display: block;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.curriculum-card-header {
  padding: 24px 16px;
  background: #F7F9FC;
}
.curriculum-card--primary .curriculum-card-header {
  background: linear-gradient(135deg, #1A56A4 0%, #1E3A7A 100%);
  border-radius: 14px 14px 0 0;
}
.curriculum-card-tag {
  display: block;
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0;
  background: transparent;
  color: #1A56A4;
}
.curriculum-card--primary .curriculum-card-tag {
  background: transparent;
  color: #fff;
}
.curriculum-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E2A3B;
  line-height: 1.3;
  margin-bottom: 4px;
}
.curriculum-card--primary .curriculum-card-header h3 { color: #fff; }
.curriculum-card-header p {
  font-size: 16px;
  color: #718096;
  margin-top: 4px;
}
.curriculum-card--primary .curriculum-card-header p { color: rgba(255,255,255,0.8); }
.curriculum-card-body { padding: 24px 16px; flex: 1; display: flex; flex-direction: column; }
.curriculum-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.target-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #F7F9FC;
  color: #4A5568;
  border: 1px solid #E2E8F0;
}
.curriculum-name {
  font-size: 16px;
  font-weight: 700;
  color: #1A56A4;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.curriculum-desc {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 14px;
}
.curriculum-materials {
  font-size: 13px;
  color: #718096;
  margin-bottom: 16px;
  padding: 8px 10px;
  background: #F7F9FC;
  border-radius: 6px;
  margin-top: auto;
}
.curriculum-features {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 20px;
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.curriculum-features li {
  display: flex;
  gap: 0.4em;
  margin-bottom: 4px;
}
.curriculum-features li::before {
  content: '✓';
  color: #1A56A4;
  font-weight: 700;
  flex-shrink: 0;
}
.curriculum-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 600;
  color: #1A56A4;
}
.curriculum-link:hover { text-decoration: underline; }

/* ===== CTA ===== */
.cur-cta {
  background: linear-gradient(135deg, #0D1B35 0%, #1A3A6B 50%, #1E2A3B 100%);
  padding: 80px 0;
  text-align: center;
}
.cur-cta-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.cur-cta-text {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 36px;
}
.cur-cta-note {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(255,255,255,0.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .curriculum-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .cur-hero { padding: 72px 0 56px; }
  .curriculum-grid { grid-template-columns: 1fr; }
}
