/* ===========================================
   Proposal D: Clean & Trustworthy
   参考サイトテイスト - シンプル・見やすい
   =========================================== */

/* CSS Variables */
:root {
  --color-primary: #0066B3;
  --color-primary-light: #E8F4FC;
  --color-primary-dark: #004A82;
  --color-accent: #FF6B00;
  --color-bg: #FFFFFF;
  --color-bg-gray: #F5F7F9;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-border: #E0E0E0;
  --color-white: #FFFFFF;

  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;

  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 100px;

  --transition: all 0.3s ease;
}

/* Utility */
.nowrap { white-space: nowrap; }
.sp-only { display: none; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
  p.sp-only { display: block; }
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  z-index: 1000;
  height: 40px;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.top-bar-text {
  color: var(--color-white);
  font-size: 0.85rem;
  opacity: 0.9;
}

.top-bar-sns {
  display: flex;
  gap: 8px;
}

.top-bar-sns a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.top-bar-sns a:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.top-bar-sns a i {
  font-size: 1rem;
}

.top-bar-sns a span {
  font-weight: 500;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.header.has-top-bar {
  top: 40px;
}

/* Adjust content when top bar is present */
.top-bar + .header.has-top-bar + .hero {
  margin-top: 125px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 50px;
  width: auto;
  display: block;
}

.logo-image {
  height: 58px;
  width: auto;
  display: block;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-lighter);
  letter-spacing: 0.08em;
  line-height: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: 4px;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  color: var(--color-white) !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  quotes: none;
}

.hamburger::before,
.hamburger::after {
  content: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header-tel {
  text-align: right;
}

.tel-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-lighter);
}

.tel-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #E05A00;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-submit {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px;
  font-size: 1.1rem;
}

.btn-submit:hover {
  background: var(--color-primary-dark);
}

/* Section Common */
.section {
  padding: 60px 0;
}

/* アンカーリンク時のスクロール位置調整（固定ヘッダー対応） */
.section[id] {
  scroll-margin-top: 100px;
}

.section-title {
  margin-bottom: 40px;
}

.section-title.center {
  text-align: center;
}

.title-en {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  line-height: 1.2;
  opacity: 0.8;
}

.title-jp {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 8px;
}

