/* 基本設定 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-primary: #6366f1;
  --color-secondary: #f59e0b;
  --color-accent: #ef4444;
  --color-background: #0f0f23;
  --color-surface: #1a1a2e;
  --color-text: #ffffff;
  --color-text-light: #a1a1aa;
  --color-border: #27272a;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --border-radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-size: 16px;
}

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

a:hover {
  color: var(--color-secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* グリッド背景 */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  opacity: 0.5;
  animation: gridFloat 20s infinite ease-in-out;
}

@keyframes gridFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10px, 10px) scale(1.02);
  }
}

/* カスタムカーソル */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-text);
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.15s ease;
}

.cursor-link.cursor-dot {
  transform: translate(-50%, -50%) scale(2);
}

.cursor-link.cursor-outline {
  transform: translate(-50%, -50%) scale(2);
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-outline {
    display: none;
  }
}
/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background-color: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: all 0.3s ease;
}

.header-scrolled {
  padding: 16px 24px;
  background-color: rgba(15, 15, 35, 0.95);
}

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

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo-img {
  height: 32px;
  margin-right: 12px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1);
}

/* ハンバーガーメニューボタン */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  justify-content: space-between;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 24px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ナビゲーション */
.nav-menu {
  display: block;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
  text-decoration: none;
}

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

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

/* モバイル対応 */
@media (max-width: 768px) {
  header {
    padding: 16px 20px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--color-border);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 24px;
  }

  .nav-menu ul li a {
    font-size: 1.1rem;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu ul li a::after {
    display: none;
  }

  .logo span {
    font-size: 1.3rem;
  }

  .logo-img {
    height: 28px;
    margin-right: 8px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px 16px;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .logo-img {
    height: 24px;
  }

  .nav-menu {
    width: 100%;
    right: -100%;
  }
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo-img {
  height: 32px;
  margin-right: 12px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul li a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

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

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  header {
    padding: 16px 20px;
  }

  nav ul {
    gap: 20px;
  }

  nav ul li a {
    font-size: 0.9rem;
  }
}

/* ヒーローセクション - 動画背景追加 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 35, 0.8) 0%,
    rgba(15, 15, 35, 0.6) 50%,
    rgba(99, 102, 241, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 2;
  opacity: 0;
  transform: translateY(50px);
  animation: heroFadeInUp 1.2s ease forwards;
  animation-delay: 0.5s;
  position: relative;
}

/* ヒーローアニメーション */
@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(30px);
  animation: titleSlideIn 1s ease forwards;
  animation-delay: 0.8s;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes titleSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: subtitleFadeIn 1s ease forwards;
  animation-delay: 1.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

@keyframes subtitleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* タイピングエフェクト - 修正版 */
.typing-effect {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: 2px solid var(--color-primary);
  animation: 
    typeWidth 3s steps(40, end) forwards,
    blink-caret 0.75s step-end infinite;
  animation-delay: 1.5s, 1.5s;
}

@keyframes typeWidth {
  0% { 
    width: 0; 
  }
  100% { 
    width: 100%; 
  }
}

@keyframes blink-caret {
  from, to { 
    border-color: transparent; 
  }
  50% { 
    border-color: var(--color-primary); 
  }
}

/* ボタンアニメーション */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: buttonsSlideIn 1s ease forwards;
  animation-delay: 2.2s;
}

@keyframes buttonsSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-primary,
.cta-secondary {
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  text-align: center;
  transform: scale(0.9);
  animation: buttonPop 0.6s ease forwards;
  backdrop-filter: blur(10px);
}

.cta-primary {
  animation-delay: 2.4s;
}

.cta-secondary {
  animation-delay: 2.6s;
}

@keyframes buttonPop {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cta-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-2px) scale(1.05);
}

/* 文字分割アニメーション用クラス */
.letter-animate {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px) rotateX(90deg);
  animation: letterDrop 0.6s ease forwards;
}

