/* ========================================
   ITスクール アイアルク Landing Page
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Colors — アイアルクロゴ2024 ブランドカラー準拠 */
  --primary-dark: #09415F;   /* ディープオーシャン */
  --primary: #1880B0;        /* ミディアムブルー */
  --primary-light: #60C0F0;  /* スカイブルー（ロゴ：まなぶ） */
  --accent: #F06080;         /* コーラルピンク（ロゴ：しれん） */
  --accent-light: #F7A0B8;   /* ライトピンク */
  --lime: #D8E800;           /* ライムイエロー（ロゴ：やさしさ） */
  --lime-light: #EEF566;     /* ライトライム */

  /* Course Colors — チラシ2024より */
  --tinker: #E880A0;
  --tinker-light: #F4C0D4;
  --finder: #F0A028;
  --finder-light: #F8D090;
  --pioneer: #08B8D8;
  --pioneer-light: #80D8EC;
  --robo: #58B050;
  --robo-light: #A0D898;
  --game: #5060A8;
  --game-light: #A0A8D4;

  /* Neutrals */
  --bg: #F0F8FD;
  --bg-white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-white: #ffffff;
  --border: #e2e8f0;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);
  --glass-bg: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .3);

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: .95rem;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}

.header.scrolled {
  background: rgba(9, 65, 95, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, .18);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
}

.logo span {
  font-size: .85rem;
  opacity: .8;
  font-weight: 400;
}

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

.nav-links a {
  color: var(--text-white);
  font-size: .88rem;
  font-weight: 500;
  position: relative;
  transition: opacity .25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  border-radius: 1px;
  transition: width .3s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent), #1880B0);
  color: var(--text-white);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 4px 16px rgba(240, 96, 128, .35);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240, 96, 128, .5);
}

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

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all .3s var(--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);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero/hero_background.png') center/cover no-repeat;
  opacity: .18;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 340px;
  height: 340px;
  background: rgba(96, 192, 240, .3);   /* ロゴ：まなぶ（ブルー） */
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 260px;
  height: 260px;
  background: rgba(240, 96, 128, .25);  /* ロゴ：しれん（ピンク） */
  bottom: 20%;
  left: -8%;
  animation-delay: 3s;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(216, 232, 0, .2);    /* ロゴ：やさしさ（ライム） */
  top: 50%;
  left: 30%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-24px) scale(1.05);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
}

.hero-text h1 {
  color: var(--text-white);
  font-size: 2.8rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--lime), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title .highlight,
.feature-card h3 .highlight,
.feature-card p .highlight {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Text color utilities (content.js から使用可) ---------- */
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-lime    { color: var(--lime); }
.text-dark    { color: var(--primary-dark); }
.text-light   { color: var(--text-light); }

.hero-catchphrase {
  color: var(--accent-light);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text p {
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid rgba(255, 255, 255, .35);
  color: var(--text-white);
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .25s var(--ease);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  overflow: hidden;
  animation: heroImgFloat 6s ease-in-out infinite;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

@keyframes heroImgFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  grid-column: 1 / -1;
}

.hero-stat {
  text-align: center;
  color: var(--text-white);
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), #60C0F0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: .82rem;
  opacity: .7;
  margin-top: 4px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
  padding: var(--section-padding);
}

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

.feature-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 20px 20px 0 0;
}

.feature-card:nth-child(1)::before {
  background: linear-gradient(90deg, var(--tinker), var(--finder));
}

.feature-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--pioneer), var(--accent));
}

.feature-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--robo), var(--game));
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #D8EFF8, #A8D8FF);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #FCE8ED, #F8B8C8);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #F4FAB0, #E8F560);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary);
}

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

/* ========================================
   COURSES SECTION
   ======================================== */
.courses {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg) 0%, #E0F0FA 100%);
}

.course-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Vertical line */
.course-flow::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--tinker), var(--finder), var(--pioneer), var(--robo), var(--game));
  border-radius: 2px;
}

