:root {
  --navy: #1f2466;
  --bg: #eef1f7;
  --text: #0b1a33;
  --muted: #5b6475;
  --line: #d8ddea;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  --max: 980px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31,36,102,.1);
}
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo { font-weight: 900; letter-spacing: .06em; color: var(--navy); }
.header-links { display: flex; gap: 14px; color: var(--muted); font-size: 14px; }
.page-main { padding: 44px 0 60px; }
.page-title {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}
.hero {
  background: var(--navy);
  padding: 34px 0;
}
.lead {
  color: #e7ecff;
  margin: 10px auto 0;
  text-align: center;
  max-width: 760px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-top: 14px;
}
.card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}
.list { margin: 0; padding-left: 20px; }
.list li { margin: 4px 0; }
.link { color: var(--navy); font-weight: 700; text-decoration: underline; }
.foot {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 4px;
}
.site-footer {
  background: #fff;
  border-top: 1px solid rgba(31,36,102,.1);
}
.footer-inner {
  padding: 22px 0 28px;
  display: grid;
  gap: 10px;
}
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); }
small { color: var(--muted); }

dl.info-list { margin: 0; }
.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row dt { font-weight: 800; color: var(--navy); }
.info-row dd { margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.contact-meta { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-soft { background: #e9edf9; color: var(--navy); }
.template { margin-top: 16px; }
.template pre {
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background: rgba(15,17,20,.92);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  display: none;
}

@media (max-width: 820px) {
  .header-links { display: none; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
  .contact-grid { grid-template-columns: 1fr; }
}
