/* =========================================================
   立教生のための英語塾 キャタル｜Rikkyo Exclusive LP
   Base: 立教パープル #541b86 / Accent: キャタルピンク #E73A77・ブルー #00A5E3
   ========================================================= */

:root {
  /* Brand */
  --catal-pink: #E73A77;
  --catal-pink-light: #f0558e;
  --catal-pink-bright: #ff5e9a;   /* 濃い紫背景上のハイライト用 */
  --catal-blue: #00A5E3;
  --catal-blue-light: #28b8f0;
  --rikkyo-purple: #541b86;
  --rikkyo-purple-light: #6b2da8;
  --rikkyo-purple-dark: #3a1260;

  /* Neutral */
  --text-primary: #1a1d2e;
  --text-secondary: #5a5e72;
  --text-muted: #9499ab;
  --line: #e9eaf0;
  --white: #ffffff;
  --bg-gray: #f6f7fa;
  --bg-lavender: #f7f4fc;
  --bg-blue: #f0f9fe;
  --dark: #16182a;

  /* Tokens */
  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-card: 0 6px 28px rgba(33, 20, 56, 0.07);
  --shadow-elevated: 0 18px 50px rgba(33, 20, 56, 0.14);
  --shadow-purple: 0 18px 48px rgba(84, 27, 134, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background: var(--white);
}

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

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

/* Shared section heading */
.section {
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}
.section-head { text-align: center; margin-bottom: 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rikkyo-purple);
  background: rgba(84, 27, 134, 0.07);
  border: 1px solid rgba(84, 27, 134, 0.14);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow.blue { color: var(--catal-blue); background: rgba(0,165,227,0.08); border-color: rgba(0,165,227,0.22); }
.eyebrow.pink { color: var(--catal-pink); background: rgba(231,58,119,0.08); border-color: rgba(231,58,119,0.22); }

.section-title {
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.01em;
}
.section-title .blue { color: var(--catal-blue); }
.section-title .pink { color: var(--catal-pink); }
.section-title .purple { color: var(--rikkyo-purple); }
.section-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; }

/* decorative soft blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* =================== HEADER =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(84,27,134,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px;text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--rikkyo-purple);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 6px 18px rgba(84,27,134,0.28);
}
.header-cta:hover { transform: translateY(-2px); background: var(--rikkyo-purple-light); box-shadow: 0 10px 24px rgba(84,27,134,0.38); }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 38%, rgba(247,244,252,0.92) 100%),
    radial-gradient(120% 80% at 80% 0%, rgba(84,27,134,0.10), transparent 80%)
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 80px 24px 96px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--rikkyo-purple), var(--rikkyo-purple-light));
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 40px;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(84,27,134,0.35);
  animation: fadeDown .8s ease both;
}
.hero-badge svg { width: 17px; height: 17px; }
.hero h1 {
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.005em;
  margin-bottom: 26px;
  animation: fadeUp .8s .15s ease both;
}
.hero h1 .pink { color: var(--catal-pink); }
.hero-sub {
  font-size: clamp(14px, 1.7vw, 17px);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto 38px;
  animation: fadeUp .8s .3s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(135deg, var(--catal-pink), var(--catal-pink-light));
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  padding: 20px 52px;
  border-radius: 60px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 12px 30px rgba(231,58,119,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(231,58,119,0.52); }
.btn-primary svg { width: 19px; height: 19px; transition: transform .3s ease; }
.btn-primary:hover svg { transform: translateX(5px); }
.hero-cta { animation: fadeUp .8s .45s ease both; }
.hero-note { font-size: 12px; color: var(--text-primary); margin-top: 16px; animation: fadeUp .8s .55s ease both; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; animation: bounce 2s infinite;
}
.scroll-cue span {
  display: block; width: 22px; height: 22px;
  border-right: 2px solid var(--rikkyo-purple);
  border-bottom: 2px solid var(--rikkyo-purple);
  transform: rotate(45deg); opacity: 0.45;
}

/* =================== TROUBLE =================== */
.trouble { background: var(--bg-gray); }
.trouble .blob.b1 { width: 320px; height: 320px; background: rgba(84,27,134,0.10); top: -80px; left: -100px; }
.trouble-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.trouble-group-title {
  display: flex; align-items: center; gap: 11px;
  font-size: 18px; font-weight: 800; color: var(--rikkyo-purple);
  margin-bottom: 20px;
}
.trouble-group-title .ic {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--rikkyo-purple); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trouble-group-title .ic svg { width: 18px; height: 18px; }
.trouble-cards { display: flex; flex-direction: column; gap: 16px; }
.t-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rikkyo-purple);
  padding: 22px 24px;
  display: flex; gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.t-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.t-card .chk { flex-shrink: 0; color: var(--rikkyo-purple); margin-top: 3px; }
