:root {
  --coral: #e8755c;
  --coral-dark: #bd4937;
  --peach: #fde4da;
  --ivory: #fffaf3;
  --paper: #fffdf9;
  --ink: #292d36;
  --muted: #6c7078;
  --line: #d9d7d1;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: inherit; text-underline-offset: .2em; }
.site-header, main, footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 13px; }
.brand span { display: grid; line-height: 1.2; }
.brand b { font-size: .95rem; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .68rem; letter-spacing: .18em; }
nav { display: flex; gap: 25px; }
nav a { text-decoration: none; font-size: .88rem; font-weight: 650; }
nav a:hover { color: var(--coral-dark); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
  padding: 80px 4%;
}
.eyebrow, .section-number { margin: 0 0 18px; color: var(--coral-dark); font-size: .78rem; font-weight: 800; letter-spacing: .2em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.17; letter-spacing: -.04em; }
.lead { max-width: 590px; margin: 30px 0 36px; color: var(--muted); font-size: 1.05rem; }
.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  color: white;
  background: var(--coral);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 750;
}
.primary-button:hover { background: var(--coral-dark); }
.title-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); aspect-ratio: 1; width: min(100%, 460px); margin: auto; }
.cell { display: grid; place-items: center; aspect-ratio: 1; background: var(--paper); border: 1px solid #7c7f84; font-size: clamp(2.2rem, 6vw, 4.8rem); font-weight: 800; line-height: 1; }
.cell.coral { color: white; background: var(--coral); }
.cell.spacer { visibility: hidden; }
.sprig { position: absolute; left: -7%; bottom: 25%; color: var(--coral); font-size: 1.2rem; line-height: 1.2; transform: rotate(-25deg); }

.quick-help, .faq { padding: 95px 4%; border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.25; letter-spacing: -.03em; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.help-grid article { min-height: 300px; padding: 34px; background: var(--paper); border: 1px solid var(--line); }
.help-grid .icon { display: grid; width: 48px; height: 48px; place-items: center; color: white; background: var(--coral); border-radius: 50%; font-weight: 800; }
h3 { margin: 55px 0 12px; font-size: 1.25rem; }
.help-grid p, .section-heading > p { color: var(--muted); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading > p { max-width: 430px; margin: 0; }
.faq-list { margin-top: 50px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 25px 50px 25px 0; cursor: pointer; font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; color: var(--coral-dark); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 800px; margin: -5px 0 26px; color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 10%;
  margin-block: 70px;
  padding: 70px;
  color: white;
  background: var(--ink);
}
.contact > div > p:last-child { max-width: 400px; color: #c8c9cd; }
.section-number.light { color: #ff9a84; }
.mail-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 35px; color: var(--ink); background: var(--peach); text-decoration: none; }
.mail-card span { color: var(--coral-dark); font-size: .74rem; font-weight: 800; letter-spacing: .2em; }
.mail-card strong { margin: 14px 0 28px; font-size: clamp(1rem, 2vw, 1.35rem); }
.mail-card em { font-style: normal; font-weight: 750; }

footer { display: flex; justify-content: space-between; gap: 25px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
footer p { margin: 0; }
footer div { display: flex; gap: 20px; }

.policy-page { max-width: 860px; padding: 90px 0 110px; }
.policy-page > header { padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.policy-page h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); }
.policy-page header > p:last-child { color: var(--muted); }
.policy-body section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.policy-body h2 { font-size: 1.35rem; }
.policy-body p { margin: 14px 0 0; color: #51545b; }
.policy-body a { color: var(--coral-dark); font-weight: 700; }

@media (max-width: 760px) {
  .site-header { min-height: 78px; }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 55px; padding: 70px 0 80px; }
  .hero-copy { text-align: left; }
  .title-board { width: min(90%, 390px); order: -1; }
  .help-grid { grid-template-columns: 1fr; }
  .help-grid article { min-height: auto; }
  .help-grid h3 { margin-top: 28px; }
  .section-heading { align-items: start; flex-direction: column; }
  .contact { grid-template-columns: 1fr; gap: 35px; margin-block: 40px; padding: 42px 24px; }
  .mail-card { padding: 28px 20px; }
  footer { align-items: start; flex-direction: column; }
  footer div { flex-wrap: wrap; }
  .policy-page { padding-top: 60px; }
}

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