﻿/* 全体のはみ出し防止 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background: #fff8e7; /* pop light yellow */
  color: #333333; /* dark text */
  overflow-x: hidden;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffb833; /* Bright orange-yellow */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  border-bottom: 5px solid #ff9900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-btn {
  font-size: 36px;
  cursor: pointer;
  padding: 4px 10px;
  border: 3px solid #ffffff;
  border-radius: 12px;
  background: #ff9900;
  color: white;
  transition: transform 0.2s;
}

.menu-btn:active {
  transform: scale(0.9);
}

/* メニュー */
.menu {
  display: none;
  position: absolute;
  right: 15px;
  top: 75px;
  background: #ffffff;
  color: #333333;
  padding: 20px;
  border-radius: 20px;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(255, 153, 0, 0.3);
  border: 4px solid #ffb833;
}

.menu a {
  display: block;
  font-size: 20px;
  padding: 12px 15px;
  color: #333333;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  margin-bottom: 5px;
  background: #fff8e7;
  transition: background 0.2s;
}

/* ホバー効果 */
.menu a:hover {
  background: #ffebcc;
  color: #ff7700;
}

/* 現在のページのリンクを無効化し、現在のページだと分かるスタイルにする */
.menu a.active {
  background: #ff9900;
  color: #ffffff;
  pointer-events: none;
  cursor: default;
}

/* ヘッダー分の余白 */
.spacer {
  height: 90px;
}

/* スライド */
.slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-bottom: 8px dashed #ffb833;
}

/* メイン見出し */
.main-heading {
  text-align: center;
  padding: 60px 20px 30px;
}
.main-heading h1 {
  font-size: 60px;
  color: #ff5500;
  text-shadow: 4px 4px 0px #ffd700;
  margin: 0 0 15px 0;
  letter-spacing: 3px;
}
.main-heading p {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  margin: 0;
}

/* 各ページのトップ画像 */
.top img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.top_section {
  display: flex;
  gap: 30px;
  text-align: center;
}

.top_text {
  width: 100%;
  text-align: center;
}

.top_text h2 {
  font-size: 60px;
  margin: 30px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7700, #ffb833);
  padding: 15px 50px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(255, 119, 0, 0.4);
  display: inline-block;
  border: 4px solid #ffffff;
  text-shadow: 2px 2px 4px rgba(255, 119, 0, 0.3);
}

/* セクション */
.section {
  display: flex;
  padding: 50px 30px;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(255, 153, 0, 0.15);
  border: 4px solid #ffeeba;
}

.section img {
  width: 45%;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* HP専用セクション */
.hp-section {
  max-width: 1200px;
  padding: 60px 40px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.hp-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.hp-section .text h2 {
  font-size: 40px;
}

.hp-section .text p {
  font-size: 22px;
  line-height: 1.8;
}

.text {
  width: 55%;
}

.text h2 {
  font-size: 32px;
  color: #ff6600;
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.text h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 5px;
  background: #ffcc00;
  border-radius: 3px;
}

.text p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  font-weight: bold;
}

.section:nth-of-type(even) {
  flex-direction: row-reverse;
  background: #fff0f0;
  border-color: #ffcccc;
}

/* doctorページの編集用 */
.doctor-intro {
  text-align: center;
  margin: 40px auto 20px;
  font-size: 24px;
  font-weight: bold;
  color: #0088ff;
  padding: 0 20px;
}

.doctor-category-title {
  text-align: center;
  font-size: 32px;
  color: #ff6600;
  margin: 50px auto 30px;
  padding-bottom: 10px;
  border-bottom: 4px dashed #ffb833;
  max-width: 800px;
}

.doctor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.center-grid {
  justify-content: center;
}

.doctor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #ffffff;
  border-radius: 25px;
  padding: 20px;
  border: 4px solid transparent;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* neutral fallback */
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  width: calc(25% - 22.5px);
  max-width: 280px;
}

.doctor-card:hover {
  transform: translateY(-5px);
}

/* 男女別のゆるふわカラー設定 */
.boy-card {
  border-color: #cceeff;
  box-shadow: 0 10px 25px rgba(100, 180, 255, 0.15);
}
.boy-card:hover {
  border-color: #99ccff;
  box-shadow: 0 15px 30px rgba(100, 180, 255, 0.3);
}
.boy-card img {
  border-color: #e6f2ff;
}
.boy-card p {
  color: #66a3ff;
}

.girl-card {
  border-color: #ffcce6;
  box-shadow: 0 10px 25px rgba(255, 150, 200, 0.15);
}
.girl-card:hover {
  border-color: #ff99cc;
  box-shadow: 0 15px 30px rgba(255, 150, 200, 0.3);
}
.girl-card img {
  border-color: #fff0f5;
}
.girl-card p {
  color: #ff88bb;
}