.t-card .chk svg { width: 20px; height: 20px; }
.t-card p { font-size: 14.5px; line-height: 1.85; }

.trouble-conclusion {
  max-width: 1040px;
  margin: 44px auto 0;
  background: var(--bg-lavender);
  border: 1px solid rgba(84,27,134,0.12);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative; z-index: 1;
}
.trouble-conclusion .q {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  line-height: 1.6;
  color: var(--text-primary);
}
.trouble-conclusion .a {
  margin-top: 16px;
  font-size: 15px; font-weight: 700;
  color: var(--rikkyo-purple);
}

/* =================== REASON =================== */
.reason {
  background:
    linear-gradient(180deg, var(--bg-blue), #ffffff 70%);
}
.reason .blob.b1 { width: 360px; height: 360px; background: rgba(0,165,227,0.16); top: 40px; right: -120px; }
.reason .blob.b2 { width: 280px; height: 280px; background: rgba(231,58,119,0.12); bottom: 60px; left: -100px; }
.reason-logo { margin: 8px auto 6px; }
.reason-logo img { height: 40px; width: auto; margin: 0 auto; }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative; z-index: 1;
}
.r-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.r-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevated); }
.r-head {
  background: linear-gradient(135deg, var(--catal-blue), var(--catal-blue-light));
  color: var(--white);
  padding: 14px 24px;
  display: flex; align-items: center; gap: 12px;
}
.r-num { font-size: 22px; font-weight: 900; letter-spacing: 0.06em; opacity: 0.95; }
.r-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--catal-pink-bright); }
.r-body { padding: 26px 24px 30px; }
.r-body h3 {
  font-size: 18px; font-weight: 800; line-height: 1.6;
  margin-bottom: 18px; color: var(--text-primary);
}
.r-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.r-list li { display: flex; gap: 11px; font-size: 15.5px; line-height: 1.8; color: var(--text-secondary); }
.r-list .chk {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(231,58,119,0.12); color: var(--catal-pink);
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.r-list .chk svg { width: 12px; height: 12px; }

/* =================== VOICE (先輩) =================== */
.voice { background: var(--bg-lavender); }
.voice .blob.b1 { width: 320px; height: 320px; background: rgba(84,27,134,0.10); top: 0; left: -110px; }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative; z-index: 1;
}
.v-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--rikkyo-purple);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.v-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevated); }
.v-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.v-top { display: flex; align-items: center; gap: 14px; }
.v-avatar {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--rikkyo-purple-light), var(--rikkyo-purple));
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(84,27,134,0.18);
}
.v-avatar img { width: 100%; height: 100%; object-fit: cover; }
.v-avatar svg { width: 30px; height: 30px; color: rgba(255,255,255,0.85); }
.v-name { font-size: 17px; font-weight: 800; }
.v-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--rikkyo-purple); background: rgba(84,27,134,0.09);
  padding: 2px 10px; border-radius: 20px; margin-left: 6px;
}
.v-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.v-meta .row { display: flex; gap: 9px; align-items: flex-start; color: var(--text-secondary); line-height: 1.6; }
.v-meta .row svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--rikkyo-purple); }
.v-meta .row.score { color: var(--catal-pink); font-weight: 800;font-size: 18px; }
.v-meta .row.score svg { color: var(--catal-pink); }
.v-trigger {
  background: var(--bg-lavender);
  border-left: 3px solid var(--rikkyo-purple);
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  margin-top: auto;
}
.v-trigger .label { font-size: 15px; font-weight: 800; color: var(--rikkyo-purple); margin-bottom: 6px; }
.v-trigger p { font-size: 14px; line-height: 1.8; color: var(--text-primary); }
.v-trigger p.soon { color: var(--text-muted); font-style: italic; }

