﻿@charset "utf-8";

/* ========================================
   CSS Variables - カラーパレット
======================================== */
:root {
  /* 背景グラデーション（より暗く） */
  --bg-primary: #050510;
  --bg-secondary: #0a0a15;
  --bg-gradient: linear-gradient(135deg, #050510 0%, #0a0a18 50%, #0d1525 100%);

  /* アクセントカラー */
  --accent-primary: #2196F3;
  --accent-secondary: #0D47A1;
  --accent-glow: rgba(33, 150, 243, 0.5);

  /* テキストカラー */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* カードカラー（Glassmorphism） */
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-hover: rgba(255, 255, 255, 0.1);

  /* リンクカラー */
  --link-color: #64b5f6;
  --link-hover: #90caf9;

  /* シャドウ */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-glow);

  /* ボーダーラディウス */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* トランジション */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   リセット＆ベース
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
}

/* ========================================
   コンテナ
======================================== */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* ========================================
   ヘッダー
======================================== */
.header {
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #2196F3 50%, #64b5f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.header .subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 30px;
}

.app-icon {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  margin: 20px 0;
  transition: var(--transition-normal);
  animation: float 3s ease-in-out infinite;
}

.app-icon:hover {
  transform: scale(1.05);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.upload-link {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.upload-link:hover {
  color: var(--link-hover);
  text-shadow: 0 0 10px var(--link-color);
}

/* ========================================
   セクション（カード）
======================================== */
.section {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.section:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section h2::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 2px;
}

.section p,
.section .content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========================================
   ハイライトボックス（お知らせ用）
======================================== */
.highlight-box {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(13, 71, 161, 0.3) 100%);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #64b5f6 100%);
}

.highlight-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 12px;
}

.highlight-link {
  color: var(--link-color) !important;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.highlight-link:hover {
  color: var(--link-hover) !important;
  text-shadow: 0 0 10px var(--link-color);
}

/* ========================================
   メニューリスト（リンク集）
======================================== */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-list a {
  display: block;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.menu-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--accent-primary);
  transform: scaleY(0);
  transition: var(--transition-fast);
}

.menu-list a:hover {
  background: rgba(33, 150, 243, 0.1);
  border-color: var(--accent-primary);
  color: var(--link-hover);
  transform: translateX(8px);
}

.menu-list a:hover::before {
  transform: scaleY(1);
}

/* ========================================
   FAQ（よくある質問）
======================================== */
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-left: 16px;
  border-left: 2px solid var(--accent-secondary);
}

/* ========================================
   ダウンロードボタン
======================================== */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #1976D2 100%);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

/* ========================================
   フッター
======================================== */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.store-badge {
  display: inline-block;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.store-badge:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 600px) {
  .header h1 {
    font-size: 1.8rem;
  }

  .app-icon {
    width: 120px;
    height: 120px;
  }

  .section {
    padding: 20px 16px;
  }

  .section h2 {
    font-size: 1.1rem;
  }

  .menu-list a {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .container {
    padding: 16px;
  }
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease forwards;
}

.section:nth-child(1) {
  animation-delay: 0.1s;
}

.section:nth-child(2) {
  animation-delay: 0.2s;
}

.section:nth-child(3) {
  animation-delay: 0.3s;
}

.section:nth-child(4) {
  animation-delay: 0.4s;
}

.section:nth-child(5) {
  animation-delay: 0.5s;
}

.section:nth-child(6) {
  animation-delay: 0.6s;
}