/* ========================================
   Little Flamingo こども英会話
   Design System & Styles
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-primary: #E8829A;
  --color-primary-light: #FDE8EC;
  --color-primary-hover: #D4708A;
  --color-secondary: #F5A0B0;
  --color-accent-yellow: #FFD700;
  --color-accent-orange: #F28B30;
  --color-accent-lavender: #C9A0D6;
  --color-text-main: #4A3728;
  --color-text-sub: #8B7D6B;
  --color-bg-white: #FFFFFF;
  --color-bg-cream: #FFF9F5;
  --color-bg-pink: #FDE8EC;
  --color-border: #F0E0D8;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(232, 130, 154, 0.1);
  --shadow-card-hover: 0 8px 32px rgba(232, 130, 154, 0.18);
  --shadow-button: 0 4px 12px rgba(232, 130, 154, 0.25);
  --shadow-header: 0 2px 16px rgba(74, 55, 40, 0.06);

  /* Typography */
  --font-heading-ja: 'Zen Maru Gothic', sans-serif;
  --font-body-ja: 'Noto Sans JP', sans-serif;
  --font-display-en: 'Quicksand', sans-serif;
  --font-script-en: 'Sacramento', cursive;
  --font-body-en: 'Nunito', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Header */
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body-ja);
  color: var(--color-text-main);
  line-height: 1.8;
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pc-only {
  display: none;
}

.sp-only {
  display: inline;
}

/* --- No Break Utility --- */
.no-break {
  white-space: nowrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 130, 154, 0.35);
}

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

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

.btn-lg {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
}

.btn-white {
  background: white;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: var(--color-bg-cream);
  color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 224, 216, 0.5);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text-main);
  flex-shrink: 0;
}

.header-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.header-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-en {
  font-family: var(--font-display-en);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.brand-ja {
  font-family: var(--font-heading-ja);
  font-size: 0.6875rem;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

.header-nav {
  display: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading-ja);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.header-cta {
  display: none;
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-main);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-heading-ja);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-cta {
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 6rem;
  background: linear-gradient(160deg, var(--color-bg-cream) 0%, var(--color-bg-pink) 100%);
  overflow: hidden;
}

/* Polka dot background on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232, 130, 154, 0.06) 10%, transparent 10%);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
}

.hero-label {
  font-family: var(--font-heading-ja);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-sub);
  margin-bottom: 0.75rem;
}

.hero-heading {
  font-family: var(--font-heading-ja);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

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

.hero-desc {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-heading-ja);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  background: white;
  border: 1.5px solid var(--color-primary-light);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 340px;
}

/* Flamingo accent */
.hero-flamingo-accent {
  position: absolute;
  bottom: -16px;
  right: -12px;
  width: 80px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(232, 130, 154, 0.2));
}

/* Hero decorative dots */
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.dot-1 { width: 12px; height: 12px; background: var(--color-primary); top: 15%; left: 8%; }
.dot-2 { width: 8px; height: 8px; background: var(--color-accent-orange); top: 25%; right: 12%; }
.dot-3 { width: 16px; height: 16px; background: var(--color-secondary); bottom: 30%; left: 5%; }
.dot-4 { width: 10px; height: 10px; background: var(--color-accent-lavender); bottom: 20%; right: 8%; }
.dot-5 { width: 6px; height: 6px; background: var(--color-accent-yellow); top: 40%; right: 20%; }

.dot-star {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20%;
  right: 25%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.5 5.5L20 8.5l-4 4 1 6-5-3-5 3 1-6-4-4 5.5-1z' fill='%23FFD700'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.3;
  animation: float 4s ease-in-out infinite;
  border-radius: 0;
}

.dot-heart {
  position: absolute;
  width: 16px;
  height: 16px;
  bottom: 40%;
  left: 15%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C12 21 3 13.5 3 8.5C3 5.4 5.4 3 8.5 3c1.7 0 3.4.8 4.5 2.1C14.1 3.8 15.8 3 17.5 3 20.6 3 23 5.4 23 8.5 23 13.5 14 21 12 21z' fill='%23F5A0B0'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.25;
  animation: float 5s ease-in-out infinite 1s;
  border-radius: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* Wave Divider */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

.wave-hero {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* --- Carousel --- */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-secondary);
  border-radius: var(--radius-lg);
}

.carousel-placeholder span {
  font-family: var(--font-heading-ja);
  font-size: 0.875rem;
  color: var(--color-secondary);
  font-weight: 500;
}

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

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.3);
}