/* =================== STATS (実績) =================== */
.stats { background: var(--white); }
.stats .blob.b1 { width: 300px; height: 300px; background: rgba(84,27,134,0.08); bottom: -80px; right: -90px; }
.stats-wrap { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.stat-row {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-lavender);
  border-radius: var(--radius-sm);
  padding: 10px 26px;
  margin-bottom: 12px;
  overflow: hidden;
}
.stat-row .fill {
  position: absolute; inset: 0 auto 0 0; height: 100%;
  background: rgba(84,27,134,0.07);
  border-radius: var(--radius-sm);
  z-index: 0;
}
.stat-row .name, .stat-row .val { position: relative; z-index: 1; }
.stat-row .name { font-size: 15px; font-weight: 700; }
.stat-row .val { font-size: 26px; font-weight: 900; color: var(--rikkyo-purple); }
.stat-row .val small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.stat-total {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--rikkyo-purple), var(--rikkyo-purple-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  margin-top: 18px;
  box-shadow: var(--shadow-purple);
}
.stat-total .name { font-size: 17px; font-weight: 800; }
.stat-total .val { font-size: 30px; font-weight: 900; }
.stat-total .val small { font-size: 15px; margin-left: 2px; }

/* =================== CAMPAIGN =================== */
.campaign { background: linear-gradient(180deg, var(--bg-lavender), #efeaf7); }
.campaign .deadline {
  display: inline-block;
  font-size: 14px; font-weight: 800; color: var(--rikkyo-purple);
  background: rgba(84,27,134,0.08); border: 1px solid rgba(84,27,134,0.18);
  padding: 7px 22px; border-radius: 30px; margin-bottom: 18px;
}
.campaign-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: start;
  max-width: 1040px; margin: 0 auto;
}
/* regular cost card */
.cost-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 32px 30px;
}
.cost-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 22px; }
.cost-block { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--line); }
.cost-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cost-label { font-size: 14px; font-weight: 800; color: var(--rikkyo-purple); margin-bottom: 12px; }
.cost-line { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 8px; }
.cost-line .desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.cost-line .price { font-size: 18px; font-weight: 800; white-space: nowrap; }
.cost-note { font-size: 11.5px; color: var(--text-muted); margin-top: 6px; }

/* campaign benefit card */
.benefit-card {
  background: linear-gradient(160deg, var(--rikkyo-purple) 0%, var(--rikkyo-purple-dark) 100%);
  border-radius: var(--radius);
  padding: 34px 30px;
  color: var(--white);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-purple);
}
.benefit-card::before {
  content: ''; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(231,58,119,0.3), transparent 70%);
}
.campaign-target-section { padding: 72px 0; background: var(--bg-lavender); }
.campaign-target {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--rikkyo-purple);
  border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-elevated);
}
.campaign-target .ct-head {
  font-size: 18px; font-weight: 800; color: var(--rikkyo-purple);
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.campaign-target .ct-list {
  list-style: none; display: inline-block; text-align: left; margin: 0 auto;
}
.campaign-target .ct-list li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
  font-size: 15.5px; font-weight: 700; color: var(--text-primary);
}
.campaign-target .ct-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--catal-pink);
}
.campaign-target .ct-note {
  margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--text-secondary);
}

