/* =========================================================================
   Base Variables (Design System)
   ========================================================================= */
:root {
  /* Colors */
  --bg-main: #f8fafc;
  --bg-dark: #111827;
  --bg-dark-accent: #1f2937;
  --text-main: #1f2937;
  --text-light: #f3f4f6;
  --text-gray: #6b7280;
  
  --accent-brand: #00a0e9; /* セルヴァンブルー */
  --accent-brand-light: #5cc2f2;
  --accent-brand-dark: #0081bb;
  --accent-green: #10b981;
  --accent-green-dark: #059669;

  /* Typography */
  --font-family: 'Noto Sans JP', sans-serif;
  
  /* Radii */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-brand: 0 4px 14px rgba(0, 160, 233, 0.4);
  --shadow-green: 0 4px 14px rgba(16, 185, 129, 0.4);

  /* Transitions */
  --transition-normal: all 0.3s ease;
}

/* =========================================================================
   Reset & Base Styles
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  word-wrap: break-word;
}

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

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

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.text-center { text-align: center; }
.text-brand { color: var(--accent-brand); }
.text-accent-orange { color: #f97316; }
.text-accent-green { color: var(--accent-green); }
.text-light { color: var(--text-light); }
.text-small { font-size: 0.85rem; }
.font-bold { font-weight: 700; }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.bg-light-gray { background-color: #f1f5f9; }
.mb-6 { margin-bottom: 1.5rem; }

.bg-dark-gradient {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
  color: var(--text-light);
}

.bg-light-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.highlight {
  color: var(--accent-brand);
  font-weight: 900;
  font-size: 1.1em;
}

/* =========================================================================
   Top Navigation & Logo
   ========================================================================= */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 16px 0;
}

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

.header-logo {
  height: 48px;
  width: auto;
  /* Add subtle shadow if logo is dark on dark bg, but logo looks blue/white, should be fine */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
  .header-logo {
    height: 36px;
  }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn-primary {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-brand) 0%, var(--accent-brand-dark) 100%);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-brand);
  transition: var(--transition-normal);
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 160, 233, 0.6);
}

.btn-sub {
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.9;
}

/* =========================================================================
   Placeholders
   ========================================================================= */
.placeholder-16-9 {
  aspect-ratio: 16 / 9;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #94a3b8;
  font-weight: bold;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 2px dashed #cbd5e1;
}

.placeholder-1-1 {
  aspect-ratio: 1 / 1;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: bold;
  border-radius: 50%;
  overflow: hidden;
  border: 2px dashed #cbd5e1;
}

/* =========================================================================
   Specific Sections
   ========================================================================= */

/* Header / Hero */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 画像を全体に広げる */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* テキストを読みやすくするため少し暗めに */
  transform-origin: center center;
}

/* プレイスホルダーの残滓を削除・画像用に調整 */
.instructor-image,
.voice-user,
.facility-image {
  overflow: hidden;
  position: relative;
}

.instructor-image img,
.voice-user img,
.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.instructor-image {
  aspect-ratio: 1/1;
  border-radius: var(--border-radius-lg);
  margin-bottom: 24px;
}

.voice-user {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent-brand);
}

.facility-image {
  aspect-ratio: 16/9;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 800px;
}

/* Hero Graphics */
.hero-graphics-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.hero-circle-accent {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(0, 160, 233, 0.2);
  border-radius: 50%;
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 160, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 233, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-bg-100 {
  position: absolute;
  bottom: 10%;
  left: 5%;
  font-size: 15rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  user-select: none;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-offer {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-offer .price {
  font-size: 2.25rem;
  color: var(--accent-brand);
}

.emphasized-offer {
  display: inline-block;
  font-size: 2rem;
  color: #fff;
  background-color: rgba(0, 160, 233, 0.8);
  padding: 10px 24px;
  border-radius: var(--border-radius-md);
  margin-top: 10px;
  box-shadow: 0 0 20px rgba(0, 160, 233, 0.4);
  border: 1px solid var(--accent-brand-light);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

.scroll-indicator span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator .material-symbols-outlined {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}

/* Pain Points */
.pain-points {
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 24px;
}

.pain-copy {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.feature-box {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  padding: 16px 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-brand);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-brand);
  margin-right: 16px;
}

.feature-text {
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

/* Instructors */
.section-headline {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
}

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: visible;
}

.instructor-card {
  background-color: var(--bg-dark-accent);
  border-radius: var(--border-radius-lg);
  overflow: visible;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 85px 24px 32px;
  margin-top: 80px;
}

.instructor-image {
  width: 140px;
  height: 140px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid var(--bg-dark-accent);
  background-color: #334155;
  z-index: 5;
  box-shadow: var(--shadow-md);
  border-radius: 50%; /* Let's try circular, often helps with centering portraits */
}

/* Specific fix for Ishiyama photo framing */
.instructor-image:has(.ishiyama-photo) {
  background-color: #f5f5f5; /* Match wall color for seamless scaling */
}

.ishiyama-photo {
  transform: scale(0.9);
  object-position: center 20% !important;
}

.instructor-header {
  margin-bottom: 24px;
}

.instructor-specialty-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-brand-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.instructor-info {
  padding: 40px 24px 32px;
  text-align: center;
  width: 100%;
}

.achievement-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 20px 16px;
  margin-top: 24px;
  text-align: left;
}

.achievement-box-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #9ca3af;
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.achievement-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #e5e7eb;
  line-height: 1.4;
}

.achievement-list .material-symbols-outlined {
  font-size: 1.2rem;
  color: #fcd34d; /* Gold */
}

.instructor-name {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--accent-brand);
}

