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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #2c3e50;
  background: #ffffff;
  line-height: 1.8;
  overflow-x: hidden;
}

:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --accent: #66BB6A;
  --accent-light: #A5D6A7;
  --secondary: #F57C00;
  --dark: #1a1a1a;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --bg: #ffffff;
  --bg-light: #f5f5f5;
  --bg-green: #E8F5E9;
  --border: #e8e8e8;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--shadow);
  z-index: 100;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 0.75rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--primary);
  color: var(--bg);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 6rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--bg);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--bg);
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 3rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1.125rem 2.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  color: var(--bg);
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--bg-green);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Programs Section */
.programs-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.program-card {
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow);
}

.program-image {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.program-1 {
  background: linear-gradient(135deg, #66BB6A 0%, #2E7D32 100%);
}

.program-2 {
  background: linear-gradient(135deg, #4CAF50 0%, #1B5E20 100%);
}

.program-3 {
  background: linear-gradient(135deg, #A5D6A7 0%, #4CAF50 100%);
}

.program-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.program-content {
  padding: 2rem;
}

.program-content h3 {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.program-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.program-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.program-list li {
  padding: 0.5rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.program-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

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

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  position: relative;
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: var(--text);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bg);
  letter-spacing: 0.02em;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
}

.btn-cta {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--bg);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.btn-cta:hover {
  background: transparent;
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--bg);
  padding: 4rem 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-main h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  color: var(--bg);
}

.footer-col-main p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-col h5 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  color: var(--bg);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Mobile Menu */
.nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  flex-direction: column;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 6px var(--shadow);
}

.nav.open .nav-link {
  padding: 0.75rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    min-height: 75vh;
    padding: 4rem 0;
  }

  .hero-stats {
    gap: 2rem;
  }

  .features-grid,
  .programs-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Text wrapping */
h1, h2, h3, h4, h5, p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

