:root{
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:rgba(229,231,235,.88);
  --blue:#1d4ed8;
  --blue2:#0b3aa6;
  --chip:#eaf0ff;
  --shadow:0 10px 30px rgba(17,24,39,.08);
  --radius:18px;
  --max:1040px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  background:linear-gradient(180deg,#eef3ff 0%, var(--bg) 28%, var(--bg) 100%);
  color:var(--text);
}

a{color:inherit}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 18px 70px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.section{
  margin-top:28px;
}

.sectionHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.sectionHeadStack{
  align-items:flex-start;
}

.sectionFilters{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.sectionKicker{
  margin:0 0 6px;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  color:var(--blue);
  text-transform:uppercase;
}

.secTitle{
  margin:0;
  font-size:24px;
  line-height:1.35;
  color:#0f2a5a;
  font-weight:950;
}

.hero{
  overflow:hidden;
  position:relative;
  padding:28px 24px;
  background:
    radial-gradient(circle at top right, rgba(29,78,216,.14), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96));
}

.heroInner{
  position:relative;
}

.heroEyebrow{
  margin:0 0 8px;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  color:var(--blue);
  text-transform:uppercase;
}

.heroTitle{
  margin:0;
  font-size:40px;
  line-height:1.15;
  color:#0f2a5a;
  font-weight:950;
}

.heroDesc{
  margin:14px 0 0;
  max-width:760px;
  color:#475569;
  font-weight:800;
  line-height:1.8;
  font-size:15px;
}

.heroActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(229,231,235,.9);
  background:#fff;
  cursor:pointer;
  text-decoration:none;
  font-weight:900;
  transition:.15s transform ease, .15s background ease, .15s border ease, .15s box-shadow ease;
  user-select:none;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn.primary{
  background:linear-gradient(180deg,var(--blue) 0%,var(--blue2) 100%);
  color:#fff;
  border-color:rgba(29,78,216,.55);
  box-shadow:0 10px 24px rgba(29,78,216,.18);
}

.btn.disabled{
  opacity:.62;
  cursor:not-allowed;
  pointer-events:none;
  background:#f3f4f6;
  color:#6b7280;
  border-color:rgba(229,231,235,.9);
  box-shadow:none;
}

.featuredGrid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}

.featuredCard{
  overflow:hidden;
  min-height:100%;
}

.featuredBody{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  height:100%;
}

.featuredTitle{
  margin:0;
  font-size:24px;
  line-height:1.35;
  font-weight:950;
  color:#0f2a5a;
}

.featuredTitle a{
  text-decoration:none;
}

.featuredTitle a:hover{
  text-decoration:underline;
}

.featuredDesc{
  margin:0;
  color:#475569;
  font-weight:800;
  line-height:1.8;
  flex:1 1 auto;
}

.categoryRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.categoryChip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:var(--chip);
  border:1px solid rgba(29,78,216,.18);
  color:#173a8f;
  font-weight:900;
  text-decoration:none;
  transition:.15s transform ease, .15s background ease, .15s color ease, .15s border ease;
}

.categoryChip:hover{
  transform:translateY(-1px);
  background:#dfe9ff;
}

.categoryChip.active{
  background:linear-gradient(180deg,var(--blue) 0%,var(--blue2) 100%);
  color:#fff;
  border-color:rgba(29,78,216,.55);
}

.articleGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.articleCard{
  overflow:hidden;
}

.articleBody{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  height:100%;
}

.articleTitle{
  margin:0;
  font-size:20px;
  line-height:1.45;
  font-weight:950;
  color:#0f2a5a;
}

.articleTitle a{
  text-decoration:none;
}

.articleTitle a:hover{
  text-decoration:underline;
}

.articleDesc{
  margin:0;
  color:#475569;
  font-weight:800;
  line-height:1.75;
  flex:1 1 auto;
}

.cardMeta{
  margin-top:auto;
  color:#64748b;
  font-size:13px;
  font-weight:850;
}

.cardActions{
  display:flex;
  gap:10px;
  margin-top:2px;
  flex-wrap:wrap;
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  padding:8px 10px;
  border-radius:999px;
  background:var(--chip);
  border:1px solid rgba(29,78,216,.18);
  color:#173a8f;
  font-size:12px;
  font-weight:950;
}

.currentCategoryLabel{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:#f3f4f6;
  border:1px solid rgba(229,231,235,.9);
  color:#374151;
  font-size:13px;
  font-weight:900;
}

.emptyBox{
  padding:18px 16px;
  text-align:center;
  color:#475569;
  font-weight:850;
}

.isHidden{
  display:none !important;
}

.ctaBox{
  padding:22px 20px;
  text-align:center;
}

.ctaTitle{
  margin:0;
  font-size:24px;
  line-height:1.35;
  color:#0f2a5a;
  font-weight:950;
}

.ctaDesc{
  margin:12px auto 0;
  max-width:720px;
  color:#475569;
  font-weight:800;
  line-height:1.8;
}

.ctaActions{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.footer{
  margin-top:30px;
  text-align:center;
  color:#6b7280;
  font-weight:900;
}

.footerLink{
  text-decoration:none;
}

.footerLink:hover{
  text-decoration:underline;
}

@media (min-width: 1200px){
  :root{ --max:1320px; }
}

@media (max-width: 1024px){
  .articleGrid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 820px){
  .featuredGrid{
    grid-template-columns:1fr;
  }

  .articleGrid{
    grid-template-columns:1fr;
  }

  .hero{
    padding:22px 18px;
  }

  .heroTitle{
    font-size:32px;
  }

  .featuredTitle{
    font-size:22px;
  }

  .articleTitle{
    font-size:19px;
  }

  .sectionHead{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width: 640px){
  .container{
    padding:18px 14px 56px;
  }

  .secTitle{
    font-size:22px;
  }

  .heroTitle{
    font-size:28px;
  }

  .heroDesc{
    font-size:14px;
  }

  .heroActions .btn,
  .ctaActions .btn{
    width:100%;
  }

  .btn{
    width:100%;
  }

  .cardActions{
    flex-direction:column;
  }
}