:root {
  --midnight: #0a0a12;
  --deep-navy: #0d1428;
  --royal-purple: #2d1b5e;
  --mystic-violet: #4a2d8a;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dim: #7a5f2a;
  --emerald: #1a4a3c;
  --teal: #1d6e5e;
  --mist: #e8e4f0;
  --cloud: #f5f3fa;
  --white: #ffffff;
  --text-dark: #1a1520;
  --text-mid: #4a4060;
  --text-light: #8a80a0;
  --border-gold: rgba(201, 168, 76, 0.3);
  --border-purple: rgba(74, 45, 138, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif JP', serif;
  background: var(--cloud);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── MISSION / 代表メッセージ ─── */
.mission {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  left: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 27, 94, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.mission-image-side {
  position: relative;
}

.mission-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(45, 27, 94, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.mission-photo::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), transparent 40%, rgba(201, 168, 76, 0.1));
  pointer-events: none;
}

.mission-photo-inner {
  font-size: 64px;
  line-height: 1;
}

.mission-photo-label {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.2em;
  font-weight: 200;
  position: relative;
}

/* Vertical accent text */
.mission-vertical-accent {
  position: absolute;
  right: -28px;
  top: 0;
  writing-mode: vertical-rl;
  font-family: 'Noto Serif JP', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  font-weight: 200;
  height: 100%;
  display: flex;
  align-items: center;
}

.mission-deco-number {
  position: absolute;
  bottom: -20px;
  left: -20px;
  font-family: 'Cinzel', serif;
  font-size: 80px;
  font-weight: 600;
  color: rgba(201, 168, 76, 0.06);
  line-height: 1;
  letter-spacing: -0.02em;
}

.mission-content {
  padding-top: 16px;
}

.mission-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 300;
  display: block;
  margin-bottom: 8px;
}

.mission-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: #1a1520;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.mission-name span {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 0.2em;
  margin-top: 6px;
}

blockquote {
  border-left: 2px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 32px;
  background: rgba(201, 168, 76, 0.06);
  position: relative;
}

blockquote::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  color: rgba(201, 168, 76, 0.15);
  position: absolute;
  top: -12px;
  left: 12px;
  line-height: 1;
  pointer-events: none;
}

blockquote p {
  font-size: 17px;
  font-weight: 300;
  color: #1a1520;
  line-height: 2.2;
  letter-spacing: 0.08em;
  position: relative;
}

.mission-body {
  font-size: 14px;
  color: #4a4060;
  line-height: 2.4;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.mission-body p {
  margin-bottom: 20px;
}

.mission-body p:last-child {
  margin-bottom: 0;
}

.btn-instructor-profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1px solid var(--border-gold);
  color: #1a1520;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-instructor-profile:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-2px);
}

.btn-instructor-profile .btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn-instructor-profile:hover .btn-arrow {
  transform: translateX(4px);
}

/* ─── DIVIDER ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.4), transparent);
  max-width: 400px;
  margin: 0 auto;
}

/* ─── THREE PILLARS ─── */
.pillars {
  padding: 120px 0;
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(45, 27, 94, 0.3), transparent 70%);
  pointer-events: none;
}

.pillars::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 74, 60, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.pillar-card {
  padding: 52px 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.pillar-number {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
  opacity: 0.7;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 22px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.pillar-title-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  line-height: 1.5;
}


.pillar-stat {
  font-family: 'Cinzel', serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin: 20px 0 20px;
  line-height: 1;
  display: block;
}

.pillar-stat small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.pillar-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2.2;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.pillar-card-bg-num {
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-family: 'Cinzel', serif;
  font-size: 100px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

/* ─── GROWTH JOURNEY ─── */
.journey {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Light-bg title overrides for journey */
.journey .section-title-ja {
  color: var(--text-dark);
}

.journey .section-title-en {
  color: var(--text-mid);
}

.journey::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.08);
  pointer-events: none;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

/* Connecting line between steps */
.journey-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5%);
  width: calc(75%);
  height: 1px;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(201, 168, 76, 0.2) 10%,
      rgba(201, 168, 76, 0.2) 90%,
      transparent 100%);
  z-index: 0;
}

.journey-step {
  text-align: center;
  padding: 0 24px 48px;
  position: relative;
}

