/* ==========================================================================
   index-styles.css — Index専用スタイル（重複除去済み）
   ※ base.css、components.css、animations.css に含まれる共通スタイルは削除
   ========================================================================== */

/* ===== フローティングアニメーション（Index独自） ===== */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid rgba(29, 78, 216, 0.1);
  opacity: 0;
  animation: floatCircleEnhanced 12s infinite ease-in-out;
}

/* 各円のサイズと位置（調整版） */
.circle1 {
  width: 35px;
  height: 35px;
  top: 15%;
  left: 25%;
  animation-delay: 0s;
}

.circle2 {
  width: 20px;
  height: 20px;
  bottom: 20%;
  right: 35%;
  animation-delay: 2s;
}

.circle3 {
  width: 28px;
  height: 28px;
  top: 55%;
  left: 75%;
  animation-delay: 4s;
}

.circle4 {
  width: 32px;
  height: 32px;
  top: 35%;
  right: 20%;
  animation-delay: 6s;
}

.circle5 {
  width: 18px;
  height: 18px;
  bottom: 45%;
  left: 15%;
  animation-delay: 8s;
}

/* 強化されたフローティングアニメーション */
@keyframes floatCircleEnhanced {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  50% {
    transform: translateY(-25px) rotate(180deg) scale(1.2);
    opacity: 0.8;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(0) rotate(360deg) scale(1);
    opacity: 0;
  }
}

/* ===== ビジョン・ミッションセクション（Index独自） ===== */
.vision-mission {
  background: var(--background-white);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.vision-lead {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.vision-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.vision-points {
  list-style: none;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl) auto;
  padding: 0;
}

.vision-points li {
  position: relative;
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.vision-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

.vision-summary {
  text-align: center;
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== 特徴セクション（Index独自） ===== */
.features-section {
  background: var(--background-gray-50);
}

.feature-points {
  list-style: none;
  max-width: 900px;
  margin: 0 auto var(--spacing-xl) auto;
  padding: 0;
}

.feature-points li {
  position: relative;
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-points li::before {
  content: "◉";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

.feature-points strong {
  color: var(--text-primary);
  font-weight: 600;
}

.feature-summary {
  text-align: center;
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== 導入実績セクション（Index独自） ===== */
.case-studies {
  background: var(--background-gray-50);
  text-align: center;
}

.case-studies img {
  max-width: 200px;
  margin-bottom: var(--spacing-xl);
  opacity: 0.8;
}

.case-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg) var(--spacing-xl);
  list-style: none;
  margin-bottom: var(--spacing-lg);
  padding: 0;
}

.case-item {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--text-primary);
  border: 2px solid var(--border-gray);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  background: var(--background-white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.case-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.case-note {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* ===== お客様の声セクション（Index独自） ===== */
.customer-voice {
  background: var(--background-white);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.customer-voice img {
  max-width: 150px;
  margin: 0 auto var(--spacing-xl) auto;
  display: block;
  opacity: 0.8;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.voice-item {
  background: var(--background-gray-50);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.voice-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.voice-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.voice-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  object-fit: cover;
  border: 2px solid var(--primary-blue);
}

.voice-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.voice-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

/* ===== お知らせセクション（Index独自） ===== */
.latest-news {
  background: var(--background-gray-50);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.news-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.news-item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-gray);
  padding: var(--spacing-lg) 0;
  transition: background-color 0.3s ease;
}

.news-item:first-child {
  border-top: none;
}

.news-item:hover {
  background-color: rgba(29, 78, 216, 0.02);
  border-radius: var(--radius-md);
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.news-date {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-xs);
}

.news-label {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--background-white);
  font-size: var(--font-size-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-sm);
  width: fit-content;
  font-weight: 600;
}

.news-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.news-button-wrapper {
  margin-top: var(--spacing-2xl);
  text-align: center;
}

.news-button {
  background: linear-gradient(135deg, var(--text-secondary), var(--text-primary));
  color: var(--background-white);
  padding: var(--spacing-sm) var(--spacing-2xl);
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.news-button:hover {
  background: linear-gradient(135deg, var(--text-primary), #111827);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Index独自のレスポンシブ調整 ===== */
@media (max-width: 768px) {
  /* 導入実績 */
  .case-list {
    gap: var(--spacing-md);
  }

  .case-item {
    font-size: var(--font-size-base);
    padding: var(--spacing-xs) var(--spacing-md);
  }

  /* お客様の声 */
  .voice-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  /* ビジョン・ミッション */
  .vision-lead {
    font-size: var(--font-size-xl);
  }

  .vision-subtitle {
    font-size: var(--font-size-lg);
  }
}

  /* バナー用 */
  .banner-pc {
    width: 100%;       /* .container 幅に合わせる */
    max-width: 1200px; /* サービスカテゴリと同じ */
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 100px;
  }
  
  .banner-sp {
    display: none;
    width: 100%;
    height: auto;
    padding-bottom: 100px;
  }
  
  @media (max-width: 768px) {
    .banner-pc { display: none; }
    .banner-sp { display: block; }
  }
  