/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

/* メインコンテンツ */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #5a6c7d;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 機能セクション */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.feature {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: #667eea;
  border-radius: 50%;
  padding: 15px;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.feature p {
  color: #5a6c7d;
}

/* 技術構成セクション */
.about {
  padding: 80px 0;
  background: white;
}

.about h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #2c3e50;
}

.tech-stack {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.tech-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.tech-item:hover {
  background-color: #f8f9fa;
}

.tech-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  background: #ff9500;
  border-radius: 10px;
  padding: 15px;
}

.tech-item span {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1rem;
}

/* フッター */
footer {
  background: #2c3e50;
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-indicator {
  width: 12px;
  height: 12px;
  background: #27ae60;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    gap: 20px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .tech-stack {
    gap: 30px;
  }
  
  footer .container {
    flex-direction: column;
    text-align: center;
  }
}