:root {
  --navy: #003a73;
  --navy-dark: #002a54;
  --blue: #009fe6;
  --blue-soft: #e3f4fd;
  --ink: #1c2b36;
  --gray: #5b6b78;
  --line: #dde5ec;
  --bg: #f5f8fa;
  --white: #ffffff;
  --accent: #ff7a45;
  --green: #2bb673;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(0, 42, 84, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
  max-width: 1040px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.logo { color: #fff; font-weight: 900; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 15px;
}
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: #cfe3f5; text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px; transition: .15s;
}
.nav a:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #00518f 70%, #0070b8 100%);
  color: #fff; padding: 72px 0 60px;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: .22em; color: #7fd0f5; margin: 0 0 12px;
}
.hero h1 { font-size: 46px; font-weight: 900; margin: 0 0 18px; letter-spacing: .02em; line-height: 1.4; }
.hero-lead { font-size: 15px; color: #d7e7f5; margin: 0 0 32px; }
.hero-lead strong { color: #fff; }
.sp-only { display: none; }

.hero-flow { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.flow-item {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px; padding: 12px 20px;
  font-size: 14px; font-weight: 700; line-height: 1.6;
}
.flow-tag {
  display: block; font-size: 11px; font-weight: 700; color: #7fd0f5;
  letter-spacing: .04em;
}
.flow-arrow { align-self: center; font-weight: 800; color: #7fd0f5; }

/* ---------- series ---------- */
.series { margin: 44px 0; }
.series-head { margin-bottom: 18px; }
.series-badge {
  display: inline-block; color: #fff;
  font-family: 'Inter', 'Noto Sans JP', sans-serif; font-weight: 800; font-size: 12px;
  letter-spacing: .08em; padding: 4px 14px; border-radius: 999px; margin-bottom: 8px;
}
.badge-a { background: var(--blue); }
.badge-b { background: var(--navy); }
.badge-c { background: var(--accent); }
.series-head h2 { font-size: 26px; font-weight: 900; color: var(--navy); margin: 0 0 4px; }
.series-head p { font-size: 14px; color: var(--gray); margin: 0; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.site-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 22px 18px;
  text-decoration: none; color: inherit; position: relative;
  border: 1.5px solid transparent;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.site-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 42, 84, 0.14);
  border-color: var(--blue);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-soft); display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 12px;
}
.card-code {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 12px;
  color: var(--blue); letter-spacing: .06em;
}
.site-card h3 { font-size: 17.5px; font-weight: 900; color: var(--navy); margin: 2px 0 6px; }
.site-card p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.7; }
.card-body { flex: 1; }
.card-cta {
  margin-top: 14px; font-size: 13.5px; font-weight: 800; color: var(--accent);
}
a.site-card:hover .card-cta { text-decoration: underline; }

/* 準備中カード */
.site-card.is-soon { background: #eef2f5; box-shadow: none; border: 1.5px dashed var(--line); }
.site-card.is-soon .card-icon { background: #e2e8ee; filter: grayscale(.6); opacity: .75; }
.site-card.is-soon h3 { color: #7d8b97; }
.site-card.is-soon p { color: #97a5b0; }
.site-card.is-soon .card-code { color: #a3b1bc; }
.card-soon {
  position: absolute; top: 16px; right: 16px;
  background: #cdd7df; color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 12px; border-radius: 999px;
}

/* ---------- about ---------- */
.about {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 34px; margin: 44px 0;
}
.about h2 { font-size: 18px; font-weight: 900; color: var(--navy); margin: 0 0 8px; }
.about p { font-size: 14px; color: var(--gray); margin: 0; }
.about strong { color: var(--navy); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy); color: #9fc0dd; text-align: center;
  padding: 24px 20px; font-size: 12.5px; margin-top: 48px;
}
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .sp-only { display: inline; }
  .header-inner { flex-direction: column; height: auto; padding: 10px 20px; gap: 4px; }
  .hero-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 28px; }
}
