:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --paper: #fffefa;
  --ink: #1f2528;
  --muted: #637078;
  --line: #d9d4c7;
  --accent: #0b6b76;
  --accent-strong: #064d56;
  --soft: #eef7f6;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  line-height: 1.75;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.92);
}

.header-inner,
.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.page {
  padding: 46px 0 56px;
}

.document {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 12px 32px rgba(31, 37, 40, 0.06);
}

.hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

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

h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.28rem;
  line-height: 1.35;
  margin: 34px 0 10px;
}

h3 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 1.35rem;
}

li {
  margin: 4px 0;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.updated {
  color: var(--muted);
  font-size: 0.88rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.link-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.link-card {
  color: inherit;
  text-decoration: none;
}

.link-card strong {
  display: block;
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.link-card span {
  color: var(--muted);
  display: block;
  font-size: 0.94rem;
}

.notice {
  margin: 22px 0;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.contact-list li:first-child {
  border-top: 0;
}

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

.footer-inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
}

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

  .nav {
    justify-content: flex-start;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