.instructor-name span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 8px;
}

.instructor-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.instructor-tags li {
  background-color: #374151;
  color: var(--accent-brand-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.instructor-achievements {
  font-size: 1rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 24px;
}

.instructor-message {
  background-color: #111827;
  padding: 16px;
  border-left: 4px solid var(--accent-brand);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  font-style: italic;
  font-weight: 700;
}

@media (min-width: 768px) {
  .cards-stack {
    flex-direction: row;
    justify-content: center;
  }
  .instructor-card {
    flex: 1;
    max-width: 450px;
  }
}

/* Voices */
.voices-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.voice-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.voice-item.flex-reverse {
  flex-direction: row-reverse;
}

.voice-user {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.voice-bubble {
  background-color: #fff;
  padding: 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  flex: 1;
}

/* 吹き出しの矢印 */
.voice-item:not(.flex-reverse) .voice-bubble::before {
  content: '';
  position: absolute;
  top: 25px;
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.voice-item.flex-reverse .voice-bubble::before {
  content: '';
  position: absolute;
  top: 25px;
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.voice-author {
  font-weight: 700;
  color: var(--accent-brand);
  margin-bottom: 8px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .voice-item,
  .voice-item.flex-reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .voice-bubble {
    width: 100%;
  }

  /* Hide the balloon tip on mobile for a cleaner look when stacked */
  .voice-item:not(.flex-reverse) .voice-bubble::before,
  .voice-item.flex-reverse .voice-bubble::before {
    display: none;
  }
}

/* Roadmap */
.roadmap .container {
  max-width: 600px;
}

.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px; /* will align with center of icons if icons are positioned */
  height: 100%;
  width: 2px;
  background-color: var(--accent-brand);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: -20px; /* center of icon (40px) aligns with timeline line (left 20px) */
  top: 0;
  width: 80px;
  height: 80px;
  background-color: #fff;
  border: 3px solid var(--accent-brand);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon .material-symbols-outlined {
  font-size: 2.2rem;
  color: var(--accent-brand);
}

.timeline-content {
  background-color: #fff;
  padding: 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.step-label {
  display: inline-block;
  background-color: var(--accent-brand);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-content p {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Plans */
.plan-common {
  background-color: #1e293b;
  border: 1px solid var(--accent-brand);
  padding: 20px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.plan-common .material-symbols-outlined {
  color: var(--accent-brand);
  font-size: 2rem;
}

.plans-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-card {
  background-color: #1f2937;
  border: 1px solid #374151;
  padding: 32px 24px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  position: relative;
  transition: var(--transition-normal);
}

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

.plan-card.recommend {
  border: 2px solid var(--accent-brand);
  background: linear-gradient(to bottom, #1f2937, #111827);
  transform: scale(1.02);
}

.plan-card.recommend:hover {
  transform: scale(1.02) translateY(-5px);
}

.recommend-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-brand);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0;
  line-height: 1.2;
}

.plan-sub {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

.plan-target {
  font-size: 0.85rem;
  color: #d1d5db;
  background-color: #374151;
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-weight: 700;
}

.plan-price-box {
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px dashed #4b5563;
  border-bottom: 1px dashed #4b5563;
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.plan-price-unit {
  font-size: 1rem;
  font-weight: 500;
  color: #9ca3af;
  margin-left: 4px;
}

.plan-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
}

.detail-item .material-symbols-outlined {
  color: var(--accent-brand);
  font-size: 1.5rem;
}

.highlight-item {
  font-size: 1.2rem;
  font-weight: 900;
}

@media (min-width: 768px) {
  .plans-stack {
    flex-direction: row;
    align-items: stretch;
  }
  .plan-card {
    flex: 1;
  }
  .plan-card.recommend {
    transform: scale(1.05);
  }
  .plan-card.recommend:hover {
    transform: scale(1.05) translateY(-5px);
  }
}

/* Facility */
.facility-card {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.facility-info {
  padding: 32px;
  text-align: center;
}

.facility-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition-normal);
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-question .q-icon {
  color: var(--accent-brand);
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 16px;
  line-height: 1;
}

.faq-question .q-text {
  flex: 1;
  line-height: 1.5;
}

.faq-question .expand-icon {
  color: #94a3b8;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .expand-icon {
  transform: rotate(45deg); /* plus turns to cross */
  color: var(--accent-brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #f8fafc;
}

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  display: flex;
  align-items: flex-start;
}

.faq-answer-inner .a-icon {
  color: var(--accent-green);
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 16px;
  line-height: 1;
}

.faq-answer-inner p {
  flex: 1;
  font-weight: 500;
  color: var(--text-gray);
}

/* Honeypot field (send.php): hidden from users */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Contact Form */
.contact-form {
  background-color: #fff;
  padding: 40px 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-main);
}

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

.form-group label {
  display: flex;
  align-items: center;
  font-weight: 700;
  margin-bottom: 8px;
}

.required {
  background-color: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.optional {
  background-color: #9ca3af;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #f8fafc;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-brand);
  background-color: #fff;
}

.select-wrapper {
  position: relative;
}

.select-wrapper .select-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #94a3b8;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  width: 100%;
  padding: 20px;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 24px 0;
}

/* =========================================================================
   Floating Action Button (FAB)
   ========================================================================= */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-green);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.fab.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab:hover {
  transform: translateY(-4px) scale(1.05);
}

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

.fab-content .material-symbols-outlined {
  font-size: 2rem;
}

.fab-content span:last-child {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .fab {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
  }
}

/* =========================================================================
   New Sections: Concerns, Reasons, Trial Flow
   ========================================================================= */

/* Concerns / Agitation */
.concerns-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concern-item {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.concern-item .check-icon {
  color: var(--accent-brand);
  font-size: 1.5rem;
  margin-right: 16px;
}

.concern-item p {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.concern-item p strong {
  color: #ef4444; /* highlight pain point */
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #fca5a5;
  text-decoration-thickness: 3px;
  text-underline-offset: 2px;
}

.concerns-conclusion {
  font-size: 1.25rem;
}

/* Reasons to Choose */
.reasons-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reason-card {
  background-color: var(--bg-main);
  color: var(--text-main);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column; /* Image on top */
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

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

.reason-image {
  width: 100%;
  height: 280px; /* Increased to better show facility details */
  overflow: hidden;
}

.reason-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.reason-img-top {
  object-position: top !important; /* Priorities top/middle rows (Bath/Gym) over bottom (Pool) */
}

.reason-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #e2e8f0;
  position: absolute;
  top: 170px; /* Overlap with image slightly */
  right: 15px;
  z-index: 2;
  line-height: 1;
}

.reason-content {
  padding: 32px 24px 24px;
  position: relative;
  z-index: 1;
}

.reason-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--accent-brand-dark);
}

.reason-content p {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .reasons-stack {
    flex-direction: row;
    gap: 32px;
  }
  .reason-card {
    flex: 1;
    text-align: center;
  }
  .reason-number {
    position: absolute;
    top: 170px;
    right: 15px;
    font-size: 3rem;
  }
}

/* Trial Flow */
.flow-steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background-color: var(--accent-brand);
}

.flow-step {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.flow-step-icon {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border: 3px solid var(--accent-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.flow-step-icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--accent-brand);
}

.flow-step-content {
  background-color: #fff;
  padding: 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-left: 24px;
  flex: 1;
}

.step-badge {
  display: inline-block;
  background-color: var(--accent-brand);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.flow-step-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.flow-step-content p {
  color: var(--text-gray);
  font-weight: 500;
}

@media (max-width: 768px) {
  .flow-steps::before {
    left: 30px;
  }
  .flow-step-icon {
    width: 60px;
    height: 60px;
  }
  .flow-step-icon .material-symbols-outlined {
    font-size: 2rem;
  }
}

/* =========================================================================
   Schedule Box
   ========================================================================= */
.schedule-box {
  background-color: #e5e7eb; /* 画像に合わせて全体を明るく */
  border: none;
  padding: 32px 24px;
  border-radius: var(--border-radius-lg);
  max-width: 900px;
  margin: 0 auto 32px;
  color: #1f2937;
  box-shadow: var(--shadow-md);
}

.calendar-header {
  font-weight: 900;
  text-align: center;
  margin-bottom: 24px;
  color: #111827;
}

.calendar-header .cal-year { font-size: 2rem; }
.calendar-header .cal-text { font-size: 1.2rem; margin: 0 8px; }
.calendar-header .cal-month { font-size: 3rem; margin-right: 8px; }
.calendar-header .cal-title { font-size: 1.5rem; display: inline-block; }

.schedule-table-wrapper {
  overflow-x: auto;
}

.monthly-calendar {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background-color: #f3f4f6;
  border: 1px solid #9ca3af;
}

.monthly-calendar th,
.monthly-calendar td {
  border: 1px solid #9ca3af;
  vertical-align: top;
}

.monthly-calendar thead th {
  background-color: #6b7280;
  color: #fff;
  padding: 12px 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.monthly-calendar thead th.bg-red { background-color: #ef4444; }
.monthly-calendar thead th.bg-blue { background-color: #0ea5e9; }

.monthly-calendar tbody td {
  width: 14.28%;
  height: 120px;
  padding: 6px;
  position: relative;
}

.monthly-calendar td.empty { background-color: #d1d5db; }
.monthly-calendar td.sun-cell { background-color: #ffe4e6; }
.monthly-calendar td.sat-cell { background-color: #e0f2fe; }

.monthly-calendar .date {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.monthly-calendar .coach {
  font-weight: 900;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.monthly-calendar .coach.ishiyama { color: #f97316; }
.monthly-calendar .coach.sugawara { color: #10b981; }

.monthly-calendar .time {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  padding-left: 5px;
}

.class-limit {
  vertical-align: middle !important;
  text-align: center;
}
.class-limit span {
  display: inline-block;
  background-color: #f97316;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 12px 24px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .calendar-header .cal-year { font-size: 1.5rem; }
  .calendar-header .cal-month { font-size: 2.2rem; }
  .calendar-header .cal-title { font-size: 1.1rem; display: block; margin-top: 8px; }
  .schedule-box { padding: 16px 8px; }
}

/* =========================================================================
   Interactive Calendar Elements
   ========================================================================= */
.slot-btn {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid transparent;
  padding: 4px 8px;
  margin: 4px 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  color: inherit;
  line-height: 1.4;
}

.slot-btn:hover {
  background-color: rgba(0, 160, 233, 0.1);
  border-color: var(--accent-brand);
}

.slot-btn.active {
  background-color: var(--accent-brand) !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Selected Display in Form */
.selected-display {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--accent-brand);
  background-color: #f8fafc;
  border-radius: var(--border-radius-md);
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
  cursor: default;
}

.selected-display::placeholder {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-help-text {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--accent-brand);
  font-weight: 700;
}

.selected-datetime-container {
  position: relative;
}

/* =========================================================================
   Facility Detail (Deep Dive)
   ========================================================================= */
.facilities-detail {
  background-color: var(--bg-light);
}

.facilities-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.facilities-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.facilities-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.facilities-image:hover img {
  transform: scale(1.05);
}

.facilities-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.facility-point h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.facility-point h3 .material-symbols-outlined {
  color: var(--accent-brand);
  font-size: 2rem;
}

.facility-point p {
  color: #475569;
  line-height: 1.8;
  font-size: 1.05rem;
}

@media (max-width: 992px) {
  .facilities-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Scroll Connection Elements */
.hero-scroll-connection {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 15vh;
  z-index: 20;
  pointer-events: none;
}

.scroll-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-brand), transparent);
  opacity: 0.6;
}

.scroll-goal-icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-brand);
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 160, 233, 0.5));
}

/* Trial Price Badge */
.trial-price-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent-brand);
  color: #fff;
  width: fit-content;
  margin: 0 auto 32px;
  padding: 12px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 160, 233, 0.4);
}

.trial-price-badge .label {
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.9;
}

.trial-price-badge .price {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.trial-price-badge .unit {
  font-size: 0.875rem;
  font-weight: 700;
  align-self: flex-end;
  padding-bottom: 4px;
}