@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px) rotateX(0deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* ドゥードルアニメーション */
.doodles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.doodle {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0;
  transform: scale(0) rotate(0deg);
  transition: all 0.8s ease;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: hue-rotate(240deg) brightness(0.7);
}

.doodle.animate {
  opacity: 0.3;
  transform: scale(1) rotate(10deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(10deg);
  }
  50% {
    transform: translateY(-20px) rotate(-10deg);
  }
}

.d1 {
  background-image: url('/src/assets/doodle-1.svg');
  animation-delay: 0s;
}

.d2 {
  background-image: url('/src/assets/doodle-2.svg');
  animation-delay: 2s;
}

.d3 {
  background-image: url('/src/assets/doodle-3.svg');
  animation-delay: 1s;
}

.d4 {
  background-image: url('/src/assets/doodle-4.svg');
  animation-delay: 3s;
}

/* セクション */
section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

section.in-view {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
  position: relative;
  letter-spacing: -0.02em;
}

h2::after {
  content: '';
  position: absolute;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  transition: width 0.8s ease 0.3s;
  border-radius: 2px;
}

section.in-view h2::after {
  width: 80px;
}

/* サービスセクション */
.services {
  background-color: var(--color-surface);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 64px;
}

.service-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.service-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.game-icon {
  background-image: url('/src/assets/game-icon.svg');
}

.server-icon {
  background-image: url('/src/assets/server-icon.svg');
}

.tool-icon {
  background-image: url('/src/assets/tool-icon.svg');
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  transition: color 0.2s ease;
}

.service-link::after {
  content: '→';
  margin-left: 8px;
  transition: margin-left 0.2s ease;
}

.service-link:hover {
  color: var(--color-secondary);
}

.service-link:hover::after {
  margin-left: 12px;
}

/* 団体について */
.about {
  background-color: var(--color-background);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 64px;
}

.about-text p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: left;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* お問い合わせ */
.contact {
  background: var(--color-surface);
  position: relative;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 64px;
}

.contact-option {
  display: flex;
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.6s ease;
}

.contact-option:hover::before {
  left: 100%;
}

.contact-option:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.contact-option:hover .contact-icon {
  transform: scale(1.2);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.youtube .contact-icon {
  color: #ff0000;
}

.twitter .contact-icon {
  color: #1da1f2;
}

.mail .contact-icon {
  color: var(--color-primary);
}

.contact-option span {
  font-weight: 500;
  color: var(--color-text);
}

/* フッター */
footer {
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border);
  padding: 64px 24px 32px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.footer-logo-img {
  height: 28px;
  margin-right: 12px;
  transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.1);
}

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

.footer-links-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
}

.footer-links-column ul {
  list-style: none;
}

.footer-links-column ul li {
  margin-bottom: 12px;
}

