/* ============================================
   MEBUKI ACADEMY MBA - 共通スタイルシート
   mebuki-academy.com デザイン踏襲版
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=M+PLUS+Rounded+1c:wght@400;700;800;900&display=swap');

/* --- CSS Variables (mebuki カラーパレット) --- */
:root {
  --mebuki-cyan: #00C8E0;
  --mebuki-cyan-dark: #00A8C0;
  --mebuki-cyan-light: #E0F9FC;
  --mebuki-navy: #0D1B2A;
  --mebuki-navy-mid: #1A2E45;
  --mebuki-white: #FFFFFF;
  --mebuki-off-white: #F7FAFB;
  --mebuki-gold: #F5A623;
  --mebuki-gold-light: #FFF3D6;
  --mebuki-green: #22C55E;
  --mebuki-red: #EF4444;
  --mebuki-gray: #6B7280;
  --mebuki-gray-light: #E5E7EB;
  --mebuki-text: #1A2E45;
  --mebuki-text-light: #4B5563;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(0, 200, 224, 0.12);
  --shadow-md: 0 8px 32px rgba(0, 200, 224, 0.18);
  --shadow-lg: 0 16px 48px rgba(0, 200, 224, 0.22);
  --shadow-card: 0 4px 20px rgba(13, 27, 42, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  background: var(--mebuki-off-white);
  color: var(--mebuki-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  line-height: 1.3;
  color: var(--mebuki-navy);
}

/* ============================================
   GLOBAL NAVIGATION
   ============================================ */
.mba-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--mebuki-cyan);
  box-shadow: 0 2px 20px rgba(0, 200, 224, 0.25);
}

.mba-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mba-nav-inner::-webkit-scrollbar {
  display: none;
}

.mba-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 8px;
}

.mba-nav-logo-badge {
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  font-weight: 900;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 200, 224, 0.4);
}

.mba-nav-logo-text {
  color: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.mba-nav-logo-text span {
  display: block;
  font-size: 10px;
  color: var(--mebuki-cyan);
  font-weight: 500;
}

.mba-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.mba-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid transparent;
}

.mba-nav-link:hover {
  background: rgba(0, 200, 224, 0.15);
  color: var(--mebuki-cyan);
  border-color: rgba(0, 200, 224, 0.3);
}

.mba-nav-link.active {
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  box-shadow: 0 2px 10px rgba(0, 200, 224, 0.4);
}

.mba-nav-link.nyumon {
  background: linear-gradient(135deg, var(--mebuki-gold), #E8941A);
  color: white;
  box-shadow: 0 2px 10px rgba(245, 166, 35, 0.4);
}

.mba-nav-link.locked {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: auto;
}

.mba-nav-link.locked:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  border-color: transparent;
}

.nav-lock-icon {
  font-size: 10px;
}

.mba-nav-top {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
  flex-shrink: 0;
}

.mba-nav-top:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   HERO SECTION
   ============================================ */
.mba-hero {
  background: linear-gradient(135deg, var(--mebuki-navy) 0%, var(--mebuki-navy-mid) 50%, #0A2540 100%);
  padding: 64px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mba-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 200, 224, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(245, 166, 35, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.mba-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 224, 0.15);
  border: 1px solid rgba(0, 200, 224, 0.4);
  color: var(--mebuki-cyan);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.mba-hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.mba-hero h1 .accent {
  color: var(--mebuki-cyan);
  display: block;
}

.mba-hero-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mba-hero-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.mba-hero-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(0, 200, 224, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  min-width: 110px;
  backdrop-filter: blur(8px);
}

.mba-hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--mebuki-cyan);
  display: block;
  line-height: 1;
}

.mba-hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.mba-progress-section {
  background: white;
  border-bottom: 1px solid var(--mebuki-gray-light);
  padding: 16px 24px;
}

.mba-progress-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.mba-progress-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mebuki-gray);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mba-progress-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mba-progress-step {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-xl);
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid var(--mebuki-gray-light);
  color: var(--mebuki-gray);
  background: white;
  white-space: nowrap;
}

.mba-progress-step.done {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
  border-color: var(--mebuki-green);
  color: #065F46;
}

