:root {
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #142033;
  --muted: #5e6b7a;
  --brand: #08b85a;
  --brand-dark: #05763d;
  --brand-soft: #eaf9f0;
  --zoom: #2d6cdf;
  --zoom-soft: #edf4ff;
  --amber: #e08b19;
  --amber-soft: #fff8e8;
  --border: #d7dee8;
  --border-strong: #b9c4d1;
  --shadow: 0 10px 28px rgba(20, 32, 51, 0.09);
  --sidebar-width: 280px;
  --toc-width: 214px;
  --topbar-height: 72px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--zoom);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar-width);
  overflow-y: auto;
  color: var(--ink);
  background: var(--surface);
  border-right: 1px solid var(--border);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 10px 18px 9px;
  gap: 3px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  width: 100%;
  max-width: 214px;
  height: auto;
  object-fit: contain;
}

.brand-subtitle {
  color: #40564a;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .12em;
}

.manual-nav {
  padding: 16px 12px 48px;
}

.nav-section + .nav-section {
  margin-top: 23px;
}

.nav-section h2 {
  margin: 0 0 7px;
  padding: 7px 10px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.nav-section ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-section li + li {
  margin-top: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  padding: 7px 10px;
  color: #334155;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: var(--surface-soft);
}

.nav-item.is-active {
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 700;
}

.nav-item.is-planned {
  color: #7c8795;
}

.nav-item small {
  flex: 0 0 auto;
  margin-left: 8px;
  color: #8b95a3;
  font-size: 10px;
}

.page-column {
  min-width: 0;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--topbar-height);
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.search-wrap {
  position: relative;
  flex: 1 1 560px;
  max-width: 680px;
}

.search-wrap::before {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 13px;
  height: 13px;
  border: 2px solid #64748b;
  border-radius: 50%;
  content: "";
  transform: translateY(-58%);
  pointer-events: none;
}

.search-wrap::after {
  position: absolute;
  top: 28px;
  left: 27px;
  width: 7px;
  height: 2px;
  background: #64748b;
  content: "";
  transform: rotate(45deg);
  pointer-events: none;
}

#site-search {
  width: 100%;
  height: 46px;
  padding: 9px 16px 9px 44px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid transparent;
  border-radius: 7px;
  outline: none;
}

#site-search:focus {
  background: #fff;
  border-color: var(--zoom);
  box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.12);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 40;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.search-result {
  display: block;
  padding: 13px 16px;
  color: var(--ink);
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result:hover,
.search-result:focus-visible {
  background: var(--zoom-soft);
}

.search-result strong,
.search-result small {
  display: block;
}

.search-result small,
.search-empty {
  color: var(--muted);
  font-size: 13px;
}

.search-empty {
  padding: 16px;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.top-link {
  flex: 0 0 auto;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.top-link:hover,
.top-link:focus-visible {
  color: var(--brand-dark);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) var(--toc-width);
  gap: 54px;
  justify-content: center;
  padding: 48px 42px 96px;
}

#main-content {
  min-width: 0;
}

.page-intro,
.article-header {
  margin-bottom: 34px;
}

.page-intro h1,
.article-header h1 {
  margin: 7px 0 12px;
  font-size: clamp(31px, 4vw, 45px);
  line-height: 1.25;
}

.page-intro > p:last-of-type,
.article-header .lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-label {
  margin: 0;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 22px;
  margin-top: 25px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.summary-strip strong {
  margin-right: 4px;
  color: var(--ink);
}

.start-here {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  margin: 0 0 42px;
  background: var(--brand-soft);
  border-left: 5px solid var(--brand);
  border-radius: 0 7px 7px 0;
}

.start-here h2 {
  margin: 2px 0 4px;
  font-size: 23px;
}

.start-here p:last-child {
  margin: 0;
  color: var(--muted);
}

.primary-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #045d31;
}

.category-stack {
  display: grid;
  gap: 42px;
}

.category-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.category-heading h2 {
  margin: 0;
  font-size: 23px;
}

.category-heading span {
  color: var(--muted);
  font-size: 13px;
}

.manual-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.manual-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 13px 18px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.manual-row:first-child {
  border-radius: 7px 7px 0 0;
}

.manual-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 7px 7px;
}

.manual-row:only-child {
  border-radius: 7px;
}

a.manual-row:hover,
a.manual-row:focus-visible {
  background: var(--surface-soft);
}

