:root {
  color-scheme: light;
  --brand: #1a6e50;
  --brand-dark: #10513a;
  --brand-soft: #eaf4ef;
  --ink: #18221e;
  --muted: #69736f;
  --line: #dfe5e1;
  --surface: #ffffff;
  --canvas: #f4f6f3;
  --blue: #1769aa;
  --blue-soft: #eaf3fb;
  --warning: #8b550f;
  --warning-soft: #fff5df;
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.65; }
a { color: inherit; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(223, 229, 225, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 12px;
  text-decoration: none;
}
.brand:focus-visible, .header-link:focus-visible, .audience a:focus-visible, .contents a:focus-visible {
  outline: 3px solid rgba(26, 110, 80, .24);
  outline-offset: 3px;
}
.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 21px;
  font-weight: 850;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; line-height: 1.2; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 700; }
.header-link {
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

main { width: min(960px, 100%); margin: 0 auto; padding: 0 20px 80px; }
.hero { padding: 74px 0 54px; text-align: center; }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.hero h1 { margin: 8px 0 16px; font-size: clamp(36px, 7vw, 60px); line-height: 1.15; letter-spacing: -.03em; }
.hero-copy { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.mobile-break { display: none; }

.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.audience a {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 0 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(24, 34, 30, .04);
}
.audience a > span { grid-row: 1 / 3; font-size: 30px; }
.audience strong { font-size: 16px; }
.audience small { color: var(--muted); font-size: 12px; }

.contents {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--brand-dark);
  color: #fff;
}
.contents .eyebrow { color: #9dd5be; }
.contents h2 { margin: 3px 0 20px; font-size: 25px; }
.contents ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contents a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.contents a:hover { background: rgba(255, 255, 255, .09); }
.contents a span { color: #9dd5be; font-size: 11px; letter-spacing: .08em; }

.guide-section { padding-top: 86px; }
.section-title { max-width: 680px; margin-bottom: 28px; }
.section-title h2 { margin: 5px 0 9px; font-size: clamp(30px, 5vw, 42px); line-height: 1.25; }
.section-title > p:last-child { color: var(--muted); font-size: 16px; }

.manual-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  margin-bottom: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(24, 34, 30, .045);
}
.card-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 17px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 18px;
  font-weight: 850;
}
.card-content h3 { margin: 2px 0 5px; font-size: 26px; line-height: 1.35; }
.lead { color: var(--muted); }

.steps, .customer-steps {
  display: grid;
  gap: 0;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.steps li, .customer-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding-bottom: 21px;
}
.steps li:not(:last-child)::before, .customer-steps li:not(:last-child)::before {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 2px;
  background: var(--brand-soft);
  content: "";
}
.steps li > span, .customer-steps li > span {
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}
.steps strong, .customer-steps strong { display: block; padding-top: 3px; font-size: 16px; }
.steps p, .customer-steps p { margin-top: 3px; color: var(--muted); font-size: 14px; }

.note, .warning {
  margin-top: 15px;
  padding: 16px 18px;
  border-radius: 15px;
}
.note { background: var(--brand-soft); }
.warning { background: var(--warning-soft); }
.note strong { color: var(--brand-dark); }
.warning strong { color: var(--warning); }
.note p, .warning p { margin-top: 3px; font-size: 13px; }

.badge-guide {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  gap: 10px 13px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.badge-guide p { color: var(--muted); font-size: 13px; }
.badge { padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 850; }
.badge-green { color: var(--brand); background: var(--brand-soft); }
.badge-blue { color: var(--blue); background: var(--blue-soft); }
.badge-orange { color: #a14f08; background: #fff0df; }
.badge-gray { color: #59615e; background: #eef1ef; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.feature-grid section { padding: 17px; border: 1px solid var(--line); border-radius: 15px; }
.feature-grid span { font-size: 24px; }
.feature-grid h4 { margin: 7px 0 3px; font-size: 15px; }
.feature-grid p { color: var(--muted); font-size: 12px; }

.customer-section { margin-top: 66px; padding: 70px 0 0; border-top: 1px solid var(--line); }
.customer-card { grid-template-columns: 1fr; border-color: #c9ded5; }
.customer-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.customer-steps li {
  grid-template-columns: 1fr;
  padding: 18px;
  border-radius: 16px;
  background: var(--canvas);
}
.customer-steps li::before { display: none; }

.trouble-section { padding-top: 86px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--brand);
  content: "＋";
  font-size: 22px;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 20px 19px; color: var(--muted); font-size: 14px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(20px, calc((100vw - 920px) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-brand .brand-mark { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
footer > p { color: var(--muted); font-size: 11px; text-align: right; }

@media (max-width: 700px) {
  main { padding-right: 15px; padding-left: 15px; }
  .hero { padding: 52px 4px 42px; }
  .mobile-break { display: initial; }
  .hero-copy { font-size: 15px; }
  .audience { grid-template-columns: 1fr; }
  .contents { padding: 23px 18px; }
  .contents ol { grid-template-columns: 1fr; gap: 2px; }
  .guide-section { padding-top: 68px; }
  .manual-card { grid-template-columns: 1fr; gap: 14px; padding: 21px 18px; }
  .card-number { width: 46px; height: 46px; border-radius: 14px; font-size: 15px; }
  .card-content h3 { font-size: 22px; }
  .feature-grid, .customer-steps { grid-template-columns: 1fr; }
  .customer-section { margin-top: 45px; padding-top: 54px; }
  footer { align-items: flex-start; flex-direction: column; padding: 26px 20px; }
  footer > p { text-align: left; }
}

@media (max-width: 390px) {
  .header-link { padding: 8px 10px; font-size: 12px; }
  .brand strong { font-size: 15px; }
  .brand-mark { width: 42px; height: 42px; }
  .badge-guide { grid-template-columns: 1fr; }
  .badge { width: max-content; }
}

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

/* Screenshot-led initial setup guide */
.capture-note { color: var(--muted); font-size: 12px; margin-top: 12px; }
.setup-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.setup-jumps a { padding: 7px 12px; border-radius: 24px; background: var(--brand-soft); color: var(--brand-dark); font-size: 14px; text-decoration: none; font-weight: 700; }
.visual-guide { display: grid; gap: 24px; }
.visual-step { display: grid; grid-template-columns: 1fr 240px; align-items: center; gap: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--canvas); scroll-margin-top: 92px; }
.step-label { display: inline-block; padding: 4px 10px; background: var(--brand); color: white; border-radius: 8px; font-size: 12px; font-weight: 800; }
.visual-instruction h4 { margin: 14px 0 10px; font-size: 23px; }
.step-action { font-size: 18px; font-weight: 700; }
.step-hint { margin-top: 10px; color: var(--muted); font-size: 14px; }
.screen-link { position: relative; display: block; width: 100%; max-width: 240px; margin: auto; border-radius: 22px; box-shadow: 0 8px 24px #18221e1a; }
.screen-link img { display: block; width: 100%; height: auto; border-radius: 22px; }
.screen-badge { position: absolute; top: -10px; left: -10px; display: grid; place-items: center; width: 32px; height: 32px; border: 3px solid white; border-radius: 50%; background: var(--brand); color: white; font-weight: 800; }
.setup-details { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.setup-details summary { cursor: pointer; font-weight: 700; }
.setup-details[open] summary { margin-bottom: 18px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media(max-width: 680px) {
 .visual-step { grid-template-columns: minmax(0,1fr); padding: 18px; gap: 20px; }
 .visual-instruction h4 { font-size: 21px; }
 .screen-link { max-width: 250px; }
}

.screen-target { position: absolute; outline: 5px solid #ff0000; outline-offset: 0; border-radius: 0; pointer-events: none; }
#setup-1 .screen-target { left: 5%; top: 41.5%; width: 90%; height: 7%; }
#setup-2 .screen-target { left: 79%; top: 17%; width: 18%; height: 5.6%; }
#setup-3 .screen-target { left: 5%; top: 50%; width: 90%; height: 7%; }
#setup-4 .screen-target { left: 25%; top: 43.7%; width: 50%; height: 6%; }
#setup-5 .screen-target { left: 3%; top: 50.7%; width: 94%; height: 7.5%; }

.manual-note { margin-top:14px; border:1px solid var(--line); border-radius:12px; background:#f8faf8; }
.manual-note summary { padding:14px 16px; cursor:pointer; color:var(--brand-dark); font-size:14px; font-weight:700; }
.manual-note > p { padding:0 16px 16px; font-size:14px; color:var(--muted); }
@media print { .manual-note > *, .setup-details > * { display:block!important; } }

/* The approved illustration introduces the guide without obscuring its navigation. */
.hero { padding: 40px 0 36px; text-align: left; }
.hero-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 32px; }
.hero-heading { min-width: 0; }
.hero h1 { margin: 12px 0 20px; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.4; letter-spacing: -.025em; }
.hero h1 span { display: block; margin-bottom: 4px; color: var(--brand-dark); font-size: .6em; letter-spacing: .04em; }
.hero-copy { margin: 0; font-size: 14px; line-height: 1.9; }
.hero-art { display: block; width: 100%; height: auto; border-radius: 20px; }
.hero .audience { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.hero .audience a { box-shadow: none; transition: border-color .15s, background .15s; }
.hero .audience a:hover { border-color: var(--brand); background: var(--brand-soft); }
@media(max-width: 680px) {
 .hero { padding: 28px 0; }
 .hero-intro { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .hero h1 { margin: 8px 0 12px; font-size: 30px; }
 .hero-copy { font-size: 13px; }
 .hero-art { border-radius: 16px; }
 .hero .audience { gap: 10px; margin-top: 18px; }
 .hero .audience a { grid-template-columns: 1fr; gap: 4px; padding: 14px 12px; border-radius: 14px; }
 .hero .audience a > span { display: none; }
 .hero .audience strong { font-size: 14px; }
 .hero .audience small { font-size: 11px; }
}

#customer-input .screen-target { left: 10%; top: 67%; width: 80%; height: 15%; }
#customer-confirm .screen-target { left: 5%; top: 68.5%; width: 90%; height: 5%; }
#customer-complete .screen-target { left: 10%; top: 43.5%; width: 80%; height: 9%; }