/* --- Sections Common --- */
.section {
  position: relative;
  padding: 3.5rem 0;
}

.concept,
.courses,
.teachers,
.testimonials {
  padding-bottom: 0;
}

.concept {
  background: var(--color-bg-white);
}

.courses {
  background: var(--color-bg-pink);
}

.teachers {
  background: var(--color-bg-white);
}

.testimonials {
  background: var(--color-bg-white);
  padding-bottom: 0;
}

.access {
  background: var(--color-bg-cream);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  font-family: var(--font-script-en);
  font-size: 1.75rem;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.section-title {
  font-family: var(--font-heading-ja);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* --- Campaign Banner (merged with trial schedule) --- */
.campaign-banner {
  background: linear-gradient(135deg, #FFF9F5 0%, #FDE8EC 50%, #F3E8F9 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.campaign-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--color-accent-yellow);
  position: relative;
}

.campaign-badge-wrap {
  margin-bottom: 0.75rem;
}

.campaign-badge {
  display: inline-block;
  font-family: var(--font-display-en);
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  background: linear-gradient(135deg, var(--color-accent-orange), #FFD700);
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-full);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.campaign-title {
  font-family: var(--font-heading-ja);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.campaign-deadline {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin-bottom: 0.75rem;
}

.campaign-sub {
  font-family: var(--font-heading-ja);
  font-size: 0.9375rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* Campaign trial dates (embedded) */
.campaign-trial-dates {
  margin-bottom: 1.5rem;
}

.campaign-trial-title {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}

.campaign-trial-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.campaign-trial-card {
  background: var(--color-bg-pink);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.trial-day {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.trial-dates {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: 0.125rem;
}

.trial-time {
  font-size: 0.875rem;
  color: var(--color-text-sub);
}

/* --- Worries --- */
.worries {
  background: var(--color-bg-white);
  padding-bottom: 0;
}

.worry-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.worry-card {
  background: white;
  border: 2px dashed var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.worry-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.5rem;
}

.worry-icon svg {
  width: 100%;
  height: 100%;
}

.worry-text {
  font-family: var(--font-heading-ja);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.6;
}

.worry-solution {
  text-align: center;
  padding: 1.5rem 0;
}

.worry-arrow {
  font-family: var(--font-heading-ja);
  font-size: 0.875rem;
  color: var(--color-text-sub);
  margin-bottom: 0.75rem;
  position: relative;
}

.worry-arrow::before {
  content: '▼';
  display: block;
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  animation: bounce-arrow 1.5s ease infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.worry-answer {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
}

/* --- Features Grid (with icons) --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
}

.feature-card:nth-child(2)::before { background: var(--color-accent-orange); }
.feature-card:nth-child(3)::before { background: var(--color-accent-lavender); }
.feature-card:nth-child(4)::before { background: var(--color-accent-yellow); }
.feature-card:nth-child(5)::before { background: #66BB6A; }
.feature-card:nth-child(6)::before { background: #42A5F5; }

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card-title {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.feature-card-text {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-sub);
}

/* --- Testimonials --- */
.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.testimonial-card {
  background: white;
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-card:nth-child(1) { border-top: 3px solid var(--color-primary); }
.testimonial-card:nth-child(2) { border-top: 3px solid var(--color-accent-orange); }
.testimonial-card:nth-child(3) { border-top: 3px solid var(--color-accent-lavender); }

.testimonial-quote {
  font-family: var(--font-script-en);
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--color-text-main);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.5rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-attr {
  font-family: var(--font-heading-ja);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-sub);
}

/* --- Courses --- */
.course-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.course-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.course-card-header {
  padding: 1.25rem 1.25rem 0.75rem;
  position: relative;
}

.course-toddler .course-card-header { border-top: 4px solid var(--color-primary); }
.course-kinder .course-card-header { border-top: 4px solid var(--color-accent-orange); }
.course-junior .course-card-header { border-top: 4px solid var(--color-accent-lavender); }

.course-badge {
  display: inline-block;
  font-family: var(--font-display-en);
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
  background: var(--color-accent-orange);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  animation: badge-pulse 2s ease-in-out infinite;
}

.course-age {
  display: block;
  font-family: var(--font-heading-ja);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-sub);
  margin-bottom: 0.25rem;
}

.course-name {
  display: flex;
  flex-direction: column;
}

.course-name-en {
  font-family: var(--font-display-en);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-main);
  line-height: 1.3;
}

.course-name-ja {
  font-family: var(--font-heading-ja);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
}

.course-card-body {
  padding: 0 1.25rem 1.25rem;
}

.course-features {
  margin-bottom: 1rem;
}

.course-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-main);
  line-height: 1.8;
}

.course-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.course-schedule {
  background: var(--color-bg-cream);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.2rem 0;
  font-size: 0.8125rem;
}

.schedule-row + .schedule-row {
  border-top: 1px solid var(--color-border);
}

.schedule-label {
  font-weight: 500;
  color: var(--color-text-sub);
  flex-shrink: 0;
  min-width: 3.5rem;
}

.schedule-value {
  text-align: right;
  color: var(--color-text-main);
}

/* Course Seats Badge */
.course-seats-badge {
  display: inline-block;
  background: #FF6B6B;
  color: white;
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Course Schedule Groups */
.course-schedule-group {
  margin: 0.75rem 0;
}

.course-schedule-block {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: rgba(253, 232, 236, 0.3);
  border-radius: var(--radius-sm);
}

.schedule-block-title {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-main);
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seats-alert {
  display: inline-block;
  background: #FF6B6B;
  color: white;
  font-size: 0.6875rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

.new-badge {
  display: inline-block;
  background: var(--color-accent-orange);
  color: white;
  font-size: 0.6875rem;
  font-family: var(--font-display-en);
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Course Note */
.course-note {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 0.5rem;
  padding: 0.375rem 0.625rem;
  background: rgba(253, 232, 236, 0.2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

/* Course Common Info (vertical single column) */
.course-common {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.common-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  padding: 0.625rem 0;
}

.common-item + .common-item {
  border-top: 1px solid var(--color-border);
}

.common-label {
  font-weight: 700;
  color: var(--color-text-main);
  flex-shrink: 0;
}

.common-value {
  color: var(--color-text-sub);
  text-align: right;
  font-size: 0.8125rem;
}

.common-value small {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* Courses single CTA */
.courses-cta {
  text-align: center;
  padding-bottom: 2rem;
}

/* --- About / 代表挨拶 --- */
.about-story {
  background: var(--color-bg-white);
  padding-bottom: 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(232, 130, 154, 0.2);
  flex-shrink: 0;
  border: 4px solid var(--color-primary-light);
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.about-text {
  text-align: center;
}

.about-name {
  font-family: var(--font-heading-ja);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-sub);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-name-highlight {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-text-main);
}

.about-name-en {
  font-family: var(--font-display-en);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-sub);
}

.about-story-text {
  margin-bottom: 1rem;
}

.about-story-text p {
  font-size: 0.875rem;
  color: var(--color-text-main);
  line-height: 1.9;
  margin-bottom: 0.5rem;
}

.about-story-text p:last-child {
  margin-bottom: 0;
}

/* --- Teachers --- */
.teacher-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.teacher-cards-single {
  max-width: 480px;
  margin: 0 auto;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.teacher-avatar {
  width: 160px;
  height: 160px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-primary-light);
  box-shadow: 0 4px 16px rgba(232, 130, 154, 0.2);
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.teacher-rica-avatar .teacher-photo {
  object-position: center 30%;
}

.teacher-info {
  width: 100%;
}

.teacher-name {
  font-family: var(--font-display-en);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.teacher-name-ja {
  font-family: var(--font-heading-ja);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin-left: 0.5rem;
}

.teacher-role {
  font-family: var(--font-heading-ja);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.teacher-from {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin-bottom: 0.75rem;
}

.teacher-desc {
  font-size: 0.8125rem;
  color: var(--color-text-main);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.teacher-message {
  font-family: var(--font-script-en);
  font-size: 1.25rem;
  color: var(--color-primary);
}

/* --- FAQ --- */
.faq {
  background: var(--color-bg-cream);
  padding-bottom: 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading-ja);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.6;
  transition: color 0.2s ease;
  gap: 1rem;
  min-height: 48px;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
}

.faq-toggle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.faq-answer.open {
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--color-bg-pink);
  border-radius: var(--radius-lg);
}

.faq-cta-text {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* --- Instagram Section --- */
.instagram-section {
  background: var(--color-bg-white);
  padding: 2.5rem 0;
}

.instagram-inner {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #FDE8EC 0%, #F3E8F9 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.instagram-icon {
  margin-bottom: 0.5rem;
}

.instagram-label {
  font-family: var(--font-heading-ja);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  margin-bottom: 0.5rem;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display-en);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.instagram-link:hover {
  color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.instagram-link svg {
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-sparkle {
  font-family: var(--font-heading-ja);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

.cta-heading {
  font-family: var(--font-heading-ja);
  font-weight: 900;
  font-size: 1.375rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-button {
  margin-bottom: 1rem;
}

.cta-contact {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.cta-contact p + p {
  margin-top: 0.25rem;
}

/* --- Access --- */
.access-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.access-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.access-map iframe {
  display: block;
}

.access-info {
  padding: 0;
}

.access-name {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.access-details {
  margin-bottom: 0;
}

.access-detail-row {
  display: flex;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8125rem;
}

.access-detail-row dt {
  font-weight: 700;
  color: var(--color-text-sub);
  min-width: 4.5rem;
  flex-shrink: 0;
}

.access-detail-row dd {
  color: var(--color-text-main);
}

.access-detail-row a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Footer Light Theme --- */
.footer.footer-light {
  background: var(--color-bg-pink);
  color: var(--color-text-sub);
  padding: 3rem 0 1.5rem;
}

.footer.footer-light .footer-brand-name {
  color: var(--color-text-main);
}

.footer.footer-light .footer-nav a {
  color: var(--color-text-sub);
}

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

.footer.footer-light .footer-contact {
  color: var(--color-text-sub);
}

.footer.footer-light .footer-contact a {
  color: var(--color-primary);
}

.footer.footer-light .footer-contact a:hover {
  color: var(--color-primary-hover);
}

.footer.footer-light .footer-social a {
  background: rgba(232, 130, 154, 0.15);
  color: var(--color-primary);
}

.footer.footer-light .footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

.footer.footer-light .footer-bottom {
  border-top: 1px solid rgba(232, 130, 154, 0.2);
  color: var(--color-text-sub);
}

/* Footer (base) */
.footer {
  background: var(--color-text-main);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-name {
  font-family: var(--font-heading-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  font-family: var(--font-heading-ja);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

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

.footer-contact {
  font-size: 0.75rem;
  line-height: 1.8;
}

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

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

.footer-social {
  margin-top: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-button);
  z-index: 500;
}

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

.back-to-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-3px);
}

/* --- Page load animation --- */
body {
  animation: fadeInPage 0.5s ease-out;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.course-cards .course-card:nth-child(2) { transition-delay: 0.1s; }
.course-cards .course-card:nth-child(3) { transition-delay: 0.2s; }
.testimonial-cards .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonial-cards .testimonial-card:nth-child(3) { transition-delay: 0.2s; }

/* ========================================
   Responsive: Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }

  .sp-only {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  .worries,
  .concept,
  .courses,
  .teachers,
  .testimonials,
  .faq {
    padding-bottom: 0;
  }

  .wave-divider svg {
    height: 120px;
  }

  .section-title {
    font-size: 1.625rem;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 8rem;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero-content {
    text-align: left;
    flex: 1;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .hero-visual {
    max-width: 420px;
    flex-shrink: 0;
  }

  .hero-flamingo-accent {
    width: 100px;
    bottom: -20px;
    right: -16px;
  }

  /* Header */
  .header-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  /* Campaign */
  .campaign-inner {
    padding: 2.5rem 2.5rem;
  }

  .campaign-trial-cards {
    max-width: 440px;
  }

  /* Worries */
  .worry-cards {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }

  .worry-text {
    font-size: 0.8125rem;
  }

  /* Features */
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card-title {
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonial-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Courses */
  .course-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .course-common {
    max-width: 540px;
  }

  .common-value {
    text-align: right;
  }

  /* About */
  .about-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .about-photo {
    width: 180px;
    height: 180px;
  }

  .about-text {
    text-align: left;
    flex: 1;
  }

  /* Access */
  .access-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ========================================
   Responsive: Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .worries,
  .concept,
  .courses,
  .teachers,
  .testimonials,
  .faq {
    padding-bottom: 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-heading {
    font-size: 2.75rem;
  }

  .hero-visual {
    max-width: 460px;
  }

  .hero-flamingo-accent {
    width: 110px;
  }

  .cta-heading {
    font-size: 1.625rem;
  }

  .wave-divider svg {
    height: 150px;
  }
}

/* ========================================
   Responsive: Small phone (max 374px)
   ======================================== */
@media (max-width: 374px) {
  .hero-heading {
    font-size: 1.375rem;
  }

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

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

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