/* カスタムスタイル */
body {
  scroll-behavior: smooth;
}

/* セクションの装飾 */
.section-divider {
  background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.3), transparent);
  height: 1px;
  margin: 4rem 0;
}

/* デジタルネットワーク線のエフェクト */
.digital-lines {
  background-image: 
    linear-gradient(90deg, rgba(78, 205, 196, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(78, 205, 196, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* 光の粒子エフェクト */
.particle-effect {
  position: relative;
  overflow: hidden;
}

.particle-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* スムーズなスクロール */
html {
  scroll-behavior: smooth;
}

/* ボタンホバーエフェクト */
.btn-hover-lift {
  transition: all 0.3s ease;
}

.btn-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* カードホバーエフェクト */
.card-hover {
  transition: all 0.3s ease;
}

/* デスクトップのみホバーエフェクトを適用 */
@media (min-width: 768px) {
  .card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
}

/* FAQアコーディオンのアニメーション */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  opacity: 0;
}

.faq-answer.active {
  max-height: 600px;
  opacity: 1;
  transition: max-height 0.4s ease-in, opacity 0.3s ease-in 0.1s;
}

/* ミンサー織りパターン風の背景 */
.minsa-pattern {
  background-image: 
    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(78, 205, 196, 0.05) 10px, rgba(78, 205, 196, 0.05) 20px),
    repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(255, 107, 107, 0.05) 10px, rgba(255, 107, 107, 0.05) 20px);
}

/* ヒーローセクションのオーバーレイ */
.hero-overlay {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(26, 35, 50, 0.7) 100%);
}

/* フェードインアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* レスポンシブ動画 */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

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

/* グラデーションテキスト */
.gradient-text {
  background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ヒーロースライドショー */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(26, 35, 50, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* スライドインジケーター */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

@media (min-width: 640px) {
  .slide-indicators {
    bottom: 40px;
  }
}

.slide-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slide-indicator.active {
  background: #4ECDC4;
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.slide-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}