/* Image Placeholder */
.image-placeholder {
  background: linear-gradient(135deg, #4A9FD4 0%, #2E7AB8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.image-placeholder.court {
  background: linear-gradient(180deg, #6BB3E0 0%, #3A8CC4 50%, #1E5F8C 100%);
}

.image-placeholder.small {
  height: 150px;
}

.image-placeholder.schedule {
  height: 400px;
  background: #E8E8E8;
  color: #999;
}

/* Page Title */
.page-title {
  margin-top: 85px;
  padding: 40px 0 30px;
  background: var(--color-bg-gray);
  text-align: center;
}

.page-title-en {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 8px;
}

.page-title-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Hero Section */
.hero {
  margin-top: 85px;
  height: 480px;
  overflow: hidden;
  position: relative;
}

.hero-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(200, 200, 200, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
  padding: 0;
}

.hero-nav:hover {
  background: rgba(200, 200, 200, 0.8);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-dot.active {
  background: rgba(255, 255, 255, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-badge {
  position: absolute;
  right: 80px;
  bottom: 40px;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 40px;
  z-index: 10;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 20px;
  width: 450px;
  height: 130px;
  box-sizing: border-box;
}

.badge-logo {
  height: 70px;
  width: auto;
  display: block;
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-year {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.badge-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin: 0;
}

.hero-badge.badge-long .badge-text {
  font-size: 1.3rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-feature-item {
  background: var(--color-bg-gray);
  padding: 24px 16px;
  border-radius: 8px;
  text-align: center;
}

.feature-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* LINE Notice Banner */
.line-notice-banner {
  background: var(--color-bg-gray);
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

.line-notice-banner .container {
  display: flex;
  justify-content: center;
}

.line-notice-link {
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.line-notice-link:hover {
  color: #06C755;
}

.line-notice-link i.fab {
  font-size: 1.3rem;
  color: #06C755;
}

.line-notice-link i.fas {
  font-size: 0.7rem;
  opacity: 0.6;
}

/* News Section */
.news {
  background: var(--color-bg-gray);
  padding: 50px 0;
}

.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  transition: background 0.3s ease;
  text-decoration: none;
}

.news-item:hover {
  background: var(--color-white);
}

.news-date {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.news-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

.news-item:hover .news-title {
  color: var(--color-primary);
}

.news-loading,
.news-empty,
.news-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.news-error {
  color: #c62828;
}

.news-more {
  text-align: center;
  margin-top: 24px;
}

.news-more .btn {
  padding: 10px 60px;
  font-size: 0.9rem;
}

/* About Section */
.about .container {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-heading {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 32px;
}

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

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

.about-image .image-placeholder {
  aspect-ratio: 4/3;
  border-radius: 8px;
}

/* About Detail Section */
.about-detail .container {
  max-width: 900px;
}

.about-detail-content {
  max-width: 100%;
}

.detail-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 0;
  border: none;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-heading .heading-emoji {
  font-size: 1.3rem;
}

.theme-highlight {
  font-size: 1.4rem;
  background: linear-gradient(transparent 60%, #fff3cd 60%);
  padding: 0 4px;
}

/* Achievement Box */
.achievement-box {
  margin-top: 12px;
}

.achievement-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.achievement-list li {
  font-size: 0.8rem;
  color: var(--color-text);
  background: transparent;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid var(--color-border);
}

/* Features Section */
.features {
  background: var(--color-bg-gray);
}

.features-list {
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.feature-item:first-child {
  padding-top: 0;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.feature-text-wrapper {
  display: flex;
  gap: 20px;
}

.feature-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  min-width: 50px;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

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

/* Coach Section */
.coach-section {
  background: var(--color-white);
  padding-top: 50px;
}

.coach-section .section-title {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 16px;
}

.coach-section .title-jp {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.coach-section .title-en {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.coach-description {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 48px;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
}

.coach-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.coach-card:hover,
.coach-card.active {
  transform: translateY(-4px);
}

.coach-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #D8E3EA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.coach-card:hover .coach-photo,
.coach-card.active .coach-photo {
  box-shadow: 0 0 0 3px var(--color-primary);
}

.coach-photo span {
  color: #94A8B3;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.coach-photo {
  position: relative;
}

.coach-img-hover {
  opacity: 0;
}

.coach-card:hover .coach-img-default,
.coach-card.active .coach-img-default {
  opacity: 0;
}

.coach-card:hover .coach-img-hover,
.coach-card.active .coach-img-hover {
  opacity: 1;
}

.coach-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.coach-role {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 500;
}

.coach-info-toggle {
  position: relative;
  min-height: 60px;
}

.coach-credentials {
  font-size: 0.75rem;
  color: var(--color-text);
  line-height: 1.6;
  transition: opacity 0.3s ease;
}

.coach-credentials p {
  margin: 4px 0;
}

.coach-info-toggle .coach-message {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coach-card:hover .coach-credentials,
.coach-card.active .coach-credentials {
  opacity: 0;
}

.coach-card:hover .coach-info-toggle .coach-message,
.coach-card.active .coach-info-toggle .coach-message {
  opacity: 1;
}

.coach-message {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 8px;
  line-height: 1.5;
  font-style: italic;
}

.coach-message::before {
  content: '"';
}

.coach-message::after {
  content: '"';
}

.coach-tap-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-lighter);
  margin-top: 0;
  margin-bottom: 16px;
}

.coach-tap-hint i {
  margin-right: 4px;
}

/* Class Section */
.class-section {
  background: var(--color-white);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.class-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: visible;
  transition: var(--transition);
}

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

.class-header {
  padding: 20px;
  text-align: center;
  color: var(--color-white);
  border-radius: 8px 8px 0 0;
}

.class-header.junior {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.class-header.adult {
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

.class-header.athlete {
  background: linear-gradient(135deg, #FF9800 0%, #E65100 100%);
}

.class-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.class-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 4px;
}

.class-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.class-image .image-placeholder {
  aspect-ratio: 16/9;
}

.class-body {
  padding: 24px;
  border-radius: 0 0 8px 8px;
  background: var(--color-white);
}

.class-description {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.8;
}

.class-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.level-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-gray);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-text);
}

.class-price {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.class-price dl {
  flex: 1;
}

.class-price dt {
  font-size: 0.8rem;
  color: var(--color-text-lighter);
}

.class-price dd {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Class Card Active State */
.class-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.class-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.class-card[data-class="adult"].active::after {
  border-color: #1565C0;
}

.class-card[data-class="junior"].active::after {
  border-color: #2E7D32;
}

.class-card[data-class="athlete"].active::after {
  border-color: #E65100;
}

/* 吹き出しポインター */
.class-card::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border: 20px solid transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.class-card.active::before {
  opacity: 1;
}

/* 吹き出しの色をカードに合わせる（PC） */
.class-card[data-class="adult"]::before {
  border-top-color: #1565C0;
}

.class-card[data-class="junior"]::before {
  border-top-color: #2E7D32;
}

.class-card[data-class="athlete"]::before {
  border-top-color: #E65100;
}

.class-card:not(.active):hover {
  transform: translateY(-3px);
}

/* Class Details Section */
.class-details {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

.class-detail-panel {
  border: 3px solid;
  border-radius: 12px;
  padding: 32px;
  background: var(--color-white);
}

/* 詳細パネルの枠色をカードに合わせる */
#adult-detail {
  border-color: #1565C0;
}

#junior-detail {
  border-color: #2E7D32;
}

#athlete-detail {
  border-color: #E65100;
}

/* 説明文（モバイルのみ表示） */
.class-intro {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-panel-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 32px;
}

.detail-panel-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-left: 8px;
}

/* Class Detail Table */
.class-detail-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.class-detail-panel.active {
  display: block !important;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 8px;
}

.class-detail-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  table-layout: fixed;
}

.class-detail-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.class-detail-table thead .col-class {
  width: 160px;
}

.class-detail-table thead .col-time {
  width: 80px;
  text-align: center;
}

.class-detail-table thead .col-capacity {
  width: 70px;
  text-align: center;
}

.class-detail-table thead .col-description {
  width: auto;
}

.class-detail-table td.col-time,
.class-detail-table td.col-capacity {
  text-align: center;
  white-space: nowrap;
}

.class-detail-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
}

.class-detail-table tbody tr:last-child {
  border-bottom: none;
}

.class-detail-table tbody tr:hover {
  background-color: var(--color-bg-gray);
}

.class-detail-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.class-name-cell {
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  font-size: 1.1rem;
  white-space: nowrap;
  vertical-align: middle;
}

/* パネル内料金表示 */
.panel-price {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.panel-price-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.panel-price-entry-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.panel-price-entry-row .entry-label {
  font-size: 0.9rem;
  color: var(--color-text);
}

.panel-price-entry-row .entry-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.panel-price-monthly {
  background: var(--color-bg-gray);
  border-radius: 8px;
  padding: 16px 20px;
}

.monthly-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

/* 大人クラス用の料金行（2-3列） */
.monthly-row-adult {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.monthly-class {
  font-size: 0.9rem;
  color: var(--color-text);
}

.monthly-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
}

.monthly-price-group {
  display: flex;
  gap: 16px;
  font-size: 1rem;
  color: var(--color-text-light);
}

.monthly-price-group strong {
  font-weight: 700;
  color: var(--color-primary);
}


/* チケット制の案内 */
.panel-price-ticket {
  margin-top: 16px;
  padding-top: 12px;
}

.panel-price-ticket .ticket-info {
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 6px;
  padding-left: 16px;
}

.panel-price-ticket .ticket-price {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 4px;
  padding-left: 16px;
}

.panel-price-ticket .ticket-price strong {
  color: var(--color-primary);
  font-weight: 700;
}

.panel-price-ticket .ticket-note {
  font-size: 0.8rem;
  color: var(--color-text-lighter);
}

/* 選手クラスの注意事項 */
.panel-price-note-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.athlete-note-main {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-left: 16px;
}

.athlete-note-list {
  padding-left: 16px;
}

.athlete-note-item {
  margin-bottom: 12px;
}

.athlete-note-item h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.athlete-note-item p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  padding-left: 16px;
}

.athlete-note-item ul {
  padding-left: 16px;
}

.athlete-note-item li {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* タイムライン形式のスケジュール（新版） */
.tl-schedule {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.tl-schedule::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tl-updated {
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-top: 4px;
  padding-left: 8px;
}

.tl-header {
  display: grid;
  grid-template-columns: 42px repeat(7, 1fr);
  min-width: 1060px;
  background: var(--color-primary);
  border-radius: 8px 8px 0 0;
}

.tl-time-header,
.tl-day-header {
  padding: 10px 4px;
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.tl-day-header-sat,
.tl-day-header-sun {
  background: rgba(229, 57, 53, 0.3);
}

.tl-content {
  display: grid;
  grid-template-columns: 42px repeat(7, 1fr);
  grid-template-rows: repeat(73, 9px);
  min-width: 1060px;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding-top: 8px;
  padding-bottom: 16px;
}

.tl-times {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  background: var(--color-bg-gray);
  padding: 0 4px;
  border-right: 1px solid var(--color-border);
  overflow: visible;
  margin-top: -8px;
  margin-bottom: -16px;
  padding-top: 8px;
  padding-bottom: 16px;
}

.tl-times span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
  padding-right: 4px;
  padding-top: 3px;
  position: relative;
  align-self: start;
  line-height: 1;
}

.tl-times span::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  width: 100vw;
  height: 1px;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}

.tl-day {
  display: grid;
  grid-row: 1 / -1;
  grid-template-columns: 1fr;
  grid-template-rows: subgrid;
  background:
    /* 14:30の線 (row 34 = 297px + padding 8px) */
    linear-gradient(to bottom, transparent 305px, rgba(0,0,0,0.08) 305px, rgba(0,0,0,0.08) 306px, transparent 306px),
    /* 16:20の線 (row 45 = 396px + padding 8px) */
    linear-gradient(to bottom, transparent 404px, rgba(0,0,0,0.08) 404px, rgba(0,0,0,0.08) 405px, transparent 405px),
    /* 毎時の線 (54pxごと) */
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.08) 0, rgba(0,0,0,0.08) 1px, transparent 1px, transparent 54px),
    white;
  background-position: 0 0, 0 0, 0 8px, 0 0;
  border-right: 1px solid var(--color-border);
  padding: 0 2px;
  position: relative;
  margin-top: -8px;
  margin-bottom: -16px;
  padding-top: 8px;
  padding-bottom: 16px;
}

.tl-day:last-child {
  border-right: none;
}

/* 火曜・木曜の2列表示（重なるクラス用） */
.tl-day:nth-child(4),
.tl-day:nth-child(6) {
  grid-template-columns: 1fr 1fr;
}

/* 土曜日の2列表示 */
.tl-day-sat {
  grid-template-columns: 1fr 1fr !important;
}

/* 3列表示（複数クラス用） */
.tl-day.tl-day-multi3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* 4列表示（複数クラス用） */
.tl-day.tl-day-multi4 {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* 5列表示（複数クラス用） */
.tl-day.tl-day-multi5 {
  grid-template-columns: repeat(5, 1fr) !important;
}

/* タイムラインアイテム */
.tl-item {
  border-radius: 4px;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.75rem;
  overflow: hidden;
  margin: 0;
  z-index: 1;
  grid-column: 1 / -1;
  align-self: stretch;
}

.tl-item .nm {
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.tl-item.joshi-to .nm,
.tl-item.hajimete .nm {
  font-size: 0.5rem;
}

.tl-item.kids .nm {
  font-size: 0.6rem;
}

/* 土曜日のG・GBだけ小さく */
.tl-day:nth-child(7) .tl-item.class-g .nm {
  font-size: 0.55rem;
}

.tl-item .ch {
  font-size: 0.65rem;
  opacity: 0.9;
  margin-top: 2px;
  white-space: nowrap;
}

/* タイムラインクラスの色 */
.tl-item.rakuraku { background: #E8D5F5; color: var(--color-text); }
.tl-item.hajimete { background: #E53935; color: white; }
.tl-item.shochu { background: #4CAF50; color: white; }
.tl-item.chu { background: #2196F3; color: white; }
.tl-item.jo { background: #FFEB3B; color: var(--color-text); }
.tl-item.joshi-to { background: #F48FB1; color: var(--color-text); }
.tl-item.kids { background: #F48FB1; color: var(--color-text); }
.tl-item.class-a { background: #E53935; color: white; }
.tl-item.class-b { background: #4CAF50; color: white; }
.tl-item.class-c { background: #FFEE58; color: var(--color-text); }
.tl-item.class-d1 { background: #FF9800; color: white; }
.tl-item.class-d2 { background: #00BCD4; color: white; }
.tl-item.class-e { background: #00ACC1; color: white; }
.tl-item.class-gb { background: #C62828; color: white; }
.tl-item.class-g { background: #424242; color: white; }
.tl-item.class-lab { background: #9C27B0; color: white; }
.tl-item.free { background: #E0E0E0; color: var(--color-text); }

/* 複数クラス表示 */
.tl-item.multi {
  background: transparent;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 0;
  margin: 0 1px;
  align-self: stretch;
}

.tl-item.multi > div {
  flex: 1;
  min-width: 0;
  padding: 3px 2px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.tl-item.multi > div span:first-child {
  font-weight: 700;
  font-size: 0.7rem;
}

.tl-item.multi > div span:last-child {
  font-size: 0.55rem;
  opacity: 0.9;
}

/* 複数クラス内の色 */
.tl-item.multi > div.class-a { background: #E53935; color: white; }
.tl-item.multi > div.class-b { background: #4CAF50; color: white; }
.tl-item.multi > div.class-c { background: #FFEE58; color: var(--color-text); }
.tl-item.multi > div.class-d1 { background: #FF9800; color: white; }
.tl-item.multi > div.class-d2 { background: #00BCD4; color: white; }
.tl-item.multi > div.class-e { background: #00ACC1; color: white; }
.tl-item.multi > div.class-gb { background: #C62828; color: white; }
.tl-item.multi > div.class-g { background: #424242; color: white; }
.tl-item.multi > div.class-lab { background: #9C27B0; color: white; }
.tl-item.multi > div.free { background: #E0E0E0; color: var(--color-text); }

/* 時間割テーブル */
.schedule-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 800px;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid var(--color-border);
  padding: 8px 4px;
  text-align: center;
  vertical-align: top;
}

.schedule-table th:not(.time-col),
.schedule-table td:not(.time-col) {
  min-width: 120px;
}

.schedule-table thead th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  padding: 10px 4px;
}

.schedule-table .time-col {
  background: var(--color-bg-gray);
  font-weight: 600;
  font-size: 0.75rem;
  width: 70px;
  color: var(--color-text);
}

.schedule-cell {
  padding: 4px;
  border-radius: 4px;
  min-height: 40px;
}

/* 大人クラスの色 */
.schedule-cell.rakuraku { background: #E8D5F5; }
.schedule-cell.hajimete { background: #E53935; color: white; }
.schedule-cell.shochu { background: #4CAF50; color: white; }
.schedule-cell.chu { background: #2196F3; color: white; }
.schedule-cell.jo { background: #FFEB3B; }
.schedule-cell.joshi-to { background: #F48FB1; }

/* ジュニアクラスの色 */
.schedule-cell.kids { background: #F48FB1; }
.schedule-cell.class-a { background: #E53935; color: white; }
.schedule-cell.class-b { background: #4CAF50; color: white; }
.schedule-cell.class-c { background: #FFEB3B; }
.schedule-cell.class-d1 { background: #FF9800; color: white; }
.schedule-cell.class-d2 { background: #00BCD4; color: white; }
.schedule-cell.class-e { background: #00ACC1; color: white; }

/* 選手クラスの色 */
.schedule-cell.class-gb { background: #C62828; color: white; }
.schedule-cell.class-g { background: #424242; color: white; }

/* 汎用カテゴリ色（複数クラス表示時） */
.schedule-cell.adult { background: rgba(0, 102, 179, 0.15); }
.schedule-cell.junior { background: rgba(76, 175, 80, 0.15); }

.schedule-cell .class-type {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.85rem;
}

.schedule-cell .class-type.athlete {
  color: var(--color-accent);
}

.schedule-cell .coach {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.schedule-cell .coach.small {
  font-size: 0.65rem;
}

.schedule-cell.multi,
.schedule-cell.multi-4 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
}

.schedule-cell.multi > div,
.schedule-cell.multi-4 > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
  border-radius: 3px;
  min-width: 40px;
  flex: 1 1 auto;
}

/* 複数クラス表示時の内側の色 */
.schedule-cell > div.rakuraku { background: #E8D5F5; }
.schedule-cell > div.hajimete { background: #E53935; color: white; }
.schedule-cell > div.shochu { background: #4CAF50; color: white; }
.schedule-cell > div.chu { background: #2196F3; color: white; }
.schedule-cell > div.jo { background: #FFEB3B; }
.schedule-cell > div.joshi-to { background: #F48FB1; }
.schedule-cell > div.kids { background: #F48FB1; }
.schedule-cell > div.class-a { background: #E53935; color: white; }
.schedule-cell > div.class-b { background: #4CAF50; color: white; }
.schedule-cell > div.class-c { background: #FFEE58; }
.schedule-cell > div.class-d1 { background: #FF9800; color: white; }
.schedule-cell > div.class-d2 { background: #00BCD4; color: white; }
.schedule-cell > div.class-e { background: #00ACC1; color: white; }
.schedule-cell > div.class-gb { background: #C62828; color: white; }
.schedule-cell > div.class-g { background: #424242; color: white; }
.schedule-cell > div.class-lab { background: #9C27B0; color: white; }
.schedule-cell > div.free { background: #E0E0E0; color: var(--color-text); }

.schedule-cell.multi > div .class-type,
.schedule-cell.multi-4 > div .class-type {
  font-size: 0.75rem;
}

.schedule-cell.multi > div .coach,
.schedule-cell.multi-4 > div .coach {
  font-size: 0.65rem;
  margin-top: 0;
}

/* 新コンパクトスケジュールセル */
.schedule-table tbody td {
  padding: 4px;
  vertical-align: top;
}

.schedule-table tbody td > .sc,
.schedule-table tbody td > .sc-multi {
  height: 100%;
  min-height: 80px;
}

.sc {
  padding: 8px 4px;
  border-radius: 4px;
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.sc .nm {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
}

.sc .ch {
  display: block;
  font-size: 0.7rem;
  margin-top: 2px;
  opacity: 0.9;
}

.sc .tm {
  display: block;
  font-size: 0.6rem;
  margin-top: 2px;
  opacity: 0.8;
}

.time-alt {
  font-size: 0.65rem;
  color: var(--color-text-light);
  font-weight: 400;
}

/* 単体セルの色 */
.sc.rakuraku { background: #E8D5F5; color: var(--color-text); }
.sc.hajimete { background: #E53935; color: white; }
.sc.shochu { background: #4CAF50; color: white; }
.sc.chu { background: #2196F3; color: white; }
.sc.jo { background: #FFEB3B; color: var(--color-text); }
.sc.joshi-to { background: #F48FB1; color: var(--color-text); }
.sc.kids { background: #F48FB1; color: var(--color-text); }
.sc.class-a { background: #E53935; color: white; }
.sc.class-b { background: #4CAF50; color: white; }
.sc.class-c { background: #FFEE58; color: var(--color-text); }
.sc.class-d1 { background: #FF9800; color: white; }
.sc.class-d2 { background: #00BCD4; color: white; }
.sc.class-e { background: #00ACC1; color: white; }
.sc.class-gb { background: #C62828; color: white; }
.sc.class-g { background: #424242; color: white; }
.sc.class-lab { background: #9C27B0; color: white; }
.sc.free { background: #E0E0E0; color: var(--color-text); }

/* 複数クラス表示 */
.sc-multi {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3px;
  min-height: 80px;
  align-items: stretch;
}

.sc-multi .sc {
  flex: 1 1 0;
  min-width: 35px;
  min-height: 100%;
  padding: 4px 2px;
}

.sc-multi .sc .nm {
  font-size: 0.75rem;
}

.sc-multi .sc .ch {
  font-size: 0.6rem;
}

.schedule-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 16px;
  padding: 0 8px;
}

.schedule-footer .schedule-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.schedule-footer .schedule-updated {
  font-size: 0.95rem;
  color: var(--color-text);
}

.schedule-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px;
  background: var(--color-bg-gray);
  border-radius: 6px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-text);
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.legend-color.adult {
  background: rgba(0, 102, 179, 0.3);
}

.legend-color.junior {
  background: rgba(76, 175, 80, 0.3);
}

.legend-color.athlete {
  background: var(--color-accent);
}

.panel-price-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.panel-price-entry-row .entry-note {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.panel-price-entry-row .entry-note strong {
  font-weight: 700;
  color: var(--color-primary);
}

.monthly-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 8px;
}

.monthly-header-4col {
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
}

.monthly-class-header {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.monthly-freq {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: left;
}

.monthly-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 0;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.monthly-row-4col {
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
}

.monthly-row-sub {
  padding: 4px 0 12px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.monthly-row-sub .monthly-class {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.monthly-price-sub {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: left;
}

.monthly-price {
  text-align: left;
}

/* 大人クラスの色分け */
.level-rakuraku .class-name-cell {
  background: #E8D5F5;
  color: var(--color-text);
}

.level-beginner .class-name-cell {
  background: #E53935;
}

.level-elementary .class-name-cell {
  background: #4CAF50;
}

.level-intermediate .class-name-cell {
  background: #2196F3;
}

.level-advanced .class-name-cell {
  background: #FFEB3B;
  color: var(--color-text);
}

.level-tournament .class-name-cell {
  background: #F48FB1;
}

/* ジュニアクラスの色分け */
.level-kids .class-name-cell {
  background: #F48FB1;
}

.level-a .class-name-cell {
  background: #E53935;
}

.level-b .class-name-cell {
  background: #4CAF50;
}

.level-c .class-name-cell {
  background: #FFEE58;
  color: var(--color-text);
}

.level-d1 .class-name-cell {
  background: #FF9800;
}

.level-d2 .class-name-cell {
  background: #00BCD4;
}

.level-e .class-name-cell {
  background: #00ACC1;
}

/* 選手育成クラスの色分け */
.level-gb .class-name-cell {
  background: #C62828;
}

.level-g .class-name-cell {
  background: #424242;
}

/* Price Section */
.price-section {
  background: var(--color-bg-gray);
}

.price-block {
  display: none;
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.price-block.active {
  display: block;
}

.price-block-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid;
}

.price-block-title.adult {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.price-block-title.junior {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.price-block-title.athlete {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.price-block-title.other {
  color: var(--color-text);
  border-color: var(--color-border);
}

.price-block-title small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-left: 8px;
}

.price-entry-fee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--color-bg-gray);
  border-radius: 8px;
}

.entry-fee-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.entry-fee-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.entry-fee-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.price-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.price-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.price-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  vertical-align: middle;
}

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

.price-table tbody td:nth-child(3) {
  text-align: left;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

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

.price-table tbody tr:hover {
  background: var(--color-bg-gray);
}

.price-table tbody tr.spot-lesson {
  background: rgba(0, 0, 0, 0.02);
}

.price-table tbody tr.spot-lesson td {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.price-table small {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.other-fees {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-bg-gray);
  border-radius: 8px;
}

.fee-name {
  font-weight: 600;
  color: var(--color-text);
}

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

.price-notes-block {
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.price-notes-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  margin-top: 24px;
}

.price-notes-title:first-child {
  margin-top: 0;
}

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

.price-notes-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.price-notes-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.price-notes-list li small {
  color: var(--color-text-light);
  font-size: 0.8rem;
}

/* 料金カード */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.price-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.price-card-header {
  padding: 20px;
  color: var(--color-white);
  text-align: center;
}

.price-card.adult .price-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.price-card.junior .price-card-header {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #388E3C 100%);
}

.price-card.athlete .price-card-header {
  background: linear-gradient(135deg, var(--color-accent) 0%, #F57C00 100%);
}

.price-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-card-entry {
  font-size: 0.9rem;
  opacity: 0.95;
}

.price-card-entry strong {
  font-weight: 700;
}

.price-card-body {
  padding: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.price-class {
  font-weight: 500;
  color: var(--color-text);
}

.price-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price-value small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.price-card-footer {
  padding: 12px 20px;
  background: var(--color-bg-gray);
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
}

.price-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* Trial Section */
.trial {
  background: var(--color-bg-gray);
}

.trial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.trial-info {
  padding-top: 32px;
}

.trial-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 24px;
}

.flow-steps {
  margin-bottom: 32px;
}

.flow-step {
  margin-bottom: 30px;
}

.flow-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  margin-bottom: 16px;
}

.flow-num {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.flow-title {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.1rem;
}

.flow-content {
  padding: 0 8px;
  flex: 1;
}

.flow-content a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.flow-content a:hover {
  color: var(--color-primary-dark);
}

.flow-content p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.flow-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--color-primary-light);
  border-radius: 4px;
  color: var(--color-primary);
  font-weight: 700;
}

.flow-tel:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.trial-detail {
  background: var(--color-white);
  padding: 20px;
  border-radius: 8px;
}

.trial-detail h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.detail-image {
  margin-bottom: 12px;
}

.detail-image img {
  width: 100%;
  border-radius: 4px;
}

.detail-image .image-placeholder {
  border-radius: 4px;
}

.trial-detail p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Trial Form */
.trial-form-wrapper {
  background: var(--color-white);
  padding: 32px;
  border-radius: 8px;
}

/* Contact Section */
.contact-section {
  background: var(--color-bg-gray);
}

.contact-intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-intro p {
  color: var(--color-text);
  margin-bottom: 16px;
}

.contact-tel-info {
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-tel-info i {
  color: var(--color-primary);
  margin-right: 8px;
}

.contact-tel-info a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-tel-info a:hover {
  text-decoration: underline;
}

.tel-note {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-left: 8px;
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: 32px;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  text-align: center;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.required {
  color: #E53935;
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-main);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
}

.radio-group {
  display: flex;
  gap: 24px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
}

.radio-label input {
  width: auto;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--color-bg-gray);
  border-radius: 4px;
}

/* Form Messages */
.form-message {
  margin-bottom: 20px;
}

.success-message {
  background: #E8F5E9;
  color: #2E7D32;
  padding: 16px 20px;
  border-radius: 6px;
  border-left: 4px solid #4CAF50;
  font-size: 0.95rem;
  line-height: 1.6;
}

.error-message {
  background: #FFEBEE;
  color: #C62828;
  padding: 16px 20px;
  border-radius: 6px;
  border-left: 4px solid #E53935;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--color-primary-dark);
}

/* Calendar Section */
.calendar-section {
  background: var(--color-bg-gray);
}

.section-title-center {
  text-align: center;
  border-left: none;
  padding-left: 0;
}

.calendar-content {
  text-align: center;
  padding: 40px 0;
}

.calendar-description {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.calendar-btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1rem;
}

/* Schedule Section */
.schedule-note {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.schedule-image {
  margin-bottom: 32px;
}

.schedule-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Trial Lesson Banner */
.trial-banner {
  background: var(--color-white);
  padding: 50px 0;
}

.trial-banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 50px 60px;
  border-radius: 12px;
}

.trial-banner-left {
  color: var(--color-white);
}

.trial-banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.4;
}

.trial-banner-text {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.95;
}

.trial-banner-info {
  display: flex;
  gap: 40px;
}

.trial-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trial-info-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.trial-info-value {
  font-size: 1.5rem;
  font-weight: 400;
}

.trial-info-tax {
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: 4px;
}

.trial-banner-right {
  text-align: center;
  color: var(--color-white);
}

.trial-contact-label {
  font-size: 0.95rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.trial-contact-tel {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.trial-contact-tel:hover {
  opacity: 0.8;
  color: var(--color-white);
}

.trial-contact-hours {
  font-size: 0.9rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.trial-banner-btn {
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 6px;
  display: inline-block;
  min-width: 280px;
}

.trial-banner-btn:hover {
  background: var(--color-bg-gray);
  color: var(--color-primary-dark);
}

/* Access Section */
.access {
  background: var(--color-bg-gray);
}

.access-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.access-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  display: block;
}

.map-placeholder {
  height: 400px;
  background: #E0E0E0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.access-info {
  padding: 0;
}

.info-item {
  margin-bottom: 28px;
}

.info-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.info-item p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.8;
}

.tel-wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tel-large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.tel-hours {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

.access-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  line-height: 1.6;
}

.access-list li strong {
  color: var(--color-text);
}

.access-contact {
  margin-top: 32px;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: var(--color-white);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-tel {
  font-size: 1rem;
  font-weight: 500;
}

.footer-nav ul {
  display: grid;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 8px 40px;
}

.footer-nav ul li {
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--color-white);
  opacity: 0.8;
  white-space: nowrap;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-sns p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.sns-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.sns-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.sns-links a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.sns-links a .fa-youtube:hover {
  color: #FF0000;
}

.sns-links a .fa-instagram:hover {
  color: #E4405F;
}

.sns-links a .fa-x-twitter:hover {
  color: #fff;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-white);
  opacity: 0.6;
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-inner {
    padding: 8px 20px;
    min-height: 65px;
  }

  .logo {
    gap: 8px;
  }

  .logo-icon {
    height: 40px;
  }

  .logo-image {
    height: 45px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 500px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }

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

  .nav-list a {
    display: block;
    padding: 16px 20px;
    font-size: 1rem;
  }

  .nav-cta {
    background: transparent !important;
    color: var(--color-primary) !important;
    padding: 16px 20px !important;
    border-radius: 0 !important;
  }

  .nav-cta:hover {
    background: var(--color-primary-light) !important;
  }

  .about .container {
    grid-template-columns: 1fr;
  }

  /* モバイル: カードを横並びタブに */
  .class-grid {
    display: flex;
    gap: 8px;
  }

  .class-card {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    overflow: visible;
    opacity: 0.7;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: opacity 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
  }

  .class-card.active {
    opacity: 1;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .class-card:active {
    transform: scale(0.96);
  }

  .class-card .class-image,
  .class-card .class-body {
    display: none;
  }

  .class-card .class-header {
    padding: 10px 8px 14px;
    border-radius: 8px;
  }

  .class-card .class-label {
    font-size: 0.65rem;
  }

  .class-card .class-name {
    font-size: 0.85rem;
    margin-top: 2px;
  }

  /* モバイル用吹き出しポインター */
  .class-card::before {
    display: block;
    bottom: -24px;
    border-width: 12px;
    opacity: 0;
  }

  .class-card.active::before {
    opacity: 1;
  }

  /* 吹き出しの色をカードに合わせる */
  .class-card[data-class="adult"].active::before {
    border-top-color: #1565C0;
  }

  .class-card[data-class="junior"].active::before {
    border-top-color: #2E7D32;
  }

  .class-card[data-class="athlete"].active::before {
    border-top-color: #E65100;
  }

  .class-card::after {
    display: none;
  }

  /* 詳細パネルのボーダーを調整 */
  .class-detail-panel {
    border: none;
    padding: 0;
  }

  /* 説明文をモバイルで表示 - カードの色に合わせる */
  .class-intro {
    display: block;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text);
  }

  #adult-detail .class-intro {
    background: rgba(33, 150, 243, 0.12);
  }

  #junior-detail .class-intro {
    background: rgba(76, 175, 80, 0.12);
  }

  #athlete-detail .class-intro {
    background: rgba(255, 152, 0, 0.12);
  }

  .class-details {
    margin-top: 4px;
  }

  .coach-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

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

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

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

@media (max-width: 768px) {
  /* Top Bar Mobile */
  .top-bar {
    height: 36px;
  }

  .top-bar-text {
    display: none;
  }

  .top-bar-sns a {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .top-bar-sns a span {
    display: none;
  }

  .top-bar-sns a i {
    font-size: 1.1rem;
  }

  .header.has-top-bar {
    top: 36px;
  }

  .header.has-top-bar .nav {
    top: 101px;
  }

  .top-bar + .header.has-top-bar + .hero {
    margin-top: 101px;
  }

  .hero {
    height: 300px;
    margin-top: 65px;
  }

  .page-title {
    margin-top: 65px;
    padding: 24px 0 18px;
  }

  .page-title-en {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .page-title-text {
    font-size: 1.5rem;
  }

  .hero-nav {
    font-size: 18px;
    width: 40px;
    height: 40px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .hero-dots {
    bottom: 10px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  .hero-badge {
    right: 10px;
    left: auto;
    bottom: 40px;
    padding: 10px 14px;
    gap: 10px;
    width: auto;
    height: auto;
    max-width: calc(100% - 80px);
  }

  .badge-logo {
    height: 40px;
  }

  .badge-year {
    font-size: 0.65rem;
    margin-bottom: 2px;
  }

  .badge-text {
    font-size: 0.8rem;
  }

  .hero-badge.badge-long .badge-text {
    font-size: 0.7rem;
  }

  .section {
    padding: 28px 0;
  }

  .feature-item:first-child,
  .trial-info {
    padding-top: 0;
  }

  .line-notice-banner {
    padding: 10px 0;
  }

  .line-notice-link {
    font-size: 0.8rem;
  }

  .news {
    padding: 35px 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .news-date {
    font-size: 0.85rem;
  }

  .news-title {
    font-size: 0.95rem;
  }

  .about-heading {
    font-size: 1.4rem;
  }

  .detail-heading {
    font-size: 1.1rem;
    margin-top: 32px;
  }

  .title-en {
    font-size: 0.9rem;
  }

  .title-jp {
    font-size: 1.3rem;
  }

  .coach-section .title-jp {
    font-size: 1.3rem;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }

  .feature-image {
    max-width: 300px;
    justify-self: end;
  }

  .feature-image img {
    height: 150px;
  }

  .feature-text-wrapper {
    gap: 16px;
  }

  .feature-num {
    font-size: 1.5rem;
    min-width: 40px;
  }

  .trial-banner {
    padding: 35px 0;
  }

  .trial-banner-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 35px 25px;
  }

  .trial-banner-title {
    font-size: 1.3rem;
  }

  .trial-banner-text {
    font-size: 0.85rem;
    margin-bottom: 25px;
  }

  .trial-banner-info {
    gap: 30px;
  }

  .trial-info-value {
    font-size: 1.2rem;
    font-weight: 400;
  }

  .trial-contact-tel {
    font-size: 1.5rem;
  }

  .trial-banner-btn {
    font-size: 1rem;
    padding: 14px 30px;
    min-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .coach-section {
    padding-bottom: 100px;
  }

  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
  }

  .coach-photo {
    width: 100px;
    height: 100px;
    transition: box-shadow 0.3s ease;
  }

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

  .footer-bottom .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* クラス詳細テーブルのレスポンシブ対応 */
  .class-details {
    margin-top: 16px;
    padding-top: 0;
  }

  .detail-panel-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  /* モバイル: テーブルをカード形式に変換 */
  .table-wrapper {
    overflow-x: visible;
  }

  .table-wrapper::after {
    display: none;
  }

  .class-detail-table {
    display: block;
    min-width: auto;
    background: none;
    box-shadow: none;
  }

  .class-detail-table thead {
    display: none;
  }

  .class-detail-table tbody {
    display: block;
  }

  .class-detail-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: none;
  }

  .class-detail-table tbody tr:hover {
    transform: none;
    background: none;
  }

  .class-detail-table td {
    padding: 0;
    border: none;
  }

  .class-detail-table td.class-name-cell {
    width: 100%;
    font-size: 0.95rem;
    padding: 8px 0;
    order: 1;
  }

  /* 内容を2番目に表示 */
  .class-detail-table td.col-description {
    order: 2;
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-top: 10px;
    margin-bottom: 8px;
    padding-left: 12px;
  }

  /* 時間と定員を横並びで最後に表示 */
  .class-detail-table td.col-time {
    order: 3;
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: var(--color-bg-gray);
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 12px;
    margin-right: 8px;
  }

  .class-detail-table td.col-capacity {
    order: 4;
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: var(--color-bg-gray);
    padding: 4px 10px;
    border-radius: 12px;
  }

  .class-detail-table td.col-time::before,
  .class-detail-table td.col-capacity::before {
    content: attr(data-label) ": ";
    font-weight: 500;
  }

  /* 料金カードモバイル対応 */
  .price-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-card-header {
    padding: 16px;
  }

  .price-card-header h3 {
    font-size: 1.1rem;
  }

  .price-card-body {
    padding: 16px;
  }

  .price-row {
    padding: 10px 0;
  }

  .price-value {
    font-size: 1rem;
  }

  .price-notes-block {
    padding: 20px;
  }

  .price-notes-title {
    font-size: 0.95rem;
  }

  .price-notes-list li {
    font-size: 0.85rem;
  }
}

/* ===========================================
   Company, Recruit, Privacy Pages
   =========================================== */

/* Dummy Notice */
.dummy-notice {
  background: #FFF3CD;
  border: 1px solid #FFE69C;
  border-left: 4px solid #FFC107;
  padding: 15px 20px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.dummy-notice p {
  color: #856404;
  font-weight: 500;
  margin: 0;
}

/* Enrollment Section */
.enrollment-section {
  background: var(--color-bg-gray);
  padding: 60px 0;
}

.enrollment-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 40px;
}

.enrollment-list {
  max-width: 700px;
  margin: 0 auto 40px;
}

.enrollment-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.enrollment-item:first-child {
  border-top: 1px solid var(--color-border);
}

.enrollment-num {
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-light);
  min-width: 30px;
}

.enrollment-content {
  flex: 1;
}

.enrollment-content p {
  line-height: 1.9;
  margin: 0;
}

.enrollment-note {
  color: var(--color-text-light);
  margin-top: 4px !important;
}

.text-accent {
  color: var(--color-primary);
}

.text-red {
  color: #E74C3C;
}

.text-underline {
  text-decoration: underline;
}

.enrollment-detail {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 30px;
  background: var(--color-white);
  border-radius: 8px;
}

.detail-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.enrollment-detail p {
  line-height: 1.8;
}

/* Info Table (Company & Recruit) */
.info-table-wrapper {
  overflow-x: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.info-table th {
  width: 150px;
  background: var(--color-bg-gray);
  font-weight: 500;
  white-space: nowrap;
}

.info-table td {
  background: var(--color-white);
}

/* Company Section */
.company-section {
  padding: 60px 0;
}

/* Recruit Section */
.recruit-section {
  padding: 60px 0;
}

.recruit-intro {
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.05rem;
  line-height: 2;
}

.recruit-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.recruit-positions {
  margin-bottom: 50px;
}

.position-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}

.position-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--color-primary);
}

.recruit-contact {
  background: var(--color-bg-gray);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.recruit-contact .recruit-heading {
  border-bottom: none;
  padding-bottom: 0;
}

.recruit-contact .contact-info {
  margin-top: 20px;
  font-size: 1.05rem;
}

/* Privacy Section */
.privacy-section {
  padding: 60px 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-intro {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 40px;
}

.privacy-item {
  margin-bottom: 35px;
}

.privacy-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.privacy-list {
  margin: 15px 0 0 20px;
  list-style: disc;
}

.privacy-list li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.privacy-date {
  margin-top: 50px;
  text-align: right;
  color: var(--color-text-light);
}

.contact-info {
  margin-top: 15px;
  line-height: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .info-table th {
    width: 120px;
    padding: 12px 15px;
  }

  .info-table td {
    padding: 12px 15px;
  }

  .position-card {
    padding: 20px;
  }

  .recruit-contact {
    padding: 30px 20px;
  }

  .privacy-content {
    padding: 0 10px;
  }

  .company-section,
  .recruit-section,
  .privacy-section {
    padding: 28px 0;
  }
}

/* ===========================================
   FAQ Page
   =========================================== */

.faq-section {
  padding: 60px 0;
}

.faq-section .container {
  max-width: 800px;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.faq-question {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  padding-left: 32px;
  position: relative;
  line-height: 1.7;
}

.faq-question::before {
  content: "Q.";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.faq-answer {
  margin-top: 12px;
  padding-left: 32px;
  position: relative;
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq-answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.faq-answer p {
  margin: 0;
}

.faq-notes {
  margin: 10px 0 0 0;
  list-style: none;
}

.faq-notes li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.faq-notes li::before {
  content: "\203B";
  position: absolute;
  left: 0;
}

.faq-link {
  margin-top: 10px;
}

.faq-link a {
  color: var(--color-primary);
  font-weight: 500;
}

.faq-link a:hover {
  text-decoration: underline;
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 28px 0;
  }

  .faq-question {
    font-size: 0.95rem;
  }
}
