:root {
  --navy: #0b2f67;
  --navy-dark: #06234f;
  --blue: #1d74c9;
  --teal: #0b9aa6;
  --ink: #17233c;
  --muted: #62708a;
  --line: #d9e3f2;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(11, 47, 103, 0.1);
  --shadow-soft: 0 8px 20px rgba(11, 47, 103, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: 15px;
}

.site-nav {
  display: flex;
  gap: 20px;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-footer a:hover,
.back-link:hover {
  color: var(--blue);
}

.hero,
.section {
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  padding: clamp(46px, 8vw, 72px) clamp(20px, 5vw, 40px) 30px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.25;
  letter-spacing: 0;
}

.hero p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: 44px clamp(20px, 5vw, 40px);
}

.section.compact {
  padding-top: 30px;
}

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

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 28px;
  line-height: 1.35;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.article-card:hover {
  border-color: rgba(29, 116, 201, 0.5);
  transform: translateY(-2px);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.role,
.step {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.role {
  color: var(--navy);
  background: #eaf2fd;
}

.step {
  color: var(--teal);
  background: #e7f8f9;
}

.article-card h3 {
  margin: 18px 0 10px;
  color: var(--navy-dark);
  font-size: 20px;
  line-height: 1.45;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-meta span,
.card-meta time {
  padding: 4px 8px;
  background: var(--soft);
  border-radius: 6px;
}

.read-more {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 800;
}

.reading-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-steps li {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reading-steps li > span {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.reading-steps h3,
.category-card h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 17px;
  line-height: 1.45;
}

.reading-steps p,
.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.category-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-card > span {
  flex: 0 0 auto;
  height: fit-content;
  padding: 4px 9px;
  color: var(--navy-dark);
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.latest-list {
  border-top: 1px solid var(--line);
}

.latest-list a {
  display: grid;
  grid-template-columns: 110px 170px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.latest-list time,
.latest-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.latest-list strong {
  color: var(--navy-dark);
  font-size: 16px;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  margin-top: 36px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #d9e7fb;
  background: var(--navy-dark);
}

.footer-about {
  max-width: 560px;
}

.site-footer p {
  max-width: 460px;
  margin: 6px 0 0;
  color: #b8c9e4;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px clamp(20px, 5vw, 40px) 72px;
}

.back-link {
  color: var(--blue);
  font-weight: 800;
}

.article-header {
  margin-top: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: clamp(30px, 4vw, 46px);
}

.article-header p {
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.article-meta span,
.keyword {
  width: fit-content;
  padding: 5px 10px;
  color: var(--navy);
  background: #eaf2fd;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.article-body {
  padding-top: 18px;
}

.article-body h2 {
  margin: 42px 0 14px;
  color: var(--navy-dark);
  font-size: 26px;
  line-height: 1.45;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.45;
}

.article-body p,
.article-body li {
  font-size: 16px;
}

.article-body a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  color: var(--navy-dark);
  background: var(--soft);
  border-left: 4px solid var(--blue);
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .article-grid,
  .reading-steps,
  .category-grid,
  .policy-list {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 0;
  }

  .latest-list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .category-card {
    flex-direction: column;
  }
}
