* {
  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: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.8;
}

/* ヒーロー */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 製品セクション */
.products {
  padding: 80px 20px;
  background: white;
}

.products h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #333;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #f0f0f0;
}

.product-card h3 {
  padding: 20px 20px 10px;
  font-size: 22px;
  color: #333;
}

.product-card p {
  padding: 0 20px 20px;
  color: #666;
  font-size: 14px;
}

.product-link {
  display: block;
  padding: 20px;
  background: #667eea;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  transition: background 0.3s;
}

.product-link:hover {
  background: #764ba2;
}

/* 動画セクション */
.videos {
  padding: 80px 20px;
  background: #f9f9f9;
}

.videos h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #333;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ddd;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  background: white;
  border: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-play-btn:hover {
  transform: scale(1.1);
}

.play-icon {
  font-size: 28px;
  color: #667eea;
}

.video-title {
  padding: 15px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  background: white;
}

/* 特徴セクション */
.features {
  padding: 80px 20px;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #333;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.feature-item p {
  color: #666;
  font-size: 14px;
}

/* フッター */
.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #000;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 0.7;
}

#modal-video {
  border-radius: 5px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .nav ul {
    gap: 15px;
  }

  .products h2,
  .videos h2,
  .features h2 {
    font-size: 28px;
  }

  .product-grid,
  .video-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* 製品詳細ページ */
.product-detail {
  padding: 60px 20px;
  background: white;
}

.product-detail h1 {
  font-size: 40px;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.product-detail-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-detail-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.price {
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 20px;
}

.description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.specs h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.specs ul {
  list-style: none;
  margin-bottom: 30px;
}

.specs li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: #666;
}

.specs li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

/* 製品特徴セクション */
.product-features {
  padding: 80px 20px;
  background: #f9f9f9;
}

.product-features h2 {
  text-align: center;