.benefit-head {
  position: relative; z-index: 1; text-align: center;
  font-size: 16px; font-weight: 800; padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.15); margin-bottom: 22px;
}
.benefit-row { position: relative; z-index: 1; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.benefit-row:last-of-type { border-bottom: none; }
.benefit-row .line { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.benefit-row .b-name { font-size: 15px; font-weight: 800; }
.benefit-row .b-prices { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.benefit-row .b-old { font-size: 12.5px; opacity: 0.55; text-decoration: line-through; }
.benefit-row .b-arrow { opacity: 0.6; }
.benefit-row .b-new { font-size: 22px; font-weight: 900; color: var(--catal-pink-bright); }
.benefit-row .b-sub { font-size: 11.5px; opacity: 0.6; margin-top: 6px; }
.benefit-set {
  background: rgba(255,255,255,0.08);
  border-radius: 10px; padding: 14px 16px; margin-top: 12px;
}
.benefit-set .st { font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.benefit-set ul { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.benefit-set li { font-size: 12.5px; opacity: 0.9; padding-left: 14px; position: relative; }
.benefit-set li::before { content: '・'; position: absolute; left: 0; }
.benefit-set .note { font-size: 11px; opacity: 0.55; margin-top: 6px; }
.benefit-total {
  position: relative; z-index: 1;
  background: rgba(231,58,119,0.16);
  border: 1px solid rgba(255,94,154,0.35);
  border-radius: 12px;
  padding: 20px; margin-top: 20px; text-align: center;
}
.benefit-total .bt-label { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.benefit-total .bt-compare {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.benefit-total .bt-old { font-size: 14px; opacity: 0.6; text-decoration: line-through; }
.benefit-total .bt-new { font-size: clamp(22px, 4vw, 30px); font-weight: 900; color: var(--catal-pink-bright); }
.benefit-total .bt-save { font-size: 14px; font-weight: 800; color: var(--white); margin-top: 10px; }

/* =================== MISSION =================== */
.mission { background: var(--bg-lavender); }
.mission-card {
  max-width: 880px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 5px solid var(--rikkyo-purple);
  box-shadow: var(--shadow-card);
  padding: 40px 40px;
}
.mission-card h3 { font-size: 18px; font-weight: 800; color: var(--rikkyo-purple); margin-bottom: 18px; }
.mission-card p { font-size: 14.5px; line-height: 2; color: var(--text-secondary); margin-bottom: 16px; }
.mission-card p:last-child { margin-bottom: 0; }
.mission-card .em { color: var(--catal-pink); font-weight: 700; }
.mission-closing {
  text-align: center; margin-top: 40px;
  font-size: clamp(18px, 3vw, 26px); font-weight: 900; line-height: 1.6;
}
.mission-closing .pink { color: var(--catal-pink); }

/* =================== TRIAL (体験レッスン) =================== */
.trial { background: var(--bg-gray); }
.trial .blob.b1 { width: 340px; height: 340px; background: rgba(0,165,227,0.14); top: 60px; right: -120px; }
.trial-sub {
  text-align: center; font-size: 15px; color: var(--text-secondary);
  line-height: 1.9; max-width: 720px; margin: -32px auto 44px;
}
/* teacher banner */
.teacher-card {
  background: linear-gradient(135deg, var(--catal-blue), var(--catal-blue-light));
  border-radius: var(--radius);
  padding: 26px 26px 30px;
  margin-bottom: 50px;
  box-shadow: 0 16px 40px rgba(0,165,227,0.28);
  position: relative; z-index: 1;
}
.teacher-card .tc-head {
  text-align: center; color: var(--white);
  font-size: clamp(15px, 2.2vw, 19px); font-weight: 800; margin-bottom: 22px;
}
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teacher {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}
.teacher .photo {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--catal-blue-light), var(--catal-blue));
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(0,165,227,0.2);
}
.teacher .photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher .photo svg { width: 40px; height: 40px; color: rgba(255,255,255,0.85); }
.teacher .t-name { font-size: 18px; font-weight: 800; }
.teacher .t-row { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14.5px; color: var(--text-secondary); }
.teacher .t-row svg { width: 14px; height: 14px; color: var(--catal-blue); flex-shrink: 0; }
.teacher .t-row.cred { color: var(--catal-blue); font-weight: 800; }

/* steps timeline */
.steps-title {
  max-width: 880px; margin: 0 auto 24px; text-align: center;
  font-size: 22px; font-weight: 800; color: var(--rikkyo-purple);
}
.steps { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.step {
  display: flex; gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-elevated); }
.step .n {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rikkyo-purple), var(--rikkyo-purple-light));
  color: var(--white); font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step .txt h4 { font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.step .txt p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; }

/* level menu */
.level-menu {
  max-width: 880px; margin: 30px auto 0;
  background: var(--bg-lavender);
  border: 1px solid rgba(84,27,134,0.12);
  border-radius: var(--radius);
  padding: 28px 30px;
  position: relative; z-index: 1;
}
.level-menu .lm-head {
  font-size: 15px; font-weight: 800; color: var(--rikkyo-purple); margin-bottom: 18px;
}
.level-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.level-row:last-child { margin-bottom: 0; }
.level-badge {
  flex-shrink: 0; min-width: 78px; text-align: center;
  background: var(--rikkyo-purple); color: var(--white);
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px; margin-top: 2px;
}
.level-row p { font-size: 13.5px; line-height: 1.8; color: var(--text-secondary); }

/* big final CTA */
.final-cta {
  max-width: 880px; margin: 50px auto 0;
  background: linear-gradient(150deg, var(--rikkyo-purple) 0%, var(--rikkyo-purple-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 52px 32px;
  text-align: center; color: var(--white);
  position: relative; overflow: hidden; z-index: 1;
  box-shadow: var(--shadow-purple);
}
.final-cta::before {
  content: ''; position: absolute; top: -80px; left: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(231,58,119,0.32), transparent 70%);
}
.final-cta::after {
  content: ''; position: absolute; bottom: -90px; right: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(0,165,227,0.28), transparent 70%);
}
.final-cta .fc-top { position: relative; z-index: 1; font-size: 14px; opacity: 0.85; margin-bottom: 6px; }
.final-cta .fc-title { position: relative; z-index: 1; font-size: clamp(24px, 4.5vw, 36px); font-weight: 900; margin-bottom: 6px; }
.final-cta .fc-free { position: relative; z-index: 1; font-size: clamp(40px, 9vw, 68px); font-weight: 900; color: var(--catal-pink-bright); line-height: 1.1; margin-bottom: 18px; }
.final-cta .fc-note { position: relative; z-index: 1; font-size: 12.5px; opacity: 0.8; margin: 4px 0; }
.btn-white {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--rikkyo-purple);
  font-size: 17px; font-weight: 800;
  padding: 18px 50px; border-radius: 60px; text-decoration: none;
  margin-top: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,0.3); }
.btn-white svg { width: 18px; height: 18px; transition: transform .3s ease; }
.btn-white:hover svg { transform: translateX(5px); }

/* LINE contact in final CTA */
.line-contact {
  position: relative; z-index: 1;
  margin-top: 34px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.line-contact .line-or { display: block; font-size: 13.5px; opacity: 0.85; margin-bottom: 16px; }
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #06C755; color: var(--white);
  font-size: 16px; font-weight: 800;
  padding: 16px 40px; border-radius: 60px; text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  box-shadow: 0 10px 26px rgba(6,199,85,0.4);
}
.btn-line:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 16px 34px rgba(6,199,85,0.5); }
.btn-line svg { width: 22px; height: 22px; }
.line-contact .line-note {
  max-width: 560px; margin: 16px auto 0;
  font-size: 12px; line-height: 1.7; opacity: 0.72; text-align: left;
}

/* =================== SUMMER TRIAL PLAN =================== */
.summer-plan { background: var(--bg-gray); }
.summer-plan .blob.b1 { width: 320px; height: 320px; background: rgba(231,58,119,0.12); top: 20px; right: -110px; }
.plan-card {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--catal-pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  padding: 44px 40px 40px;
  text-align: center;
}
.plan-badge {
  display: inline-block;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, var(--catal-pink), var(--catal-pink-light));
  padding: 6px 20px; border-radius: 30px; margin-bottom: 18px;
}
.plan-name { font-size: clamp(21px, 3.6vw, 27px); font-weight: 900; line-height: 1.4; margin-bottom: 22px; }
.plan-price {
  background: var(--bg-lavender);
  border: 1px dashed rgba(84,27,134,0.22);
  border-radius: var(--radius-sm);
  padding: 22px 20px; margin-bottom: 22px;
}
.plan-price .pp-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; }
.plan-price .pp-label strong { color: var(--rikkyo-purple); }
.plan-price .pp-value { font-size: clamp(38px, 8vw, 52px); font-weight: 900; color: var(--rikkyo-purple); line-height: 1.05; }
.plan-price .pp-value small { font-size: 18px; font-weight: 800; }
.plan-price .pp-unit { display: inline-block; font-size: 15px; font-weight: 800; color: var(--text-secondary); margin-left: 6px; }
.plan-desc { font-size: 14.5px; line-height: 1.85; color: var(--text-secondary); text-align: left; margin-bottom: 16px; }
.plan-note {
  font-size: 12.5px; line-height: 1.8; color: var(--text-secondary);
  text-align: left; background: var(--bg-gray);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 26px;
}
.plan-cta { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-item { width: 100%; display: flex; flex-direction: column; align-items: center; }
.plan-cta .btn-primary { text-align: center; line-height: 1.4; }
/* 夏期講習エントリー導線ボタン（体験予約ボタンと色で区別） */
.btn-entry { background: linear-gradient(135deg, var(--rikkyo-purple), var(--rikkyo-purple-light)); box-shadow: 0 12px 30px rgba(84,27,134,0.4); }
.btn-entry:hover { box-shadow: 0 18px 40px rgba(84,27,134,0.52); }
.cta-note {
  font-size: 12.5px; line-height: 1.75; color: var(--text-secondary);
  text-align: center; margin-top: 12px; max-width: 460px;
}

/* =================== FAQ =================== */
.faq { background: linear-gradient(180deg, var(--white), var(--bg-lavender)); }
.faq .blob.b1 { width: 300px; height: 300px; background: rgba(84,27,134,0.08); top: 40px; left: -100px; }
.faq-list { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item[open] { border-color: rgba(84,27,134,0.28); box-shadow: var(--shadow-elevated); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  font-weight: 800; color: var(--text-primary);
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-lavender); }
.faq-item .q-mark {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--rikkyo-purple); color: var(--white);
  font-size: 15px; font-weight: 900;
}
.faq-item .q-text { flex: 1; font-size: 15.5px; line-height: 1.55; }
.faq-item .q-icon {
  flex-shrink: 0; display: inline-flex; color: var(--rikkyo-purple);
  transition: transform .3s ease;
}
.faq-item .q-icon svg { width: 22px; height: 22px; }
.faq-item[open] .q-icon { transform: rotate(180deg); }
.faq-answer { padding: 4px 24px 26px 68px; }
.faq-answer p { font-size: 14.5px; line-height: 1.9; color: var(--text-secondary); margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text-primary); font-weight: 800; }
.faq-answer .faq-small { font-size: 13px; color: var(--text-muted); }
.faq-ul { list-style: none; margin: 4px 0 14px; display: flex; flex-direction: column; gap: 6px; }
.faq-ul li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.7; color: var(--text-secondary); }
.faq-ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--catal-pink); }
.faq-schedule {
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 6px 0 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-schedule .sch-row { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.faq-schedule .sch-day {
  flex-shrink: 0; font-size: 13px; font-weight: 800; color: var(--white);
  background: var(--rikkyo-purple); padding: 3px 12px; border-radius: 20px;
}
.faq-schedule .sch-time { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.6; }

/* =================== FOOTER =================== */
.footer { background: var(--dark); color: rgba(255,255,255,0.55); text-align: center; padding: 56px 24px 44px; }
.footer .f-logo {
  display: inline-block; width: 180px;
  border-radius: 10px; padding: 8px 22px; font-weight: 800; font-size: 18px;
  color: rgba(255,255,255,0.9); margin-bottom: 18px;
}
.footer .f-desc { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 22px; }
.footer .f-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.footer .f-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer .f-links a:hover { color: var(--catal-pink-light); }
.footer .f-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

.sp-br{display:none;}

/* =================== ANIMATIONS =================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =================== RESPONSIVE =================== */
@media (max-width: 960px) {
  .section { padding: 84px 0; }
  .trouble-groups { grid-template-columns: 1fr; gap: 24px; }
  .reason-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .voice-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .campaign-grid { grid-template-columns: 1fr; max-width: 620px; }
  .sp-br{display:inline;}
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .site-header .container { height: 60px; }
  .brand span { display: none; }
  .header-cta { padding: 9px 18px; font-size: 13px; }
  .hero { min-height: 92svh; }
  .hero h1 { font-size: clamp(27px, 6vw, 56px); line-height: 1.38;}
  .hero-inner { padding: 56px 20px 80px; }
  .hero-badge { font-size: 12px; padding: 9px 18px; }
  .btn-primary { padding: 17px 38px; font-size: 16px; }
  .teacher-grid { grid-template-columns: 1fr; gap: 14px; }
  .teacher { display: block; align-items: center; gap: 16px; text-align: center; padding: 16px; }
  .teacher .photo { margin: 0 auto; width: 100px; height: 100px; flex-shrink: 0; }
  .teacher .t-name { margin-bottom: 6px; }
  .teacher .t-row { justify-content: center; }
  .mission-card { padding: 30px 24px; }
  .step { padding: 18px 18px; gap: 14px; }
  .step .n { width: 38px; height: 38px; font-size: 14px; }
  .level-row { flex-direction: column; gap: 8px; }
  .final-cta { padding: 42px 22px; }
  .benefit-row .line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .benefit-row .b-prices { width: 100%; justify-content: flex-start; }
  .plan-card { padding: 34px 22px 32px; }
  .btn-line { width: 100%; padding: 16px 24px; font-size: 15px; }
  .faq-item summary { padding: 18px 18px; gap: 11px; }
  .faq-item .q-text { font-size: 14.5px; }
  .faq-item .q-mark { width: 26px; height: 26px; font-size: 14px; }
  .faq-answer { padding: 2px 18px 22px 18px; }
  .faq-schedule .sch-time { font-size: 13px; }
}

/* ==================== FIXED BANNER ==================== */
.fixed-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(8px);
  z-index: 999;
  display: block;
  width: 440px;
  max-width: calc(100% - 24px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .25s ease;
}
.fixed-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.fixed-banner:hover {
  box-shadow: 0 8px 26px rgba(0,0,0,.24);
}
.fixed-banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .fixed-banner {
    width: 360px;
    bottom: 12px;
  }
}
