:root {
  --forest:   #1b3a2d;
  --grove:    #2d5c43;
  --moss:     #4a8c64;
  --mint:     #7ec8a0;
  --cream:    #f4efe6;
  --ivory:    #faf8f4;
  --charcoal: #1e1e1e;
  --stone:    #6b6b6b;
  --gold:     #c9a96e;
  --warm:     #e8e0d0;
  --font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
  position: static;
  top: 0;
  width: 100%;
  background-color: var(--ivory);
  border-bottom: 1px solid var(--warm);
  display: flex;
  align-items: center;
  padding: 1.25rem 2rem;
  box-sizing: border-box;
}

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

.header-logo img {
  display: block;
}

/* Common Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* Common Background Alternation (Starts after Problem section) */
.service, .how-it-works, .locations {
  background-color: var(--warm);
  color: var(--charcoal);
}

.strengths, .additional-services {
  background-color: var(--grove);
  color: var(--ivory);
}

.problem {
  background-color: var(--ivory);
  color: var(--charcoal);
}

/* Base Headings */
h1, h2, h3 {
  line-height: 1.4;
  margin-top: 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: 600;
}

/* Alternating text colors */
.strengths h2, .additional-services h2 {
  color: var(--ivory);
}
.strengths .section-header p, .additional-services .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.service h2, .how-it-works h2, .locations h2, .problem h2 {
  color: var(--forest);
}
.service .section-header p, .how-it-works .section-header p, .locations .section-header p, .problem .section-header p {
  color: rgba(0, 0, 0, 0.6);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  margin: 0;
}

/* Landing Page Sections */
/* The Hero is odd, but needs explicit override to forest */
.hero {
  text-align: left;
  padding: 8rem 0 6rem;
  background-color: var(--forest) !important;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  color: var(--ivory);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--mint);
}

.hero-eyebrow {
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
  line-height: 1.25;
  font-weight: 500;
}

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

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3.5rem;
  max-width: 650px;
  line-height: 1.8;
}

/* Hero Buttons (Empty now as buttons were removed but keeping structure in case they return) */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-divider {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 3rem 0;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 3.2rem;
  color: var(--mint);
  font-family: 'Times New Roman', Times, serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-unit {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Grids & Common Cards */
.problem-grid, .strengths-grid, .additional-grid, .location-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Light cards for Problem section */
.problem-card {
  background-color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: none;
  border-top: 4px solid var(--mint);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
  text-align: left;
  color: var(--charcoal);
}

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

.problem-card h3 {
  color: var(--charcoal);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.problem-icon {
  margin-bottom: 1.5rem;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--cream);
  color: var(--moss);
}

/* Inner elements for Grove sections */
.strength-card, .additional-card {
  background-color: var(--forest);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: transform 0.2s ease;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
}

.strength-card:hover, .additional-card:hover {
  transform: translateY(-4px);
}

.strength-card h3, .additional-card h3 {
  color: var(--mint);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.strength-card p, .additional-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Elements for Warm sections */
.service-content {
  background-color: var(--ivory);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.service-text h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--grove);
}

.service-text p {
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.flow-step {
  background: var(--ivory);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
}

.flow-step-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest);
  background: var(--cream);
  min-width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  border: 4px solid var(--ivory);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.flow-step-content {
  flex: 1;
}

.flow-step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--forest);
}

.flow-step-content p {
  color: var(--stone);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.location-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background-color: var(--ivory);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  background-repeat: no-repeat;
  background-position: center bottom -20px;
  background-size: 140px; 
}

#loc-tokyo { background-image: url('data/assets/tokyo-bg.svg'); }
#loc-osaka { background-image: url('data/assets/osaka-bg.svg'); }
#loc-fukuoka { background-image: url('data/assets/fukuoka-bg.svg'); }

.location-card h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--grove);
}

.location-card p {
  color: var(--stone);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 4rem 1rem;
}

.footer p {
  margin: 0.5rem 0;
}

.footer a {
  color: var(--mint);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 0.8;
}

/* Shipping Page */
.shipping-container {
  max-width: 600px;
  margin: 4rem auto 6rem;
  padding: 0 1.5rem;
  text-align: center;
}

.shipping-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.shipping-id {
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 2.5rem;
  font-family: monospace;
}

.shipping-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.shipping-table th, .shipping-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--warm);
  font-size: 1.1rem;
}

.shipping-table th {
  background-color: var(--cream);
  color: var(--forest);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.shipping-table td.prefectures {
  text-align: left;
  font-size: 0.9rem;
  color: var(--stone);
}

.shipping-table td.price {
  text-align: right;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}

.shipping-table tr:last-child th, .shipping-table tr:last-child td {
  border-bottom: none;
}

.shipping-note {
  font-size: 0.95rem;
  color: var(--stone);
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--warm);
  text-align: left;
  line-height: 1.6;
}

.prefecture-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--stone);
  opacity: 0.7;
  margin-top: 1rem;
  margin-right: 0.5rem;
  font-family: monospace;
}

.error-message {
  color: #c62828;
  padding: 2rem;
  background-color: #ffebee;
  border-radius: 8px;
  font-weight: 500;
}

@media (max-width: 600px) {
  section {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  h2 {
    font-size: 1.6rem;
  }
  
  .flow-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .shipping-table th, .shipping-table td {
    padding: 1rem;
    font-size: 1rem;
  }
}