.course-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
}

.course-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .82rem;
  color: var(--text-white);
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.course-item:nth-child(1) .course-dot {
  background: var(--tinker);
}

.course-item:nth-child(2) .course-dot {
  background: var(--finder);
}

.course-item:nth-child(3) .course-dot {
  background: var(--pioneer);
}

.course-item:nth-child(4) .course-dot {
  background: var(--robo);
}

.course-item:nth-child(5) .course-dot {
  background: var(--game);
}

.course-content {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.course-content:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.course-content h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.course-item:nth-child(1) .course-content h3 {
  color: var(--tinker);
}

.course-item:nth-child(2) .course-content h3 {
  color: var(--finder);
}

.course-item:nth-child(3) .course-content h3 {
  color: var(--pioneer);
}

.course-item:nth-child(4) .course-content h3 {
  color: var(--robo);
}

.course-item:nth-child(5) .course-content h3 {
  color: var(--game);
}

.course-target {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.course-item:nth-child(1) .course-target {
  background: #F4C0D4;
  color: #9A2050;
}

.course-item:nth-child(2) .course-target {
  background: #F8D090;
  color: #A05800;
}

.course-item:nth-child(3) .course-target {
  background: #B0E8F4;
  color: #006880;
}

.course-item:nth-child(4) .course-target {
  background: #B0DCA8;
  color: #286820;
}

.course-item:nth-child(5) .course-target {
  background: #B0B8DC;
  color: #283068;
}

.course-content p {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.7;
}

.course-text {
  flex: 1;
  min-width: 0;
}

.course-photo {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
}

.course-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.course-content:hover .course-photo img {
  transform: scale(1.06);
}

/* Branch arrow for Robo/Game */
.course-branch {
  display: flex;
  gap: 24px;
  padding-left: 88px;
  margin-top: -8px;
}

.course-branch .course-item {
  flex: 1;
  padding-left: 0;
}

.course-branch::before {
  display: none;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
  padding: var(--section-padding);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}

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

.pricing-card.popular {
  position: relative;
  overflow: hidden;
}

/* ティンカー（1枚目）：ピンク強調 */
.pricing-card:nth-child(1).popular {
  border: 2px solid var(--tinker);
}
.pricing-card:nth-child(1).popular::after {
  content: 'おすすめ';
  position: absolute;
  top: 18px;
  right: -32px;
  background: var(--tinker);
  color: white;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 42px;
  transform: rotate(45deg);
  white-space: nowrap;
}

/* ファインダー（2枚目）：オレンジ強調 */
.pricing-card:nth-child(2).popular {
  border: 2px solid var(--finder);
}
.pricing-card:nth-child(2).popular::after {
  content: 'おすすめ';
  position: absolute;
  top: 18px;
  right: -32px;
  background: var(--finder);
  color: white;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 42px;
  transform: rotate(45deg);
  white-space: nowrap;
}

.pricing-header {
  padding: 28px 20px 20px;
  color: var(--text-white);
}

.pricing-card:nth-child(1) .pricing-header {
  background: linear-gradient(135deg, var(--tinker), #C04070);
}

.pricing-card:nth-child(2) .pricing-header {
  background: linear-gradient(135deg, var(--finder), #C07010);
}

.pricing-card:nth-child(3) .pricing-header {
  background: linear-gradient(135deg, var(--pioneer), #0080A0);
}

.pricing-card:nth-child(4) .pricing-header {
  background: linear-gradient(135deg, var(--robo), #308028);
}

.pricing-card:nth-child(5) .pricing-header {
  background: linear-gradient(135deg, var(--game), #303878);
}

.pricing-header h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.pricing-header .target-age {
  font-size: .8rem;
  opacity: .85;
}

.pricing-body {
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-tax {
  font-size: .75rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.pricing-features {
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 6px 0;
  font-size: .82rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-schedule {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-light);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: linear-gradient(135deg, #D8EFF8, #E4E0FF);
  border-radius: 16px;
}

.pricing-note p {
  font-size: .9rem;
  color: var(--primary);
}

.pricing-note strong {
  color: var(--accent);
}

/* ========================================
   TESTIMONIALS / PARENT VOICES
   ======================================== */
.testimonials {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(96, 192, 240, .15);
  filter: blur(80px);
  top: -100px;
  right: -100px;
}

.testimonials .section-title {
  color: var(--text-white);
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, .65);
}

.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  transition: transform .3s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-label {
  font-size: .85rem;
  color: var(--text);
  font-weight: 500;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s var(--ease);
}

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

.testimonial-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.testimonial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.testimonial-card:hover .testimonial-img-wrap img {
  transform: scale(1.06);
}

.testimonial-body {
  padding: 24px 28px 28px;
}

.testimonial-card .quote {
  font-size: .92rem;
  line-height: 1.9;
  opacity: .9;
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-size: .82rem;
  opacity: .6;
}

/* ========================================
   LESSON FLOW
   ======================================== */
.lesson-flow {
  padding: var(--section-padding);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

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

.step-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.step-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.step-card:hover .step-img-wrap img {
  transform: scale(1.06);
}

.step-body {
  padding: 24px 28px 32px;
}

.step-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

/* ステップごとにロゴ3色（まなぶ・しれん・やさしさ）を交互に */
.step-card:nth-child(1) .step-number {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}
.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--accent), #C03060);
}
.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, #A0B800, #6A8000);
  color: white;
}
.step-card:nth-child(4) .step-number {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.step-card h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-card p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   INSTRUCTOR
   ======================================== */
.instructor {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #E0F0FA, var(--bg));
}

.instructor-card {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.instructor-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

.instructor-info h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.instructor-info .title {
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 16px;
}

.instructor-info p {
  color: var(--text-light);
  font-size: .92rem;
  line-height: 1.9;
}

.instructor-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.instructor-tags span {
  padding: 4px 14px;
  background: #e3f2fd;
  color: var(--primary-light);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

/* ========================================
   ALUMNI SECTION
   ======================================== */
.alumni {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg) 0%, #E0F0FA 100%);
}

.alumni-group {
  margin-top: 56px;
}

.alumni-group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.alumni-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  flex-shrink: 0;
}

.alumni-badge--student {
  background: var(--primary);
  color: #fff;
}

.alumni-badge--teacher {
  background: var(--accent);
  color: #fff;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 20px;
  justify-content: center;
}

.alumni-card {
  background: var(--bg-white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

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

.alumni-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.alumni-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.alumni-card:hover .alumni-img-wrap img {
  transform: scale(1.06);
}

.alumni-body {
  padding: 20px 22px 24px;
}

.alumni-dest {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-light);
}

.alumni-story {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.75;
}

@media (max-width: 600px) {
  .course-content {
    flex-direction: column;
  }

  .course-photo {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

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

  .alumni-group-label {
    flex-wrap: wrap;
  }
}

/* ========================================
   TRIAL SLIDER
   ======================================== */
.trial {
  background: var(--primary-dark);
  padding: 80px 0 72px;
  text-align: center;
}

.trial-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.trial-header {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.trial-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 12px;
}

.trial-header p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.8;
}

.trial-header strong {
  color: var(--accent-light);
}

/* Slider */
.slider-viewport {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

.slider-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

/* Prev / Next buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(255,255,255,.35);
}

.slider-btn--prev { left: 16px; }
.slider-btn--next { right: 16px; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* CTA */
.trial-cta {
  margin-top: 48px;
}

@media (max-width: 768px) {
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .slider-btn--prev { left: 8px; }
  .slider-btn--next { right: 8px; }
}

/* ========================================
   CONTACT / ACCESS
   ======================================== */
.contact {
  padding: var(--section-padding);
}

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

.contact-info-box {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-info-box h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #D8EFF8, #A8D8FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: .88rem;
  color: var(--primary);
  margin-bottom: 2px;
}

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

.contact-detail a {
  color: var(--accent);
  font-weight: 600;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 360px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 16px;
}

/* Wix フォーム埋め込みエリア */
.contact-form-embed {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 12px 48px rgba(9, 65, 95, .25);
  position: relative;
  overflow: hidden;
}

.contact-form-embed::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(216, 232, 0, .18);
  filter: blur(40px);
  pointer-events: none;
}

.contact-form-embed::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(240, 96, 128, .15);
  filter: blur(40px);
  pointer-events: none;
}

.form-embed-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.form-embed-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #1880B0);
  color: white;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(240, 96, 128, .4);
}

.form-embed-header h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.form-embed-header p {
  color: rgba(255, 255, 255, .8);
  font-size: .93rem;
  line-height: 1.8;
}

.form-embed-header p strong {
  color: var(--accent-light);
}




.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--accent), #1880B0);
  color: var(--text-white);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 6px 24px rgba(240, 96, 128, .35);
}

.btn-cta-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(240, 96, 128, .5);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 48px 0 24px;
}

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

.footer-brand h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: .85rem;
  opacity: .6;
  line-height: 1.8;
}

.footer-links h4 {
  font-size: .9rem;
  margin-bottom: 16px;
  opacity: .8;
}

.footer-links a {
  display: block;
  font-size: .85rem;
  opacity: .5;
  padding: 4px 0;
  transition: opacity .25s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  text-align: center;
  font-size: .8rem;
  opacity: .4;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step-card:not(:last-child)::after {
    display: none;
  }
}

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

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(9, 65, 95, .97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

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

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

  .testimonial-stats {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .step-card:not(:last-child)::after {
    display: none;
  }

  .instructor-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }

  .instructor-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }

  .instructor-tags {
    justify-content: center;
  }

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

  .contact-form-embed {
    padding: 32px 24px;
  }

  .form-embed-header h3 {
    font-size: 1.4rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .pricing-card.popular::after {
    display: none;
  }
}

/* Mobile menu open body scroll lock */
body.menu-open {
  overflow: hidden;
}

/* ========================================
   Course Modal
   ======================================== */

/* --- Course item click hint --- */
.course-item {
  cursor: pointer;
  transition: transform .2s var(--ease);
}

.course-item:hover {
  transform: translateX(6px);
}

.course-more-hint {
  display: inline-block;
  margin-top: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  opacity: .75;
  transition: opacity .2s;
}

.course-item:hover .course-more-hint {
  opacity: 1;
}

/* --- Overlay --- */
.course-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 25, 40, .72);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}

.course-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* hidden attribute override — start invisible, JS removes hidden + adds is-open */
.course-modal-overlay[hidden] {
  display: flex !important; /* keep flex layout, visibility controlled by opacity */
}

/* --- Dialog box --- */
.course-modal {
  background: var(--bg-white);
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .3s var(--ease);
}

.course-modal-overlay.is-open .course-modal {
  transform: translateY(0) scale(1);
}

/* --- Close button --- */
.course-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 1;
}

