:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #66727f;
  --line: #dce4e9;
  --paper: #fbfcfa;
  --soft: #eef5f2;
  --green: #0e7b65;
  --green-dark: #075c4b;
  --navy: #173a5e;
  --coral: #d95f52;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(23, 32, 42, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-sub {
  margin-top: -4px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 34px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 24, 36, 0.82) 0%, rgba(8, 24, 36, 0.48) 45%, rgba(8, 24, 36, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 24, 36, 0.72) 0%, rgba(8, 24, 36, 0) 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-bottom: 58px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(42px, 7vw, 86px);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-stats div {
  padding: 18px 24px 0 0;
}

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

.hero-stats strong {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.split-section,
.company-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.section h2,
.contact-copy h2 {
  font-size: clamp(30px, 4.2vw, 54px);
}

.lead-block {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

.lead-block p:first-child {
  margin-top: 0;
}

.services-section,
.process-section {
  background: var(--white);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 123, 101, 0.4);
  box-shadow: var(--shadow);
}

.service-index {
  color: var(--green);
  font-weight: 900;
}

.service-card h3 {
  margin: 24px 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  background: var(--soft);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 28px 0 0;
  border-top: 2px solid var(--green);
}

.process-list span {
  display: block;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

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

.company-section {
  background: var(--paper);
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--green);
  font-weight: 800;
}

.company-table dd {
  margin: 0;
}

.contact-section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background: var(--navy);
  color: var(--white);
}

.contact-copy p:last-child {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.contact-form textarea {
  resize: vertical;
}

.consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  font-weight: 600;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #101820;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

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

  .nav-cta {
    border-color: var(--line);
    border-radius: 8px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-inner {
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-stats,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding-right: 0;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form {
    padding: 20px;
  }
}
