/* =====================================================
   CSS RESET & BASELINE (Normalize & Modern Reset)
   ===================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*,*::before,*::after {
  box-sizing: inherit;
}
body {
  background: #f5f7f5;
  color: #2b332a;
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #397e4c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #232931;
  text-decoration: underline;
}
ul,ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-weight: 700;
  line-height: 1.13;
  color: #293522;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; letter-spacing: 0.04em; }
h2 { font-size: 1.8rem; margin-bottom: 16px; letter-spacing: 0.03em; }
h3 { font-size: 1.3rem; margin-bottom: 12px; letter-spacing: 0.02em; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }

p,li,dl,dt,dd {
  color: #34472c;
  font-family: 'Noto Sans JP', Arial, sans-serif;
  margin-bottom: 0.8em;
}
strong {
  font-weight: bold;
  color: #2a3a27;
}

/* ===========
   COLORS
   =========== */
:root {
  --c-primary: #232931;
  --c-secondary: #4ECCA3;
  --c-accent: #F9F9F9;
  --c-earth: #a98c6a;
  --c-green: #7fa87e;
  --c-leaf: #3b6847;
  --c-sand: #ede1ce;
  --c-bark: #685c47;
  --c-bg: #f5f7f5;
  --c-error: #b33c2a;
  --c-ok: #397e4c;
}

/* ============
   LAYOUT UTILS
   ============ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  background: var(--c-accent);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  box-shadow: 0 4px 16px rgba(137, 139, 90, 0.08), 0 1.5px 3px rgba(100,45,12,0.04);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(90,112,80,0.12);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid var(--c-sand);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 18px rgba(70, 94, 48, 0.17);
  border-color: var(--c-secondary);
  transform: translateY(-2px) scale(1.012);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid, .team-bios {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f4f7ef;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(70, 94, 48, 0.13);
  border-left: 5px solid var(--c-green);
  transition: box-shadow 0.16s, border-left-color 0.18s;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  color: #232931;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--c-green);
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px rgba(60, 80, 38, 0.17);
  border-left-color: var(--c-secondary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 200px;
  min-width: 220px;
  background: #f0f8f5;
  border-radius: 14px;
  padding: 20px 18px 16px 18px;
  box-shadow: 0 1px 5px rgba(99,139,79,0.09);
  border: 1.5px solid #e4e9e2;
  transition: box-shadow 0.17s, border-color 0.14s;
}
.feature-item img {
  height: 38px;
  width: 38px;
  object-fit: contain;
}
.feature-item:hover {
  border-color: var(--c-secondary);
  box-shadow: 0 2px 11px rgba(60, 166, 52, 0.12);
}
.feature-item h3 {
  color: #2a4324;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
}

.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.team-bios > div {
  flex: 1 1 260px;
  min-width: 200px;
  padding: 18px 14px 16px;
  background: #f5f7f5;
  border-radius: 16px;
  border: 1.3px solid #e7e5d0;
  box-shadow: 0 1px 5px rgba(100,130,65,0.06);
}

/* ==========================
   HEADER & NAVIGATION
   ========================== */
header {
  background: #f7f8f6;
  box-shadow: 0 1.5px 12px rgba(80, 73, 60, 0.07);
  padding: 0;
  position: relative;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 28px;
}
.desktop-nav a {
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--c-primary);
  padding: 7px 6px;
  border-radius: 5px;
  transition: background 0.2s, color 0.18s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: var(--c-secondary);
  color: #fff;
}
.cta-btn {
  background: var(--c-secondary);
  color: #fff;
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 20px 20px 26px 20px;
  box-shadow: 0 2px 8px rgba(60,166,52,0.10);
  padding: 10px 36px;
  font-size: 1.06rem;
  margin-left: 28px;
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
  cursor: pointer;
  letter-spacing: 0.04em;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #397e4c;
  box-shadow: 0 5px 20px rgba(60, 166, 52, 0.13);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}

@media (max-width: 1000px) {
  .desktop-nav {
    gap: 16px;
    margin-left: 11px;
  }
  .cta-btn {
    margin-left: 11px;
    padding: 9px 20px;
  }
}

@media (max-width: 820px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 0 8px;
  }
  .desktop-nav {
    gap: 0;
    margin-left: 0;
  }
  .cta-btn {
    margin-left: 2px;
    font-size: 0.98rem;
  }
}

