  .service-section {
    background-color: #f8f9fa;
    padding: 120px 20px 80px; /* 上部のパディングを120pxに増やしました */
    overflow: hidden;
  }
  
  .service-title-container {
    max-width: 1200px;
    margin: 80px auto 80px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
  }
  
  .service-title {
    position: relative;
    font-family: 'Futura Lt BT', sans-serif;
    line-height: 1;
    text-align: center;
  }
  
  .service-title .title-bg {
    font-size: clamp(60px, 10vw, 120px);
    color: #e9ecef;
    display: block;
    position: relative;
    z-index: 1;
  }
  
  .service-title .title-main {
    font-size: clamp(35px, 3vw, 24px);
    color: #034060;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
  }
  
  .service-title .title-bg span {
    display: inline-block;
    opacity: 0;
  }
  
  @keyframes fadeInGradient {
    0% {
      opacity: 0;
      color: #ffffff;
    }
    50% {
      opacity: 0.5;
      color: #a8c5d6;
    }
    100% {
      opacity: 1;
      color: #e9ecef;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

/* サービスセクションのスタイル */
:root {
    --primary-color: #034060;
    --secondary-color: #a3d5ff;
    --text-color: #333;
    --background-color: #f5f5f5;
    --transition-speed: 0.3s;
  }
  
  .service-section {
    padding: 100px 0;
    background-color: var(--background-color);
    color: var(--text-color);
  }
  
  .service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-left: 80px; /* 増加 */
  }
  
  .title-number {
    font-size: 4rem;
    color: var(--primary-color); /* 変更 */
    position: absolute;
    left: 0;
    top: -20px;
    opacity: 0.7;
  }
  
  .service-content {
    display: flex;
    gap: 40px;
    align-items: center;
  }
  
  .service-text {
    flex: 1;
  }
  
  .service-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .service-images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform var(--transition-speed);
  }
  
  .service-image:hover {
    transform: scale(1.05);
  }
  
  .service-footer {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 40px;
    color: var(--primary-color);
  }
  
  .client-logos {
    padding: 40px 0;
    background-color: #fff;
    width: 100%; /* 全幅に設定 */
}


.logo-container {
  max-width: 1000px; /* コンテナの最大幅を設定 */
  margin: 0 auto;
  display: flex;
  justify-content: center; /* 中央寄せに変更 */
  align-items: center;
  flex-wrap: wrap;
  gap: 30px; /* ロゴ間のスペースを調整 */
}

.client-logo {
  flex: 0 1 calc(16.66% - 30px); /* フレックスアイテムの幅を調整 */
  max-width: 120px; /* ロゴの最大幅を小さく */
  height: auto;
  margin: 10px;
  opacity: 0.7;
  transition: opacity var(--transition-speed);
}

.client-logo:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .logo-container {
      max-width: 90%; /* 小さな画面では幅を90%に */
  }

  .client-logo {
      flex: 0 1 calc(33.33% - 20px); /* 小さな画面では3列表示に */
      max-width: 80px; /* 小さな画面でのロゴの最大幅をさらに小さく */
  }
}

  
  @media (max-width: 768px) {
    .service-content {
      flex-direction: column;
    }
  
    .service-images {
      grid-template-columns: 1fr;
    }
  
  }
  
  /* アニメーション */
  [data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  [data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
  }


  .service-button-container {
    text-align: center;
    margin-top: 20px;
}

.service-button-container {
  padding: 60px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.service-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
}

.service-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.contact-section {
  padding-top: 80px; /* コンタクトセクションの上部の余白を増やす */
}
.contact-section {
  padding: 60px 0; /* 余白を設定 */
  background-color: #f8f9fa; /* 背景色を他のセクションと合わせる */
}

.service-details {
  margin-top: 40px;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-details h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-details ul {
  list-style-type: none;
  padding: 0;
}

.service-details li {
  margin-bottom: 30px;
}

.service-details h4 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-details p {
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-details {
    padding: 20px;
  }

  .service-details h3 {
    font-size: 1.6rem;
  }

  .service-details h4 {
    font-size: 1.3rem;
  }

  .service-details p {
    font-size: 1rem;
  }
}