.footer-links-column ul li a {
  color: var(--color-text-light);
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-links-column ul li a:hover {
  color: var(--color-text);
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* パララックス効果 */
.parallax {
  will-change: transform;
}

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* レスポンシブ対応でアニメーション維持 */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

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

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 280px;
  }

  section {
    padding: 60px 0;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .container {
    padding: 0 20px;
  }

  .hero-video-background iframe {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
  }
}

/* アクセシビリティ - アニメーション無効化 */
@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero h1,
  .hero p,
  .cta-buttons,
  .cta-primary,
  .cta-secondary,
  .typing-effect,
  .letter-animate {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .typing-effect {
    width: auto !important;
    border-right: none !important;
  }

  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* フォーカス状態 */
a:focus,
button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* 動画セクション */
.videos {
  background: var(--color-background);
  position: relative;
  overflow: hidden;
}

.videos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.video-slider-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.video-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  scroll-behavior: smooth;
}

.video-card {
  flex: 0 0 350px;
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  opacity: 0.8;
  transform: scale(0.95);
}

.video-card:hover {
  transform: scale(1) translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
  opacity: 1;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}

.play-button {
  color: white;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.video-thumbnail:hover .play-button {
  transform: scale(1);
  color: var(--color-primary);
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.4;
}

.video-info p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.video-nav:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
  border-color: var(--color-primary);
}

.video-prev {
  left: 10px;
}

.video-next {
  right: 10px;
}

.video-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.video-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-dot.active,
.video-dot:hover {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* 動画モーダル */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.video-modal-body {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
}

.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .video-slider-container {
    padding: 0 40px;
  }
  
  .video-card {
    flex: 0 0 300px;
  }
}

@media (max-width: 768px) {
  .video-slider-container {
    padding: 0 20px;
  }
  
  .video-card {
    flex: 0 0 280px;
  }
  
  .video-thumbnail {
    height: 160px;
  }
  
  .video-nav {
    width: 40px;
    height: 40px;
  }
  
  .video-modal-content {
    width: 95%;
  }
  
  .video-modal-close {
    top: -40px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .video-card {
    flex: 0 0 250px;
  }
  
  .video-info {
    padding: 16px;
  }
  
  .video-info h3 {
    font-size: 1rem;
  }
  
  .video-info p {
    font-size: 0.85rem;
  }
}

/* パートナー企業セクション */
.partners {
  background: var(--color-surface);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.partners .container {
  margin-bottom: 40px;
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, 
    var(--color-surface) 0%, 
    transparent 10%, 
    transparent 90%, 
    var(--color-surface) 100%);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: partnerScroll 30s linear infinite;
  width: fit-content;
}

@keyframes partnerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex-shrink: 0;
  width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: brightness(0) invert(1) opacity(1);
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .partners {
    padding: 60px 0 40px;
  }
  
  .partners-track {
    gap: 40px;
    animation-duration: 20s;
  }
  
  .partner-logo {
    width: 150px;
    height: 60px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .partner-logo {
    width: 120px;
    height: 50px;
    padding: 10px;
  }
  
  .partners-track {
    gap: 30px;
  }
}

/* SNSセクション */
.social {
  background: var(--color-background);
  padding: 80px 0;
  position: relative;
}

.social::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(225, 48, 108, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 64px;
}

.social-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  display: block;
  min-height: 300px;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  opacity: 0.3;
}

.social-card:hover::before {
  transform: translateX(100%);
}

.social-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.social-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.1);
}

.social-icon svg {
  width: 32px;
  height: 32px;
}

.social-info {
  display: block;
}

.social-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.social-description {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.social-stats {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.followers-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.followers-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.social-link svg {
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: translateX(4px);
}

/* YouTubeカード */
.social-card:nth-child(1) .social-icon {
  color: #ff0000;
}

.social-card:nth-child(1):hover {
  border-color: #ff0000;
}

.social-card:nth-child(1) .social-link {
  background: #ff0000;
}

.social-card:nth-child(1) .social-link:hover {
  background: #cc0000;
}

/* Twitterカード */
.social-card:nth-child(2) .social-icon {
  color: #1da1f2;
}

.social-card:nth-child(2):hover {
  border-color: #1da1f2;
}

.social-card:nth-child(2) .social-link {
  background: #1da1f2;
}

.social-card:nth-child(2) .social-link:hover {
  background: #0d8bd9;
}

/* Instagramカード */
.social-card:nth-child(3) .social-icon {
  color: #e1306c;
}

.social-card:nth-child(3):hover {
  border-color: #e1306c;
}

.social-card:nth-child(3) .social-link {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card:nth-child(3) .social-link:hover {
  background: linear-gradient(45deg, #d17e1a 0%, #cd5523 25%, #c3142a 50%, #b30a4d 75%, #a3056f 100%);
}

/* Discordカード */
.social-card:nth-child(4) .social-icon {
  color: #5865f2;
}

.social-card:nth-child(4):hover {
  border-color: #5865f2;
}

.social-card:nth-child(4) .social-link {
  background: #5865f2;
}

.social-card:nth-child(4) .social-link:hover {
  background: #4752c4;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .social {
    padding: 60px 0;
  }
  
  .social-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
  
  .social-card {
    padding: 24px;
    min-height: auto;
  }
  
  .social-icon {
    width: 56px;
    height: 56px;
  }
  
  .social-icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .social-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .social-card {
    padding: 20px;
  }
}