:root {
  --ink: #202428;
  --muted: #68717a;
  --line: #e5e8eb;
  --paper: #f7f8f8;
  --white: #ffffff;
  --brand: #2f3337;
  --accent: #b8904b;
  --accent-soft: #f4ead8;
  --green: #1d6f68;
  --shadow: 0 18px 48px rgba(32, 36, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 232, 235, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

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

.brand span {
  font-size: 15px;
}

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

.nav a {
  color: #343a40;
}

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

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 3px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  min-height: 100svh;
  padding: 118px clamp(20px, 4vw, 64px) 70px;
  background:
    radial-gradient(circle at 50% 30%, rgba(244, 234, 216, 0.68), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.hero-inner {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 188px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-text {
  max-width: 720px;
  text-align: center;
}

.hero-logo {
  width: min(420px, 78vw);
  height: auto;
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 32px rgba(32, 36, 40, 0.08));
}

.hero-subtitle,
.section-kicker {
  margin: 0 0 30px;
  color: var(--green);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.42;
}

.hero-text p:not(.hero-subtitle):not(.section-kicker) {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.section {
  padding: clamp(76px, 9vw, 126px) clamp(20px, 4vw, 64px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.contact-box {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.section-title {
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}

.section-title.centered {
  width: fit-content;
  margin: 0 auto 42px;
  text-align: left;
}

.section-title span {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-copy p,
.contact-box p {
  color: var(--muted);
  font-size: 17px;
}

.principle,
.news,
.recruit,
.contact {
  background: var(--paper);
}

.business {
  background: var(--white);
}

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

.service-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  position: relative;
  min-height: 210px;
  padding: 30px 30px 62px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 40, 0.04);
}

.service-number {
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.service-item p,
.strengths p,
.news-list p {
  color: var(--muted);
}

.service-item a {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.value {
  background: var(--white);
}

.strengths {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.strengths li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.strengths h3 {
  margin-bottom: 6px;
}

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

.news-list article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.news-list time {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 900;
}

.company {
  background: var(--white);
}

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

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

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

.company-table dd {
  margin: 0;
}

.recruit-intro {
  max-width: 780px;
  margin: -12px auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
}

.recruit-list {
  display: grid;
  gap: 24px;
}

.recruit-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 40, 0.04);
}

.recruit-card h3 {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.recruit-table {
  margin: 0;
}

.recruit-table div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

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

.recruit-table dt {
  color: var(--green);
  font-weight: 900;
}

.recruit-table dd {
  margin: 0;
  color: var(--ink);
}

.contact-box {
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  padding: 24px clamp(20px, 4vw, 64px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(1120px, 100%);
  margin: 0 auto;
  font-size: 14px;
}

.footer-inner img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-inner span:last-child {
  margin-left: auto;
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 13px 10px;
  }

  .nav-cta {
    text-align: center;
    color: var(--white);
    background: var(--brand);
    border-color: var(--brand);
  }

  .menu-button {
    display: inline-block;
  }

  .hero-inner,
  .two-column,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .brand span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: 98px;
  }

  .hero-logo {
    width: min(320px, 78vw);
  }

  .hero-actions {
    display: grid;
  }

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

  .service-item {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .service-item a {
    position: static;
    margin-top: 4px;
  }

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

  .recruit-table div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-box {
    padding: 26px 20px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-inner span:last-child {
    width: 100%;
    margin-left: 48px;
  }
}
