:root {
  --bg: #0f1419;
  --surface: #1a222c;
  --surface-2: #232d3a;
  --text: #eef2f6;
  --muted: #9aa8b8;
  --accent: #e63946;
  --accent-dark: #c62835;
  --accent-soft: rgba(230, 57, 70, 0.12);
  --line: #2f3b4a;
  --radius: 0.75rem;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  font-size: 1.0625rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(var(--max), 94vw);
  margin: 0 auto;
}

.site-header {
  background: rgba(15, 20, 25, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #151c24 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-visual {
  min-height: 320px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(230, 57, 70, 0.18), transparent 55%),
    linear-gradient(180deg, #2a3544 0%, #1a222c 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 8% 18% 8%;
  height: 42%;
  border-radius: 40% 40% 12% 12% / 55% 55% 20% 20%;
  background: linear-gradient(180deg, #3d4d61, #273241);
  border: 1px solid #4a5d73;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 18%;
  height: 18%;
  border-radius: 50%;
  background: #111820;
  border: 3px solid #5f738a;
  bottom: 14%;
  left: 18%;
  box-shadow: calc(58vw * 0.38) 0 0 -1px #111820, calc(58vw * 0.38) 0 0 0 3px #5f738a;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  max-width: 22ch;
  font-weight: 700;
}

.lead {
  margin-top: 1.15rem;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.05rem;
}

.lead-wide {
  max-width: 70ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 2.25rem 0 0;
}

.stat,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text);
}

.stat span {
  font-size: 0.84rem;
  color: var(--muted);
}

section {
  padding: 3.25rem 0;
}

section.alt-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card h3 {
  margin-bottom: 0.45rem;
  color: var(--text);
}

.card h3 a {
  color: var(--text);
}

.card p {
  font-size: 0.94rem;
  color: var(--muted);
}

.card ul {
  margin-top: 0.55rem;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.card-feature {
  padding: 1.35rem 1.4rem;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.6rem;
}

.note {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.checklist li strong {
  color: var(--text);
}

.numbered-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: step;
  max-width: 720px;
}

.numbered-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 0.9rem 3rem;
  font-size: 0.93rem;
  color: var(--muted);
  position: relative;
  counter-increment: step;
}

.numbered-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item h2 {
  color: var(--text);
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.footer-grid h3 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.site-footer a {
  color: var(--accent);
}

.site-footer p {
  margin-bottom: 0.45rem;
}

.page-main {
  padding: 2.75rem 0 1.5rem;
}

.page-main h1 {
  max-width: none;
  margin-bottom: 0.85rem;
}

.prose {
  max-width: 780px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0.9rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose h2 {
  margin-top: 2rem;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.45rem;
  margin-top: 1.35rem;
}

.contact-box a {
  color: var(--accent);
  font-weight: 600;
}