/* =========
   HERO
   ========= */
.hero {
  background: linear-gradient(88deg, #f6f5eb 56%, #e4edde 100%);
  border-radius: 0 0 38px 38px/0 0 16px 16px;
  box-shadow: 0 3px 28px rgba(65,75,58,0.04) inset;
  margin-bottom: 60px;
  padding: 60px 0 54px 0;
}
.hero .container, .hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}
.hero h1 {
  color: #244c29;
  font-family: 'Noto Serif JP', serif;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.12rem;
  color: #2e3c27;
  margin-bottom: 14px;
}
.hero .cta-btn {
  margin-left: 0;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 28px 0;
    margin-bottom: 32px;
  }
  .hero h1 { font-size: 1.42rem; }
  .hero p { font-size: 1rem; }
}

/* =============
   MAIN CTAS
   ============= */
.cta {
  background: linear-gradient(102deg, #ecf5eb 71%, #e7ede5 100%);
  border-radius: 28px;
  box-shadow: 0 1.5px 10px rgba(40, 71, 41, 0.07);
  margin-bottom: 0;
  padding-top: 38px;
  padding-bottom: 38px;
  text-align: center;
}
.cta p {
  margin-bottom: 22px;
  font-size: 1.16rem;
  color: #234020;
  font-weight: 500;
}
.cta .cta-btn {
  font-size: 1.13rem;
}

/* ===========
   TABLES
   =========== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #f4f9f4;
  margin: 18px 0 28px;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(120,170,90,0.05);
  overflow: hidden;
}
thead tr {
  background: #e3eadf;
}
th, td {
  padding: 16px 10px;
  text-align: left;
  font-size: 1rem;
}
th {
  color: #184d3c;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
}
td {
  color: #273820;
  font-family: 'Noto Sans JP', sans-serif;
}
tr:not(:last-child) td, tr:not(:last-child) th {
  border-bottom: 1px solid #e5ebdb;
}

/* =====================
   FAQ & LIST STYLES
   ===================== */
dl { margin-bottom: 1.8em; }
dt {
  font-weight: bold;
  margin-top: 1.05em;
  color: #397e4c;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.06rem;
}
dd {
  margin-bottom: 0.6em;
}
.text-link {
  color: #3b6847;
  border-bottom: 2px solid var(--c-secondary);
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  transition: color 0.18s, border-color 0.18s;
}
.text-link:hover, .text-link:focus {
  color: #244c29;
  border-color: #244c29;
}
.callout {
  background: #e3ebdd;
  color: #254031;
  padding: 18px 14px;
  border-radius: 10px;
  margin-top: 18px;
  font-size: 1rem;
}

/* ===========
   FOOTER
   =========== */
footer {
  background: #e8eddf;
  padding: 38px 0 20px;
  border-radius: 34px 34px 0 0/14px 14px 0 0;
  box-shadow: 0 -2px 18px rgba(70, 94, 48, 0.07) inset;
}
footer .container {
  flex-direction: column;
  align-items: center;
}
.footer-brand {
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: #377f53;
  font-size: 0.99rem;
  transition: color 0.12s;
  font-weight: 600;
}
.footer-nav a:hover {
  color: #476b2e;
}
.footer-contact {
  color: #1a3522;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #20653b;
  text-decoration: underline;
}
footer small {
  font-size: 0.94rem;
  display: block;
  color: #484729;
  margin-top: 8px;
}

/* =====================
   MOBILE NAVIGATION
   ===================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 18px;
  z-index: 120;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 2.5px solid var(--c-green);
  border-radius: 50%;
  box-shadow: 0 1.5px 10px rgba(60,166,52,.11);
  font-size: 2.1rem;
  color: var(--c-green);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.16s, border-color 0.16s, background 0.18s;
}
.mobile-menu-toggle:active {
  box-shadow: 0 4px 21px rgba(60,166,52,0.16);
  border-color: #458863;
  background: #edf8ee;
}
@media (max-width: 900px) {
  .desktop-nav, header .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 41, 25, 0.93);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.7,.3,0,1), background 0.23s;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 24px 0 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 101;
  padding: 8px;
  transition: color 0.14s;
}
.mobile-menu-close:hover {
  color: var(--c-secondary);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 32px;
  padding: 0 30px;
}
.mobile-nav a {
  width: 100%;
  padding: 19px 0;
  margin-bottom: 2px;
  color: #fff;
  font-size: 1.21rem;
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-weight: bold;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(245, 248, 245, 0.17);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.15s, padding-left 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3a7e5b42;
  color: var(--c-secondary);
  padding-left: 14px;
}

@media (min-width: 901px) {
  .mobile-menu,.mobile-menu-toggle { display: none !important; }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #e2e6d2;
  color: #222b1c;
  box-shadow: 0 -2px 18px rgba(44, 66, 41, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 240;
  padding: 22px 12px 20px 12px;
  transition: transform 0.27s cubic-bezier(.9,.3,0,1), opacity 0.27s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #34522d;
  margin-bottom: 0.8em;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 8px;
  justify-content: center;
}
.cookie-btn {
  background: var(--c-green);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 14px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(60,166,52,0.04);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #397e4c;
  color: #fff;
  transform: translateY(-1.5px) scale(1.045);
}
.cookie-btn.reject {
  background: #b33c2a;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #a03127;
}
.cookie-btn.settings {
  background: #ede1ce;
  color: #34472c;
  border: 1px solid #a98c6a;
  box-shadow: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ebd9af;
  color: #2b332a;
  border-color: #bfa87b;
}

/* Modal for Cookie Preferences */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(47,63,37,0.76);
  z-index: 241;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fafcfb;
  color: #1a2a19;
  border-radius: 18px;
  max-width: 400px;
  width: 96vw;
  padding: 32px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 28px rgba(70,90,48,0.19);
  position: relative;
  animation: fadeInModal 0.22s;
}
@keyframes fadeInModal {
  from { transform: scale(0.97) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.22rem;
  color: #397e4c;
  margin-bottom: 10px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #334520;
  font-weight: 500;
  user-select: none;
}
.cookie-category input[type='checkbox'] {
  width: 20px; height: 20px;
  accent-color: #4ECCA3;
  margin-right: 2px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #197033;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover { color: #b33c2a; }

/* ================== 
   RESPONSIVE UTILITY
   ================== */
@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero, .section { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 420px) {
  html { font-size: 14px; }
}

/* ================
   MISC INTERFACE 
   ================ */
.text-section {
  background: #f4f9f4;
  border-radius: 12px;
  padding: 16px 12px;
  margin-top: 15px;
  margin-bottom: 10px;
}
.contact-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
  color: #2e4427;
}
.contact-info img {
  height: 20px;
  width: 20px;
}

/* ================
   SPECIAL ELEMENTS
   ================ */
/* List steps (how-to-use page) */
.usage-steps ol {
  list-style: none;
  counter-reset: usage-step;
}
.usage-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding: 12px 0;
  font-size: 1.01rem;
}
.usage-steps li img {
  width: 34px; height: 34px;
  object-fit: contain;
}
.usage-steps li strong {
  color: #2a4324;
  margin-right: 4px;
}

