:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#111827;
  --sub:#6b7280;
  --line:#e5e7eb;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --soft:#eff6ff;
  --dark:#0f172a;
  --max:1120px;
  --shadow:0 12px 32px rgba(15,23,42,.08);
  --radius:22px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Sans","Noto Sans JP",sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.75;
}

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

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

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(229,231,235,.8);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:72px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.01em;
}

.brand-mark{
  width:40px;
  height:40px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--primary),#60a5fa);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:18px;
  box-shadow:var(--shadow);
}

.nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  color:var(--sub);
  font-size:14px;
  font-weight:600;
}

.nav a:hover{
  color:var(--primary);
}

.hero{
  padding:72px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.14), transparent 30%),
    radial-gradient(circle at top right, rgba(96,165,250,.18), transparent 24%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  background:var(--soft);
  border:1px solid #bfdbfe;
  border-radius:999px;
  color:var(--primary-dark);
  font-size:13px;
  font-weight:700;
  margin-bottom:18px;
}

.hero h1{
  margin:0 0 16px;
  font-size:clamp(32px,5vw,56px);
  line-height:1.1;
  letter-spacing:-.02em;
}

.hero p{
  margin:0 0 24px;
  color:var(--sub);
  font-size:17px;
  max-width:760px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
  transition:.2s ease;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
  box-shadow:var(--shadow);
}

.btn-primary:hover{
  background:var(--primary-dark);
  transform:translateY(-1px);
}

.btn-secondary{
  background:#fff;
  border-color:var(--line);
  color:var(--text);
}

.btn-secondary:hover{
  border-color:#cbd5e1;
  transform:translateY(-1px);
}

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

.hero-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  box-shadow:var(--shadow);
}

.hero-card h3{
  margin:0 0 12px;
  font-size:20px;
}

.hero-list{
  margin:0;
  padding-left:20px;
  color:var(--sub);
}

.hero-list li{
  margin-bottom:10px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}

.stat{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
}

.stat strong{
  display:block;
  font-size:22px;
  margin-bottom:4px;
}

.section{
  padding:34px 0;
}

.section-head{
  margin-bottom:22px;
}

.section-head h2{
  margin:0 0 8px;
  font-size:32px;
  line-height:1.2;
}

.section-head p{
  margin:0;
  color:var(--sub);
}

.cards{
  display:grid;
  gap:18px;
}

.cards-3{
  grid-template-columns:repeat(3,1fr);
}

.cards-2{
  grid-template-columns:repeat(2,1fr);
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

.card h3{
  margin:0 0 10px;
  font-size:22px;
}

.card p{
  margin:0;
  color:var(--sub);
}

.pill{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid var(--line);
  color:var(--sub);
  font-size:12px;
  font-weight:700;
}

.checklist,
.toc{
  margin:0;
  padding-left:20px;
}

.checklist li,
.toc li{
  margin-bottom:10px;
}

.callout{
  background:linear-gradient(135deg,#eff6ff,#f8fafc);
  border:1px solid #bfdbfe;
  border-radius:22px;
  padding:20px;
}

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

table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
}

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

th{
  background:#f8fafc;
  font-size:14px;
}

.faq-item + .faq-item{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.faq-q{
  font-weight:800;
  margin-bottom:6px;
}

.cta{
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#fff;
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
}

.cta h2{
  margin:0 0 10px;
  font-size:30px;
}

.cta p{
  margin:0 0 18px;
  color:rgba(255,255,255,.82);
}

.footer{
  padding:30px 0 50px;
  color:var(--sub);
  font-size:14px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:20px;
}

.breadcrumb{
  color:var(--sub);
  font-size:14px;
  margin-bottom:10px;
}

.page-hero{
  padding:54px 0 26px;
}

.page-hero h1{
  margin:0 0 14px;
  font-size:clamp(30px,4vw,46px);
  line-height:1.15;
}

.page-hero p{
  margin:0;
  max-width:860px;
  color:var(--sub);
}

.list-links{
  display:grid;
  gap:14px;
}

.link-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
}

.link-card strong{
  display:block;
  font-size:18px;
  margin-bottom:6px;
}

@media (max-width: 960px){
  .hero-grid,
  .cards-3,
  .cards-2{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:48px;
  }

  .topbar-inner{
    min-height:auto;
    padding:14px 0;
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width: 640px){
  .hero h1{
    font-size:34px;
  }

  .section-head h2{
    font-size:26px;
  }

  .stats{
    grid-template-columns:1fr;
  }
}
