/* styles.css */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

/* メインコンテナ */
.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.services-container h1 {
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

/* サービスセクション */
.service-section {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-header h2 {
  font-size: 2rem;
  color: #0066cc;
  margin-bottom: 15px;
  font-weight: bold;
}

.service-summary {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

/* サービス詳細 */
.service-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.detail-block {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.detail-block h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.detail-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-block li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  color: #555;
}

.detail-block li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-size: 0.8em;
}

/* 技術スタック・提供形式 */
.tech-stack, .format-info {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  margin-top: 15px;
}

.tech-stack p {
  margin-bottom: 15px;
  color: #666;
}

/* コンタクトセクション */
.contact-section {
  text-align: center;
  background: #0066cc;
  color: #fff;
  padding: 60px 40px;
  border-radius: 12px;
  margin-top: 60px;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-section p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-button {
  display: inline-block;
  background: #fff;
  color: #0066cc;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
}

/* 戻るボタン */
.back-button-container {
  text-align: center;
  margin-top: 60px;
}

.back-button {
  display: inline-block;
  padding: 15px 40px;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background: #0052a3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .services-container {
    padding: 20px;
  }

  .service-section {
    padding: 30px 20px;
  }

  .service-header h2 {
    font-size: 1.6rem;
  }

  .service-summary {
    font-size: 1.1rem;
  }

  .service-details {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 40px 20px;
  }

  .back-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}