/* ===================================
   ベーススタイル
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* ===================================
   コンテナ
   =================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* ===================================
   ヘッダー
   =================================== */
.header {
  text-align: center;
  padding: 3rem 0;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   ボタン
   =================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: white;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-secondary:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* ===================================
   セクション
   =================================== */
section {
  padding: 3rem 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

/* ===================================
   特徴カード
   =================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.75;
}

/* ===================================
   機能一覧
   =================================== */
.features-list ul {
  list-style: none;
}

.features-list li {
  padding: 0.75rem 0;
  font-size: 1.125rem;
  border-bottom: 1px solid #e5e7eb;
}

.features-list li:last-child {
  border-bottom: none;
}

/* ===================================
   システム要件
   =================================== */
.requirements ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.requirements li {
  padding: 0.5rem 0;
}

.tip {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

/* ===================================
   ナビゲーション
   =================================== */
.nav {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
}

.nav ul {
  list-style: none;
}

.nav li {
  padding: 0.5rem 0;
}

.nav a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ===================================
   フッター
   =================================== */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
}

/* ===================================
   パンくずリスト
   =================================== */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #2563eb;
}

/* ===================================
   ページヘッダー
   =================================== */
.page-header {
  text-align: center;
  padding: 2rem 0 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
}

/* ===================================
   情報ボックス
   =================================== */
.info-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.info-box strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #1d4ed8;
}

/* ===================================
   警告ボックス
   =================================== */
.warning {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.warning strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #d97706;
}

/* ===================================
   ステップ表示
   =================================== */
.step {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.step-content ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.step-content li {
  margin: 0.5rem 0;
}

/* ===================================
   コードブロック
   =================================== */
.code-block {
  background: #1f2937;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.code-block code {
  color: #10b981;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.875rem;
}

/* ===================================
   次のステップ
   =================================== */
.next-steps {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.action-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.action-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.action-card p {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* ===================================
   スクリーンショットプレースホルダー
   =================================== */
.screenshot-placeholder {
  padding: 2rem;
  background: #f3f4f6;
  border-radius: 8px;
  text-align: center;
  border: 2px dashed #cbd5e1;
  margin: 2rem 0;
}

.screenshot-placeholder p {
  color: #64748b;
  font-size: 0.875rem;
}

/* ===================================
   スクリーンショット
   =================================== */
.screenshot-wrapper {
  margin: 2rem 0;
  text-align: center;
}

.screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.screenshot-caption {
  margin-top: 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-style: italic;
}

/* ===================================
   ダウンロードカード
   =================================== */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.download-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.download-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.download-card p {
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.download-info {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.version-badge {
  background: #2563eb;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.file-size {
  background: #e5e7eb;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===================================
   動画プレーヤー
   =================================== */
.video-container {
  text-align: center;
}

video {
  background: #1f2937;
  border-radius: 12px;
}

video:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}
