:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #20242c;
  --muted: #5e6675;
  --line: #d9dee8;
  --accent: #1463d8;
  --accent-soft: #eaf2ff;
  --shadow: 0 12px 34px rgba(22, 34, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

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

.header-inner,
.page,
.site-footer {
  width: min(100%, 920px);
  margin: 0 auto;
  padding-inline: 22px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 14px;
}

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

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.page {
  padding-block: 34px 52px;
}

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 48px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.35em;
}

li {
  margin: 0 0 8px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.summary {
  display: grid;
  gap: 10px;
  margin: 24px 0 10px;
  padding: 18px;
  background: var(--accent-soft);
  border: 1px solid #cfe1ff;
  border-radius: 8px;
}

.summary p {
  margin: 0;
}

.meta {
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}

.contact-list {
  padding: 18px;
  background: #f9fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.footer-wrap {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer {
  padding-block: 22px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .page {
    padding-block: 22px 36px;
  }

  .document {
    padding: 22px;
  }

  h2 {
    font-size: 20px;
  }
}
