/* =========================================
   NETFLIX-INSPIRED CINEMATIC STYLE (RESTORED FULL VERSION)
========================================= */

:root {
  --net-black: #08080a;
  --net-dark-gray: #14141d;
  --net-red: #E50914;
  --net-red-glow: rgba(229, 9, 20, 0.15);
  --text-light: #f5f5f7;
  --text-muted: #a0a0ab;
}

/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--net-black);
  color: var(--text-light);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  transition: transform 0.3s ease;
}

.header-inner {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 36px;
}

/* =========================
   NAV (PC)
========================= */
.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.8;
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-menu .apply-btn {
  background: var(--net-red);
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 1;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
}

/* =========================
   HERO
========================= */
.hero-story {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;

  background:
    radial-gradient(circle at center, rgba(229, 9, 20, 0.1) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(8,8,10,0.4) 0%, var(--net-black) 95%);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 10;
}

.hero-content .tag {
  color: var(--net-red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  text-shadow: 0 0 12px var(--net-red-glow);
}

.hero-content h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 28px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-content .sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================
   INTRO
========================= */
.intro-section {
  padding: 100px 0 60px;
}

.prologue-box {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.prologue-box .quote {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 30px;
}

.prologue-box .lead-text {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =========================
   STORY STREAM
========================= */
.story-stream {
  padding-bottom: 60px;
}

.story-episode {
  padding: 50px 0;
}

.episode-card {
  background-color: var(--net-dark-gray);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 50px 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s, border-color 0.3s;
}

.episode-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 9, 20, 0.3);
}

.episode-num {
  display: inline-block;
  color: var(--net-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.episode-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  border-left: 3px solid var(--net-red);
  padding-left: 16px;
  line-height: 1.4;
}

.episode-body p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.episode-body .highlight {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 35px 0;
  text-align: center;
}

/* gimmick */
.gimmick-list {
  list-style: none;
  padding: 24px 30px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  margin: 30px 0;
  border: 1px dashed rgba(255,255,255,0.1);
}

.gimmick-list li {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.gimmick-list li::before {
  content: "▶";
  color: var(--net-red);
  font-size: 0.7rem;
  margin-right: 12px;
}

/* credo */
.credo-box {
  margin: 35px 0;
  padding: 20px;
  background: linear-gradient(90deg, rgba(229, 9, 20, 0.15), transparent);
  border-left: 2px solid var(--net-red);
  text-align: center;
}

.credo-box p {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

/* =========================
   CTA
========================= */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(to top, rgba(229, 9, 20, 0.1), var(--net-black));
}

.cta-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.apply-button {
  display: inline-block;
  background: var(--net-red);
  color: #fff;
  padding: 18px 48px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.5);
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* =========================
   MOBILE
========================= */
@media screen and (max-width: 768px) {

  .hamburger {
    display: block;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    position: relative;
    z-index: 10000;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 11px; }
  .hamburger span:nth-child(3) { bottom: 0; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8,8,10,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 9998;
  }

  .nav-menu.is-active {
    display: flex;
  }

  .nav-menu a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
  }

  .nav-menu .apply-btn {
    background: var(--net-red);
    padding: 14px 24px;
  }

  .header.is-hide {
    transform: translateY(-100%);
  }
}