.mba-progress-step.current {
  background: linear-gradient(135deg, var(--mebuki-cyan-light), #B0F0F8);
  border-color: var(--mebuki-cyan);
  color: var(--mebuki-navy);
}

.mba-progress-step.locked-step {
  opacity: 0.5;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.mba-section {
  padding: 64px 24px;
}

.mba-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.mba-section-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  color: var(--mebuki-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mba-section-sub {
  font-size: 15px;
  color: var(--mebuki-text-light);
  margin-bottom: 40px;
}

/* ============================================
   MANUAL CARDS GRID
   ============================================ */
.mba-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* --- Unlocked Card --- */
.mba-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--mebuki-gray-light);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

.mba-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mebuki-cyan);
}

.mba-card-header {
  padding: 20px 20px 16px;
  background: linear-gradient(135deg, var(--mebuki-navy) 0%, var(--mebuki-navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.mba-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mebuki-cyan), var(--mebuki-gold));
}

.mba-card-vol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.mba-card-vol-badge {
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mba-card-vol-badge.nyumon {
  background: linear-gradient(135deg, var(--mebuki-gold), #E8941A);
}

.mba-card-category {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mba-card-title {
  font-size: 18px;
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-bottom: 4px;
}

.mba-card-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.mba-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mba-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.mba-card-tag {
  background: var(--mebuki-cyan-light);
  color: var(--mebuki-cyan-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 200, 224, 0.2);
}

.mba-card-desc {
  font-size: 13px;
  color: var(--mebuki-text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.mba-card-footer {
  padding: 0 20px 20px;
}

.mba-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.mba-card-btn.primary {
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(0, 200, 224, 0.35);
}

.mba-card-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 224, 0.5);
}

.mba-card-btn.nyumon-btn {
  background: linear-gradient(135deg, var(--mebuki-gold), #E8941A);
  color: white;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}

.mba-card-btn.nyumon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
}

/* --- Locked Card --- */
.mba-card.locked {
  border-color: var(--mebuki-gray-light);
  opacity: 0.85;
  cursor: not-allowed;
}

.mba-card.locked .mba-card-header {
  background: linear-gradient(135deg, #2A3A4A, #1A2A3A);
  filter: grayscale(0.3);
}

.mba-card-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 2;
  backdrop-filter: blur(2px);
  border-radius: var(--radius-lg);
}

.mba-card-lock-icon {
  font-size: 36px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.mba-card-lock-text {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 0 16px;
  line-height: 1.4;
}

.mba-card-lock-hint {
  font-size: 11px;
  color: var(--mebuki-cyan);
  font-weight: 500;
}

.mba-card-btn.locked-btn {
  background: var(--mebuki-gray-light);
  color: var(--mebuki-gray);
  cursor: not-allowed;
}

/* ============================================
   QUIZ SECTION (embedded in manual pages)
   ============================================ */
.mba-quiz-section {
  background: linear-gradient(135deg, var(--mebuki-navy) 0%, #0A2540 100%);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.mba-quiz-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 200, 224, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(245, 166, 35, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.mba-quiz-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mba-quiz-header {
  text-align: center;
  margin-bottom: 40px;
}

.mba-quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 200, 224, 0.15);
  border: 1px solid rgba(0, 200, 224, 0.4);
  color: var(--mebuki-cyan);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.mba-quiz-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
}

.mba-quiz-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.mba-quiz-meta strong {
  color: var(--mebuki-gold);
}

/* Progress dots */
.mba-quiz-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.mba-quiz-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.mba-quiz-dot.active {
  border-color: var(--mebuki-cyan);
  color: white;
  background: rgba(0, 200, 224, 0.2);
  box-shadow: 0 0 12px rgba(0, 200, 224, 0.4);
}

.mba-quiz-dot.correct {
  border-color: var(--mebuki-green);
  color: white;
  background: var(--mebuki-green);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.mba-quiz-dot.wrong {
  border-color: var(--mebuki-red);
  color: white;
  background: var(--mebuki-red);
}

/* Question card */
.mba-quiz-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 200, 224, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.mba-quiz-qnum {
  font-size: 11px;
  font-weight: 700;
  color: var(--mebuki-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mba-quiz-question {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: white;
  line-height: 1.5;
}

/* Choices */
.mba-quiz-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.mba-quiz-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}

.mba-quiz-choice:hover:not(:disabled) {
  border-color: var(--mebuki-cyan);
  background: rgba(0, 200, 224, 0.1);
  color: white;
  transform: translateX(4px);
}

.mba-quiz-choice.hint {
  background: rgba(0, 191, 223, 0.07);
  border-color: rgba(0, 191, 223, 0.25);
}

.mba-quiz-choice-label {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  transition: all 0.2s;
}

.mba-quiz-choice.correct {
  border-color: var(--mebuki-green);
  background: rgba(34, 197, 94, 0.15);
  color: white;
}

.mba-quiz-choice.correct .mba-quiz-choice-label {
  background: var(--mebuki-green);
  color: white;
}

.mba-quiz-choice.wrong {
  border-color: var(--mebuki-red);
  background: rgba(239, 68, 68, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.mba-quiz-choice.wrong .mba-quiz-choice-label {
  background: var(--mebuki-red);
  color: white;
}

.mba-quiz-choice:disabled {
  cursor: not-allowed;
}

/* Feedback */
.mba-quiz-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  border-left: 4px solid;
  display: none;
  margin-top: 8px;
}

.mba-quiz-feedback.correct {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--mebuki-green);
  color: #A7F3D0;
  display: block;
}

.mba-quiz-feedback.wrong {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--mebuki-red);
  color: #FCA5A5;
  display: block;
}

.mba-quiz-auto-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  min-height: 18px;
}

/* ============================================
   RESULT POPUP (合格/不合格)
   ============================================ */
.mba-result-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mba-result-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.mba-result-popup {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.mba-result-overlay.show .mba-result-popup {
  transform: scale(1);
}

.mba-result-popup.pass {
  border-top: 6px solid var(--mebuki-cyan);
}

.mba-result-popup.fail {
  border-top: 6px solid var(--mebuki-red);
}

.mba-result-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}

.mba-result-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}

.mba-result-popup.pass .mba-result-title {
  color: var(--mebuki-navy);
}

.mba-result-popup.fail .mba-result-title {
  color: var(--mebuki-red);
}

.mba-result-score {
  font-size: 48px;
  font-weight: 900;
  margin: 8px 0;
  line-height: 1;
}

.mba-result-popup.pass .mba-result-score {
  color: var(--mebuki-cyan);
}

.mba-result-popup.fail .mba-result-score {
  color: var(--mebuki-red);
}

.mba-result-msg {
  font-size: 15px;
  color: var(--mebuki-text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.mba-result-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}

.mba-result-btn.primary {
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(0, 200, 224, 0.4);
}

.mba-result-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 200, 224, 0.5);
}

.mba-result-btn.secondary {
  background: var(--mebuki-gray-light);
  color: var(--mebuki-text);
}

/* ============================================
   CONFETTI CANVAS
   ============================================ */
#mba-confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.mba-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--mebuki-navy);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 700;
  z-index: 9998;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 200, 224, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.mba-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
.mba-footer {
  background: var(--mebuki-navy);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  border-top: 2px solid rgba(0, 200, 224, 0.2);
}

.mba-footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: var(--mebuki-cyan);
  margin-bottom: 8px;
}