.course-modal-close:hover {
  background: var(--border);
  transform: scale(1.1);
}

/* --- Header --- */
.course-modal-header {
  padding: 12px 28px 24px;
  clear: both;
}

.course-modal-target {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  background: var(--bg);
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.course-modal-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 14px;
}

.course-modal-detail {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--text);
}

/* --- Image slider --- */
.course-modal-slider {
  position: relative;
  padding: 0 0 24px;
}

.course-modal-viewport {
  overflow: hidden;
  border-radius: 0 0 0 0;
}

.course-modal-track {
  display: flex;
  transition: transform .4s var(--ease);
}

.course-modal-track .modal-slide {
  min-width: 100%;
}

.course-modal-track .modal-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Nav arrows */
.course-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .88);
  color: var(--primary-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  transition: background .2s, transform .2s;
  z-index: 1;
  /* vertically center relative to image only, not dots */
  margin-top: -18px;
}

.course-modal-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.course-modal-nav--prev { left: 12px; }
.course-modal-nav--next { right: 12px; }

/* Dots */
.course-modal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}

.course-modal-dots .modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.course-modal-dots .modal-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Course-specific accent color for modal name */
.course-modal[data-course="0"] .course-modal-name { color: var(--tinker); }
.course-modal[data-course="1"] .course-modal-name { color: var(--finder); }
.course-modal[data-course="2"] .course-modal-name { color: var(--pioneer); }
.course-modal[data-course="3"] .course-modal-name { color: var(--robo); }
.course-modal[data-course="4"] .course-modal-name { color: var(--game); }

