:root {
  --paper: #f5f4ef;
  --surface: #fbfaf7;
  --ink: #15201b;
  --muted: #58635d;
  --line: #d8dbd2;
  --green: #17352a;
  --green-deep: #0f251d;
  --amber: #96531f;
  --amber-soft: #f2b36d;
  --radius: 6px;
  --header-h: 68px;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(100% - clamp(40px, 9vw, 96px), 1120px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 244, 239, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  display: block;
  width: auto;
  height: 26px;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--ink);
}

.site-nav a[aria-current]::after {
  transform: scaleX(1);
}

/* ---------- Buttons & links ---------- */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--green-deep);
}

.button span {
  transition: transform 160ms ease;
}

.button:hover span {
  transform: translateX(3px);
}

.button-small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 0.8125rem;
}

.button-light {
  background: #fff;
  color: var(--green-deep);
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.button-light:hover {
  background: var(--amber-soft);
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  transition: opacity 160ms ease;
}

.text-link:hover {
  opacity: 0.6;
}

/* ---------- Labels & headings ---------- */

.eyebrow,
.label,
.index,
.facts dt,
.product-kicker {
  font-family: var(--font-en), var(--font-ja);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.eyebrow,
.label {
  color: var(--amber);
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

h2 {
  max-width: 22em;
  font-size: clamp(1.625rem, 3.1vw, 2.375rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.6;
}

.lead {
  max-width: 40em;
  margin-top: 24px;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(72px, 13vw, 168px) 0 clamp(56px, 8vw, 96px);
}

.hero h1 {
  margin-top: 28px;
}

.hero-lead {
  max-width: 36em;
  margin-top: 36px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 2.1;
  text-wrap: pretty;
}

.actions {
  display: flex;
  margin-top: 44px;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

.facts {
  display: grid;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.facts > div {
  padding: 22px 24px 0 0;
}

.facts > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  letter-spacing: 0.1em;
}

.facts dd {
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
}

.facts .num {
  margin-right: 4px;
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 10vw, 136px) 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
}

.split > .label {
  padding-top: 0.9em;
}

.section-tint {
  background: var(--surface);
}

.section-dark {
  border-top: 0;
  background: var(--green);
  color: #fff;
}

.section-dark .label {
  color: var(--amber-soft);
}

.section-dark .lead,
.section-dark .note {
  color: rgba(255, 255, 255, 0.78);
}

/* Services */

.service-list {
  margin-top: 56px;
  border-top: 1px solid var(--ink);
}

.service-list li {
  display: grid;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 56px minmax(0, 15em) minmax(0, 1fr);
  gap: 8px 24px;
  align-items: baseline;
}

.index {
  color: var(--amber);
}

.service-list p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Maintenance */

.plan {
  display: grid;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 56px;
}

.note {
  margin-top: 12px;
  font-size: 0.875rem;
}

.check-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  line-height: 1.7;
}

.check-list li:first-child {
  padding-top: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1.45em;
  left: 4px;
  width: 12px;
  height: 6px;
  border-bottom: 2px solid var(--amber-soft);
  border-left: 2px solid var(--amber-soft);
  transform: rotate(-45deg);
}

.check-list li:first-child::before {
  top: 0.55em;
}

/* Approach */

.points {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.points article {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.points p,
.flow p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.plain-list {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.plain-list li {
  position: relative;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 1.6em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--amber);
}

/* Flow */

.flow {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.flow li {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.flow h3 {
  margin-top: 20px;
}

/* Products */

.products {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product {
  display: flex;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.product:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.product-kicker {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.product h3 {
  font-size: 1.5rem;
}

.product p:not(.product-kicker) {
  color: var(--muted);
  font-size: 0.9375rem;
}

.product .text-link {
  margin-top: auto;
  transform: translateY(8px);
}

/* FAQ */

.faq {
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform 200ms ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  max-width: 44em;
  padding: 0 48px 28px 0;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact {
  padding: clamp(80px, 11vw, 152px) 0;
  background: var(--green-deep);
  color: #fff;
}

.contact .label {
  color: var(--amber-soft);
}

.contact h2 {
  max-width: none;
  margin-top: 24px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.35;
}

.contact-grid {
  display: grid;
  margin-top: 56px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px 72px;
}

.contact-grid p {
  max-width: 38em;
  color: rgba(255, 255, 255, 0.82);
}

.contact .button {
  margin-top: 36px;
}

.contact h3 {
  font-size: 0.9375rem;
}

.contact .plain-list {
  margin-top: 12px;
  grid-template-columns: 1fr;
}

.contact .plain-list li {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
}

.contact .plain-list li::before {
  background: var(--amber-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.footer-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 22px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

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

/* ---------- Privacy policy ---------- */

.policy {
  max-width: 760px;
  padding-block: clamp(48px, 8vw, 96px);
}

.policy h1 {
  margin-block: 12px 16px;
  font-size: clamp(2.125rem, 5vw, 3.5rem);
}

.policy-date {
  margin-bottom: 32px;
  color: var(--muted);
}

.policy-card {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.policy-card + .policy-card,
.policy-card p + p,
.policy-card ul {
  margin-top: 16px;
}

.policy-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.policy-card ul {
  padding-inline-start: 1.35em;
  list-style: disc;
}

.policy-card a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .site-nav {
    gap: 20px;
  }

  .split {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 32px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-h: 60px;
  }

  .site-nav {
    display: none;
  }

  .split,
  .plan,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 16px;
  }

  .split > .label {
    padding-top: 0;
  }

  .points {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-list li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .service-list p {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  body {
    line-height: 1.9;
  }

  .hero h1 br,
  .contact h2 br {
    display: inline;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts > div,
  .facts > div + div {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }

  .facts dd {
    margin-top: 0;
    text-align: right;
  }

  .actions .button {
    width: 100%;
    justify-content: center;
  }

  .plain-list,
  .products,
  .flow {
    grid-template-columns: 1fr;
  }

  .product {
    padding: 24px;
  }

  .service-list,
  .plan,
  .points,
  .flow,
  .products {
    margin-top: 40px;
  }
}
