* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f8fc;
  --panel: #ffffff;
  --line: #d9e1ef;
  --text: #1f2937;
  --muted: #5b6577;
  --accent: #3b82f6;
  --accent-soft: #eaf2ff;
  --warn: #fff4db;
  --warn-line: #f2c14e;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

.backlink{ font-weight:600; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  line-height: 1.3;
  font-size: clamp(28px, 4vw, 42px);
}

.lead {
  margin: 0 0 20px;
  color: var(--muted);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.04);
}

h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

ul, ol {
  padding-left: 1.4em;
  margin-top: 0.5em;
  margin-bottom: 0;
}

a {
  color: var(--accent);
  word-break: break-all;
}

code {
  background: #f2f4f8;
  padding: 0.14em 0.42em;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
}

.note,
.warn {
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 14px;
}

.note {
  background: var(--accent-soft);
  border: 1px solid #cddfff;
}

.warn {
  background: var(--warn);
  border: 1px solid var(--warn-line);
}

.guide-image {
  margin: 18px 0 8px;
}

.guide-image img {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-height: 180px;
  object-fit: contain;
}

.guide-image figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.table-like {
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.table-like > div {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.table-like > div:nth-last-child(-n+2) {
  border-bottom: none;
}

.table-like > div:nth-child(odd) {
  background: #f8fbff;
}

.table-like.compact {
  grid-template-columns: 120px 1fr;
}

.footer {
  padding: 12px 0 36px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero {
    padding-top: 36px;
  }

  .card {
    padding: 18px;
  }

  .table-like,
  .table-like.compact {
    grid-template-columns: 1fr;
  }

  .table-like > div:nth-child(odd) {
    font-weight: 700;
  }
}
