/* ==========================================================================
   Logo Slider Section
   Figma: width 1440px, height 105px, logos in row with 32px gap
   ========================================================================== */

.logo-slider-section {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 32px 0;
  margin: 0;
  position: relative;
}

/* Fade edges for seamless look */
.logo-slider-section::before,
.logo-slider-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-slider-section::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.logo-slider-section::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

/* Track - horizontal scrolling container */
.logo-slider-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
  white-space: nowrap;
  animation: logo-scroll 65s linear infinite;
  width: max-content;
}

/* Individual logo item */
.logo-slider-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 56px;
}

/* -------------------------------------------------------
   Intelligence Design SYNCS
   - Multi-part logo with icon, main text, and subtitle
   ------------------------------------------------------- */
.logo-intelligence-design {
  gap: 8px;
}

.logo-icon-id {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #271E51;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}

.logo-icon-id::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.logo-text-main {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  line-height: 1;
}

.logo-text-sub {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #666;
  text-transform: uppercase;
  line-height: 1;
  align-self: flex-end;
  margin-bottom: 2px;
}

/* -------------------------------------------------------
   DELIVERY
   - Bold, uppercase, wide tracking
   ------------------------------------------------------- */
.logo-text-bold {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  text-transform: uppercase;
  line-height: 1;
}

/* -------------------------------------------------------
   astamuze
   - Rounded, lowercase with accent color on "mu"
   ------------------------------------------------------- */
.logo-text-astamuze {
  font-family: "Trebuchet MS", "Lucida Grande", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo-astamuze-accent {
  color: #e63312;
}

/* -------------------------------------------------------
   ZUU
   - Large bold serif-like text
   ------------------------------------------------------- */
.logo-text-zuu {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  line-height: 1;
}

/* -------------------------------------------------------
   Interfacts
   - Elegant, slightly italic styling
   ------------------------------------------------------- */
.logo-text-interfacts {
  font-family: "Georgia", "Palatino", serif;
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #1C50A1;
  line-height: 1;
}

/* -------------------------------------------------------
   NICOGA
   - Clean uppercase sans-serif
   ------------------------------------------------------- */
.logo-text-nicoga {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #333;
  text-transform: uppercase;
  line-height: 1;
}

/* ロゴ画像（ACFから取得） */
.logo-slider-logo-img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-slider-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #313131;
}

/* -------------------------------------------------------
   Infinite scroll animation
   Translate by exactly 50% since we duplicated the logos
   ------------------------------------------------------- */
@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------------------------------
   Responsive adjustments
   ------------------------------------------------------- */
@media (max-width: 768px) {
  .logo-slider-section {
    height: 80px;
  }

  .logo-slider-track {
    gap: 32px;
    padding: 0 16px;
  }

  .logo-slider-item {
    height: 32px;
  }

  .logo-text-bold {
    font-size: 16px;
  }

  .logo-text-astamuze {
    font-size: 15px;
  }

  .logo-text-zuu {
    font-size: 20px;
  }

  .logo-text-interfacts {
    font-size: 14px;
  }

  .logo-text-nicoga {
    font-size: 14px;
  }

  .logo-text-main {
    font-size: 11px;
  }

  .logo-text-sub {
    font-size: 8px;
  }

  .logo-icon-id {
    width: 22px;
    height: 22px;
  }

  .logo-icon-id::before {
    width: 12px;
    height: 12px;
  }

  .logo-slider-section::before,
  .logo-slider-section::after {
    width: 40px;
  }
}
