:root {
  --ink: #322d25;
  --muted: #726b61;
  --cream: #fffaf0;
  --paper: #fffefb;
  --green: #64c873;
  --green-dark: #23753c;
  --orange: #f36540;
  --yellow: #f6d75d;
  --line: #ddd7ca;
  --shadow: 0 16px 42px rgba(67, 56, 40, .10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(100, 200, 115, .12), transparent 24rem),
    radial-gradient(circle at 8% 70%, rgba(246, 215, 93, .15), transparent 25rem),
    var(--cream);
}

a { color: var(--green-dark); }
a:hover { text-decoration-thickness: 2px; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  padding: 18px 24px 0;
}

.header-inner {
  width: min(1120px, 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(50, 45, 37, .10);
  border-radius: 999px;
  background: rgba(255, 254, 251, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  font-size: 15px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 750;
}

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

.header-nav .contact {
  padding: 8px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
}

main {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 82px 0 100px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.highlight {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-links {
  margin: 42px 0 0;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(50, 45, 37, .08);
}

.quick-links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eff9f0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.section {
  margin-top: 58px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(23px, 3.5vw, 32px);
  line-height: 1.4;
}

.section h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.section p:last-child,
.section ul:last-child,
.section ol:last-child { margin-bottom: 0; }

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

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

.steps li {
  position: relative;
  min-height: 46px;
  padding: 6px 0 6px 58px;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--yellow);
  content: counter(step);
  font-weight: 900;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 850;
}

.faq details p {
  margin: -4px 4px 20px;
  color: var(--muted);
}

.notice {
  padding: 16px 18px;
  border-left: 5px solid var(--orange);
  border-radius: 10px;
  background: #fff3ed;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 2px solid var(--ink);
  background: #eff9f0;
}

.button {
  display: inline-flex;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.legal h2 { scroll-margin-top: 110px; }

.site-footer {
  padding: 34px 20px;
  border-top: 1px solid var(--line);
  background: #fffefb;
}

.footer-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 700px) {
  .site-header { padding: 10px 10px 0; }
  .header-inner { border-radius: 20px; }
  .header-nav a:not(.contact) { display: none; }
  main { width: min(100% - 24px, 980px); padding-top: 54px; }
  .section { padding: 24px 20px; border-radius: 20px; }
  .contact-card { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .footer-inner { flex-direction: column; }
}
