/* css/region-lp.css */

/* Hero Section */
.hero-osaka {
  background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
  margin-top: 60px; /* Offset for fixed header */
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 20px 0;
  line-height: 1.35;
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-subtitle strong {
  color: #ffd700;
  font-weight: 800;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.hero-cta .btn-primary.large {
  padding: 18px 40px;
  font-size: 1.25rem;
  font-weight: 800;
  background-color: #fbbf24;
  color: var(--text-main);
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.35);
  transition: all 0.3s ease;
}

.hero-cta .btn-primary.large:hover {
  background-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.5);
}

.hero-note {
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0.85;
  line-height: 1.6;
}

/* Access Table Section */
.access-times-section, .popular-schools-osaka, .testimonials-osaka, .cta-diagnosis {
  padding: 80px 20px;
}

.access-times-section {
  background: var(--white);
}

.section-container {
  max-width: 1000px;
  margin: 0 auto;
}

.access-times-section h2, .popular-schools-osaka h2, .testimonials-osaka h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 15px;
}

.section-intro {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.section-intro strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Access Table style */
.access-comparison-table {
  margin: 40px 0;
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

.access-comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 700px;
}

.access-comparison-table th {
  background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
  color: white;
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
}

.access-comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--text-main);
  font-size: 0.95rem;
}

.access-comparison-table tr:last-child td {
  border-bottom: none;
}

.school-name {
  font-weight: 700;
}

.school-name a {
  color: var(--text-main);
  transition: color 0.2s ease;
}

.school-name a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.access-time {
  font-weight: 800;
  text-align: center;
}

.access-time.excellent {
  color: #10b981;
}

.access-time.good {
  color: #3b82f6;
}

.access-time.medium {
  color: #f59e0b;
}

.access-time.far {
  color: #64748b;
}

.btn-link {
  display: inline-block;
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: all 0.2s ease;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.btn-link:hover {
  background: var(--primary-color);
  color: white !important;
  border-color: var(--primary-color);
}

.table-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 15px;
  font-style: italic;
  line-height: 1.6;
}

/* popular schools & testimonials */
.popular-schools-osaka {
  background: var(--bg-color);
}

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

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.testimonial .comment {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 500;
}

.testimonial .author {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 700;
  margin-top: auto;
  text-align: right;
}

/* CTA Section */
.cta-diagnosis {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  text-align: center;
  border-top: 1px solid #a7f3d0;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-diagnosis h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.cta-diagnosis p {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 30px;
}

.cta-diagnosis .btn-primary.large {
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 800;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
  transition: all 0.3s ease;
}

.cta-diagnosis .btn-primary.large:hover {
  background-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

/* Breadcrumb style */
.breadcrumb {
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 15px 20px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.breadcrumb li+li::before {
  content: ">";
  color: var(--text-light);
  margin-right: 8px;
}

.breadcrumb a {
  color: var(--text-light);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-osaka {
    padding: 70px 20px 50px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .hero-cta .btn-primary.large {
    padding: 14px 28px;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .access-times-section, .popular-schools-osaka, .testimonials-osaka, .cta-diagnosis {
    padding: 50px 20px;
  }
  .access-comparison-table th, .access-comparison-table td {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
}
