:root {
  --color-base:      #F8F6F3;
  --color-main:      #7B8471;
  --color-accent:    #D4A574;
  --color-text:      #2C2C2C;
  --font-heading:    'Noto Serif JP', serif;
  --font-body:       'Noto Sans JP', sans-serif;
  --radius:          12px;
  --section-padding: 80px;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.4;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--color-main);
  text-decoration: none;
}

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

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

section {
  padding: var(--section-padding) 0;
}

/* Header */
.header {
  background: rgba(248, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(123, 132, 113, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-main);
}

.nav {
  display: none;
}

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

.nav a {
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-main);
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-base);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  border-top: 1px solid rgba(123, 132, 113, 0.1);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 2rem;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(123, 132, 113, 0.1), rgba(248, 246, 243, 0.9)), url('../images/hero-bg.jpg') center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--color-main);
  margin-bottom: 1.5rem;
}

.hero-content .subtitle {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-accent);
  display: block;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-main);
  color: white;
  box-shadow: 0 4px 12px rgba(123, 132, 113, 0.3);
}

.btn-primary:hover {
  background: #697a60;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 132, 113, 0.4);
  color: white;
}

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

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

.btn-accent {
  background: var(--color-accent);
  color: white;
}

.btn-accent:hover {
  background: #c19660;
  color: white;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  fill: var(--color-main);
}

.card h3 {
  color: var(--color-main);
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

/* Section Styling */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-title .subtitle {
  font-size: 1.1rem;
  color: var(--color-text);
  opacity: 0.8;
}

/* Services Section */
.services {
  background: white;
  position: relative;
}

.service-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: var(--color-base);
  transition: transform 0.3s ease;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  fill: var(--color-main);
}

/* About Section - Asymmetric Layout */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  order: 2;
}

.about-image {
  order: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.experience-highlight {
  background: var(--color-main);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}

.experience-highlight .number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: bold;
  display: block;
}

/* Testimonials */
.testimonials {
  background: var(--color-base);
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
  margin: 1rem 0;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.author-info h4 {
  color: var(--color-main);
  margin-bottom: 0.25rem;
}

.author-info span {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Contact Section */
.contact {
  background: white;
}

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

.contact-method {
  text-align: center;
  padding: 2rem;
  background: var(--color-base);
  border-radius: var(--radius);
}

.contact-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  fill: var(--color-main);
}

.contact-method h3 {
  color: var(--color-main);
  margin-bottom: 0.5rem;
}

.contact-info {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.1rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(123, 132, 113, 0.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-main);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

/* Footer */
.footer {
  background: var(--color-main);
  color: white;
  text-align: center;
  padding: 3rem 0 2rem;
}

.footer-content {
  margin-bottom: 2rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.9);
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.social-link {
  display: inline-block;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: var(--color-accent);
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: white;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  opacity: 0.7;
}

/* Wave Dividers */
.wave-divider {
  position: relative;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet Styles */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }

  .nav {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-stats {
    gap: 3rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
  }

  .contact-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop Styles */
@media (min-width: 1280px) {
  .hero-content h1 {
    font-size: 4rem;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Asymmetric layout for about section */
  .about-content {
    grid-template-columns: 5fr 6fr;
  }

  .section-title h2 {
    font-size: 3rem;
  }

  .container {
    padding: 0 2rem;
  }
}