:root {
  color-scheme: light;
  font-family: "Yu Gothic UI", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  --ink: #172b3a;
  --muted: #5e7180;
  --brand: #1d4e89;
  --brand-dark: #12365f;
  --accent: #1a9c91;
  --accent-soft: #e6f5f2;
  --gold: #d79634;
  --paper: #f5f8fb;
  --panel: #ffffff;
  --line: #d9e4ec;
  --shadow: 0 18px 50px rgba(22, 55, 81, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.75; }
a { color: inherit; }
img { max-width: 100%; }

.manual-shell { display: grid; grid-template-columns: 286px minmax(0, 1fr); min-height: 100vh; }
.toc-panel {
  position: sticky; top: 0; z-index: 20; display: flex; flex-direction: column;
  height: 100vh; min-height: 0; padding: 22px 18px 18px;
  border-right: 1px solid #cfdde7; background: #eaf1f6;
}
.toc-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.toc-brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 5px 14px rgba(18, 54, 95, .18); }
.toc-brand span { display: grid; min-width: 0; }
.toc-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.toc-brand small { margin-top: 2px; color: #708392; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.toc-back {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-height: 44px; margin: 19px 0 13px; padding: 10px 12px;
  border: 1px solid var(--brand-dark); border-radius: 10px; background: var(--brand-dark);
  color: #fff; font-size: 13px; font-weight: 900; text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 54, 95, .18);
}
.toc-back:hover, .toc-back:focus-visible { background: var(--brand); outline: 3px solid #9edfd9; outline-offset: 2px; }
.toc-scroll { min-height: 0; overflow-y: auto; padding: 2px 4px 20px 0; scrollbar-color: #a9c2d0 transparent; }
.toc-label { margin: 0 0 7px 10px; color: #7a8f9e; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.toc-nav { display: grid; gap: 3px; }
.toc-nav a { padding: 9px 10px; border-radius: 8px; color: #4e6474; font-size: 12px; font-weight: 700; text-decoration: none; }
.toc-nav a:hover, .toc-nav a.is-current { background: #fff; color: var(--brand-dark); box-shadow: 0 2px 8px rgba(23, 67, 98, .08); }
.toc-nav a.is-current { border-left: 3px solid var(--accent); padding-left: 7px; }

.manual-main { width: min(1180px, 100%); min-width: 0; padding: 0 clamp(22px, 5vw, 78px) 84px; }
.hero { display: grid; grid-template-columns: minmax(280px, .86fr) minmax(410px, 1.14fr); align-items: center; gap: clamp(28px, 5vw, 76px); padding: clamp(48px, 8vw, 100px) 0 62px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.hero h1 { max-width: 620px; margin: 0 0 18px; font-size: clamp(35px, 5vw, 62px); line-height: 1.2; letter-spacing: -.045em; }
.hero-lead { max-width: 620px; margin: 0 0 24px; color: #496171; font-size: clamp(15px, 1.7vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.primary-link, .quiet-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border-radius: 9px; font-size: 12px; font-weight: 900; text-decoration: none; }
.primary-link { background: var(--brand); color: #fff; }
.quiet-link { border: 1px solid var(--line); background: #fff; color: var(--brand-dark); }
.primary-link:hover, .quiet-link:hover { transform: translateY(-1px); }
.hero-note { margin: 22px 0 0; color: #6d7e8b; font-size: 11px; }

.manual-section { padding: 64px 0 10px; scroll-margin-top: 25px; }
.section-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.section-number { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 900; }
.section-kicker { margin: 0 0 3px; color: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
h2 { margin: 0; font-size: clamp(25px, 3.7vw, 38px); line-height: 1.32; letter-spacing: -.03em; }
h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.45; }
p, li { color: var(--muted); font-size: 14px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0; padding-left: 1.45em; }
.section-intro { max-width: 780px; margin-bottom: 23px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.card { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 6px 18px rgba(24, 57, 82, .05); }
.card p { margin: 0; font-size: 13px; }
.card b { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; }
.step-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step-list li { position: relative; min-height: 48px; padding: 2px 0 2px 48px; counter-increment: step; }
.step-list li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 900; }
.step-list strong, .step-list span { display: block; }
.step-list strong { color: var(--ink); font-size: 14px; }
.step-list span { color: var(--muted); font-size: 13px; }
.tip, .warning { margin: 20px 0; padding: 15px 17px; border-radius: 10px; }
.tip { border-left: 4px solid var(--accent); background: var(--accent-soft); }
.warning { border-left: 4px solid var(--gold); background: #fff5e3; }
.tip strong, .warning strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; }
.tip p, .warning p { margin: 0; font-size: 13px; }
.two-column { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 28px; }
.two-column.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.data-table { width: 100%; border-collapse: collapse; margin: 17px 0; background: #fff; font-size: 13px; }
.data-table th, .data-table td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.data-table th { background: #eef4f8; color: var(--brand-dark); font-size: 12px; }
code { padding: 2px 5px; border-radius: 4px; background: #eaf0f4; color: var(--brand-dark); font-family: Consolas, monospace; font-size: .92em; }

.screen-frame { overflow: hidden; border: 1px solid #c8d7e1; border-radius: 14px; background: #dce7ee; box-shadow: var(--shadow); }
.screen-bar { display: flex; align-items: center; gap: 8px; min-height: 35px; padding: 7px 11px; background: #eef4f7; border-bottom: 1px solid #c9d8e1; color: #657b88; font-size: 10px; }
.screen-dots { display: flex; gap: 4px; }
.screen-dots i { width: 7px; height: 7px; border-radius: 50%; background: #a4bbc8; }
.screen-address { overflow: hidden; flex: 1; padding: 5px 9px; border: 1px solid #cbd9e2; border-radius: 6px; background: #fff; white-space: nowrap; text-overflow: ellipsis; }
.screen-appbar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--brand-dark); color: #eaf5ff; font-size: 10px; }
.screen-appbar strong { color: #fff; font-size: 12px; }
.screen-appbar span:last-child { margin-left: auto; color: #a9e2dc; }
.screen-body { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 10px; min-height: 210px; padding: 12px; background: #f7fafc; }
.screen-panel { min-width: 0; padding: 11px; border: 1px solid #d9e4eb; border-radius: 9px; background: #fff; }
.screen-panel strong { display: block; margin-bottom: 8px; color: var(--brand-dark); font-size: 11px; }
.screen-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 9px; }
.screen-chip, .screen-field { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 7px; border-radius: 5px; background: #eef3f6; color: #4e6979; font-size: 9px; font-weight: 800; }
.screen-chip.active { background: var(--accent); color: #fff; }
.screen-field { width: 100%; justify-content: flex-start; margin-bottom: 6px; border: 1px solid #d7e2e9; background: #fbfcfd; font-weight: 500; }
.screen-copy { min-height: 62px; padding: 10px; border: 1px solid #e3ebef; border-radius: 7px; color: #334e61; font-size: 11px; line-height: 1.7; }
.screen-copy em { padding: 2px 3px; border-radius: 3px; background: #194c86; color: #fff; font-style: normal; }
.screen-button { display: inline-flex; align-items: center; justify-content: center; min-height: 27px; margin-top: 9px; padding: 5px 10px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 900; }
.screen-result { min-height: 144px; padding: 10px; border-radius: 7px; background: #f3f8f8; color: #3d5962; font-size: 11px; }
.screen-result h4 { margin: 0 0 6px; color: var(--ink); font-size: 13px; }
.screen-result p { margin: 0 0 8px; font-size: 11px; }
.screen-line { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #dce8e7; font-size: 10px; }
.screen-line b { color: var(--accent); }
.screen-footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 7px; border-top: 1px solid #dfe9ed; color: #6b8290; font-size: 9px; }
.screen-caption { margin: 9px 0 0; color: #6b7e8b; text-align: center; font-size: 11px; }
.screen-stack { display: grid; gap: 18px; }
.manual-shot { margin: 0; }
.manual-shot img { display: block; width: 100%; border: 1px solid #c8d7e1; border-radius: 12px; background: #25333a; box-shadow: var(--shadow); }
.manual-shot figcaption { margin-top: 8px; color: #6b7e8b; text-align: center; font-size: 11px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mockup-wide { margin: 24px 0; }

.faq { display: grid; gap: 0; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 15px 4px; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 900; }
details p { margin: -3px 4px 17px; font-size: 13px; }
.manual-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 68px; padding: 22px 0 0; border-top: 1px solid var(--line); color: #718391; font-size: 11px; }

@media (max-width: 900px) {
  .manual-shell { grid-template-columns: 236px minmax(0, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .manual-shell { display: block; }
  .toc-panel { height: auto; padding: 12px 14px 10px; border-right: 0; border-bottom: 1px solid #cfdde7; }
  .toc-brand img { width: 36px; height: 36px; }
  .toc-back { position: sticky; top: 0; min-height: 40px; margin: 12px 0 10px; }
  .toc-scroll { overflow: visible; padding: 0; }
  .toc-label { margin-top: 4px; }
  .toc-nav { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 3px; scrollbar-width: thin; }
  .toc-nav a { flex: 0 0 auto; white-space: nowrap; }
  .toc-nav a.is-current { border-left: 0; padding-left: 10px; border-bottom: 3px solid var(--accent); }
  .manual-main { padding-inline: 18px; }
  .hero { padding-top: 42px; }
  .screen-body, .two-column, .two-column.reverse { grid-template-columns: 1fr; }
  .card-grid, .shot-grid { grid-template-columns: 1fr; }
  .manual-footer { display: block; }
}
@media print {
  .toc-panel { display: none; }
  .manual-shell { display: block; }
  .manual-main { width: 100%; padding: 0; }
  .hero, .manual-section, .card, .screen-frame, .manual-shot { break-inside: avoid; }
  .primary-link, .quiet-link { display: none; }
}

.screen-panel-wide{grid-column:1 / -1}

/* .pwa-build-stamp styling is provided by the external pwa-build-stamp.css file. */

.section-heading > span:not(.section-number){display:none;}
