:root {
  --night: #0d1b3a;
  --paper: #fffdf4;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  color: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

.shell {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 22px;
  border-bottom: 1px solid var(--paper);
}

.brand {
  color: var(--paper);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand span {
  font-family: "Snell Roundhand", "Segoe Script", cursive;
  font-size: 1.45em;
  font-weight: 600;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
}

main {
  padding: 72px 0 84px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(2.25rem, 7vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.lead {
  max-width: 690px;
  margin-bottom: 54px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card,
.section {
  border: 1px solid var(--paper);
  border-radius: 18px;
}

.card {
  display: block;
  min-height: 180px;
  padding: 28px;
  text-decoration: none;
}

.card h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.card p {
  margin-bottom: 0;
}

.section {
  margin: 18px 0;
  padding: clamp(24px, 5vw, 42px);
}

.section h2 {
  margin-bottom: 18px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.section h3 {
  margin: 26px 0 8px;
  font-size: 1rem;
}

.section > :last-child {
  margin-bottom: 0;
}

.meta {
  margin-bottom: 40px;
  font-size: 0.92rem;
}

.notice {
  padding-left: 18px;
  border-left: 3px solid var(--paper);
}

footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--paper);
  font-size: 0.84rem;
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 880px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  main {
    padding: 48px 0 64px;
  }
}
