:root {
  --ink: #18211e;
  --muted: #65716c;
  --forest: #17382f;
  --forest-2: #214b3f;
  --leaf: #587c68;
  --sage: #dfe9e1;
  --sage-2: #edf3ee;
  --cream: #f6f3ea;
  --paper: #fffdf8;
  --line: rgba(24, 56, 47, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 56, 47, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(88, 124, 104, 0.45);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(24, 56, 47, 0.05);
}

.header-inner,
.hero-inner,
.summary-grid,
.faq-layout,
.contact-inner,
.closing-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--forest);
  font-size: 1rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #495650;
  font-size: 0.88rem;
  font-weight: 650;
}

.header-nav a:not(.back-link):hover {
  color: var(--forest);
}

.back-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.back-link:hover {
  background: var(--sage-2);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--leaf);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero {
  overflow: hidden;
  position: relative;
  padding: 118px 0 100px;
  background:
    radial-gradient(circle at 82% 18%, rgba(88, 124, 104, 0.14), transparent 34%),
    linear-gradient(180deg, #f6f3ea 0%, #fbfaf5 100%);
}

.hero::after {
  content: "?";
  position: absolute;
  right: max(5vw, 32px);
  top: 6px;
  color: rgba(23, 56, 47, 0.05);
  font-size: clamp(220px, 31vw, 440px);
  font-weight: 780;
  line-height: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 30px;
  color: var(--forest);
  font-size: clamp(2.75rem, 6.8vw, 5.3rem);
  line-height: 1.16;
  letter-spacing: -0.055em;
  font-weight: 790;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #53615b;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 48px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--forest);
}

.button.primary:hover {
  background: var(--forest-2);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.7);
}

.button.secondary:hover {
  background: var(--sage-2);
}

.button.large {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
}

.support-summary {
  padding: 0 0 94px;
  background: linear-gradient(180deg, #fbfaf5 0 38%, var(--paper) 38%);
}

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

.summary-card {
  position: relative;
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.summary-number {
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.summary-icon {
  width: 58px;
  height: 58px;
  margin: 35px 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-2);
  color: var(--forest);
  font-size: 1.35rem;
  font-weight: 760;
}

.summary-card h2 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.faq-section {
  padding: 110px 0 130px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(56px, 8vw, 118px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 120px;
}

.faq-aside h2 {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.faq-aside > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
}

.aside-note {
  margin-top: 34px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--sage-2);
}

.aside-note-mark {
  display: block;
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 1.4rem;
}

.aside-note p {
  margin: 0;
  color: #456055;
  font-size: 0.86rem;
  line-height: 1.7;
}

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

.faq-group {
  padding: 42px 0 18px;
  border-bottom: 1px solid var(--line);
}

.group-label {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.faq-item {
  border-top: 1px solid rgba(24, 56, 47, 0.1);
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-item summary {
  min-height: 80px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--forest);
  font-size: 1.02rem;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--sage-2);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--forest);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 56px 26px 0;
}

.faq-answer p {
  margin: 0;
  color: #53615b;
  font-size: 0.96rem;
}

.contact-section {
  padding: 110px 0;
  background: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
}

.contact-copy h2 {
  margin-bottom: 20px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.contact-note {
  max-width: 680px;
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 3px solid var(--leaf);
  background: rgba(255, 255, 255, 0.58);
}

.contact-note p {
  margin: 0;
  color: #53615b;
  font-size: 0.88rem;
}

.contact-note p + p {
  margin-top: 6px;
}

.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--sage-2);
  font-size: 1.2rem;
  font-weight: 760;
}

.contact-card-label {
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.contact-card h3 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.contact-card > p:not(.contact-card-label):not(.form-note) {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note {
  margin: 18px 0 0;
  color: #7a847f;
  font-size: 0.76rem;
  line-height: 1.65;
}

.closing {
  padding: 110px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(223, 233, 225, 0.12), transparent 34%),
    var(--forest);
}

.closing-inner {
  text-align: center;
}

.closing-mark {
  width: 66px;
  height: 66px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 1.7rem;
}

.closing .eyebrow {
  color: #b8cbbf;
}

.closing h2 {
  margin-bottom: 30px;
  font-size: clamp(2rem, 4.9vw, 4rem);
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.closing-actions {
  justify-content: center;
}

.button.light {
  color: var(--forest);
  background: var(--paper);
}

.button.ghost {
  color: #e7eee9;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.site-footer {
  padding: 64px 0 30px;
  background: #102a23;
  color: #d8e2dc;
}

.footer-brand .brand-mark {
  color: var(--forest);
  background: #e5eee7;
}

.footer-inner > p {
  max-width: 600px;
  margin: 22px 0 22px;
  color: #9fb2a8;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 38px;
  color: #afc0b7;
  font-size: 0.82rem;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #82978c;
  font-size: 0.78rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

@media (max-width: 860px) {
  .header-nav > a:not(.back-link) {
    display: none;
  }

  .hero {
    padding-top: 92px;
  }

  .summary-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .summary-card {
    min-height: auto;
  }

  .summary-icon {
    margin-top: 24px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .faq-aside {
    position: static;
  }

  .aside-note {
    max-width: 520px;
  }

  .contact-card {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .summary-grid,
  .faq-layout,
  .contact-inner,
  .closing-inner,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max));
  }

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

  .header-nav {
    gap: 10px;
  }

  .back-link {
    padding: 8px 13px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 74px 0 70px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .hero-actions,
  .closing-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .support-summary {
    padding-bottom: 68px;
  }

  .summary-card {
    padding: 24px;
    border-radius: 22px;
  }

  .faq-section,
  .contact-section {
    padding: 80px 0 92px;
  }

  .faq-item summary {
    min-height: 72px;
    padding: 18px 0;
    gap: 16px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .contact-card {
    padding: 26px;
    border-radius: 22px;
  }

  .closing {
    padding: 84px 0;
  }

  .footer-links,
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
