:root {
  --background: #f4f3ef;
  --text: #2b2927;
  --link: #234a66;
  --accent: #b14a2b;
  --rule: #d9d6cf;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--background); }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--link);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

main {
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
  padding: 86px 0 104px;
}

.hub-hero {
  padding: 0 8.25% 54px;
  border-bottom: 1px solid var(--rule);
  font-family: "Noto Serif JP", serif;
}

.hub-hero__label {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

.hub-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 400;
  letter-spacing: .035em;
  line-height: 1.35;
}

.hub-hero__lead {
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.8;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}

.article-card {
  min-width: 0;
  min-height: 220px;
  padding: 17px 7.7% 15px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
}

.article-card:not(:nth-child(3n + 1)) { border-left: 1px solid var(--rule); }
.article-card:last-child:nth-child(3n + 1),
.article-card:last-child:nth-child(3n + 2) { border-right: 1px solid var(--rule); }
.article-card:nth-last-child(-n + 1) { border-bottom: 0; }

.article-card__number {
  margin: 0 0 1px;
  color: var(--link);
  font-size: 1.125rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.article-card h2 {
  margin: 0;
  color: var(--link);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.article-card__summary {
  margin: 3px 0 20px;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.article-card__cta,
.article-card__status {
  align-self: end;
  width: fit-content;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.article-card__cta {
  min-height: 44px;
  margin: -10px -10px -8px;
  padding: 10px;
  text-decoration: none;
  text-underline-offset: .22em;
}

.article-card__cta:hover,
.article-card__cta:focus-visible { text-decoration: underline; }

.article-card__cta:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  main {
    width: min(calc(100% - 40px), var(--content));
    padding: 48px 0 64px;
  }

  .hub-hero { padding: 0 0 34px; }
  .hub-hero__label { font-size: .95rem; }

  .hub-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    letter-spacing: .02em;
  }

  .hub-hero__lead {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.75;
  }

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

  .article-card {
    min-height: 0;
    padding: 20px 0 18px;
  }

  .article-card:not(:nth-child(3n + 1)) { border-left: 0; }
  .article-card:last-child:nth-child(3n + 1),
  .article-card:last-child:nth-child(3n + 2) { border-right: 0; }
  .article-card:last-child { border-bottom: 0; }

  .article-card h2 {
    font-size: 1.12rem;
    line-height: 1.5;
  }

  .article-card__summary {
    margin-bottom: 14px;
    font-size: .95rem;
    line-height: 1.65;
  }
}