.director-card {
  border-color: #ffe680 !important;
  box-shadow: 0 10px 25px rgba(255, 200, 0, 0.2) !important;
}

.director-card:hover {
  border-color: #ffcc00 !important;
  box-shadow: 0 15px 30px rgba(255, 200, 0, 0.3) !important;
}

.doctor-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 15px;
  border: 3px solid transparent;
}

.doctor-card p {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

/* プロフィールページ (sekirei.html など) */
.profile-header {
  position: relative;
  text-align: center;
  margin-bottom: 150px;
}
.profile-hero {
  width: 100%;
  height: 650px;
  object-fit: cover;
}
.profile-icon {
  position: absolute;
  bottom: -125px;
  left: 50%;
  transform: translateX(-50%);
}
.profile-icon img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 40px;
  border: 6px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  background: white;
}

.profile-quote {
  width: 100%;
  margin: 0 auto 50px;
  max-width: 800px;
  padding: 0 20px;
}
.profile-quote h2 {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.8;
  letter-spacing: 2px;
  margin: 0;
}
.quote-line-1 {
  display: block;
  text-align: left;
  padding-left: 8%;
  color: #2c3e50;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}
.quote-line-2 {
  display: block;
  text-align: right;
  padding-right: 8%;
  color: #34495e;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

.profile-details {
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 40px;
  border: 5px solid #ffcc00;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 153, 0, 0.1);
}
.profile-table {
  width: 100%;
  border-collapse: collapse;
}
.profile-table th, .profile-table td {
  padding: 15px;
  border-bottom: 2px dashed #ffeeba;
  font-size: 20px;
}
.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}
.profile-table th {
  width: 30%;
  color: #ff9900;
  text-align: left;
  font-size: 22px;
}
.profile-table td {
  color: #444;
  font-weight: bold;
}

.profile-gallery {
  max-width: 800px;
  margin: 0 auto 80px;
  text-align: center;
  background: #ffffff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.gallery-main img {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  object-fit: cover;
  transition: opacity 0.4s ease-in-out;
}
.gallery-thumbs {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-top: 15px;
  padding-bottom: 25px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  position: relative;
}
.gallery-thumbs::-webkit-scrollbar {
  height: 8px;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
  background: #ffb833;
  border-radius: 10px;
}
.gallery-thumbs img {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  border: 4px solid transparent;
  transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-thumbs img:hover, .gallery-thumbs img.active {
  border-color: #ff9900;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 153, 0, 0.2);
}

/* 戻るボタン */
.back-btn-container {
  text-align: center;
  margin-bottom: 80px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #ff7700;
  font-size: 22px;
  font-weight: bold;
  padding: 15px 50px;
  border-radius: 40px;
  text-decoration: none;
  border: 4px solid #ffcc00;
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.15);
  transition: all 0.2s ease;
}
.back-btn:hover {
  background: #ffcc00;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(255, 153, 0, 0.3);
}

/* フッター */
footer {
  background: #ffb833;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 16px;
  border-top: 5px solid #ff9900;
  margin-top: 50px;
}

footer p {
  margin: 10px 0;
  font-weight: bold;
}

.footerp {
  font-size: 26px;
  margin-bottom: 5px !important;
}

/* ロゴ全体 */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-size: 32px;
  font-weight: 900;
  text-shadow: 2px 2px 0px #ff7700;
}

