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

/* 変数定義 */
:root {
  --primary: #667eea;
  --primary-dark: #5568d3;
  --secondary: #764ba2;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --success: #48bb78;
  --warning: #ed8936;
  --danger: #f56565;
  
  /* イベントカラー */
  --school: #3b82f6;
  --work: #f59e0b;
  --leisure: #ec4899;
  --travel: #8b5cf6;
  --focus: #6366f1;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 28px;
  font-weight: 700;
  font-family: Inter, "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

/* ボタン */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* 準備中（無効化）ボタン */
.btn-primary[aria-disabled="true"],
.btn-secondary[aria-disabled="true"] {
  background: #e2e8f0;
  color: #94a3b8;
  border-color: #e2e8f0;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
}

.btn-primary[aria-disabled="true"]:hover,
.btn-secondary[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
  background: #e2e8f0;
  color: #94a3b8;
  border-color: #e2e8f0;
}

/* ファーストビュー */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

/* モックアップ画面 */
.hero-visual {
  max-width: 600px;
  margin: 0 auto;
}

.mockup-screen {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  border: 1px solid var(--border);
}

.mockup-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.timeline-item {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  color: white;
}

.timeline-item.school { background: var(--school); }
.timeline-item.work { background: var(--work); }
.timeline-item.leisure { background: var(--leisure); }
.timeline-item.travel { background: var(--travel); }
.timeline-item.focus { background: var(--focus); }

/* セクション共通 */
.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

/* 面倒ゼロの入力体験 */
.features-input {
  padding: 80px 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* AI自動スケジューリング */
.ai-scheduling {
  padding: 80px 0;
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.process-diagram {
  max-width: 800px;
  margin: 48px auto;
}

.process-step {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.step-visual {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.event-badge {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.event-badge.school { background: var(--school); }
.event-badge.work { background: var(--work); }
.event-badge.leisure { background: var(--leisure); }
.event-badge.travel { background: var(--travel); }
.event-badge.focus { background: var(--focus); }

.process-arrow {
  text-align: center;
  font-size: 32px;
  color: var(--primary);
  margin: 16px 0;
}

.process-description {
  max-width: 800px;
  margin: 32px auto 0;
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.8;
}

/* 育つAI */
.learning-ai {
  padding: 80px 0;
  background: var(--bg-white);
}

.learning-content {
  max-width: 900px;
  margin: 0 auto;
}

.learning-intro, .learning-outro {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 40px;
}

.learning-example {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 40px 0;
}

.learning-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-point {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.timeline-badge {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
}

.timeline-content {
  flex: 1;
}

.ai-message {
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
}

.ai-message.highlight {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-left: 4px solid var(--primary);
  color: var(--text-primary);
}

/* 料金プラン */
.pricing {
  padding: 80px 0;
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 48px auto 0;
}

.pricing-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-plan {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pricing-price {
  margin-bottom: 24px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
}

.price-period {
  font-size: 18px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-top: 32px;
}

.feature-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 16px;
  margin-bottom: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.feature-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
}

.feature-item.enabled .feature-icon {
  background: var(--success);
  color: white;
}

.feature-item.disabled {
  color: var(--text-muted);
}

.feature-item.disabled .feature-icon {
  background: var(--border);
  color: var(--text-muted);
}

.feature-item.limited .feature-icon {
  background: var(--warning);
  color: white;
}

.pricing-note {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 全機能リスト */
.all-features {
  padding: 80px 0;
  background: var(--bg-white);
}

.accordion {
  max-width: 900px;
  margin: 48px auto 0;
}

.accordion-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-item.active .accordion-header {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: var(--primary);
}

.accordion-icon {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.feature-list {
  list-style: none;
  padding: 0 24px 24px;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.final-cta .btn-primary {
  background: white;
  color: var(--primary);
}

.final-cta .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.final-cta .btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input[readonly] {
  background: var(--bg-light);
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 24px;
  border-top: 1px solid var(--border);
}

.form-actions button {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.form-actions .btn-primary {
  background: var(--primary);
  color: white;
}

.form-actions .btn-primary:hover {
  background: var(--primary-dark);
}

.form-actions .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-actions .btn-secondary {
  background: var(--bg-light);
  color: var(--text-primary);
}

.form-actions .btn-secondary:hover {
  background: var(--border);
}

#feedbackForm {
  padding: 24px;
}

/* フッター */
.footer {
  padding: 40px 0;
  background: var(--text-primary);
  color: white;
}

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

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-table {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .cta-title {
    font-size: 32px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .nav {
    display: none;
  }
  
  .timeline-point {
    flex-direction: column;
    gap: 12px;
  }
}

