@charset "utf-8";

/* base */
@import "base/font.css";

/* layout */
@import "layout/header.css";
@import "layout/footer.css";

/* section */
@import "section/hero.css";
@import "section/hero-new.css";
@import "section/about.css";
@import "section/problem-service.css";
@import "section/features.css";
@import "section/font.css";
@import "section/pricing.css";
@import "section/use-case.css";
@import "section/new-fonts.css";
@import "section/designers.css";
@import "section/faq.css";
@import "section/cta.css";
@import "section/cta-alt.css";

/* section 非表示*/
@import "section/case-studies.css";
@import "section/testimonials.css";

/* Infinite Scroll Slider Section */
.infinite-slider-section {
  padding: 4rem 0 8rem;  /* 上を2remに */
  background: #0a1628;
  overflow: hidden;
  position: relative;
}

.infinite-slider-section::before,
.infinite-slider-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 10;
  pointer-events: none;
}

.infinite-slider-section::before {
  left: 0;
  background: linear-gradient(to right, #0a1628 0%, transparent 100%);
}

.infinite-slider-section::after {
  right: 0;
  background: linear-gradient(to left, #0a1628 0%, transparent 100%);
}

.infinite-slider-container {
  width: 100%;
  overflow: hidden;
}

.infinite-slider-track {
  display: flex;
  gap: 2rem;
  animation: infiniteScroll 40s linear infinite;
  width: fit-content;
}

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

.infinite-slide {
  flex-shrink: 0;
  width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.infinite-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* プレースホルダースタイル */
.slide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
  .infinite-slider-section {
    padding: 2rem 0 5rem;
  }

  .infinite-slider-section::before,
  .infinite-slider-section::after {
    width: 50px;
  }

  .infinite-slider-track {
    gap: 1rem;
    animation: infiniteScroll 30s linear infinite;
  }

  .infinite-slide {
    width: 400px;
    border-radius: 12px;
  }

  .slide-placeholder {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .infinite-slider-section {
    padding: 3rem 0;
  }

  .infinite-slider-section::before,
  .infinite-slider-section::after {
    width: 30px;
  }

  .infinite-slider-track {
    gap: 0.8rem;
    animation: infiniteScroll 25s linear infinite;
  }

  .infinite-slide {
    width: 280px;
    border-radius: 10px;
  }

  .slide-placeholder {
    font-size: 2rem;
  }
}
