/* ベーススタイル */
:root {
  --primary-color: #111827;
  --secondary-color: #374151;
  --light-bg: #F9FAFB;
  --white: #FFFFFF;
  --blue: #4B79B5;
  --light-blue: #A7C1E3;
  --red: #EF4444;
  --dark-red: #991B1B;
  --light-red: #FEE2E2;
  --yellow: #EAB308;
  --green: #22C55E;
  --gray: #9CA3AF;
  --border-color: #E5E7EB;
  --zen-corporate: #95D8EB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: var(--secondary-color);
  background-color: var(--white);
  padding-top: 60px;
}
body.home {
  padding-top: 56px;
}
@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem !important;
    z-index: 9999;
    position: relative;
  }
  body {
    padding-top: 49px !important;
  }
}

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

h1, h2, h3 {
  color: var(--primary-color);
  font-weight: 700;
}

h1 {
  font-size: 2rem;
}
.home h1 {
  font-size: 60px;
}
h1:not(.home h1) {
  padding-top: 1rem;
  margin-bottom: 1rem;
}
hr.line-h1 {
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 30px;
  line-height: 1.2em;
  margin-bottom: 30px;
  text-align: center;
}
h2:not(.home h2) {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

h3 {
  font-size: 20px;
  line-height: 1.4em;
  margin-bottom: 10px;
}

p {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

section {
  padding: 0;
}

/* ヘッダー・ヒーローエリア */
.hero {
  position: relative;
  min-height: 700px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  padding: 10px 0;
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 900px) {
  nav {
    font-size: 0.8rem;
  }
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 10000;
  position: relative;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  
  .features {
    padding: 10px 0;
  }
  
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    flex: 1 1 100%;
    margin: 0 0 20px 0;
    max-width: 100%;
    width: 100%;
  }
  
  .feature-item {
    flex: 1 1 100%;
    margin-top: 20px;
    max-width: 100%;
  }
  
  .certification {
    padding: 60px 20px;
  }
  
  .certification-container {
    flex-direction: column;
  }
  
  .certification-image {
    border-radius: 12px 12px 0 0;
  }
  
  .certification-content {
    padding: 30px 25px;
  }
  
  .menu-toggle span {
    background-color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .menu-toggle.active {
    position: fixed;
    right: 20px;
    top: 20px;
  }
  
  .menu-toggle.active span {
    background-color: var(--primary-color);
  }
}

.nav-links {
  display: flex;
  gap: 5px;
  align-items: center;
}

.nav-links a {
  color: var(--primary-color);
  padding: 8px 6px;
}

.cta-button {
  border-radius: 8px;
  padding: 15px 30px;
  font-weight: 400;
  display: inline-block;
  text-align: center;
}

nav .login-button {
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  padding: 8px 20px;
  margin: 0 6px;
  box-sizing: border-box;
  border-radius: 8px;
}

nav .cta-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 20px;
  border: 2px solid var(--primary-color);
}

nav .cta-button:hover {
  background-color: #000;
}

.hero-content .cta-button:hover {
  background-color: #f8f8f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

.hero-content .cta-button {
  margin-top: 10px;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 500;
  border-radius: 0.375rem;
  padding: 18px 35px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 650px;
}

/* レスポンシブスタイル */
@media (max-width: 800px) {
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 10000;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    flex-direction: column;
    background-color: var(--white);
    padding: 80px 0 30px;
    transition: all 0.5s ease;
    z-index: 9999;
    gap: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .nav-links.active {
    right: 0;
    display: flex;
  }
  
  .nav-links a {
    display: flex;
    width: 100%;
    padding: 15px 25px;
    color: var(--secondary-color);
  }

  .nav-links .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .nav-links .account-menu-text {
    display: block !important;
  }
  
  .nav-links a.cta-button {
    color: var(--white);
    margin: 15px 25px;
    width: calc(100% - 50px);
    background-color: #121c39;
    border-radius: 8px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
}

/* 特長セクション */
.features {
  padding: 80px 0;
  text-align: center;
  background-color: var(--light-bg);
}

.features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.features h2 {
  width: 100%;
  margin-bottom: 30px;
}

/* 新しいfeature-cardsスタイル */
.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

/* 新しいfeature-cardスタイル */
.feature-card {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 25px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* 旧スタイルとの互換性のため */
.feature-item {
  margin-top: 40px;
  flex: 1 1 300px;
  max-width: 350px;
  padding: 25px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  height: 80px;
  width: 80px;
  margin: 0 auto 20px;
  background-color: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 4rem;
  height: 4rem;
}

/* コース日程 */
.schedule {
  background-color: var(--white);
}

.course-type {
  background-color: var(--blue);
  color: var(--white);
  border-radius: 8px 8px 0 0;
  padding: 15px 20px;
  margin-bottom: 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transfer-note {
  background-color: var(--light-blue);
  color: var(--white);
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
}

.schedule-table {
  margin-bottom: 2rem;
}

.schedule-table table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  border: none;
}

.schedule-table th {
  background-color: var(--primary-color); /* ヘッダー背景：ダークブルー */
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border: none;
  white-space: nowrap;
}

.schedule-table td {
  padding: 16px;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

/* 最後の行のセルには下線なし */
.schedule-table tr:last-child td {
  border-bottom: none;
}

/* 偶数行の背景色 */
.schedule-table tr:nth-child(even) {
  background-color: #f9fafb;
}

/* ホバー時の行スタイル */
.schedule-table tr:hover td {
  background-color: #f0f7ff; /* 薄い青色の背景 */
}

/* コース名のスタイル */
.schedule-table td:first-child {
  font-weight: 500;
  color: var(--primary-color);
}

/* 募集状況バッジ - PCとモバイル共通 */
.status-open,
.status-closed,
.status-few,
.status-full {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px; /* より丸みのあるバッジ */
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  min-width: 80px;
}

.status-open {
  background-color: #34d399; /* 明るい緑 */
  color: #064e3b; /* 濃い緑 */
}

.status-closed {
  background-color: #f87171; /* 明るい赤 */
  color: #7f1d1d; /* 濃い赤 */
}

.status-few {
  background-color: #fbbf24; /* オレンジ */
  color: #78350f; /* 濃いブラウン */
}

.status-full {
  background-color: #e5e7eb; /* グレー */
  color: #1f2937; /* 濃いグレー */
}

/* 詳細リンクボタン - PCとモバイル共通 */
.schedule-table .details-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
}

.schedule-table .details-link:hover {
  background-color: #1e3a8a; /* 少し濃い色 */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.schedule-table .details-link:active {
  transform: translateY(0);
}

/* 早割情報の強調 - より洗練された表現 */
.schedule-table td[data-label="費用"] small {
  display: block;
  margin-top: 8px;
  position: relative;
  padding-left: 20px;
  font-weight: 600;
  color: #e67e22; /* 落ち着いたオレンジ色 */
}

.schedule-table td[data-label="費用"] small::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: #e67e22;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e67e22;
}

/* レスポンシブ対応 - モバイル用横スクロール対応 */
@media screen and (max-width: 768px) {
  /* テーブルの横スクロール対応 */
  .schedule-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOSでの滑らかなスクロール */
    max-width: 100%;
    padding-bottom: 15px; /* スクロールバーのスペース */
    margin-left: -20px; /* コンテナのパディングを相殺 */
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* テーブル全体の最小幅を設定 */
  .schedule-table table {
    min-width: 800px; /* スクロールの必要な最小幅 */
  }

  /* 場所が最初の列の場合のスタイル */
  .schedule-table td:first-child {
    background-color: rgba(240, 240, 240, 0.3);
    font-weight: 500;
  }
}

/* 認定校セクション */
.certification {
  background-color: var(--white);
  padding: 80px 0;
  padding: 0 20px;
  margin-bottom: 5rem;
}

.certification-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1024px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.certification-image {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.certification-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.certification-content {
  flex: 1 1 55%;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certification-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: left;
  font-size: 28px;
  color: var(--primary-color);
}

.certification-content p {
  margin-bottom: 25px;
  text-align: left;
  color: var(--secondary-color);
  line-height: 1.6;
}

.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cert-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  text-align: left;
  font-weight: 500;
  color: var(--primary-color);
}

.check-icon {
  margin-right: 15px;
  display: inline-flex;
}

/* おすすめセクション */
.recommend {
  background-color: var(--white);
  padding: 80px 0;
  padding: 0 20px;
  margin-bottom: 5rem;
}

.recommend h2 {
  text-align: center;
  margin-bottom: 40px;
}

.recommend-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1024px;
  margin: 0 auto;
}

.recommend-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex: 1 1 400px;
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.recommend-header {
  display: flex;
  align-items: center;
  padding: 25px 25px 15px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--white);
  flex-shrink: 0;
}

.red {
  background-color: #ef4444;
}

.yellow {
  background-color: #f59e0b;
}

.recommend-list {
  padding: 0 25px 25px;
  list-style: none;
}

.recommend-list li {
  margin-bottom: 15px;
  padding-left: 5px;
  position: relative;
  line-height: 1.5;
  color: var(--secondary-color);
}

/* スタジオ一覧 */
.studios {
  text-align: center;
  margin-bottom: 5rem;
}

.studio-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.studio-link {
  padding: 14px 28px;
  border-radius: 8px;
}

.studio-link:hover, .studio-link:focus {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.studio-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.studio-link:focus {
  outline: none;
  border-color: rgba(66, 153, 225, 0.5);
}

.studio-link .icon-img {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.studio-link:hover .icon-img {
  transform: scale(1.1);
  filter: brightness(0) invert(1);
}

/* フッター */
footer {
  background-color: var(--primary-color);
  color: var(--gray);
  padding: 30px 0 20px;
  margin-top: 60px;
}

footer h3 {
  color: var(--white);
  margin-bottom: 20px;
}

/* フッター上部（ブランド情報とリンク） */
.footer-top {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-links-section {
  width: 100%;
  margin-bottom: 50px;
}

.footer-links-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

/* フッター下部（連絡先とソーシャル） */
.footer-bottom-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-contact-row {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.footer-section a {
  color: var(--gray);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

/* フッターリンク */
.fh5co-footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: fit-content;
}

.fh5co-footer-links li {
  white-space: nowrap;
}

.fh5co-footer-links a.external {
  position: relative;
  padding-right: 18px;
}

.fh5co-footer-links a.external:after {
  content: '↗';
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .features h2, .schedule h2, .certification h2, .studios h2 {
    font-size: 28px;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-brand {
    margin-bottom: 30px;
  }
  
  .footer-contact-social {
    width: 100%;
  }
  
  .footer-contact-row {
    flex-direction: column;
  }
  
  .footer-links-wrapper {
    gap: 15px;
  }
  
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* トップに戻るボタン */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#back-to-top i {
  font-size: 20px;
}

/* ロゴリンクスタイル */
.logo a {
  color: var(--zen-corporate);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.logo a:hover {
  color: var(--secondary-color);
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-brand {
    width: 40%;
    margin-bottom: 0;
    padding-right: 30px;
  }
  
  .footer-links-section {
    width: 75%;
  }
}

@media (max-width: 767px) {
  .footer-links-wrapper {
    flex-direction: column;
    gap: 5px;
  }
  
  .fh5co-footer-links {
    margin-bottom: 10px;
  }
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 20px;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 800px) {
  h1 {
    font-size: 40px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-content {
    padding: 40px 0;
  }
  
  .footer-sections {
    grid-template-columns: 1fr;
  }

  .nav-links a.login-button {
    border: 0;
    border-radius: 0px;
    color: var(--primary-color);
    font-weight: 900;
  }
}

/* Add the following styles */
#features,
#schedule,
#studios {
  scroll-margin-top: 100px; /* Adjust this value based on the actual header height */
} 

/* モダンなパネルスタイル */
.panel-modern {
  border: none; /* 枠線を削除 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
  border-radius: 8px; /* 角を少し丸める */
  background-color: #fff; /* 背景色を白に設定 */
}

.panel-modern > .panel-heading {
  background-color: #f8f9fa; /* ヘッダーの背景色を明るいグレーに */
  border-bottom: none; /* ヘッダーの下線を削除 */
  border-top-left-radius: 8px; /* 角を丸める */
  border-top-right-radius: 8px; /* 角を丸める */
  font-weight: bold; /* ヘッダーの文字を太くする */
  color: #333; /* ヘッダー文字色 */
  padding: 15px 20px; /* ヘッダーのパディング調整 */
}

.panel-modern > .panel-body {
  padding: 25px; /* パディングを調整 */
}

/* --- コース日程テーブル モダンデザイン（PC・モバイル共通） --- */

/* テーブル全体のスタイルを刷新 */
.schedule-table {
  margin-bottom: 2rem;
}

.schedule-table table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  border: none;
}

.schedule-table th {
  background-color: var(--primary-color); /* ヘッダー背景：ダークブルー */
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border: none;
  white-space: nowrap;
}

.schedule-table td {
  padding: 16px;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

/* 最後の行のセルには下線なし */
.schedule-table tr:last-child td {
  border-bottom: none;
}

/* 偶数行の背景色 */
.schedule-table tr:nth-child(even) {
  background-color: #f9fafb;
}

/* ホバー時の行スタイル */
.schedule-table tr:hover td {
  background-color: #f0f7ff; /* 薄い青色の背景 */
}

/* コース名のスタイル */
.schedule-table td:first-child {
  font-weight: 500;
  color: var(--primary-color);
}

/* 募集状況バッジ - PCとモバイル共通 */
.status-open,
.status-closed,
.status-few,
.status-full {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px; /* より丸みのあるバッジ */
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  min-width: 80px;
}

.status-open {
  background-color: #34d399; /* 明るい緑 */
  color: #064e3b; /* 濃い緑 */
}

.status-closed {
  background-color: #f87171; /* 明るい赤 */
  color: #7f1d1d; /* 濃い赤 */
}

.status-few {
  background-color: #fbbf24; /* オレンジ */
  color: #78350f; /* 濃いブラウン */
}

.status-full {
  background-color: #e5e7eb; /* グレー */
  color: #1f2937; /* 濃いグレー */
}

/* 詳細リンクボタン - PCとモバイル共通 */
.schedule-table .details-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
}

.schedule-table .details-link:hover {
  background-color: #1e3a8a; /* 少し濃い色 */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.schedule-table .details-link:active {
  transform: translateY(0);
}

/* 早割情報の強調 */
.schedule-table small {
  display: block;
  margin-top: 6px;
  position: relative;
  font-weight: 600;
  color: #fb923c; /* オレンジ系の色 */
}


/* 早割期限の強調 */
.schedule-table small span {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* レスポンシブ対応 - モバイル用の既存のスタイルを維持 */
@media screen and (max-width: 768px) {
  /* 既存のモバイル用スタイルはそのまま使用
     このセレクタでは、PC用に上書きしたいスタイルだけ調整 */
  
  /* 費用の早割情報 - モバイル表示では左寄せにする */
  .schedule-table td[data-label="費用"] small {
    text-align: left;
  }
  
  /* 募集状況のバッジを中央揃え */
  .schedule-table td[data-label="募集状況"] {
    justify-content: flex-start;
  }
  
  /* テーブルヘッダーはモバイルでは非表示のままとする */
}

/* コース名とタイプのスタイル */
.schedule-table td[data-label="コース"] small {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 5px;
  color: #666;
  font-size: 0.8em;
  font-weight: 500;
}

/* 講師一覧セクション */
.instructors {
  padding: 80px 0;
  background-color: var(--light-bg);
  margin-bottom: 5rem;
}

.instructors h2 {
  text-align: center;
  margin-bottom: 40px;
}

.instructor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.instructor-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.instructor-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.instructor-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  min-height: 50px; /* 講師名の高さを統一 */
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
}

.instructor-info {
  flex-grow: 1;
}

.experience {
  color: var(--secondary-color);
  margin-bottom: 15px;
  white-space: pre-line;
}

.qualification {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.qualification dt {
  margin-bottom: 10px;
  font-weight: 500;
}

.qualification dd {
  margin-bottom: 5px;
  padding-left: 10px;
}

.instructor-message {
  color: var(--primary-color);
  font-weight: 500;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .instructor-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .instructor-content h3 {
    min-height: auto; /* タブレット以下では高さ統一を解除 */
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .instructor-cards {
    grid-template-columns: 1fr;
  }
  
  .instructors {
    padding: 60px 0;
  }
}