/* ===========================
   Preview (予習) Page
   =========================== */

/* Hero */
.pv-hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pv-hero-bg {
  position: absolute;
  inset: 0;
}

.pv-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.pv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.65) 0%,
    rgba(10, 10, 10, 0.55) 30%,
    rgba(10, 10, 10, 0.75) 70%,
    rgba(10, 10, 10, 1) 100%
  );
}

.pv-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px 0;
  max-width: 700px;
}

.pv-hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pv-hero-title {
  font-family: var(--font-ja);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.3;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.pv-hero-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: var(--white);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.pv-hero-desc {
  font-size: 0.9rem;
  color: var(--white);
  line-height: 2;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* TOC */
.pv-toc {
  background: var(--dark);
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
  padding: 20px 0;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.pv-toc-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.pv-toc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.3s;
}

.pv-toc-item:hover {
  color: var(--white);
}

.pv-toc-num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
}

.pv-toc-label {
  letter-spacing: 0.1em;
}

/* Sections */
.pv-section {
  padding: 100px 0;
  background: var(--black);
}

.pv-section--alt {
  background: var(--dark);
}

.pv-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.pv-section-num {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.pv-section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pv-section-lead {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* ANTHEM Block */
.pv-anthem-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
  padding: 40px;
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 8px;
}

.pv-anthem-company {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.pv-company-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray);
  margin-left: 4px;
}

.pv-anthem-song {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.pv-anthem-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.9;
}

/* Video embed */
.pv-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pv-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pv-video-embed--small {
  margin-top: 20px;
  max-width: 100%;
}

.pv-video-embed--reel {
  padding-bottom: 0;
  height: auto;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-2);
}

.pv-video-embed--reel blockquote {
  margin: 0 !important;
}

/* Extras links */
.pv-anthem-extras {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-left: 40px;
}

.pv-extra-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray);
  padding: 8px 16px;
  border: 1px solid var(--dark-3);
  border-radius: 4px;
  transition: border-color 0.3s, color 0.3s;
}

.pv-extra-link:hover {
  border-color: var(--red);
  color: var(--white);
}

.pv-extra-icon {
  font-size: 0.65rem;
  color: var(--red);
}

/* Story Grid */
.pv-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.pv-story-card {
  padding: 32px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 8px;
}

.pv-story-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--white);
}

.pv-story-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 12px;
}

.pv-story-card p:last-of-type {
  margin-bottom: 0;
}

/* Expo banner */
.pv-expo-banner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 8px;
}

.pv-expo-banner h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.pv-date-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray);
  background: var(--dark-3);
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 12px;
  vertical-align: middle;
}

.pv-expo-banner p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.pv-link-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  transition: opacity 0.3s;
}

.pv-link-arrow:hover {
  opacity: 0.7;
}

.pv-expo-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pv-social-line-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #06C755;
  transition: opacity 0.3s;
}

.pv-social-line-link:hover {
  opacity: 0.7;
}

.pv-expo-banner-thumb {
  overflow: hidden;
  border-radius: 6px;
}

.pv-expo-banner-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Social (カンボジア) */
.pv-social-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pv-social-message h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.pv-social-message p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 2.2;
  margin-bottom: 16px;
}

.pv-social-cta {
  margin-top: 40px;
  padding: 32px;
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
}

.pv-social-quote {
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 900;
  line-height: 1.8;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* Budokan timeline */
.pv-budokan-timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto 48px;
}

.pv-budo-step {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.pv-budo-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--dark-3);
  transform: translateX(50%);
}

.pv-budo-step:last-child::after {
  display: none;
}

.pv-budo-date {
  display: block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 8px;
}

.pv-budo-name {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.pv-budo-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.pv-budo-done .pv-budo-status {
  background: rgba(153, 153, 153, 0.2);
  color: var(--gray);
}

.pv-budo-next {
  border: 1px solid var(--red);
  border-radius: 8px;
  background: rgba(230, 62, 49, 0.05);
}

.pv-budo-next .pv-budo-name {
  color: var(--red);
}

.pv-budo-next .pv-budo-status {
  background: var(--red);
  color: var(--white);
}

.pv-budo-final .pv-budo-name {
  color: var(--gold);
}

.pv-budo-final .pv-budo-status {
  background: rgba(197, 160, 50, 0.2);
  color: var(--gold);
}

/* Budokan video */
.pv-budokan-video {
  text-align: center;
  margin-bottom: 48px;
}

.pv-budokan-video-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.pv-video-vertical {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pv-video-vertical video {
  width: 100%;
  height: auto;
  display: block;
}

/* Budokan message */
.pv-budokan-message {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.pv-budokan-message p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 2;
  margin-bottom: 12px;
}

/* Media */
.pv-media {
  padding: 80px 0;
  background: var(--black);
  border-top: 1px solid var(--dark-3);
}

.pv-media-title {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--gray);
  margin-bottom: 32px;
}

.pv-media-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.pv-media-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 32px;
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.3s;
  min-width: 240px;
  text-align: center;
}

.pv-media-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.pv-media-source {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.pv-media-label {
  font-size: 0.75rem;
  color: var(--gray);
}

/* CTA */
.pv-cta {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
}

.pv-cta-text {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 700;
  line-height: 2;
  margin-bottom: 40px;
  color: var(--gray-light);
}

.pv-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.pv-btn-outline {
  border: 1px solid var(--gray);
  color: var(--white);
}

.pv-btn-outline:hover {
  border-color: var(--white);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 968px) {
  .pv-anthem-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .pv-expo-banner {
    grid-template-columns: 1fr;
  }

  .pv-budokan-timeline {
    flex-direction: column;
    gap: 16px;
  }

  .pv-budo-step::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .pv-hero {
    height: 90vh;
    min-height: 500px;
  }

  .pv-section {
    padding: 72px 0;
  }

  .pv-toc {
    top: 52px;
    overflow-x: auto;
  }

  .pv-toc-inner {
    gap: 24px;
    min-width: max-content;
    padding: 0 16px;
  }

  .pv-anthem-extras {
    padding-left: 0;
  }

  .pv-story-grid {
    grid-template-columns: 1fr;
  }

  .pv-media-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .pv-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
