:root {
  --ink: #15201b;
  --muted: #5f6a62;
  --paper: #fbfaf6;
  --mist: #eef1e8;
  --reed: #587a46;
  --reed-dark: #2f4c34;
  --clay: #b45f3d;
  --line: rgba(21, 32, 27, 0.14);
  --shadow: 0 20px 45px rgba(30, 45, 35, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 20;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--reed-dark);
  color: #fff;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--reed-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100svh - 71px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(40px, 7vw, 90px) clamp(18px, 4vw, 54px);
  background:
    linear-gradient(90deg, rgba(251,250,246,0.96) 0%, rgba(251,250,246,0.84) 45%, rgba(251,250,246,0.36) 100%),
    radial-gradient(circle at 86% 15%, rgba(180,95,61,0.18), transparent 28%),
    linear-gradient(135deg, #f7f2e8, #e4eadb 62%, #c9d5b6);
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(54vw, 720px);
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 14px;
  padding: 7vw 5vw;
  opacity: 0.9;
  transform: rotate(-4deg);
}

.hero-art span {
  min-height: 170px;
  border: 1px solid rgba(21, 32, 27, 0.18);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.2), transparent),
    repeating-linear-gradient(90deg, rgba(47,76,52,0.18) 0 2px, transparent 2px 12px),
    #d8dfc4;
  box-shadow: var(--shadow);
}

.hero-art span:nth-child(2),
.hero-art span:nth-child(3) {
  background:
    repeating-linear-gradient(0deg, rgba(21,32,27,0.16) 0 2px, transparent 2px 10px),
    #bec99f;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  animation: rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-copy {
  max-width: 650px;
  color: #344238;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--reed-dark);
  color: #fff;
}

.btn.secondary {
  border-color: rgba(47, 76, 52, 0.34);
  background: rgba(255,255,255,0.54);
  color: var(--reed-dark);
}

.btn.light {
  background: #fff;
  color: var(--reed-dark);
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 760px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-summary div {
  padding: 18px;
  background: rgba(251, 250, 246, 0.88);
}

.hero-summary strong,
.hero-summary span {
  display: block;
}

.hero-summary span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.section-band,
.cta-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 54px);
}

.section-band {
  background: var(--mist);
}

.section-grid,
.trust,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.lead-block,
.trust-points,
.about-layout > div:last-child {
  font-size: 1.08rem;
  color: #354239;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--reed-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card,
.steps article,
.value-grid article {
  background: #fff;
  padding: clamp(20px, 3vw, 30px);
}

.service-card span,
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  background: var(--mist);
  color: var(--reed-dark);
  font-weight: 900;
}

.service-card p,
.steps p,
.value-grid p,
.services-detail p,
.services-detail li {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.inquiry-section {
  background:
    linear-gradient(135deg, rgba(88,122,70,0.12), rgba(180,95,61,0.08)),
    var(--paper);
}

.inquiry-box {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.inquiry-box label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: var(--ink);
}

.inquiry-box input,
.inquiry-box select,
.inquiry-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfaf6;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  min-height: 48px;
}

.inquiry-box textarea {
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--reed-dark);
  color: #fff;
}

.cta-section .eyebrow {
  color: #e8b49c;
}

.cta-section h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  background: #111915;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.72);
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-hero {
  padding: clamp(58px, 9vw, 116px) clamp(18px, 4vw, 54px);
  background:
    linear-gradient(90deg, rgba(251,250,246,0.98), rgba(251,250,246,0.78)),
    repeating-linear-gradient(90deg, rgba(88,122,70,0.12) 0 2px, transparent 2px 16px),
    var(--mist);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.services-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.services-detail article {
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
}

.services-detail ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-panel,
.contact-note {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 42px);
}

.contact-panel dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.contact-panel dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-panel dd {
  margin: 3px 0 0;
  font-weight: 700;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .service-grid,
  .services-detail,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inquiry-box {
    grid-template-columns: 1fr 1fr;
  }

  .mailto-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .hero-art {
    width: 100%;
    opacity: 0.28;
    padding: 0;
    transform: rotate(-5deg) translate(16%, 4%);
  }

  .hero-art span {
    min-height: 120px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    margin: 20px 0 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-summary,
  .steps,
  .section-grid,
  .trust,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-summary div {
    padding: 13px 14px;
  }

  .service-grid,
  .services-detail,
  .value-grid,
  .inquiry-box {
    grid-template-columns: 1fr;
  }

  .section,
  .section-band,
  .cta-section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cta-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer div:last-child {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
