:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --border: #d9e4ff;
  --text: #152033;
  --muted: #4e5b73;
  --brand: #2f6df6;
  --brand-dark: #1d4fd7;
  --shadow: 0 18px 40px rgba(23, 47, 92, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 24px 20px 12px;
}

.site-header__inner,
.site-footer__inner,
.page-main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.page-main {
  flex: 1;
  padding: 36px 0 64px;
}

.hero-card,
.content-card,
.link-card,
.notice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px 30px;
  background: linear-gradient(135deg, #f8fbff 0%, var(--surface-soft) 100%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.hero-title,
.page-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  line-height: 1.5;
}

.hero-text,
.page-lead,
.content-card p,
.content-card li {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.hero-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  display: block;
  padding: 18px 18px 16px;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.link-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #b7cafe;
  box-shadow: 0 14px 28px rgba(31, 64, 141, 0.1);
}

.link-card__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.4;
}

.link-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.notice-card {
  margin-top: 22px;
  padding: 20px 22px;
}

.notice-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

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

.content-card {
  padding: 34px 30px;
}

.content-card h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.content-card h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.content-card ul {
  margin: 10px 0 18px 20px;
  padding: 0;
}

.content-card li {
  margin-bottom: 8px;
}

.page-stack {
  display: grid;
  gap: 20px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.site-footer {
  padding: 0 20px 40px;
}

.site-footer__inner {
  border-top: 1px solid #dbe2f0;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #62708a;
  font-size: 13px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer__nav a {
  color: #62708a;
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .site-footer__nav {
    justify-content: flex-start;
  }

  .hero-card,
  .content-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

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