:root {
  --ink: #18211f;
  --muted: #64716d;
  --line: #dce5e0;
  --paper: #f7f8f4;
  --white: #ffffff;
  --deep: #133d35;
  --deep-2: #0c2924;
  --accent: #b9813d;
  --accent-soft: #fff2dc;
  --green-soft: #e8f0eb;
  --shadow: 0 20px 56px rgba(18, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(220, 229, 224, 0.8);
  padding: 18px 42px;
  background: rgba(247, 248, 244, 0.93);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 18px;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
}

.nav-button,
.button.primary {
  color: var(--white);
  background: var(--deep);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--deep);
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep-2);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 41, 36, 0.92), rgba(12, 41, 36, 0.44)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.hero-copy {
  position: relative;
  max-width: 880px;
  padding: 88px 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.message-section h2,
.section-heading h2,
.definition-section h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.34;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 84px);
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.hero .button.primary {
  background: var(--accent);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.message-section,
.services-section,
.features-section,
.definition-section,
.case-section,
.representative-section,
.profile-section,
.contact-section {
  padding: 92px 56px;
}

.message-section {
  background: var(--white);
}

.message-section h2 {
  max-width: 980px;
  font-size: clamp(30px, 4vw, 56px);
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  max-width: 1060px;
  margin-top: 34px;
}

.message-grid p,
.section-heading > p,
.service-item p,
.definition-section li,
.contact-section p {
  color: var(--muted);
}

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

.section-heading h2,
.definition-section h2,
.contact-section h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.section-heading > p {
  margin: 14px 0 0;
  font-size: 16px;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-item {
  min-height: 330px;
  padding: 30px;
  background: var(--white);
}

.service-item:nth-child(2),
.service-item:nth-child(3),
.service-item:nth-child(5) {
  background: var(--accent-soft);
}

.service-item span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.service-item h3 {
  margin: 10px 0 16px;
  font-size: 25px;
  line-height: 1.4;
}

.service-item p {
  margin: 0;
  font-size: 14px;
}

.features-section {
  color: var(--white);
  background: var(--deep);
}

.features-section .section-heading {
  color: var(--white);
}

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

.feature-grid article {
  min-height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.feature-grid p {
  margin: 0 0 52px;
  color: #e2b775;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.42;
}

.feature-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.definition-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 48px;
  background: var(--white);
}

.definition-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.definition-section li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.definition-section strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

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

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

.case-grid article {
  min-height: 210px;
  border-radius: 8px;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(19, 61, 53, 0.52), rgba(19, 61, 53, 0.94)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80")
      center/cover;
  box-shadow: var(--shadow);
}

.case-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(19, 61, 53, 0.52), rgba(19, 61, 53, 0.94)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=900&q=80")
      center/cover;
}

.case-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(19, 61, 53, 0.52), rgba(19, 61, 53, 0.94)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=900&q=80")
      center/cover;
}

.case-grid span {
  color: #e2b775;
  font-weight: 900;
}

.case-grid h3 {
  margin: 72px 0 0;
  font-size: 22px;
  line-height: 1.45;
}

.representative-section {
  background: var(--white);
}

.representative-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.representative-lead {
  border-radius: 8px;
  padding: 32px;
  color: var(--white);
  background: var(--deep);
}

.representative-lead .section-kicker {
  color: #e2b775;
}

.representative-lead h3 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.35;
}

.representative-lead p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.career-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.career-highlights article {
  padding: 26px;
  background: var(--paper);
}

.career-highlights span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.career-highlights strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 20px;
  line-height: 1.45;
}

.career-highlights p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.career-timeline {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.career-timeline article {
  display: grid;
  grid-template-columns: 220px minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  background: var(--white);
}

.career-timeline time {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.career-timeline h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.career-timeline p {
  margin: 0;
  color: var(--muted);
}

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

.profile-section dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  background: var(--line);
}

.profile-section dl div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: var(--white);
}

.profile-section dt {
  color: var(--muted);
  font-weight: 800;
}

.profile-section dd {
  margin: 0;
  font-weight: 800;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 41, 36, 0.92), rgba(12, 41, 36, 0.66)),
    url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.contact-section h2 {
  max-width: 900px;
}

.contact-section p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .button {
  margin-top: 30px;
  background: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 56px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--deep-2);
}

.site-footer strong {
  color: var(--white);
}

@media (max-width: 1180px) {
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-header nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    min-height: 620px;
  }

  .message-grid,
  .feature-grid,
  .definition-section,
  .case-grid,
  .representative-card,
  .career-highlights,
  .profile-section dl {
    grid-template-columns: 1fr;
  }

  .career-timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-copy,
  .message-section,
  .services-section,
  .features-section,
  .definition-section,
  .case-section,
  .representative-section,
  .profile-section,
  .contact-section,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .profile-section dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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