:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #66716b;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #d8ddd5;
  --navy: #06314d;
  --moss: #3f5f4b;
  --terracotta: #a65335;
  --steel: #516879;
  --shadow: 0 24px 70px rgba(28, 36, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(216, 221, 213, 0.75);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.brand strong {
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.brand span {
  min-width: 0;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--ink);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 94px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.language-switch button {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--navy);
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  min-height: calc(100svh - 150px);
  padding: clamp(40px, 6vw, 78px) clamp(20px, 5vw, 64px) clamp(36px, 5vw, 54px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow,
.section-heading span,
.section-kicker {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: var(--navy);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

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

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-text {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
}

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

.business-card {
  min-height: 330px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.business-card.accent {
  background: #f4f0ea;
}

.card-number {
  margin-bottom: 70px;
  color: var(--steel);
  font-weight: 800;
}

.business-card h3,
.principle h3 {
  margin-bottom: 16px;
  font-size: 25px;
  line-height: 1.25;
}

.business-card p,
.principle p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: linear-gradient(var(--line), var(--line)) center / calc(100% - clamp(40px, 10vw, 128px)) 1px no-repeat;
}

.principle {
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper);
}

.principle span {
  display: block;
  margin-bottom: 24px;
  color: var(--terracotta);
  font-weight: 800;
}

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

.company .section-heading span {
  color: #d8a063;
}

.company-list {
  margin: 0;
  border-top: 1px solid rgba(251, 250, 246, 0.24);
}

.company-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(251, 250, 246, 0.24);
}

.company-list dt {
  color: rgba(251, 250, 246, 0.68);
  font-size: 14px;
}

.company-list dd {
  margin: 0;
  font-size: 17px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px);
  background: #eaf0eb;
}

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

.contact-panel p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding-top: 6px;
  }

  .hero,
  .intro,
  .business-grid,
  .principles,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .card-number {
    margin-bottom: 44px;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }
}
