﻿/* Global Custom Variables */
:root {
  --primary: #1b4332;
  --primary-light: #2d6a4f;
  --accent: #40916c;
  --accent-light: #d8f3dc;
  --gold: #d4af37;
  --text-dark: #2d312e;
  --text-light: #707070;
  --bg-sand: #fdfbf7;
  --bg-white: #ffffff;
  --shadow: 0 10px 30px rgba(27, 67, 50, 0.08);
  --transition: all 0.3s ease-in-out;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-sand);
}

body {
  line-height: 1.8;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-light);
}

/* Header & Navigation */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.brand-logo img {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

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

.nav-cta-btn {
  background-color: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(27,67,50,0.2);
}

.nav-cta-btn:hover {
  background-color: var(--accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding: 80px 20px;
  background: radial-gradient(circle at 80% 20%, #eefbf4 0%, var(--bg-sand) 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 25px;
}

.hero-content h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 35px;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.primary-btn {
  background-color: var(--primary);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(27,67,50,0.25);
}

.primary-btn:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
}

.secondary-btn:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  color: var(--primary);
}

.trust-strip {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  color: var(--gold);
  font-weight: bold;
}

.trust-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--primary);
  color: #fff;
  padding: 20px;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(27,67,50,0.3);
}

.badge-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--gold);
}

.badge-txt {
  font-size: 11px;
  font-weight: 700;
}

/* Sections Global styling */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-top: 10px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 15px;
}

/* Value Proposition Section */
.benefits-section {
  padding: 100px 20px;
  background-color: var(--bg-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background-color: var(--bg-sand);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.benefit-info {
  padding: 25px;
}

.benefit-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.benefit-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: 100px 20px;
  background-color: var(--bg-sand);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  background-color: var(--bg-white);
  padding: 40px 25px 25px 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 25px;
  background-color: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(64,145,108,0.3);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Services Section */
.services-section {
  padding: 100px 20px;
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  background-color: var(--bg-sand);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-img-wrapper {
  flex: 0 0 200px;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 30px;
  flex: 1;
}

.service-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-content p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
}

.service-features li {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: "✦";
  color: var(--accent);
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 20px;
  background-color: var(--bg-sand);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-rating {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
}

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

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.author-meta {
  font-size: 12px;
  color: var(--text-light);
}

/* FAQ Section */
.faq-section {
  padding: 100px 20px;
  background-color: var(--bg-white);
}

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

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.faq-icon {
  font-size: 20px;
  color: var(--accent);
  transition: var(--transition);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* About Section */
.about-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--bg-white) 0%, #eefbf4 100%);
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-text-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 25px;
}

.about-text-content p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: left;
}

/* Lead Form Section */
.lead-form-section {
  padding: 100px 20px;
  background-color: var(--bg-sand);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 45px rgba(27,67,50,0.12);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
}

.form-header p {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.required {
  color: #d90429;
}

.form-field input, .form-field select, .form-field textarea {
  padding: 12px 15px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.15);
}

.field-hint {
  font-size: 12px;
  color: var(--text-light);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.form-consent input {
  margin-top: 4px;
}

.submit-btn {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

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

/* Loader Animation */
.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form Feedback States */
.form-feedbacksuccess, .form-feedbackerror {
  text-align: center;
  padding: 40px 20px;
}

.success-icon, .error-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.success-icon {
  color: var(--accent);
}

.error-icon {
  color: #d90429;
}

.form-feedbacksuccess h3, .form-feedbackerror h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.form-feedbacksuccess p, .form-feedbackerror p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.back-btn {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 25px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(27,67,50,0.98);
  color: #fff;
  padding: 20px;
  z-index: 2000;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-banner-content p {
  font-size: 13px;
  line-height: 1.6;
}

.cookie-banner-content a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner-btns {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.cookie-btn.accept {
  background-color: var(--gold);
  color: var(--primary);
}

.cookie-btn.decline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Site Footer */
.site-footer {
  background-color: #112d22;
  color: rgba(255,255,255,0.8);
  padding: 80px 20px 40px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 50px;
}

.footer-about img {
  margin-bottom: 20px;
}

.operator-statement {
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact h3, .footer-links h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-contact p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
}

.cross-border-notice {
  font-size: 11px;
  color: var(--gold);
  margin-top: 15px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Legal Content Pages styling */
.legal-main {
  max-width: 900px;
  margin: 50px auto;
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.legal-main h1 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 15px;
}

.legal-main .date {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.legal-main h2 {
  font-size: 20px;
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

.legal-main p {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.legal-main ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.legal-main li {
  font-size: 14px;
  margin-bottom: 8px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    transition: 0.3s ease-out;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .trust-strip {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    flex-direction: column;
  }
  
  .service-img-wrapper {
    flex: 0 0 200px;
    height: 200px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
}
