:root {
  --forest: #143c2a;
  --forest-dark: #0b2418;
  --leaf: #2f7d4f;
  --lime: #b9d15a;
  --wood: #9a6a39;
  --paper: #ffffff;
  --soft: #f4f7f1;
  --ink: #19221c;
  --muted: #5f695f;
  --border: #dce6d7;
  --shadow: 0 18px 46px rgba(11, 36, 24, 0.16);
  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--font-main); line-height: 1.8; background: var(--soft); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(20,60,42,0.12);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest-dark); font-family: var(--font-accent); font-weight: 900; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--forest); color: #fff; }
.site-nav { display: flex; gap: 20px; color: var(--forest-dark); font-size: 0.92rem; font-weight: 800; }
.site-nav a:hover { color: var(--leaf); }

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 76px;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,36,24,0.94), rgba(11,36,24,0.66) 50%, rgba(11,36,24,0.18)), url('assets/bassai-hero.jpg') center / cover no-repeat;
  transform: scale(1.02);
}
.hero-content { position: relative; width: min(820px, 100%); }
.eyebrow,
.section-kicker { margin: 0 0 10px; color: var(--lime); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; }
.hero h1 { margin: 0; font-family: var(--font-accent); font-size: clamp(2.15rem, 6.6vw, 5.35rem); line-height: 1.14; letter-spacing: 0; }
.lead { width: min(720px, 100%); margin: 22px 0 0; font-size: clamp(1rem, 2vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-btn,
.secondary-btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 8px; font-weight: 900; }
.primary-btn { background: linear-gradient(135deg, var(--leaf), var(--forest)); color: #fff; }
.secondary-btn { border: 1px solid rgba(255,255,255,0.72); color: #fff; }
.secondary-btn.dark { border-color: var(--border); color: var(--forest-dark); background: #fff; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { width: min(820px, 100%); margin-bottom: 36px; }
h2 { margin: 0; color: var(--forest-dark); font-family: var(--font-accent); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.32; }
.section-heading p,
.case-grid p,
.contact-box p { color: var(--muted); margin: 16px 0 0; }

.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-grid article,
.case-list article,
.flow-grid article {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(11,36,24,0.08);
}
.service-grid span,
.flow-grid span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 999px; background: #e9f4e6; color: var(--forest); font-weight: 900; }
.service-grid h3,
.flow-grid h3 { margin: 12px 0 8px; color: var(--forest-dark); }
.service-grid p,
.flow-grid p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.cases { background: var(--forest-dark); color: #fff; }
.cases h2 { color: #fff; }
.case-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.case-grid p { color: rgba(255,255,255,0.82); }
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case-list article { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); box-shadow: none; }
.case-list strong { color: var(--lime); }
.case-list p { margin: 8px 0 0; }

.flow { background: #fff; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; }
.faq-list summary { cursor: pointer; color: var(--forest-dark); font-weight: 900; }
.faq-list p { margin: 12px 0 0; color: var(--muted); }

.contact { background: linear-gradient(135deg, var(--forest), var(--forest-dark)); color: #fff; }
.contact h2 { color: #fff; }
.contact-box { width: min(860px, calc(100% - 40px)); }
.contact-box p { color: rgba(255,255,255,0.82); }
.site-footer { min-height: 72px; padding: 18px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; background: var(--forest-dark); }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 12px 18px; }
  .site-nav { width: 100%; gap: 14px; overflow-x: auto; font-size: 0.84rem; }
  .hero { min-height: 88vh; padding-top: 128px; }
  .service-grid,
  .case-grid,
  .case-list,
  .flow-grid { grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
