:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  color: #172033;
  background: #f6f8fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #172033;
  --muted: #596579;
  --line: #dce2ea;
  --surface: #ffffff;
  --brand: #0c6b58;
  --brand-deep: #084c40;
  --accent: #e8f5f0;
  --warning: #fff6df;
  --shadow: 0 18px 50px rgb(34 55 79 / 8%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgb(48 151 125 / 10%), transparent 32rem),
    #f6f8fb;
  line-height: 1.8;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand);
}

a:focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 4px;
  border-radius: 0.2rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(12px);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.page-shell {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.brand span {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.site-nav a,
.footer-nav a {
  font-weight: 650;
}

.page-shell {
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}

.hero {
  max-width: 52rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.75rem);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.notice,
.panel,
.content-section {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notice {
  margin-block: 1.5rem 2.5rem;
  padding: 1rem 1.25rem;
  border-color: #ead8a9;
  background: var(--warning);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 2rem;
}

.panel,
.content-section {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.content-section + .content-section {
  margin-top: 1rem;
}

.panel > :first-child,
.content-section > :first-child {
  margin-top: 0;
}

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

ul,
ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.45rem;
}

.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.55rem 1rem;
  border-radius: 0.7rem;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.action-link:hover {
  background: var(--brand);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: grid;
  gap: 1rem;
  padding-block: 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.updated-at {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 48rem) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

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

  .site-nav {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