.course-modal[data-course="0"] .course-modal-target { background: var(--tinker-light); }
.course-modal[data-course="1"] .course-modal-target { background: var(--finder-light); }
.course-modal[data-course="2"] .course-modal-target { background: var(--pioneer-light); }
.course-modal[data-course="3"] .course-modal-target { background: var(--robo-light); }
.course-modal[data-course="4"] .course-modal-target { background: var(--game-light); }

/* --- Responsive --- */
@media (max-width: 600px) {
  .course-modal-header {
    padding: 8px 20px 20px;
  }

  .course-modal-name {
    font-size: 1.35rem;
  }

  .course-modal-nav {
    width: 32px;
    height: 32px;
    font-size: .9rem;
  }
}


/* ========================================
   Hero YouTube Background
   ======================================== */

.hero-yt-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-yt-bg.is-ready {
  opacity: 1;
}

/* iframe の親 div → YouTube API がここを置き換える */
#heroYtPlayer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 16:9 動画をどんな画面サイズでもカバーする */
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
}

#heroYtPlayer iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 動画の上に重ねる暗幕（テキスト可読性確保） */
.hero-yt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 30, 0.58);
}

/* スマホでは動画を非表示（自動再生ブロック・横切れ対策） */
@media (max-width: 768px) {
  .hero-yt-bg {
    display: none;
  }
}