/* アイコン */
.logo img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid white;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .section {
    flex-direction: column !important;
    padding: 30px 20px;
    margin: 20px;
  }

  .section:nth-of-type(even) {
    flex-direction: column !important;
  }

  .section img,
  .text {
    width: 100%;
  }

  header {
    padding: 10px 15px;
  }

  /* ロゴを小さく */
  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo img {
    height: 40px;
    width: 40px;
    border: 2px solid white;
  }

  /* ハンバーガー */
  .menu-btn {
    font-size: 24px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  /* プルダウン */
  .menu {
    right: 10px;
    top: 65px;
    min-width: 260px;
    padding: 20px;
  }

  .menu a {
    font-size: 18px;
    padding: 12px 10px;
  }

  /* spacerも調整 */
  .spacer {
    height: 65px;
  }

  /* スライド */
  .slider img {
    height: 250px;
  }
  
  .main-heading h1 {
    font-size: 26px;
    letter-spacing: 0;
  }
  .main-heading p {
    font-size: 14px;
  }

  /* HPセクション（モバイル） */
  .hp-section {
    padding: 40px 20px;
  }
  .hp-section .text h2 {
    font-size: 28px;
  }
  .hp-section .text p {
    font-size: 18px;
  }

  /* フッター */
  footer {
    padding: 10px 5px; /* Adjusting smartphone bottom space */
    margin-top: 30px;
  }

  footer p {
    margin: 2px 0; /* Keep margin very tight for smartphone */
  }
  
  .footerp {
    font-size: 18px; /* Was 25px in mobile view before */
  }

  /* 各ページのトップ画像 */
  .top img {
    height: 250px;
  }

  .top_text {
    font-size: 40px;
  }

  .top_text h2 {
    font-size: 32px;
    padding: 10px 30px;
    margin: 20px 0;
  }

  /* doctorページの編集用 */
  .doctor-intro {
    font-size: 18px;
    margin: 30px auto 10px;
  }
  .doctor-category-title {
    font-size: 24px;
    margin: 40px auto 20px;
  }
  .doctor-grid {
    gap: 15px;
  }
  .doctor-card {
    width: calc(50% - 10px);
    padding: 15px;
    border-width: 3px;
    border-radius: 20px;
  }
  .doctor-card img {
    border-radius: 15px;
    margin-bottom: 10px;
  }
  .doctor-card p {
    font-size: 18px;
  }

  /* プロフィールページ (モバイル) */
  .profile-header {
    margin-bottom: 110px;
  }
  .profile-hero {
    height: 300px;
  }
  .profile-icon {
    bottom: -80px;
  }
  .profile-icon img {
    width: 160px;
    height: 160px;
    border-radius: 25px;
  }
  .profile-quote h2 {
    font-size: 18px;
  }
  .quote-line-1 {
    padding-left: 0;
  }
  .quote-line-2 {
    padding-right: 0;
  }
  .profile-details {
    margin: 0 20px 40px;
    padding: 25px 20px;
  }
  .profile-table th, .profile-table td {
    font-size: 16px;
    display: block;
    width: 100%;
  }
  .profile-table th {
    border-bottom: none;
    padding-bottom: 5px;
  }
  .profile-table td {
    padding-top: 0;
    margin-bottom: 15px;
  }
  .profile-table tr:last-child td {
    margin-bottom: 0;
  }
  .profile-gallery {
    margin: 0 20px 50px;
    padding: 25px 15px;
  }
  .gallery-main img {
    height: 250px;
  }
  .gallery-thumbs img {
    width: 90px;
    height: 90px;
  }
  .back-btn-container {
    margin-bottom: 50px;
  }
  .back-btn {
    font-size: 18px;
    padding: 12px 30px;
  }
}
/* --- 準備中エリア --- */
.coming-soon-section {
  text-align: center;
  padding: 100px 20px;
  background-color: #fff0f5;
  border: 4px solid #ffb6c1;
  border-radius: 20px;
  margin: 40px auto 60px;
  max-width: 1000px;
}
.coming-soon-section h2 {
  font-size: 48px;
  color: #ff69b4;
  margin-bottom: 20px;
}
.coming-soon-section p {
  font-size: 24px;
  color: #d14781;
  font-weight: bold;
}


/* --- 予約についてエリア --- */
.reservation-section {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 10px;
}
.main-title {
  text-align: center;
  font-size: 56px;
  margin-bottom: 50px;
  color: #ff6699;
  text-shadow: 2px 2px 0 #ffe0b2, 4px 4px 5px rgba(255,105,180,0.2);
  letter-spacing: 2px;
}

/* スケジュール表 */
.schedule-table-wrapper {
  background-color: #fff0f5;
  border: 5px solid #ffb6c1;
  border-radius: 25px;
  padding: 40px 30px;
  color: #333;
  margin-bottom: 60px;
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.15);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(255,105,180,0.1);
  text-align: center;
  font-size: 20px;
  margin-bottom: 25px;
}
.schedule-table th, .schedule-table td {
  padding: 16px 10px;
  border-bottom: 2px solid #ffebef;
}
.schedule-table tr:last-child th, .schedule-table tr:last-child td {
  border-bottom: none;
}
.schedule-table th:first-child {
  font-weight: bold;
  color: #ff69b4;
  width: 25%;
}
.schedule-table th {
  color: #d81b60;
  font-weight: bold;
}
.mark-circle {
  color: #ff1744;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 1px 1px 2px rgba(255,23,68,0.3);
}
.mark-circle-bold {
  font-size: 34px;
  text-shadow: 1px 1px 3px rgba(255,23,68,0.4);
  -webkit-text-stroke: 2px #ff1744;
}
.business-day {
  background: linear-gradient(135deg, #ffd54f 0%, #ff9800 100%);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 900;
  vertical-align: middle;
  font-size: 18px;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(230, 81, 0, 0.6);
  box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}
.schedule-notes {
  font-size: 15px;
  color: #777;
  text-align: center;
  line-height: 1.8;
  font-weight: bold;
}

/* 選べるコース */
.courses-wrapper {
  margin-bottom: 60px;
  background: radial-gradient(circle at top left, #fff0f5 0%, #e0f7fa 100%);
  border: 4px solid #81d4fa;
  border-radius: 25px;
  padding: 50px 20px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.courses-header {
  text-align: center;
  margin-bottom: 50px;
}
.courses-header h3 {
  font-size: 52px;
  color: #00bcd4;
  background: #fff;
  display: inline-block;
  padding: 12px 60px;
  border-radius: 50px;
  border: 5px solid #4dd0e1;
  margin: 0;
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.25);
  text-shadow: 1px 1px 0 #b2ebf2;
}

/* コースグリッド */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}
.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 3px solid transparent;
  transition: transform 0.2s;
}
.course-card:hover {
  transform: translateY(-5px);
}
.course-card h4 {
  font-size: 20px;
  letter-spacing: -0.5px;
  white-space: nowrap;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid;
}
.course-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}
.course-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  line-height: 1.6;
}
.course-price {
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 75px;
}
.course-price p {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin: 2px 0;
}
.course-price span {
  font-size: 15px;
  color: #666;
  margin-right: 5px;
}