.mba-footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.mba-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 200, 224, 0.4);
  transition: all 0.2s;
  z-index: 100;
}

.mba-scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 200, 224, 0.5);
}

/* ============================================
   MANUAL PAGE - CONTENT STYLES
   ============================================ */
.mba-manual-hero {
  background: linear-gradient(135deg, var(--mebuki-navy) 0%, var(--mebuki-navy-mid) 100%);
  padding: 48px 24px 56px;
  position: relative;
  overflow: hidden;
}

.mba-manual-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 200, 224, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.mba-manual-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mba-manual-vol {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mba-manual-vol-badge {
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mba-manual-vol-cat {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mba-manual-title {
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.mba-manual-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.mba-manual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mba-manual-tag {
  background: rgba(0, 200, 224, 0.15);
  border: 1px solid rgba(0, 200, 224, 0.3);
  color: var(--mebuki-cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  letter-spacing: 0.5px;
}

/* Content area */
.mba-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

.mba-content h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: var(--mebuki-navy);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--mebuki-cyan);
  line-height: 1.3;
}

.mba-content h2:first-child {
  margin-top: 0;
}

.mba-content h3 {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--mebuki-navy);
  margin: 28px 0 12px;
}

.mba-content p {
  font-size: 15px;
  color: var(--mebuki-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mba-content ul,
.mba-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.mba-content li {
  font-size: 15px;
  color: var(--mebuki-text-light);
  line-height: 1.8;
  margin-bottom: 6px;
}

.mba-content strong {
  color: var(--mebuki-navy);
  font-weight: 700;
}

/* Info boxes */
.mba-info-box {
  background: var(--mebuki-cyan-light);
  border: 1px solid rgba(0, 200, 224, 0.3);
  border-left: 4px solid var(--mebuki-cyan);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--mebuki-navy);
}

.mba-warn-box {
  background: var(--mebuki-gold-light);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-left: 4px solid var(--mebuki-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #7C4A00;
}

/* Step cards */
.mba-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.mba-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--mebuki-gray-light);
  box-shadow: var(--shadow-card);
}

.mba-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mba-step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--mebuki-navy);
  margin-bottom: 4px;
}

