:root {
  color-scheme: light;
  --tea-900: #293d27;
  --tea-800: #31492d;
  --tea-700: #3b5b34;
  --tea-600: #49713e;
  --tea-300: #a9c69a;
  --tea-200: #cedfc4;
  --tea-100: #e7efe1;
  --tea-50: #f5f8f2;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --ink: #283026;
  --muted: #687064;
  --cocoa: #7b6655;
  --danger: #9f3f3a;
  --border: rgba(59, 91, 52, 0.16);
  --shadow: 0 18px 50px rgba(49, 73, 45, 0.1);
  --content: 1080px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--tea-700);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--tea-900);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--tea-900);
  border-radius: 12px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: min(360px, 42vw);
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

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

main {
  min-height: calc(100vh - 250px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 94px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

.hero::before {
  top: -120px;
  right: -110px;
  width: 420px;
  height: 420px;
  background: var(--tea-100);
}

.hero::after {
  bottom: -130px;
  left: -110px;
  width: 330px;
  height: 330px;
  background: rgba(123, 102, 85, 0.09);
}

.hero-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--tea-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--tea-900);
  line-height: 1.4;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 62px);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(25px, 3vw, 36px);
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.lead {
  max-width: 42em;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.button-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tea-700);
  border-radius: 999px;
  color: var(--paper);
  background: var(--tea-700);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(59, 91, 52, 0.14);
}

.button:hover {
  color: var(--paper);
  background: var(--tea-900);
}

.button-secondary {
  color: var(--tea-700);
  background: transparent;
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--paper);
}

.hero-art {
  width: min(100%, 430px);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 30%;
  box-shadow: var(--shadow);
}

.section {
  padding: 76px 0;
}

.section-tinted {
  background: var(--tea-50);
  border-block: 1px solid var(--border);
}

.section-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section-intro {
  max-width: 700px;
  margin: -8px 0 32px;
  color: var(--muted);
}

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

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(49, 73, 45, 0.06);
}

.card-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--tea-700);
  font-weight: 800;
}

.card p,
.link-card p {
  margin: 0;
  color: var(--muted);
}

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

.link-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.link-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--tea-800);
  font-size: 18px;
}

.page-hero {
  padding: 62px 0 38px;
}

.page-hero-inner,
.document {
  width: min(calc(100% - 40px), var(--reading));
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.updated-at {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.document {
  padding: 20px 0 90px;
}

.document section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.document section:first-child {
  border-top: 0;
}

.document h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.document h3 {
  margin-top: 24px;
  font-size: 18px;
}

.document p {
  margin: 0 0 14px;
}

.document ul,
.document ol {
  margin: 12px 0 16px;
  padding-left: 1.5em;
}

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

.notice,
.warning {
  margin: 22px 0;
  padding: 20px 22px;
  border-radius: 16px;
}

.notice {
  border: 1px solid var(--tea-200);
  background: var(--tea-50);
}

.warning {
  border: 1px solid rgba(159, 63, 58, 0.25);
  background: rgba(159, 63, 58, 0.06);
}

.notice > :last-child,
.warning > :last-child {
  margin-bottom: 0;
}

.steps {
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 44px;
  padding-left: 58px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  top: -4px;
  left: 0;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--tea-700);
  font-weight: 800;
}

.email-address {
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 44px 0;
  color: var(--tea-100);
  background: var(--tea-900);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-name {
  margin: 0 0 6px;
  color: var(--paper);
  font-weight: 800;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--tea-100);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--paper);
}

@media (max-width: 820px) {
  .header-inner {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand img {
    width: min(360px, 78vw);
  }

  .site-nav {
    width: 100%;
    padding-bottom: 4px;
    justify-content: flex-start;
    gap: 10px 18px;
    overflow-x: auto;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-art {
    width: min(82vw, 390px);
  }

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

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

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .page-hero-inner,
  .document,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero {
    padding-bottom: 68px;
  }

  .section {
    padding: 58px 0;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .card {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