/* 各コースのテーマカラー・背景指定 */
.course-normal { border-color: #ffe0b2; }
.course-normal h4 { color: #f57c00; border-color: #ffd180; }
.course-normal .course-price { background: #fff3e0; border: 2px dashed #ffb74d; }

.course-private { border-color: #c8e6c9; }
.course-private h4 { color: #388e3c; border-color: #a5d6a7; }
.course-private .course-price { background: #e8f5e9; border: 2px dashed #81c784; }

.course-outing { border-color: #e1bee7; }
.course-outing h4 { color: #8e24aa; border-color: #ce93d8; }
.course-outing .course-price { background: #f3e5f5; border: 2px dashed #ba68c8; }

.course-charter { border-color: #f8bbd0; }
.course-charter h4 { color: #d81b60; border-color: #f48fb1; }
.course-charter .course-price { background: #fce4ec; border: 2px dashed #f06292; }

/* フッター用注意書き */
.courses-notes {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #0097a7;
  background: rgba(255,255,255,0.9);
  padding: 18px;
  border-radius: 12px;
  border: 3px solid #80deea;
}

@media screen and (max-width: 768px) {
  .schedule-table { font-size: 15px; }
  .schedule-table th, .schedule-table td { padding: 8px 4px; }
  .schedule-table th:first-child { font-size: 16px; }
  .main-title { font-size: 42px; }
  .courses-header h3 { font-size: 34px; padding: 10px 25px; }
  .course-card h4 { font-size: 18px; }
}

.schedule-notes-box {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #d81b60;
  background: rgba(255,255,255,0.9);
  padding: 18px;
  border-radius: 12px;
  border: 3px solid #f8bbd0;
  max-width: 800px;
  margin: 0 auto;
}
.highlight-note {
  color: #ff4081;
  margin-top: 5px;
}
.current-day-highlight {
    background-color: #ff4081 !important;
    color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.4);
}
.current-day-highlight .mark-circle {
    color: #ffffff !important;
    text-shadow: none !important;
    -webkit-text-stroke: 2px #ffffff !important;
}
.current-day-highlight.business-day {
    background-color: #f50057 !important;
}



@media screen and (max-width: 768px) {
  /* Schedule Table Restorations */
  .schedule-table { font-size: 13px; }
  .schedule-table th, .schedule-table td { padding: 5px 2px; }
  .schedule-table th:first-child { 
    white-space: nowrap; 
    letter-spacing: -0.5px; 
    width: auto; 
  }
  .mark-circle { font-size: 20px; }
  .mark-circle-bold { font-size: 28px; -webkit-text-stroke: 1px #ff1744; }
  .business-day { font-size: 13px; letter-spacing: 0; padding: 2px; }
  
  /* Titles */
  .main-title { font-size: 32px; margin-bottom: 25px; }
  .courses-header h3 { font-size: 26px; padding: 8px 15px; border-width: 3px; }
  
  /* Courses Grid: 2 columns */
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .course-card { padding: 10px; border-radius: 15px; }
  
  .course-card h4 {
    font-size: 15px;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    white-space: normal;
    word-break: keep-all; 
  }
  
  .course-desc {
    font-size: 11px;
    display: block;
    min-height: auto;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  

  
  .course-price {
    min-height: 50px;
    padding: 6px;
  }
  .course-price p {
    font-size: 14px;
  }
  .course-price span {
    font-size: 10px;
  }
  
  /* Make notes readable on mobile! Left align paragraphs */
  .courses-notes, .schedule-notes-box {
    text-align: left;
    font-size: 12px;
    padding: 15px;
    line-height: 1.5;
  }
  .courses-notes p, .schedule-notes-box p {
    margin-bottom: 8px;
  }
  .courses-notes p:last-child, .schedule-notes-box p:last-child {
    margin-bottom: 0;
  }
  
  .schedule-notes-box br {
    display: none;
  }
}


