/* カスタムアニメーション */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* グラデーション背景アニメーション */
@keyframes organicShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.ai-gradient-animate {
  background: linear-gradient(-45deg, #ff6b6b, #4c6ef5, #a855f7, #ec4899);
  background-size: 400% 400%;
  animation: organicShift 15s ease infinite;
}

/* グラデーション背景 */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* カードホバーエフェクト */
.hover-lift:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* セクション境界線グラデーション */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.2) 10%, rgba(148, 163, 184, 0.3) 50%, rgba(148, 163, 184, 0.2) 90%, transparent 100%);
}

/* Swiperカスタマイズ */
.worksSwiper {
  padding: 0 0 60px 0 !important;
}

.worksSwiper .swiper-wrapper {
  padding: 0 60px;
}

.worksSwiper .swiper-slide {
  height: auto;
}

.worksSwiper .swiper-slide > div {
  height: 100%;
}

.worksSwiper .swiper-button-next,
.worksSwiper .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.worksSwiper .swiper-button-next {
  right: 10px;
}

.worksSwiper .swiper-button-prev {
  left: 10px;
}

.worksSwiper .swiper-button-next:after,
.worksSwiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
  color: #334155;
}

.worksSwiper .swiper-pagination {
  bottom: 20px !important;
}

.worksSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
}

.worksSwiper .swiper-pagination-bullet-active {
  background: #6366f1;
}

@media (max-width: 768px) {
  .worksSwiper .swiper-wrapper {
    padding: 0 20px;
  }
  
  .worksSwiper .swiper-button-next,
  .worksSwiper .swiper-button-prev {
    display: none;
  }
}
