/* ============================================
   Bright Me!! - Brand Top Page
   Warm, natural, bridging School (feminine) & Assistant (professional)
   ============================================ */

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

:root {
  --cream: #f8f5f9;
  --cream-dark: #eee8f0;
  --pink: #c06888;
  --pink-light: #fdf0f4;
  --blue: #6a7ec0;
  --blue-light: #eef0fa;
  --navy: #14101e;
  --text: #2e2636;
  --text-sub: #7a7088;
  --border: #ddd6e2;
  --gold: #d4a050;
  --accent: #c88a5a;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.9;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 18px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.pc-only { display: inline; }
@media (max-width: 768px) { .pc-only { display: none; } }

/* --- Header --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  margin-right: auto;
  letter-spacing: 0.02em;
}

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

.nav a {
  font-size: 0.82rem;
  color: var(--text-sub);
  font-weight: 500;
  transition: var(--transition);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
}

/* --- Hero (video background) --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d0a18;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* Title — centered */
.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 90%;
}

.hero-tagline-ja {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3em;
  font-weight: 400;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

.hero-title-en {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
  text-shadow: 0 2px 20px rgba(200, 150, 80, 0.3);
}

.hero-lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.65rem, 1.2vw, 0.82rem);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  margin-top: 20px;
  font-weight: 400;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.hero-scroll-indicator span {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.3; transform: scaleY(0.6); }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* Header on hero — semi-transparent bar */
.header-hero {
  background: rgba(10, 8, 18, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-white {
  color: #fff !important;
}

.header-hero .nav a {
  color: rgba(255, 255, 255, 0.75);
}

.header-hero .nav a:hover {
  color: #fff;
}

.header-hero .hamburger span {
  background: #fff;
}

/* Header switches to solid on scroll */
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header.scrolled .logo-white {
  color: var(--navy) !important;
}

.header.scrolled .nav a {
  color: var(--text-sub);
}

.header.scrolled .nav a:hover {
  color: var(--text);
}

.header.scrolled .hamburger span {
  background: var(--navy);
}

/* --- Numbers --- */
.numbers {
  padding: 56px 0;
  background: linear-gradient(135deg, #14101e 0%, #1e1630 50%, #1a1228 100%);
  color: #fff;
}

.numbers-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.num-item {
  text-align: center;
}

.num-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.num-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}

.num-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

.num-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* --- Section Common --- */
.section-sub-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* Decorative line under section titles */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #d4a0b0);
  margin: 16px auto 0;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.svc-card {
  display: flex;
  flex-direction: row;
  gap: 0;
  background: #fff;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.svc-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-6px);
}

.svc-img {
  width: 42%;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  background: #fff;
}

.svc-body {
  flex: 1;
  padding: 36px 36px 36px 32px;
}

.svc-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.svc-tag-pink {
  background: linear-gradient(135deg, #fdf0f4, #f8dce6);
  color: var(--pink);
}

.svc-tag-blue {
  background: linear-gradient(135deg, #eef0fa, #dde2f4);
  color: var(--blue);
}

.svc-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.svc-body p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 18px;
}

.svc-points {
  margin-bottom: 20px;
}

.svc-points li {
  font-size: 0.82rem;
  color: var(--text);
  padding: 5px 0 5px 22px;
  position: relative;
}

.svc-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
}

.svc-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.svc-card:hover .svc-link { color: var(--pink); border-bottom-color: var(--pink); }
.svc-card-assistant:hover .svc-link { color: var(--blue); border-bottom-color: var(--blue); }

/* --- Supervisor --- */
.supervisor {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0ecf4 0%, #e8e0ee 100%);
  position: relative;
}

.supervisor-card {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.supervisor-photo {
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(140,80,160,0.12);
}

.supervisor-body {
  flex: 1;
}

.supervisor-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.supervisor-stats {
  margin-bottom: 18px;
}

.supervisor-stats li {
  font-size: 0.82rem;
  color: var(--text-sub);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.8;
}

.supervisor-stats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #d4a0b0);
}

.supervisor-stats li strong {
  color: var(--navy);
  font-weight: 700;
}

.supervisor-message {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-style: italic;
  line-height: 2;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.about-message {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.about-vision {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.about-message p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 2.2;
  margin-bottom: 10px;
}

.about-table-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

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

.about-table th,
.about-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.85rem;
  text-align: left;
}

.about-table tr:last-child th,
.about-table tr:last-child td {
  border-bottom: none;
}

.about-table th {
  font-weight: 600;
  color: var(--navy);
  width: 130px;
  white-space: nowrap;
}

.about-table td { color: var(--text-sub); }

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream-dark) 0%, #e2d8ea 100%);
}

.contact-lead {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-top: -30px;
  margin-bottom: 40px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: none;
  transition: var(--transition);
  position: relative;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.cc-school { border-left: 3px solid var(--pink); }
.cc-assistant { border-left: 3px solid var(--blue); }

.cc-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.cc-desc {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.cc-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-sub);
  font-size: 1.2rem;
  transition: var(--transition);
}

.contact-card:hover .cc-arrow { right: 18px; }
.cc-school:hover .cc-arrow { color: var(--pink); }
.cc-assistant:hover .cc-arrow { color: var(--blue); }

/* --- CEO Message --- */
.ceo-message {
  padding: 100px 0;
  background: #fff;
}

.ceo-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.ceo-photo-area {
  flex: 0 0 200px;
  text-align: center;
}

.ceo-photo-placeholder {
  width: 200px;
  height: 260px;
  border-radius: var(--radius-lg);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.ceo-name-label {
  font-size: 0.72rem;
  color: var(--text-sub);
  margin-bottom: 2px;
}

.ceo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.ceo-body {
  flex: 1;
}

.ceo-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.8;
}

.ceo-body p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 2.2;
  margin-bottom: 10px;
}

/* --- Security --- */
.security {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0ecf4 0%, var(--cream) 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.security-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #2a2040);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.security-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.security-item p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* --- History --- */
.history-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 48px 0 16px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 36px;
  background: linear-gradient(135deg, #14101e 0%, #1e1630 100%);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.footer-nav a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
}

.footer-bottom nav a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  transition: var(--transition);
}

.footer-bottom nav a:hover { color: rgba(255,255,255,0.5); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--cream);
    padding: 16px 20px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: flex; }

  .hero-title-en { font-size: clamp(2.5rem, 14vw, 4.5rem); }
  .hero-tagline-ja { letter-spacing: 0.15em; }
  .hero-lead { letter-spacing: 0.05em; }

  .numbers-row { gap: 20px; }
  .num-value { font-size: 1.4rem; }

  .services, .supervisor, .about, .contact {
    padding: 60px 0;
  }

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

  .svc-card {
    flex-direction: column;
  }
  .svc-img {
    width: 100%;
  }
  .svc-body {
    padding: 24px 22px;
  }

  .supervisor-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .supervisor-photo {
    flex: none;
    margin: 0 auto;
  }
  .supervisor-stats li { text-align: left; }

  .ceo-card {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .ceo-photo-area { flex: none; margin: 0 auto; }
  .ceo-body { text-align: left; }

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

  .about-table-wrap { padding: 24px 20px; }

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

  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
