:root {
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #d9dfe6;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --accent: #1f6f5c;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.hero {
  padding: 64px 0 56px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section h2 {
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  font-size: 1.35rem;
  line-height: 1.4;
}

.profile {
  width: 100%;
  border-collapse: collapse;
}

.profile th,
.profile td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.profile th {
  width: 9em;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.contact {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 12px;
  margin: 0;
}

.contact dt {
  color: var(--muted);
  font-weight: 600;
}

.contact dd {
  margin: 0;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .hero {
    padding: 44px 0 40px;
  }

  .section {
    padding: 36px 0;
  }

  .profile th,
  .profile td {
    display: block;
    width: auto;
    padding: 0 4px;
    border-bottom: 0;
  }

  .profile th {
    padding-top: 14px;
  }

  .profile td {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
