:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --ink: #16182b;
  --ink-soft: #5c6078;
  --line: #e4e5ee;
  --primary: #3b4cca;
  --night: #0f1230;
  --radius: 14px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}

a { color: var(--primary); text-underline-offset: 3px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--night);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .18em;
}
.brand span { color: #9aa6ff; }
.nav { display: flex; gap: 20px; font-size: 14px; }
.nav a { color: #d6d9f5; text-decoration: none; }
.nav a:hover { color: #fff; }

/* Hero */
.hero {
  background: radial-gradient(ellipse at 70% 20%, #2a3080 0%, var(--night) 65%);
  color: #fff;
  padding: 88px 0 96px;
}
.hero .eyebrow { color: #9aa6ff; }
.hero h1 {
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.3;
  margin: 8px 0 16px;
  letter-spacing: .04em;
}
.hero p { color: #d6d9f5; max-width: 560px; margin: 0; }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Sections */
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { font-size: 24px; margin: 6px 0 24px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eceefe;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Company table */
.info {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info th, .info td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.info tr:last-child th, .info tr:last-child td { border-bottom: none; }
.info th { width: 30%; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }

@media (max-width: 600px) {
  .info th, .info td { display: block; width: 100%; }
  .info th { padding-bottom: 0; border-bottom: none; }
}

/* Document pages */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: 28px; margin: 0 0 8px; }
.doc h2 { font-size: 18px; margin: 36px 0 8px; }
.doc .updated { color: var(--ink-soft); font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.site-footer a { color: var(--ink-soft); }

@media (max-width: 600px) {
  .brand { letter-spacing: .1em; }
  .nav { gap: 12px; font-size: 12px; }
  .hero { padding: 64px 0 72px; }
}

.nowrap { white-space: nowrap; }
