/* ==========================================
   ClipMarker Pro - CSS Design System & Layout
   ========================================== */

/* ------------------------------------------
   1. デザインシステム定義 (Custom Properties)
   ------------------------------------------ */
:root {
  /* カラー定義 */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --card-bg: rgba(30, 41, 59, 0.6);
  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --primary: #8b5cf6;       /* バイオレット */
  --primary-hover: #7c3aed;
  --primary-glow: rgba(139, 92, 246, 0.5);
  
  --secondary: #ec4899;     /* ネオンピンク */
  --secondary-glow: rgba(236, 72, 153, 0.5);
  
  --accent: #06b6d4;        /* シアン */
  --accent-glow: rgba(6, 182, 212, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-focus: #8b5cf6;
  
  --success: #10b981;
  --error: #ef4444;

  /* フォント定義 */
  --font-family: 'Outfit', 'Noto Sans JP', sans-serif;

  /* トランジション */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------
   2. リセット & 基本設定
   ------------------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------------------------
   3. 共通コンポーネント (Buttons, Badges, Typography)
   ------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.badge-accent {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #f472b6;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.1);
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.7);
  background: linear-gradient(135deg, #9333ea 0%, #c084fc 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* セクションヘッダー */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ------------------------------------------
   4. ヘッダー (Header Navigation)
   ------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-accent {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}

.logo-badge {
  font-size: 0.75rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #f472b6 100%);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.25rem;
  color: #fff;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-btn {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* 言語切り替えUI (Language Selector) */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.lang-link {
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.lang-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.lang-link.active {
  color: var(--text-main);
  background: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
  pointer-events: none; /* アクティブな言語はクリック不可 */
}

.lang-divider {
  color: rgba(255, 255, 255, 0.15);
  user-select: none;
  font-weight: 300;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ------------------------------------------
   5. モバイルナビゲーションオーバーレイ
   ------------------------------------------ */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.mobile-nav-overlay.active {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-nav-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #c084fc 100%);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.mobile-nav-overlay .lang-selector {
  margin-left: 0;
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
}

.mobile-nav-overlay .lang-link {
  padding: 0.35rem 0.75rem;
}


/* ------------------------------------------
   6. ヒーローセクション (Hero Section)
   ------------------------------------------ */
.hero-section {
  position: relative;
  padding: 10rem 0 6rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(17, 24, 39, 0.5) 0%, var(--bg-primary) 70%);
  overflow: hidden;
}

/* 発光エフェクト球体 */
.hero-background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: 20%;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: 100px;
  right: 10%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-meta-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta-info i {
  color: var(--success);
  margin-right: 0.25rem;
}

/* ビジュアル側 */
.hero-visual {
  position: relative;
}

.visual-wrapper {
  position: relative;
  width: 100%;
}

.glow-border-container {
  position: relative;
  border-radius: 16px;
  padding: 4px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(236, 72, 153, 0.2) 50%, rgba(6, 182, 212, 0.4) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.15);
}

.hero-image {
  border-radius: 12px;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* フローティングバッジ */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(8px);
}

.floating-card-1 {
  top: 15%;
  left: -20px;
  animation: floatUpDown 6s ease-in-out infinite;
}

.floating-card-2 {
  bottom: 15%;
  right: -20px;
  animation: floatUpDown 6s ease-in-out infinite 3s;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.floating-card-2 .card-icon {
  background: rgba(236, 72, 153, 0.15);
  color: var(--secondary);
}

.card-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-value {
  font-size: 1rem;
  font-weight: 700;
}

/* ------------------------------------------
   7. 抱える悩みセクション (Challenges)
   ------------------------------------------ */
.challenges-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.challenge-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.challenge-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(139, 92, 246, 0.05);
}

.challenge-card:hover::before {
  opacity: 1;
}

.challenge-icon {
  width: 50px;
  height: 50px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #f87171;
  margin-bottom: 1.5rem;
}

.challenge-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.challenge-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ------------------------------------------
   8. 機能紹介セクション (Features)
   ------------------------------------------ */
.features-section {
  padding: 8rem 0;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.feature-item.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-item.reverse .feature-content {
  grid-column: 2;
}

.feature-item.reverse .feature-visual-demo {
  grid-column: 1;
  grid-row: 1;
}

.feature-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.feature-item-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.feature-item-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-bullets li i {
  color: var(--success);
}

/* デモ用ビジュアル表現 */
.feature-visual-demo {
  position: relative;
}

/* AI音声認識・話者字幕色分けデモ */
.speaker-demo-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble-mock {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: transform var(--transition-fast);
}

.chat-bubble-mock:hover {
  transform: translateX(4px);
}

.speaker-tag {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.transcribed-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.demo-card {
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.demo-card-header {
  background: #1e293b;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.demo-card-header .dot:nth-child(1) { background: #ef4444; }
.demo-card-header .dot:nth-child(2) { background: #eab308; }
.demo-card-header .dot:nth-child(3) { background: #22c55e; }

.demo-card-title-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.demo-card-body {
  padding: 2rem;
}

/* 波形デモ */
.waveform-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  gap: 3px;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  padding: 0.5rem;
}

.waveform-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.waveform-bar.peak {
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.waveform-bar.silent {
  background: rgba(239, 68, 68, 0.2);
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.label-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.peak-badge {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.silent-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* テロップデモ */
.text-center-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 180px;
}

.canvas-text-box {
  border: 1.5px dashed var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  position: relative;
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 20px var(--primary-glow);
  margin-bottom: 2rem;
}

.canvas-demo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.text-resizer {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
}

.resizer-tl { top: -4px; left: -4px; cursor: nwse-resize; }
.resizer-tr { top: -4px; right: -4px; cursor: nesw-resize; }
.resizer-bl { bottom: -4px; left: -4px; cursor: nesw-resize; }
.resizer-br { bottom: -4px; right: -4px; cursor: nwse-resize; }

.sidebar-mock {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.sidebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-mock-bar {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
}

.slider-mock-thumb {
  position: absolute;
  top: -4px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
}

/* パフォーマンスデモ */
.perf-body {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.performance-comparison {
  margin-bottom: 1.5rem;
}

.perf-bar-group {
  margin-bottom: 1rem;
}

.perf-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.perf-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.perf-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  transition: width 1s ease;
}

.perf-fill.bad {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.perf-fill.good {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  box-shadow: 0 0 10px var(--primary-glow);
}

.performance-badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}



/* ------------------------------------------
   10. お問い合わせ & ベータ申請フォーム (Formspree)
   ------------------------------------------ */
.contact-section {
  padding: 8rem 0;
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.features-brief {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.brief-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.brief-item i {
  color: var(--secondary);
}

.developer-note {
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
}

.note-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.note-content {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* フォーム側 */
.contact-form-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.form-wrapper-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
}

.required {
  color: var(--secondary);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1rem 0.85rem 2.7rem;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.contact-form select {
  appearance: none;
  cursor: pointer;
}

.contact-form textarea {
  padding-left: 1rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

/* フォーム送信ステータス */
.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
  text-align: center;
  animation: fadeInUp 0.3s ease forwards;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--error);
  color: #f87171;
}

.form-status.loading {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}

/* ------------------------------------------
   11. フッター (Footer)
   ------------------------------------------ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
  justify-content: flex-end;
}

.links-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

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

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ------------------------------------------
   12. スクロール演出用CSSアニメーション
   ------------------------------------------ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------
   13. メディアクエリ (Responsive Design)
   ------------------------------------------ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-meta-info {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-item, 
  .feature-item.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .feature-item.reverse .feature-content {
    grid-column: 1;
  }
  
  .feature-item.reverse .feature-visual-demo {
    grid-column: 1;
    grid-row: auto;
  }
  

  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-links {
    justify-content: flex-start;
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
