@charset "UTF-8";

:root {
  --ink: #172033;
  --muted: #647084;
  --line: #e5e9f0;
  --bg: #f6f8fb;
  --white: #fff;
  --accent: #1769e0;
  --accent2: #05a88a;
  --shadow: 0 12px 32px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.logo small {
  display: block;
  color: #8993a4;
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 7px;
}

.global-nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.global-nav a {
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  transition: 0.2s;
}

.global-nav a:hover {
  background: #edf4ff;
  color: var(--accent);
}

.hero {
  background: linear-gradient(135deg, #111b30 0%, #173c70 55%, #1769e0 100%);
  color: white;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
  padding: 90px 24px 100px;
  position: relative;
}

.hero-inner:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  right: 4%;
  top: -140px;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.02);
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: #73b4ff;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.1;
  margin: 12px 0 22px;
  letter-spacing: -2px;
}

.hero h1 strong {
  font-weight: 800;
}

.lead {
  max-width: 650px;
  font-size: 17px;
  color: #e3ecf9;
  margin-bottom: 34px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: white;
  color: #145bc4;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.hero-button span {
  font-size: 20px;
}

.container,
.mag-section {
  max-width: 1200px;
  margin: auto;
}

.overview {
  background: white;
  padding: 85px 24px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.center {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 45px;
}

.section-heading h2 {
  font-size: 32px;
  line-height: 1.3;
  margin: 7px 0 13px;
  letter-spacing: -0.5px;
}

.section-heading p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 145px;
  padding: 24px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  transition: 0.22s;
}

.category-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: var(--shadow);
  border-color: #c9daf6;
}

.category-card span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 7px;
}

.category-card small {
  color: var(--muted);
  font-size: 12px;
}

.category-card b {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: var(--accent);
  font-size: 22px;
}

.mag-section {
  padding: 80px 24px;
}

.mag-section:nth-of-type(even) {
}

.mag-section .section-heading {
  max-width: 850px;
}

.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mag-card {
  min-height: 61px;
  padding: 15px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: 0.2s;
}

.mag-card span {
  font-size: 14px;
  font-weight: 700;
}

.mag-card b {
  font-size: 21px;
  color: #9ba5b5;
  font-weight: 400;
  transition: 0.2s;
}

.mag-card:hover {
  border-color: #b8d1f5;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.07);
  transform: translateY(-2px);
}

.mag-card:hover b {
  color: var(--accent);
  transform: translateX(3px);
}

footer {
  background: #111827;
  color: #b7c0ce;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-logo {
  font-weight: 800;
  color: white;
  font-size: 18px;
}

.footer-inner p {
  margin: 0 auto 0 0;
  font-size: 13px;
}

.footer-inner a:last-child {
  font-size: 13px;
  color: #8dbaff;
}

@media (max-width: 1050px) {
  .header-inner {
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 12px;
    flex-direction: column;
    gap: 12px;
  }

  .global-nav {
    justify-content: flex-start;
  }

  .hero-inner {
    padding-top: 65px;
  }

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

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

@media (max-width: 640px) {
  html {
    scroll-padding-top: 145px;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .global-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 3px;
  }

  .global-nav a {
    padding: 6px 3px;
    text-align: center;
    font-size: 11px;
  }

  .hero-inner {
    padding: 55px 20px 65px;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.5px;
  }

  .lead {
    font-size: 15px;
  }

  .overview,
  .mag-section {
    padding: 58px 16px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .category-grid,
  .mag-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .category-card {
    min-height: 125px;
    padding: 17px;
  }

  .category-card span {
    font-size: 16px;
  }

  .mag-card {
    min-height: 58px;
    padding: 13px;
  }

  .mag-card span {
    font-size: 13px;
  }

  .footer-inner {
    padding: 25px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-inner p {
    order: 3;
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 420px) {
  .global-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid,
  .mag-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 39px;
  }
}