:root {
  color-scheme: light;
  --ink: #282f32;
  --muted: #697174;
  --paper: #f4f3ef;
  --surface: #ffffff;
  --line: #d9d8d2;
  --coral: #e96f62;
  --coral-dark: #b94f47;
  --sage: #5f6b73;
  --focus: #185abc;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

a {
  color: var(--coral-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(244 243 239 / 94%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  width: min(1080px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 650;
}

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

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

.hero {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 48px;
}

.hero-mark {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgb(40 47 50 / 14%);
}

.eyebrow {
  margin: 28px 0 8px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.35;
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 7vw, 5rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.link-grid {
  display: grid;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto 72px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.link-item {
  min-height: 164px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.link-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.link-item:hover {
  background: var(--surface);
}

.link-item strong,
.link-item span {
  display: block;
}

.link-item strong {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.link-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

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

.page h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.document {
  padding-top: 36px;
}

.document section {
  margin: 0 0 38px;
}

.document h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.document h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.document p,
.document ul {
  margin-top: 0;
}

.document li + li {
  margin-top: 7px;
}

.language-divider {
  margin: 64px 0 48px;
  border: 0;
  border-top: 1px solid var(--line);
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  background: var(--surface);
}

.contact-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

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

.footer-inner {
  display: flex;
  width: min(1080px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 62px;
  }

  .site-nav {
    display: none;
  }

  .hero-mark {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

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

  .link-item:nth-child(odd) {
    border-right: 0;
  }

  .footer-inner {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

