@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* メインカラー - ミントグリーン系 */
  --primary: #5ebd8c;
  --primary-dark: #4aa876;
  --primary-light: #7fd4a8;
  --primary-gradient: linear-gradient(135deg, #6bbd99 0%, #5ebd8c 100%);
  --primary-solid: #5ebd8c;
  
  /* セカンダリカラー - ネイビー/パープル系 */
  --secondary: #4f46b0;
  --secondary-dark: #3d3691;
  --secondary-gradient: linear-gradient(135deg, #5b54b8 0%, #4f46b0 100%);
  
  /* アクセントカラー */
  --accent: #f5a623;
  --accent-gradient: linear-gradient(135deg, #f5a623 0%, #ffc966 100%);
  
  /* 成功・警告 */
  --success: #5ebd8c;
  --success-gradient: linear-gradient(135deg, #6bbd99 0%, #5ebd8c 100%);
  --warning: #f5a623;
  --warning-gradient: linear-gradient(135deg, #f5a623 0%, #ffc966 100%);
  
  /* テキストカラー */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-light: #d1d5db;
  
  /* 背景カラー */
  --bg-main: #f0f2f5;
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary: #eef0f4;
  --bg-overlay: rgba(255, 255, 255, 0.98);
  
  /* ボーダー */
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  
  /* シャドウ */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  
  /* 角丸 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* トランジション */
  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
    'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-container {
  min-height: 100vh;
  padding: 24px;
  background: var(--bg-main);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-overlay);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

/* Hero Section */
.hero-section {
  background: var(--bg-primary);
  padding: 48px 40px;
  text-align: left;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero-section h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-section h2 {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
}

/* Main Content */
.main-content {
  padding: 32px 40px;
  background: var(--bg-secondary);
}

.lead-section {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* Section Styling */
.section {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.section:hover {
  box-shadow: var(--shadow-md);
}

.section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

/* Lists */
ul, ol {
  list-style: none;
}

ul li {
  padding: 12px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
  border-radius: var(--radius-md);
}

ul li:hover {
  background: var(--bg-secondary);
  padding-left: 28px;
}

ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

ol {
  counter-reset: list-counter;
}

ol li {
  padding: 12px 0;
  padding-left: 48px;
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
  counter-increment: list-counter;
  transition: var(--transition);
  border-radius: var(--radius-md);
}

ol li:hover {
  background: var(--bg-secondary);
  padding-left: 52px;
}

ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}

/* Course Items */
.course-item {
  background: var(--bg-primary);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.course-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.course-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-item h4::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Reviews */
.review-blockquote {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  padding: 24px;
  margin: 16px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.review-blockquote:hover {
  box-shadow: var(--shadow-sm);
}

.review-blockquote::before {
  content: '"';
  font-size: 48px;
  color: var(--primary);
  position: absolute;
  top: 8px;
  left: 16px;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.review-blockquote p {
  font-size: 14px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
  position: relative;
  line-height: 1.7;
}

.review-blockquote footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-style: normal;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
}

.rating {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.price-item {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-align: center;
}

.price-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.price-item .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.price-item .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Call to Action */
.cta-section {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  margin: 32px 0;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.cta-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: none;
}

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

/* Contact */
.contact-info {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border-light);
}

.contact-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Alert */
.alert-success {
  background: rgba(94, 189, 140, 0.1);
  color: var(--primary-dark);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  margin-top: 16px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  border: 1px solid rgba(94, 189, 140, 0.2);
}

/* Colored Cards */
.card-highlight {
  background: var(--primary-gradient);
  color: white;
  padding: 24px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.card-highlight h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-highlight p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.card-secondary {
  background: var(--secondary-gradient);
  color: white;
  padding: 24px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.card-secondary h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-secondary p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-container {
    padding: 16px;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .hero-section {
    padding: 32px 24px;
  }
  
  .section {
    padding: 20px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 32px 20px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(94, 189, 140, 0.2);
  color: var(--text-primary);
}
