/* ============================================
   BJ 2.0 — Top Page Styles
   ============================================ */

/* ============================
   Hero
   ============================ */
.bj-hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden; background: var(--color-surface-dark);
}

.bj-hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.8s ease;
  will-change: opacity, transform;
}
.bj-hero__slide.active {
  opacity: 1;
  animation: bj-kenburns 12s ease-out forwards;
}
@keyframes bj-kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

.bj-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(var(--color-surface-dark-rgb),0.3) 0%,
    rgba(var(--color-surface-dark-rgb),0.15) 40%,
    rgba(var(--color-surface-dark-rgb),0.5) 100%
  );
}

.bj-hero__content {
  position: absolute; bottom: 12%;
  left: 0; right: 0; z-index: 3;
  text-align: center; padding: 0 40px;
}

.bj-hero__catchcopy {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: var(--fs-hero-sub);
  color: var(--color-bg);
  letter-spacing: var(--ls-link); line-height: 1.8;
  text-shadow: 0 2px 20px rgba(var(--color-black-rgb),0.3);
}
.bj-hero__catchcopy-main {
  display: block;
  font-size: var(--fs-hero-main);
  font-weight: 500; margin-bottom: 8px;
}

.bj-hero__scroll {
  position: absolute; bottom: 30px;
  left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; opacity: 0.6;
}
.bj-hero__scroll span {
  font-family: var(--serif-en);
  font-size: 10px; letter-spacing: var(--ls-wide);
  color: var(--color-bg);
}
.bj-hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
  animation: bj-scrollpulse 2s ease-in-out infinite;
}
@keyframes bj-scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}


/* ============================
   Concept (top page excerpt)
   ============================ */
.bj-concept { background: var(--color-bg); text-align: center; }
.bj-concept__symbol {
  width: 72px; height: 72px;
  margin: 0 auto 48px; opacity: 0.9;
}
.bj-concept .bj-section__body {
  text-align: left;
  max-width: 680px; margin-left: auto; margin-right: auto;
  margin-bottom: 48px;
}
.bj-concept__wish {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: var(--fs-wish);
  line-height: 2.1; color: var(--color-text);
  text-align: center; margin-bottom: 56px;
  letter-spacing: var(--ls-normal);
}


/* ============================
   Journey (top page excerpt)
   ============================ */
.bj-journey { background: var(--color-bg-sub); }
.bj-journey .bj-section__inner { max-width: var(--wide-w); }
.bj-journey__text {
  max-width: 680px; margin: 0 auto;
  text-align: center;
}
.bj-journey__text .bj-section__body { text-align: center; }
.bj-journey__modes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin: 56px auto;
  max-width: var(--wide-w);
  padding: 0 40px;
}
.bj-journey__mode { text-align: center; padding: 32px 20px; }
.bj-journey__mode-kanji {
  font-family: var(--serif-jp); font-weight: 500;
  font-size: var(--fs-kanji); color: var(--color-text);
  line-height: 1; margin-bottom: 4px;
}
.bj-journey__mode-reading {
  font-family: var(--serif-en); font-style: italic;
  font-size: var(--fs-body-sm); color: var(--color-accent);
  letter-spacing: var(--ls-heading); margin-bottom: 16px;
}
.bj-journey__mode-level {
  font-size: var(--fs-note); color: var(--color-text-muted);
  letter-spacing: var(--ls-cta);
}
.bj-journey__mode-divider {
  width: 1px; height: 40px;
  background: var(--color-border);
  margin: 0 auto 16px;
}


/* ============================
   Sensei (top page excerpt)
   ============================ */
.bj-sensei { background: var(--color-bg); }
.bj-sensei__grid {
  max-width: var(--wide-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.bj-sensei__image img {
  width: 100%; height: auto; object-fit: cover;
}


/* ============================
   Responsive (top page)
   ============================ */
@media (max-width: 1024px) {
  .bj-journey__modes { gap: 20px; }
  .bj-sensei__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .bj-hero__content { padding: 0 24px; bottom: 15%; }
  .bj-journey__modes {
    grid-template-columns: 1fr; gap: 8px; padding: 0 24px;
  }
  .bj-journey__mode {
    display: flex; align-items: center;
    gap: 16px; padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .bj-journey__mode-divider { display: none; }
  .bj-journey__mode-kanji { font-size: 28px; }
}
