
:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #dce6f2;
  --blue: #2563eb;
  --blue-soft: #eaf1ff;
}

* { box-sizing: border-box; }

html {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
}

main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 32px;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  color: var(--text);
}

.hero {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
}

.hero.compact {
  max-width: 720px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.cta:hover {
  color: #ffffff;
  text-decoration: none;
}

.secondary-link {
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

p {
  margin: 0 0 12px;
  line-height: 1.8;
  color: var(--muted);
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.steps {
  margin: 0;
  padding-left: 1.4em;
  color: var(--text);
}

.steps li {
  margin: 0 0 10px;
  line-height: 1.8;
}

.panel,
.table-wrap,
.contact {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.document-list {
  display: grid;
  gap: 10px;
}

.document-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #fbfdff;
}

.document-link strong,
.document-link small {
  display: block;
}

.document-link small {
  margin-top: 4px;
  color: var(--muted);
}

.breadcrumb {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.section + .section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

th {
  color: var(--text);
  background: var(--blue-soft);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 920px);
    padding-top: 20px;
  }

  .hero,
  .panel,
  .table-wrap,
  .contact {
    padding: 18px;
    border-radius: 14px;
  }
}

@media print {
  html { background: #ffffff; }
  main { width: 100%; padding: 0; }
  .hero,
  .panel,
  .table-wrap,
  .contact {
    box-shadow: none;
    border-color: #cccccc;
  }
  footer { display: none; }
}
