:root {
  --ink: #233c32;
  --muted: #4e6259;
  --forest: #244638;
  --deep: #19392e;
  --sage: #e9efe5;
  --cream: #f8f5ec;
  --white: #fffefa;
  --line: #cbd6ca;
  --peach: #f2ba95;
  --peach-dark: #cb916d;
  --gutter: max(20px, calc((100vw - 1120px) / 2));
  --font: "Hiragino Sans", "Noto Sans CJK JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(82px + env(safe-area-inset-top)); }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #ab581e; outline-offset: 4px; }
.wrap, .header-inner { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: fixed;
  top: -120px;
  left: 12px;
  z-index: 30;
  padding: 10px 20px;
  background: var(--white);
}
.skip:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: inline-flex; gap: 9px; align-items: center; min-height: 48px; }
.brand-mark {
  font: bold 31px/.9 Georgia, serif;
  letter-spacing: -.06em;
  text-align: center;
}
.brand-mark > span {
  display: block;
  margin-top: 5px;
  font: 700 7px/1 var(--font);
  letter-spacing: .16em;
}
.brand-caption { font-size: 12px; line-height: 1.4; font-weight: 750; }
.site-header nav { display: none; }
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 10px 17px;
  border: 0;
  border-radius: 8px;
  text-align: left;
  font-weight: 800;
  line-height: 1.4;
}
.button-peach {
  background: var(--peach);
  color: var(--deep);
  box-shadow: 0 4px 0 var(--peach-dark);
}
.button-green { background: var(--forest); color: white; }
.arrow { font-size: 22px; font-weight: 500; line-height: 1; flex: none; }
.header-cta { width: auto; min-height: 45px; font-size: 13px; padding: 8px 12px; }
.header-cta .arrow { font-size: 18px; }
@media (hover: hover) {
  .button-peach:hover { background: #f8c8aa; }
  .button-green:hover { background: var(--deep); }
  .site-header nav a:hover, .footer-links :is(a, button):hover { text-decoration: underline; }
}

.hero { overflow: clip; background: var(--sage); }
.hero-inner { position: relative; isolation: isolate; }
.hero-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(140deg, var(--deep), #35644e);
  clip-path: polygon(0 0, 100% 0, 100% 65%, 0 79%);
}
.hero-copy { color: white; padding: 28px var(--gutter) 0; }
.eyebrow { font-size: 13px; font-weight: 750; letter-spacing: .025em; }
.hero h1 {
  margin-top: 14px;
  font-size: clamp(26px, 7.6vw, 40px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.35;
}
.hero h1 strong {
  display: block;
  color: #ffd1b4;
  font-size: 1.25em;
  font-weight: 900;
  letter-spacing: -.04em;
}
.hero-lead { margin-top: 17px; max-width: 35rem; font-size: 15px; }
.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-top: 14px;
}
.hero-topics li {
  border: 1px solid #ffffff85;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hero-topics li:first-child { background: var(--white); color: var(--deep); }
.hero-button { margin-top: 17px; max-width: 390px; font-size: 17px; }
.hero-note { margin-top: 13px; font-size: 12px; color: #e9f1e8; }

.hero-visual { position: relative; max-width: 520px; margin: 28px auto 0; padding: 15px var(--gutter) 29px; }
.hero-photo {
  position: relative;
  aspect-ratio: 1.64;
  overflow: hidden;
  border: 4px solid var(--white);
  border-radius: 14px;
  background: #d8ddd2;
  box-shadow: 0 10px 30px #14372d26;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 45%; }
.hero-photo figcaption {
  position: absolute;
  right: 7px;
  bottom: 7px;
  color: white;
  background: #173529e8;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 11px;
}
.hero-stamp {
  position: absolute;
  z-index: 1;
  left: calc(var(--gutter) + 10px);
  top: -4px;
  background: var(--white);
  padding: 7px 14px;
  border-radius: 5px;
  transform: rotate(-3deg);
  color: var(--deep);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
  box-shadow: 0 3px 9px #18392d1c;
}
.hero-stamp strong { font-size: 17px; }
.hero-book-wrap {
  position: absolute;
  left: calc(var(--gutter) + 7px);
  bottom: 9px;
  transform: rotate(-6deg);
}
.book-hero {
  position: relative;
  width: 104px;
  aspect-ratio: .73;
  padding: 9px 7px 7px 10px;
  border-radius: 2px 6px 6px 2px;
  border-left: 3px solid #b29362;
  box-shadow: 2px 4px 11px #19392e55;
  background: var(--cream);
  color: var(--forest);
  line-height: 1.45;
}
.book-top, .book-footer { font-size: 7px; font-weight: 800; }
.book-top span { display: none; }
.book-title { position: relative; z-index: 1; margin-top: 7px; font-size: 12px; font-weight: 800; }
.book-rule { width: 18px; height: 1px; background: #9b774e; margin-top: 4px; }
.book-subtitle { position: relative; z-index: 1; margin-top: 3px; font-size: 8px; }
.book-house { position: absolute; right: 3px; bottom: 8px; width: 65%; color: #a6b4a7; }
.book-house svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; }
.book-footer { position: absolute; left: 10px; bottom: 6px; }
.book-label { display: block; padding: 2px 4px; background: var(--white); font-size: 9px; }

.section-pad { padding-block: 50px; }
.section-kicker { color: #42614f; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
h2 { font-size: clamp(26px, 7vw, 34px); font-weight: 850; line-height: 1.4; letter-spacing: -.035em; }
h3 { font-size: 18px; line-height: 1.5; }
.section-heading { margin-bottom: 20px; }
.section-heading > p:last-child { color: var(--muted); font-size: 15px; margin-top: 12px; }
.question-list, .steps { list-style: none; }
.question-list { display: grid; gap: 9px; margin-top: 20px; }
.question-list li { display: flex; gap: 11px; background: var(--cream); padding: 13px 14px; border-radius: 8px; }
.question-number, .step-tag, .support-list dt span {
  color: #42614f;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.question-list h3 { font-size: 16px; }
.question-list p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.guide { background: var(--cream); }
.guide-heading { margin-bottom: 22px; }
.guide-heading h2 { font-size: clamp(29px, 8.1vw, 42px); }
.guide-heading > p:last-child { color: var(--muted); font-size: 15px; margin-top: 10px; }
.guide-topics { list-style: none; border-block: 1px solid var(--line); }
.guide-topics > li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-block: 16px;
}
.guide-topics > li + li { border-top: 1px solid var(--line); }
.guide-number {
  color: #42614f;
  font: 400 27px/1 Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
}
.guide-topics h3 { font-size: 17px; font-weight: 800; }
.guide-topics p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.guide-cta { margin: 24px auto 0; max-width: 370px; }

.support-list { display: grid; gap: 10px; }
.support-list > div { padding: 15px 14px; border: 1px solid var(--line); border-radius: 8px; }
.support-list dt { display: flex; align-items: baseline; gap: 10px; font-weight: 800; }
.support-list dd { margin: 5px 0 0 30px; color: var(--muted); font-size: 14px; }
.support-note { font-size: 13px; color: var(--muted); margin-top: 15px; }
.flow { background: var(--cream); }
.steps { display: grid; gap: 9px; margin-top: 22px; }
.steps li { background: var(--white); padding: 16px 16px 16px 79px; border-radius: 8px; position: relative; }
.step-tag { position: absolute; left: 13px; top: 19px; font-size: 12px; }
.steps p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.steps p br { display: none; }

.faq-list { display: grid; gap: 8px; margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; }
.faq summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 9px;
  padding: 12px;
  min-height: 51px;
  font-size: 15px;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span, .faq summary i { color: #42614f; font-style: normal; font-weight: 850; }
.faq summary i::before { content: "+"; }
.faq details[open] summary i::before { content: "−"; }
.faq details p { padding: 0 14px 15px 32px; font-size: 14px; color: var(--muted); }

.request { background: var(--deep); color: white; }
.request .section-kicker { color: #ffd1b4; }
.request-copy > p:last-child { max-width: 30rem; margin-top: 11px; color: #e9f1e8; font-size: 15px; }
.request-panel { background: var(--white); color: var(--ink); padding: 16px; margin-top: 21px; border-radius: 11px; }
.demo-notice { background: var(--sage); padding: 8px 10px; border-radius: 5px; font-size: 13px; font-weight: 750; }
.form-field { margin-top: 13px; }
.form-field label { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; font-weight: 750; font-size: 14px; }
.form-field label span { font-size: 12px; color: var(--muted); font-weight: 500; }
.form-field input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-top: 5px;
  font-size: 16px;
}
.form-field input:disabled { background: #f1f3ef; color: var(--muted); opacity: 1; }
.form-field input::placeholder { color: var(--muted); opacity: 1; }
fieldset { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; font-size: 14px; font-weight: 750; }
.radio-options { display: grid; gap: 6px; margin-top: 5px; }
.radio-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}
.radio-options input { accent-color: var(--forest); margin: 0; width: 18px; height: 18px; }
.radio-options label:has(input:checked) { background: var(--sage); border-color: #8da68f; }
.preference-note, .form-fine { font-size: 13px; color: var(--muted); margin-top: 10px; }
.request-panel .button { margin-top: 13px; }
.form-fine { margin-top: 14px; }

.site-footer { background: var(--cream); padding-block: 24px calc(22px + env(safe-area-inset-bottom)); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 6px; font-size: 13px; }
.footer-links :is(a, button) { display: flex; align-items: center; min-height: 44px; }
.footer-links button { background: transparent; border: 0; padding: 0; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 13px; color: var(--muted); font-size: 12px; }
.footer-bottom > span { display: block; margin-top: 8px; }

dialog {
  width: min(510px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 50px 18px 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
dialog::backdrop { background: #19392ecc; }
dialog h2 { font-size: 24px; }
dialog > p:not(.section-kicker) { font-size: 15px; color: var(--muted); margin-top: 13px; }
.dialog-close { position: absolute; right: 8px; top: 5px; width: 44px; height: 44px; padding: 0; background: none; border: 0; font-size: 28px; line-height: 1; }
.dialog-guide { background: var(--sage); margin-top: 13px; padding: 14px; border-radius: 6px; }
.dialog-guide p { font-size: 14px; color: var(--muted); margin-top: 3px; }
dialog .button { margin-top: 16px; }

@media (min-width: 600px) and (max-width: 839px) {
  .hero-copy { max-width: 600px; margin-inline: auto; }
  .hero-visual { max-width: 490px; }
}

@media (min-width: 840px) {
  html { scroll-padding-top: calc(90px + env(safe-area-inset-top)); }
  .header-inner { min-height: 76px; gap: 24px; }
  .brand { gap: 13px; }
  .brand-mark { font-size: 37px; }
  .brand-caption { font-size: 13px; }
  .site-header nav { display: flex; gap: clamp(14px, 2.1vw, 30px); margin-left: auto; font-size: 13px; font-weight: 750; }
  .header-cta { min-height: 52px; padding-inline: 20px; font-size: 15px; gap: 18px; }
  .hero-inner { display: grid; grid-template-columns: 56% 44%; align-items: center; min-height: 540px; }
  .hero-inner::before { clip-path: polygon(0 0, 62% 0, 54% 100%, 0 100%); }
  .hero-copy { padding: 42px 20px 45px var(--gutter); }
  .hero h1 { font-size: clamp(35px, 4.1vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-topics { margin-top: 19px; }
  .hero-topics li { font-size: 13px; padding-inline: 9px; }
  .hero-button { margin-top: 22px; }
  .hero-visual { width: 100%; max-width: none; margin: 0; padding: 28px var(--gutter) 28px 0; }
  .hero-photo { aspect-ratio: 1.32; }
  .hero-stamp { left: 20px; top: 4px; padding: 10px 19px; font-size: 14px; }
  .hero-stamp strong { font-size: 22px; }
  .hero-book-wrap { left: 14px; bottom: 6px; }
  .book-hero { width: 142px; padding: 13px 10px 8px 13px; }
  .book-title { font-size: 16px; }
  .book-top, .book-footer { font-size: 9px; }
  .book-subtitle { font-size: 10px; }
  .book-label { font-size: 10px; }
  .section-pad { padding-block: 72px; }
  .questions-grid, .faq-grid, .request-grid { display: grid; grid-template-columns: .82fr 1fr; gap: 50px; }
  .question-list, .faq-list, .request-panel { margin-top: 0; }
  .question-list li { padding: 15px 18px; }
  .guide-heading { text-align: center; margin-bottom: 30px; }
  .guide-heading br { display: none; }
  .guide-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-topics > li { display: block; padding: 24px clamp(15px, 2.2vw, 30px); }
  .guide-topics > li + li { border-top: 0; border-left: 1px solid var(--line); }
  .guide-number { display: block; font-size: 36px; margin-bottom: 12px; }
  .guide-topics h3 { font-size: 19px; }
  .guide-topics p { margin-top: 8px; }
  .guide-cta { margin-top: 32px; }
  .steps, .support-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { padding: 16px 17px; }
  .step-tag { position: static; display: block; margin-bottom: 6px; }
  .request-panel { padding: 22px; }
  .radio-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .footer-links, .footer-bottom > span { margin-top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