.manual-number {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.manual-row strong,
.manual-row small {
  display: block;
}

.manual-row small {
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
}

.manual-row.is-planned {
  background: #fbfcfd;
}

.manual-row.is-planned .manual-number,
.manual-row.is-planned strong {
  color: #667281;
}

.row-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 3px 8px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.is-planned .row-state {
  color: #687484;
  background: #edf0f4;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--zoom);
}

.verified-date {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-section {
  padding-top: 34px;
  margin-top: 36px;
  border-top: 1px solid var(--border);
}

.article-section h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.4;
}

.article-section h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.article-section ul {
  padding-left: 23px;
  margin: 0;
}

.article-section li + li {
  margin-top: 7px;
}

.outcome-section,
.caution-section {
  padding: 24px 26px;
  border-top: 0;
  border-left: 5px solid var(--zoom);
  border-radius: 0 7px 7px 0;
  background: var(--zoom-soft);
}

.caution-section {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.video-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 36px;
  overflow: hidden;
  background: #0f172a;
  border-radius: 7px;
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-pending {
  place-content: center;
  padding: 28px;
  color: #e2e8f0;
  text-align: center;
}

.video-pending span,
.video-pending small {
  display: block;
}

.video-pending span {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}

.video-pending small {
  margin-top: 6px;
  font-size: 13px;
}

.screen-figure {
  margin: 0;
}

.screen-figure img {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.screen-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.steps-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps-list > li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 22px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.step-index {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.steps-list p {
  margin: 0;
  color: #435064;
}

.step-figure {
  margin: 18px 0 0;
}

.step-figure img {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.step-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

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

.faq-list details {
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 35px;
  margin-top: 52px;
  border-top: 1px solid var(--border);
}

.page-navigation a {
  display: block;
  min-height: 76px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  text-decoration: none;
}

.page-navigation a:hover,
.page-navigation a:focus-visible {
  border-color: var(--brand);
}

.page-navigation small,
.page-navigation strong {
  display: block;
}

.page-navigation small {
  color: var(--muted);
  font-size: 12px;
}

.page-navigation .next-link {
  text-align: right;
}

.industry-case-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 18px 0 42px;
  padding: 24px 28px;
  background: var(--zoom-soft);
  border-left: 4px solid var(--zoom);
}

.industry-case-callout h2,
.industry-case-callout p {
  margin-top: 0;
}

.industry-case-callout h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.industry-case-callout p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.secondary-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--zoom);
  background: #fff;
  border: 1px solid var(--zoom);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.industry-case-list {
  display: grid;
  gap: 14px;
}

.industry-case-row {
  display: grid;
  grid-template-columns: 172px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 118px;
  padding: 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
}

.industry-case-row:hover,
.industry-case-row:focus-visible {
  border-color: var(--zoom);
  box-shadow: var(--shadow);
}

.industry-case-row img {
  width: 172px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
}

.industry-case-number {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 900;
}

.industry-case-copy strong,
.industry-case-copy small {
  display: block;
}

.industry-case-copy strong {
  font-size: 20px;
}

.industry-case-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.industry-case-action {
  padding-right: 8px;
  color: var(--zoom);
  font-size: 14px;
  font-weight: 800;
}

.benefit-page-body {
  min-height: 100vh;
  padding: 56px 20px;
  background: var(--canvas);
}

.benefit-download {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 44px;
  text-align: center;
  background: #fff;
  border-top: 5px solid var(--brand);
  box-shadow: var(--shadow);
}

.benefit-download img {
  margin: 0 auto 28px;
}

.benefit-download h1 {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.4;
}

.benefit-download-button {
  margin-top: 18px;
}

.benefit-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-toc {
  position: sticky;
  top: calc(var(--topbar-height) + 36px);
  align-self: start;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.article-toc p {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.article-toc nav {
  display: grid;
  gap: 8px;
}

.article-toc a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--brand-dark);
}

.sidebar-scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(15, 23, 42, 0.42);
}

@media (max-width: 1199px) {
  .content-layout {
    grid-template-columns: minmax(0, 820px);
    padding-right: 52px;
    padding-left: 52px;
  }

  .article-toc {
    display: none;
  }
}

@media (max-width: 759px) {
  :root {
    --topbar-height: 64px;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .sidebar {
    width: min(86vw, 320px);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
    box-shadow: var(--shadow);
  }

  .page-column {
    margin-left: 0;
  }

  .topbar {
    gap: 10px;
    padding: 9px 14px;
  }

  .icon-button {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
  }

  .search-wrap {
    min-width: 0;
  }

  .top-link {
    display: none;
  }

  .top-links {
    display: none;
  }

  .content-layout {
    display: block;
    padding: 32px 18px 72px;
  }

  .page-intro h1,
  .article-header h1 {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .page-intro > p:last-of-type,
  .article-header .lead {
    font-size: 16px;
  }

  .summary-strip {
    display: grid;
    gap: 5px;
  }

  .start-here {
    display: block;
    padding: 22px 20px;
  }

  .start-here .primary-button {
    width: 100%;
    margin-top: 18px;
  }

  .industry-case-callout {
    display: block;
    padding: 22px 20px;
  }

  .industry-case-callout .secondary-button {
    width: 100%;
    margin-top: 18px;
  }

  .industry-case-row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 10px;
  }

  .industry-case-row img {
    grid-row: 1 / span 2;
    width: 82px;
  }

  .industry-case-number {
    display: none;
  }

  .industry-case-copy strong {
    font-size: 17px;
  }

  .industry-case-copy small {
    font-size: 12px;
  }

  .industry-case-action {
    grid-column: 2;
    padding: 0;
  }

  .benefit-page-body {
    padding: 20px 14px;
  }

  .benefit-download {
    padding: 30px 20px;
  }

  .benefit-download h1 {
    font-size: 28px;
  }

  .manual-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 14px;
  }

  .row-state {
    grid-column: 2;
    justify-self: start;
  }

  .outcome-section,
  .caution-section {
    padding: 20px 18px;
  }

  .video-pending {
    min-height: 190px;
  }

  .steps-list > li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }

  .page-navigation {
    grid-template-columns: 1fr;
  }

  .page-navigation .next-link {
    text-align: left;
  }
}

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

  .sidebar {
    transition: none;
  }
}
