:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --paper-deep: #efe8da;
  --surface: rgba(255, 253, 248, 0.9);
  --ink: #2f342f;
  --ink-soft: #626a63;
  --sage: #667b69;
  --sage-deep: #435648;
  --sage-mist: #e5ebe2;
  --clay: #a56652;
  --line: rgba(67, 86, 72, 0.18);
  --shadow: 0 22px 60px rgba(55, 63, 54, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.9), transparent 32rem),
    radial-gradient(circle at 90% 18%, rgba(210, 221, 207, 0.42), transparent 30rem),
    repeating-linear-gradient(0deg, rgba(67, 86, 72, 0.018) 0, rgba(67, 86, 72, 0.018) 1px, transparent 1px, transparent 5px),
    var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

:focus-visible {
  outline: 3px solid rgba(165, 102, 82, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner,
.page,
.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(67, 86, 72, 0.16);
  border-radius: 50% 46% 52% 44%;
  background: var(--sage-mist);
  transform: rotate(-5deg);
}

.brand-mark::before {
  content: "";
  width: 12px;
  height: 17px;
  border-radius: 100% 0 100% 0;
  background: var(--sage);
  transform: rotate(18deg);
}

.brand-name {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.86rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--sage-deep);
  font-weight: 700;
}

.page {
  padding: 72px 0 96px;
}

.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sage-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 600;
  line-height: 1.45;
}

h1 {
  max-width: 16em;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  letter-spacing: 0.025em;
}

.hero-copy {
  max-width: 42rem;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-note {
  display: inline-flex;
  margin-top: 30px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(255, 253, 248, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

.paper-card {
  position: relative;
  padding: 38px 34px;
  border: 1px solid rgba(67, 86, 72, 0.16);
  border-radius: 6px 30px 8px 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}

.paper-card::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 90px;
  height: 24px;
  background: rgba(218, 205, 174, 0.56);
  transform: translateX(-50%) rotate(-2deg);
}

.paper-card h2 {
  margin: 0 0 22px;
  font-size: 1.42rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.feature-list li::before {
  content: "○";
  color: var(--sage);
  font-family: serif;
}

.section {
  padding: 74px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
}

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

.info-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px 6px 22px 6px;
  background: rgba(255, 253, 248, 0.68);
}

.info-card .number {
  color: var(--clay);
  font-family: "Yu Mincho", serif;
  font-size: 0.9rem;
}

.info-card h3 {
  margin: 10px 0 12px;
  font-size: 1.25rem;
}

.info-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.notice {
  margin-top: 72px;
  padding: 28px 30px;
  border-left: 4px solid var(--sage);
  background: var(--sage-mist);
  color: var(--ink-soft);
}

.notice strong {
  color: var(--ink);
}

.document {
  max-width: 790px;
}

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

.document-header h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
}

.document-header p {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.document h2 {
  margin: 50px 0 14px;
  font-size: 1.48rem;
}

.document h3 {
  margin: 30px 0 10px;
  font-size: 1.08rem;
}

.document p,
.document li {
  color: var(--ink-soft);
}

.document ul {
  padding-left: 1.35em;
}

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

.callout {
  margin: 30px 0;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 4px 20px 4px 20px;
  background: rgba(255, 253, 248, 0.78);
}

.callout p:first-child {
  margin-top: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--sage-deep);
  font-weight: 700;
  text-decoration: none;
}

.support-button:hover {
  color: #fff;
  background: var(--clay);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(239, 232, 218, 0.54);
}

.footer-inner {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

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

@media (max-width: 780px) {
  .header-inner,
  .page,
  .footer-inner {
    width: min(100% - 28px, 1080px);
  }

  .header-inner {
    min-height: 64px;
  }

  .nav {
    gap: 12px;
    font-size: 0.75rem;
  }

  .nav a:first-child {
    display: none;
  }

  .page {
    padding: 46px 0 72px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 2.6rem);
  }

  .paper-card {
    padding: 32px 25px;
    transform: none;
  }

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

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

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

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