.mba-step-content p {
  font-size: 14px;
  color: var(--mebuki-text-light);
  margin: 0;
}

/* ============================================
   GIFT PAGE
   ============================================ */
.mba-gift-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #0A2540 50%, #0D1B2A 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mba-gift-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 200, 224, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse at 20% 80%, rgba(245, 166, 35, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.mba-gift-inner {
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.mba-gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--mebuki-gold);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.mba-gift-title {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.mba-gift-title .accent {
  color: var(--mebuki-gold);
}

.mba-gift-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  line-height: 1.7;
}

.mba-gift-keyword-box {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(0, 200, 224, 0.3);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.mba-gift-keyword-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mebuki-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mba-gift-keyword {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 900;
  color: var(--mebuki-gold);
  letter-spacing: 4px;
  margin-bottom: 16px;
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.mba-gift-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  background: rgba(0, 200, 224, 0.15);
  border: 1px solid rgba(0, 200, 224, 0.4);
  color: var(--mebuki-cyan);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}

.mba-gift-copy-btn:hover {
  background: rgba(0, 200, 224, 0.25);
}

.mba-gift-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.mba-gift-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.mba-gift-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mebuki-cyan), var(--mebuki-cyan-dark));
  color: white;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mba-gift-step-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.mba-gift-step-text strong {
  color: white;
}

.mba-gift-line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #06C755, #04A844);
  color: white;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.4);
  transition: all 0.2s;
  margin-bottom: 12px;
}

.mba-gift-line-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(6, 199, 85, 0.5);
}

.mba-gift-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .mba-nav-inner {
    height: 56px;
    padding: 0 12px;
    gap: 4px;
  }

  .mba-nav-logo {
    margin-right: 4px;
  }

  .mba-nav-logo-badge {
    padding: 4px 8px;
    font-size: 11px;
  }

  .mba-nav-logo-text {
    font-size: 11px;
  }

  .mba-nav-logo-text span {
    display: none;
  }

  .mba-nav-links {
    gap: 2px;
  }

  .mba-nav-link {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  .mba-nav-top {
    padding: 8px 10px;
    font-size: 13px;
  }

  .mba-hero {
    padding: 48px 16px 64px;
  }

  .mba-section {
    padding: 48px 16px;
  }

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

  .mba-quiz-card {
    padding: 20px;
  }

  .mba-result-popup {
    padding: 32px 24px;
  }

  .mba-content {
    padding: 32px 16px;
  }
}

/* ============================================
   FOOTER NAVIGATION CARDS
   ============================================ */
.mba-footer-nav {
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.mba-footer-nav-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border: 1px solid var(--mebuki-gray-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.mba-footer-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mebuki-cyan);
}

.mba-footer-nav-card.next {
  border-left: 6px solid var(--mebuki-cyan);
}

.mba-footer-nav-card.prev {
  border-right: 6px solid var(--mebuki-gray-light);
  flex-direction: row-reverse;
  text-align: right;
  opacity: 0.8;
}

.mba-footer-nav-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  background: var(--mebuki-cyan-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mba-footer-nav-info {
  flex: 1;
}

.mba-footer-nav-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mebuki-cyan-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}

.mba-footer-nav-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--mebuki-navy);
  line-height: 1.3;
}

.mba-footer-nav-arrow {
  font-size: 24px;
  color: var(--mebuki-cyan);
  font-weight: 900;
}

@media (max-width: 480px) {
  .mba-footer-nav-card {
    padding: 16px;
    gap: 12px;
  }

  .mba-footer-nav-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .mba-footer-nav-title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .mba-hero-stats {
    gap: 10px;
  }

  .mba-hero-stat {
    min-width: 90px;
    padding: 12px 16px;
  }

  .mba-hero-stat-num {
    font-size: 22px;
  }
}