/* 既存要素のz-index整理（動画より上に出す） */
.hero-orb      { z-index: 2; }
.hero::after   { z-index: 2; }
.hero .container { z-index: 3; }

/* ========================================
   Teaching Materials Section
   ======================================== */

.teaching-materials {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.material-card {
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

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

.material-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--border);
  position: relative;
}

.material-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.material-card:hover .material-img-wrap img {
  transform: scale(1.04);
}

/* Placeholder styling when image is missing */
.material-img-wrap img[src$="material01.jpg"],
.material-img-wrap img[src$="material02.jpg"],
.material-img-wrap img[src$="material03.jpg"] {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.material-body {
  padding: 24px;
}

.material-body h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.material-body p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.8;
}


@media (max-width: 600px) {
  .material-body {
    padding: 20px;
  }
}

/* ========================================
   CTA Strip
   ======================================== */

.cta-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 48px 0;
  text-align: center;
}

.cta-strip--accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.cta-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-strip-text {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

.btn-cta-white {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
}

@media (max-width: 600px) {
  .cta-strip {
    padding: 36px 0;
  }
  .cta-strip-text {
    font-size: 1rem;
  }
  .btn-cta-white {
    padding: 12px 28px;
    font-size: .95rem;
  }
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s var(--ease);
}

.faq-item.is-open {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: var(--bg);
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: background .2s var(--ease);
}

.faq-question:hover {
  background: var(--border);
}

.faq-item.is-open .faq-question {
  background: var(--primary);
  color: #fff;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
  transition: transform .3s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
}

.faq-icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 20px 24px;
  background: var(--bg-white);
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: .95rem;
}

@media (max-width: 600px) {
  .faq-question {
    padding: 16px 20px;
    font-size: .92rem;
  }
  .faq-answer {
    padding: 16px 20px;
  }
}
