:root {
  --primary-color: #1a365d;
  --secondary-color: #2a4365;
  --accent-color: #eab308;
  --text-color: #1a202c;
  --light-text: #e2e8f0;
  --background-light: #f8fafc;
  --background-dark: #1a202c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  background-color: white;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

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

.title-accent {
  font-family: 'Playfair Display', serif;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
}

.logo-text {
  margin-left: 0.75rem;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-text p {
  font-size: 0.875rem;
  color: var(--secondary-color);
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.contact-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 13rem 0 8rem;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(25, 39, 78, 0.9) 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1171&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -1;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-btn:hover {
  background-color: #fcd34d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Divider */
.section-divider {
  height: 4px;
  width: 100px;
  background-color: var(--accent-color);
  margin: 0 auto 3rem;
}

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

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: white;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: #4a5568;
  line-height: 1.6;
}

/* Program Flow Section */
.program {
  padding: 6rem 0;
  background-color: white;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px);
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #4a5568;
}

/* Courses Section */
.courses {
  padding: 6rem 0;
  background-color: var(--background-light);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.course-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.course-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-content {
  padding: 2rem;
}

.course-title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.course-title h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.course-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-left: 1rem;
}

.course-content p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.course-meta span {
  display: flex;
  align-items: center;
}

.course-meta i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

/* Price Section */
.pricing {
  padding: 6rem 0;
  background-color: white;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background-color: white;
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 2px solid var(--background-light);
}

.price-card.featured {
  border-color: var(--accent-color);
  position: relative;
  z-index: 1;
}

.price-card.featured::before {
  content: 'おすすめ';
  position: absolute;
  top: -1rem;
  right: -1rem;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: #4a5568;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.price-card li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: #4a5568;
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.price-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

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

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

.testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  font-style: italic;
  color: #4a5568;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  position: absolute;
  left: -1.5rem;
  top: -2rem;
  color: #e2e8f0;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.9rem;
  color: #4a5568;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  background-color: #fcd34d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
  color: #4a5568;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 1rem;
  font-size: 1.25rem;
}

.contact-item-content h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.contact-item-content p, .contact-item-content a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item-content a:hover {
  color: var(--accent-color);
}

.contact-form {
  background-color: var(--background-light);
  padding: 3rem;
  border-radius: 8px;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* Footer */
footer {
  background-color: var(--background-dark);
  color: var(--light-text);
  padding: 4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-about p {
  margin-bottom: 1.5rem;
  color: #a0aec0;
}

.social-icons {
  display: flex;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  margin-right: 0.75rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.footer-nav h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

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

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

.footer-nav a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Helper Classes */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.75rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    float: right;
  }
  
  .timeline-item::after {
    left: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-nav {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .mobile-nav.active {
    transform: translateY(0);
  }
  
  .mobile-nav ul {
    list-style: none;
  }
  
  .mobile-nav li {
    margin: 0;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid #f1f1f1;
  }
  
  .mobile-nav li:last-child {
    border-bottom: none;
  }
  
  .mobile-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    display: block;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  

  .mobile-nav {
    display: none;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .mobile-nav.active {
    display: block;
  }
  

  @media (max-width: 768px) {
    .logo-text h1 {
      font-size: 1.2rem;
    }
    .logo-text p {
      font-size: 0.8rem;
    }
    .timeline::before {
      display: none;
    }
    .timeline-item::after {
      display: none;
    }
    .logo img {
      display: none;
    }

  }
  
}