.step-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  background: rgba(201, 168, 76, 0.04);
  position: relative;
  z-index: 1;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.step-num {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 10px;
  display: block;
}

.step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 400;
  color: #1a1520;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  line-height: 1.6;
}

.step-body {
  font-size: 11px;
  color: #4a4060;
  line-height: 2;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* Journey bottom benefit cards */
.journey-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.benefit-card {
  padding: 32px 28px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: rgba(201, 168, 76, 0.04);
  box-shadow: 0 2px 16px rgba(201, 168, 76, 0.06);
  position: relative;
}

.benefit-icon-text {
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
  color: var(--gold);
}

.benefit-title {
  font-size: 14px;
  font-weight: 400;
  color: #1a1520;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.benefit-body {
  font-size: 11px;
  color: #4a4060;
  line-height: 2;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ─── SCHOOL PROFILE ─── */
.profile {
  padding: 120px 0;
  background: var(--cloud);
  position: relative;
}

/* Light-bg title overrides for profile */
.profile .section-title-ja {
  color: var(--text-dark);
}

.profile .section-title-en {
  color: var(--text-mid);
}

.profile-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}

.profile-table-wrap {
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: rgba(201, 168, 76, 0.03);
  box-shadow: 0 2px 16px rgba(201, 168, 76, 0.06);
  overflow: hidden;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s;
}

.profile-table tr:last-child {
  border-bottom: none;
}

.profile-table tr:hover {
  background: rgba(201, 168, 76, 0.05);
}

.profile-table th {
  width: 36%;
  padding: 18px 20px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  text-align: left;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
}

.profile-table td {
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 300;
  color: #4a4060;
  line-height: 1.9;
  letter-spacing: 0.05em;
  vertical-align: top;
}

.profile-map {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.profile-map iframe {
  display: block;
}

/* ─── PAGE-SPECIFIC ANIMATIONS ─── */

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

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

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

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .section-wrap {
    padding: 0 40px;
  }

  .mission-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-image-side {
    max-width: 360px;
    margin: 0 auto;
  }

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

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

  .journey-steps::before {
    display: none;
  }

  .journey-benefits {
    grid-template-columns: 1fr;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

@media (max-width: 768px) {
  .page-hero {
    padding: 70px 24px 60px;
  }

  .page-title-ja {
    font-size: 28px;
  }

  .section-wrap {
    padding: 0 20px;
  }

  .mission,
  .pillars,
  .journey,
  .profile,
  .closing-cta {
    padding: 80px 0;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-title {
    font-size: 22px;
    line-height: 1.8;
  }

  .cta-subtitle {
    font-size: 14px;
    line-height: 2;
  }

  /* ── Journey compact ── */
  .journey-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }

  .journey-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    text-align: left;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .journey-step:last-child {
    border-bottom: none;
  }

  .step-node {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin: 0;
    align-self: start;
  }

  .step-label {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .step-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .step-title br {
    display: none;
  }

  .step-body {
    grid-column: 1 / -1;
    font-size: 11px;
    line-height: 1.85;
    margin-top: 4px;
  }

  .journey-benefits {
    gap: 12px;
    margin-top: 40px;
  }

  .benefit-card {
    padding: 20px;
  }

  .benefit-title {
    font-size: 14px;
  }

  .benefit-body {
    font-size: 11px;
    line-height: 1.85;
  }

  .btn-instructor-profile {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* ── Pillars compact ── */
  .pillars-grid {
    gap: 12px;
    margin-top: 40px;
  }

  .pillar-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
  }

  .pillar-number,
  .pillar-card-bg-num {
    display: none;
  }

  .pillar-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: auto;
    height: auto;
    border: none;
    background: none;
    margin: 0;
    font-size: 100px;
    color: rgba(201, 168, 76, 0.07);
    pointer-events: none;
  }

  .pillar-title-ja {
    font-size: 24px;
    margin-bottom: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
  }

  .pillar-stat {
    font-size: 40px;
    margin: 12px 0 12px;
    position: relative;
    z-index: 1;
  }

  .pillar-stat small {
    font-size: 14px;
  }

  .pillar-body {
    font-size: 11px;
    line-height: 1.9;
    position: relative;
    z-index: 1;
  }

}

/* 代表講師プロフィール写真(実写真) */
.mission-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.mission-photo::before {
  z-index: 1;
}
