* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  background: #f4f6f8;
}

body {
  line-height: 1.75;
}

.page-shell {
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}

.container {
  width: min(100%, 840px);
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(20, 35, 70, 0.08);
}

h1 {
  margin-top: 0;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
}

h2 {
  margin-top: 40px;
  font-size: 1.15rem;
  border-bottom: 1px solid #e0e6ef;
  padding-bottom: 10px;
}

p,
li {
  font-size: 1rem;
  color: #444;
}

p + p,
ul + p,
li + li {
  margin-top: 16px;
}

ul {
  padding-left: 24px;
}

li {
  margin-top: 10px;
}

.meta {
  margin-top: 8px;
  color: #666;
}

footer {
  margin: 24px auto 32px;
  width: min(100%, 840px);
  padding: 18px 16px;
  text-align: center;
  color: #6d7585;
  font-size: 0.95rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

a {
  color: #2663a6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .container {
    padding: 24px;
  }

  footer {
    padding: 18px 12px;
  }
}
