/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

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

/* Centered Content Class for Index Page */
.centered-content {
  text-align: center;
}

.centered-content .features-grid,
.centered-content .regions-grid,
.centered-content .products-grid,
.centered-content .services-grid,
.centered-content .testimonials-grid {
  max-width: 1000px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e3a8a;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #374151;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  padding: 1rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="washi" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23f8fafc"/><path d="M0 0L50 50L100 0" fill="%23e2e8f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23washi)"/></svg>') repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-text {
  text-align: left;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.feature-icon {
  font-size: 1.25rem;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: white;
}

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

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  background: #fefefe;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  background: #f0f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Regional Focus Section */
.regional-focus {
  padding: 4rem 0;
  background: #f8fafc;
}

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

.region-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.region-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Cultural Guidance Section */
.cultural-guidance {
  padding: 4rem 0;
  background: white;
}

.guidance-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.guidance-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guidance-list {
  list-style: none;
  margin-top: 2rem;
}

.guidance-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.guidance-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #dc2626;
}

/* Products Section */
.products {
  padding: 4rem 0;
  background: #f8fafc;
}

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

.product-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #dc2626;
  margin: 1rem 0;
}

.product-btn {
  background: #dc2626;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.product-btn:hover {
  background: #b91c1c;
}

.product-btn.secondary {
  background: #1e3a8a;
}

.product-btn.secondary:hover {
  background: #1e40af;
}

.product-btn.tertiary {
  background: #059669;
}

.product-btn.tertiary:hover {
  background: #047857;
}

.product-btn.quaternary {
  background: #7c3aed;
}

.product-btn.quaternary:hover {
  background: #6d28d9;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background: white;
}

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

.service-item {
  padding: 2rem;
  border-left: 4px solid #dc2626;
  background: #fefefe;
  border-radius: 0 8px 8px 0;
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background: #f8fafc;
}

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

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: #dc2626;
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 500;
  color: #64748b;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: #f0f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: #fbbf24;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
}

/* About Page Images */
.about-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .guidance-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid,
  .regions-grid,
  .products-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-links {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}