/* =============================================
   能正塾 共通スタイルシート
   ============================================= */

/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a5fa8;
  --primary-dark: #0f3d7a;
  --primary-light: #3a7fc8;
  --accent: #e8a020;
  --accent-dark: #c47d0a;
  --text: #222222;
  --text-light: #555555;
  --text-muted: #888888;
  --bg: #ffffff;
  --bg-light: #f4f8fd;
  --bg-gray: #f7f7f7;
  --border: #d8e6f3;
  --success: #2e9e5b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(26,95,168,0.10);
  --shadow-lg: 0 6px 30px rgba(26,95,168,0.15);
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =============================================
   ナビゲーション
   ============================================= */
.navbar {
  background: var(--primary-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
}

.nav-logo {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links li a {
  display: block;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 0 14px;
  height: 60px;
  line-height: 60px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: var(--primary-light);
  color: #fff;
  text-decoration: none;
}

.nav-cta a {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 4px;
  margin: 0 4px;
  font-weight: 700 !important;
}

.nav-cta a:hover {
  background: var(--accent-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   ヒーローセクション
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -80px;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
}

.hero h1 span {
  color: #ffe066;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  text-decoration: none;
}

/* =============================================
   お知らせバナー
   ============================================= */
.notice-bar {
  background: #fff8e6;
  border-bottom: 3px solid var(--accent);
  padding: 16px 20px;
}

.notice-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  align-items: flex-start;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
}

.notice-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 2px;
}

.notice-badge.green {
  background: var(--success);
}

.notice-badge.blink {
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* =============================================
   セクション共通
   ============================================= */
.section {
  padding: 72px 20px;
}

.section-alt {
  background: var(--bg-light);
}

.section-gray {
  background: var(--bg-gray);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.4;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.85;
}

/* =============================================
   カード・グリッド
   ============================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* =============================================
   コースカード
   ============================================= */
.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.course-card-header {
  background: var(--primary);
  color: #fff;
  padding: 22px 24px 18px;
}

.course-card-header.accent {
  background: linear-gradient(135deg, #1a5fa8, #2e7dd4);
}

.course-card-header.accent2 {
  background: linear-gradient(135deg, #0f3d7a, #1a5fa8);
}

.course-type-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.course-card-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.course-card-sub {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 4px;
}

.course-card-body {
  padding: 24px;
}

.course-point-list {
  list-style: none;
  margin-bottom: 18px;
}

.course-point-list li {
  padding: 6px 0;
  font-size: 0.93rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.course-point-list li:last-child {
  border-bottom: none;
}

.course-point-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.course-link {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.course-link:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* =============================================
   集団授業タイムテーブル
   ============================================= */
.timetable-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.timetable-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.timetable-header {
  background: var(--primary);
  color: #fff;
  padding: 18px 22px;
}

.timetable-grade {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.timetable-time {
  font-size: 0.88rem;
  opacity: 0.88;
}

.timetable-body {
  padding: 20px 22px;
}

.timetable-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.timetable-row:last-child {
  border-bottom: none;
}

.timetable-label {
  color: var(--text-light);
}

.timetable-value {
  font-weight: 700;
  color: var(--primary-dark);
}

.subject-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.subject-badge {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* =============================================
   料金テーブル
   ============================================= */
.pricing-table {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.pricing-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:nth-child(even) td {
  background: var(--bg-light);
}

.price-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* キャンペーンバナー */
.campaign-banner {
  background: linear-gradient(135deg, var(--accent), #f5c040);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(232,160,32,0.3);
}

.campaign-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.campaign-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 6px;
}

.campaign-limit {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

/* =============================================
   選ばれる理由
   ============================================= */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.reason-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.reason-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 4px;
}

.reason-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.reason-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* =============================================
   塾長あいさつ
   ============================================= */
.greeting-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
  border-top: 4px solid var(--primary);
}

.greeting-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.greeting-text {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 16px;
}

.greeting-text:last-child {
  margin-bottom: 0;
}

.greeting-sign {
  text-align: right;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 24px;
  font-weight: 600;
}

/* =============================================
   対象学年テーブル
   ============================================= */
.grade-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.grade-table th,
.grade-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.grade-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.grade-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.grade-table tr:last-child td {
  border-bottom: none;
}

.badge-ok {
  display: inline-block;
  background: var(--success);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

.badge-none {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =============================================
   体験・見学CTA
   ============================================= */
.cta-block {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.5;
}

.cta-text {
  font-size: 0.97rem;
  opacity: 0.92;
  margin-bottom: 26px;
  line-height: 1.85;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-white:hover {
  background: #eef4fc;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* =============================================
   アクセス
   ============================================= */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.access-info {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.access-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.access-row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  align-items: flex-start;
}

.access-row:last-child {
  border-bottom: none;
}

.access-label {
  color: var(--text-muted);
  min-width: 80px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 2px;
}

.access-value {
  color: var(--text);
  line-height: 1.7;
}

.access-value a {
  color: var(--primary);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   お問い合わせ
   ============================================= */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.contact-method-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.contact-method-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.8;
}

.contact-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-q {
  padding: 18px 22px;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.faq-q::after {
  content: '＋';
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
}

.faq-item.open .faq-a {
  display: block;
}

/* =============================================
   フッター
   ============================================= */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 20px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 16px;
  line-height: 1.7;
}

.footer-contact {
  font-size: 0.88rem;
  line-height: 2;
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  text-decoration: none;
  display: block;
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* =============================================
   ページヒーロー（内部ページ用）
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 0.97rem;
  opacity: 0.88;
}

/* =============================================
   リスト共通
   ============================================= */
.check-list {
  list-style: none;
  margin: 16px 0;
}

.check-list li {
  padding: 5px 0;
  font-size: 0.93rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   注記・補足
   ============================================= */
.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.note p {
  margin-bottom: 4px;
}

/* =============================================
   スクロールアニメーション
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    height: auto;
    line-height: 1.5;
    padding: 12px 20px;
  }

  .hamburger {
    display: flex;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .greeting-block {
    padding: 28px 22px;
  }

  .hero {
    padding: 56px 20px 52px;
  }

  .section {
    padding: 52px 20px;
  }

  .cta-block {
    padding: 32px 22px;
  }
}

@media (max-width: 480px) {
  .course-cards {
    grid-template-columns: 1fr;
  }

  .timetable-cards {
    grid-template-columns: 1fr;
  }
}
