@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

:root {
  --text: #1a1a1a;
  --muted: #5e5e5e;
  --line: #e6e4e0;
  --bg: #f4f3f1;
  --paper: #fff;
  --link: #1a1a1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #444;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4.5rem;
}

.site-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-name {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.site-name a {
  text-decoration: none;
}

.site-name a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.updated {
  margin: -0.75rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

h2 {
  margin: 2.25rem 0 0.85rem;
  padding-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}

h3 {
  margin: 1.35rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.policy-link {
  font-weight: 700;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .page {
    padding: 1.75rem 1.1rem 3.5rem;
  }

  h1 {
    font-size: 1.2rem;
  }
}