/* =======================
   VISUAL ORGANIC ACCENTS
   ======================= */
.section, .hero, .card, .feature-item, .testimonial-card, .callout, .cta,
.cookie-consent-banner, .cookie-modal-content {
  /* Subtle nature-inspired shadow and rounded corners applied above */
  /* Enhance with organic outline style if needed */
  /* Some sections have elliptical or less-perfect radii for organic impression */
}

/* Decorative Wavy Bottom for Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 46px;
  background:
    linear-gradient(180deg, #e4edde 0%, #ecf5eb 100%);
  border-bottom-left-radius: 38px 15px;
  border-bottom-right-radius: 38px 15px;
  z-index: 2;
  pointer-events: none;
}

/* ===============
   ANIMATIONS
   =============== */
a, .cta-btn, .text-link, .feature-item, .card, .cookie-btn, .mobile-nav a, .mobile-menu-toggle {
  transition: background 0.18s, color 0.15s, border-color 0.14s, transform 0.18s, box-shadow 0.19s;
}

/* Button click effect */
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* ===============
   PRINT STYLES
   =============== */
@media print {
  header, footer, nav, .mobile-menu, .cookie-consent-banner {
    display: none !important;
  }
  body { background: #fff; }
  .section, .card, .cta { background: #fff !important; box-shadow: none !important; }
}

/* ===============
   ACCESSIBILITY
   =============== */
:focus-visible  { outline: 3px solid #4ECCA3; outline-offset: 3px; }

