:root {
  --forest: #122f24;
  --forest-2: #1e4937;
  --moss: #587b56;
  --cream: #f3ecdc;
  --paper: #fbf8ef;
  --gold: #b7903b;
  --gold-soft: #dfca8c;
  --ink: #1d261f;
  --muted: #667069;
  --white: #ffffff;
  --line: rgba(18, 47, 36, 0.14);
  --shadow: 0 24px 70px rgba(18, 47, 36, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.85;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(20px, 4vw, 48px);
  color: var(--white);
  background: rgba(18, 47, 36, 0.93);
  border-bottom: 1px solid rgba(223, 202, 140, 0.35);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand small {
  color: var(--gold-soft);
}

.site-nav {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #163728, #0e2119);
}

.hero-visual {
  position: absolute;
  inset: auto 0 0;
  height: min(58vh, 520px);
  opacity: 0.9;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ridge-back {
  fill: rgba(88, 123, 86, 0.34);
}

.ridge-front {
  fill: rgba(9, 24, 18, 0.68);
}

.trail {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 10 18;
}

.point {
  fill: var(--gold-soft);
  stroke: var(--forest);
  stroke-width: 4;
}

.hero-inner {
  position: relative;
  padding: 132px 0 86px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

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

h1,
h2 {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: 5.4rem;
  line-height: 1.12;
}

h2 {
  margin-bottom: 26px;
  color: var(--forest);
  font-size: 2.65rem;
  line-height: 1.35;
}

.section-dark h2 {
  color: var(--white);
}

.hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.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;
  color: var(--forest);
  background: var(--gold-soft);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  font-weight: 800;
}

.button.ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(18, 47, 36, 0.2);
}

.section {
  padding: 96px 0;
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  color: var(--white);
  background: var(--forest);
}

.split,
.company-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.text-block p {
  margin-bottom: 20px;
}

.business-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.business-grid article,
.project-grid article,
.relation-board article,
.contact-box {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(18, 47, 36, 0.08);
}

.business-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.business-grid h3,
.project-grid h3 {
  color: var(--forest);
  font-size: 1.25rem;
}

.section-lead {
  max-width: 760px;
  margin-bottom: 36px;
  color: var(--muted);
}

.relation-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}

.relation-board h3 small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.relation-board ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
}

.relation-board a,
.project-grid a,
.company-table a,
.site-footer a {
  color: var(--forest-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(183, 144, 59, 0.55);
  text-underline-offset: 4px;
}

.connector {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--forest);
  background: var(--gold-soft);
  border-radius: 999px;
  font-weight: 800;
}

.note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.project-grid article {
  color: var(--ink);
}

.cycle {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.cycle span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 18px;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
}

.cycle span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.company-table {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 18px 20px;
}

.company-table dt {
  color: var(--forest);
  background: rgba(18, 47, 36, 0.05);
  font-weight: 800;
}

.contact {
  background: linear-gradient(135deg, var(--paper), var(--cream));
}

.contact-box {
  max-width: 760px;
  text-align: center;
}

.site-footer {
  color: var(--white);
  background: #0d2118;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  padding: 54px 0;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.8rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.copyright {
  margin: 0;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-size: 0.82rem;
}

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px;
    background: rgba(18, 47, 36, 0.98);
    border-bottom: 1px solid rgba(223, 202, 140, 0.35);
  }

  .site-nav.open {
    display: grid;
  }

  .split,
  .company-layout,
  .relation-board,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .connector {
    width: auto;
    height: auto;
    padding: 10px 18px;
    border-radius: var(--radius);
  }

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

  .project-grid,
  .cycle {
    grid-template-columns: 1fr;
  }

  .cycle span::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.85rem;
  }

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

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

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
