/* =========================================
   REDEE VTuber LP - Stylesheet
   Hybrid Strategy: Newrona(Aspiration) x QUEST(Friendly) x i-blade(Minimal)
   ========================================= */

/* CSS Variables */
:root {
  /* Colors */
  --color-primary: #ff2e5b; /* Energetic Red/Pink */
  --color-primary-dark: #d41a41;
  --color-secondary: #1e293b; /* Dark Blue/Slate */
  --color-accent: #3b82f6; /* Tech Blue */
  --color-background: #f8fafc; /* Off-white / Clean */
  --color-surface: #ffffff;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* Typography */
  --font-sans: "Inter", "Noto Sans JP", sans-serif;
  --font-display: "Outfit", "Inter", "Noto Sans JP", sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px; /* Large uniform rounded corners (QUEST style) */
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(255, 46, 91, 0.4);

  /* Animation */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}
.text-accent {
  color: var(--color-primary);
}

.pc {
  display: none;
}

.sp {
  display: block;
}

@media (min-width: 768px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-hero {
  background: white;
  color: var(--color-primary);
  padding: 16px 40px;
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #fdfdfd;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.25rem;
  flex-direction: column;
  height: auto;
}

.btn-large small {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 4px;
}

/* Typography */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead-text {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Hero Section (Newrona style aspiration + QUEST energy) */
.hero {
  position: relative;
  height: 100vh;
  min-height: 900px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: kenBurns 25s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.6) 50%,
    rgba(15, 23, 42, 0.2) 100%
  );
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.highlight-text {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-details {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 680px;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.campaign-banner {
  background: linear-gradient(135deg, var(--color-primary), #ff5e81);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 46, 91, 0.3);
  position: relative;
  overflow: hidden;
}

.campaign-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.campaign-icon {
  margin-right: 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  animation: scroll 2s infinite ease-in-out;
}

@keyframes scroll {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Sections Base */
.section {
  padding: 120px 0;
}

/* Problem Section */
.problem-content {
  max-width: 900px;
}

.problem-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.problem-card {
  flex: 1;
  min-width: 250px;
  background: var(--color-surface);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  text-align: left;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.problem-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.problem-card:hover .problem-icon {
  transform: scale(1.2);
}

.solution-box {
  background: var(--color-secondary);
  color: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.solution-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 200%;
  background: linear-gradient(
    180deg,
    var(--color-primary),
    var(--color-accent),
    var(--color-primary)
  );
  animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.solution-box h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* Features Section (QUEST style rounded corners & i-blade minimal icons) */
.features-section {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--color-background);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth),
    background var(--transition-smooth);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(255, 46, 91, 0.15);
  background: white;
  border-color: rgba(255, 46, 91, 0.3);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.6;
  transition: opacity var(--transition-smooth);
}

.feature-card:hover .feature-number {
  opacity: 1;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
}

.feature-desc {
  color: var(--color-text-muted);
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  background: white;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.process-step {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.process-arrow {
  color: var(--color-primary);
  font-weight: bold;
}

/* Gallery Section */
.gallery-section {
  background: var(--color-background);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: white;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 20px;
  background: white;
  border-top: 1px solid var(--color-border);
}

.gallery-caption h3 {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Plans Section */
.plans-intro {
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 450px));
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.plan-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.plan-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.plan-header {
  background: var(--color-secondary);
  color: white;
  padding: 32px 24px;
  text-align: center;
}

.plan-header.accent-bg {
  background: var(--color-primary);
}

.plan-header h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

.plan-subtitle {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
}

.plan-price {
  padding: 24px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: center; /* 左右中央揃え */
  align-items: end; /* 上下中央揃え */
  min-height: 90px; /* 2つのカードで高さを統一（必要に応じて微調整してください） */
  box-sizing: border-box;
}

.plan-price span {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.plan-price span.contact-message {
  font-size: 2rem;
  line-height: 1.2;
}

.plan-details {
  padding: 32px 24px;
}

.plan-details li {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.plan-details strong {
  color: var(--color-secondary);
}

/* Options */
.options-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.options-box h3 {
  margin-bottom: 24px;
  font-size: 1.25rem;
  color: var(--color-secondary);
}

.options-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.options-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.opt-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.opt-icon-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.options-list strong {
  color: var(--color-secondary);
}

.use-cases {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Message Section */
.message-section {
  background: var(--color-secondary);
  color: white;
}

.message-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.message-title {
  font-size: 2rem;
  margin-bottom: 40px;
  line-height: 1.4;
  text-align: center;
}

.message-quote {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0 20px;
  margin-bottom: 40px;
}

.message-quote::before,
.message-quote::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
}

.message-quote::before {
  top: -20px;
  left: -10px;
}
.message-quote::after {
  bottom: -40px;
  right: 0px;
}

.message-author {
  text-align: right;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.message-author strong {
  color: white;
  font-size: 1.25rem;
  display: block;
  margin-top: 4px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to bottom, white, var(--color-background));
  padding: 120px 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 32px;
}

.cta-button {
  position: relative;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 46, 91, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 46, 91, 0);
  }
}

.campaign-box {
  max-width: 600px;
  margin: 0 auto 40px;
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-primary);
  position: relative;
}

.campaign-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.campaign-text {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.campaign-text strong {
  color: var(--color-primary);
  font-size: 1.75rem;
}

/* Footer */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.footer-logo-link {
  display: inline-block;
  transition: opacity var(--transition-fast);
}

.footer-logo-link:hover {
  opacity: 0.8;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.company-info li {
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.company-info strong {
  color: white;
  font-size: 1rem;
  display: block;
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.75rem;
}

/* Scroll Animations (sd-appear) */
.sd-appear {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-appear.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.sd-appear-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-appear-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.sd-appear-scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-appear-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Options list item hover */
.options-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.options-list li:hover {
  background: var(--color-background);
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-cta-wrapper {
    align-items: center;
  }
  .hero-title {
    text-align: center;
  }
  .hero-subtitle,
  .hero-details {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Past Events Section
   ========================================= */
.past-events-section {
  background: white;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.event-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.event-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.event-card:hover .event-img {
  transform: scale(1.05);
}

.event-caption {
  padding: 24px;
}

.event-caption h3 {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.event-caption p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.img-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 16px;
  margin: 0 0 40px;
}

@media (max-width: 768px) {
  .img-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .header .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
