:root {
  --white: #ffffff;
  --paper: #f7faff;
  --line: #d8e4f4;
  --blue: #0a5bc2;
  --blue-2: #1674d8;
  --navy: #061b49;
  --ink: #152238;
  --muted: #66748a;
  --green: #25a244;
  --yellow: #ffcf33;
  --shadow: 0 22px 58px rgba(6, 27, 73, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(216, 228, 244, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 228, 244, 0.35) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  background-size: 52px 52px;
  font-family: Inter, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

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

.site-header {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.brand-icon {
  position: relative;
  width: 46px;
  height: 38px;
  border: 2px solid var(--blue);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.brand-icon::before,
.brand-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: var(--blue);
  transform: translateX(-50%);
}

.brand-icon::before {
  top: -14px;
  height: 48px;
}

.brand-icon::after {
  top: 16px;
  width: 42px;
  height: 2px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.header-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.header-button,
.secondary-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.header-button {
  min-width: 132px;
}

.hero {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 76px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 690px;
  margin: 0 auto;
  padding: 70px 0 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin: 0 0 18px;
  padding: 0 12px;
  border: 1px solid rgba(10, 91, 194, 0.22);
  border-radius: 8px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  color: var(--navy);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.lead {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.primary-button {
  min-width: 170px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 34px rgba(10, 91, 194, 0.24);
}

.secondary-button {
  min-width: 156px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 44px;
}

.hero-stats div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-stats dd {
  margin-top: 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.bridge-visual {
  position: relative;
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.terminal {
  position: absolute;
  width: 260px;
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.terminal.source {
  left: 34px;
  top: 54px;
}

.terminal.destination {
  width: 300px;
  right: 34px;
  bottom: 82px;
}

.terminal span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.terminal strong {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-size: 22px;
}

.terminal p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.bridge-line {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.bridge-line i {
  width: 220px;
  height: 66px;
  border-top: 5px solid var(--blue);
  border-left: 5px solid var(--blue);
  border-right: 5px solid var(--blue);
  border-radius: 100px 100px 0 0;
}

.bridge-line span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 1px var(--line);
}

.bridge-line span:first-child {
  left: 286px;
  top: 196px;
}

.bridge-line span:last-child {
  right: 286px;
  top: 196px;
}

.status-strip {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.status-strip b {
  padding: 16px;
  color: var(--navy);
  font-size: 13px;
  text-align: center;
}

.status-strip b + b {
  border-left: 1px solid var(--line);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 160px 1fr 360px;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  grid-template-columns: 160px 1fr;
}

.section-heading.left {
  display: block;
}

.section-heading p {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.section-heading h2 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.24;
  font-weight: 900;
}

.section-heading span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 650;
}

.section-heading.left h2 {
  margin-top: 16px;
}

.section-heading.left span {
  display: block;
  margin-top: 18px;
}

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

.role-grid article,
.example-card,
.trouble-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 44px rgba(6, 27, 73, 0.06);
}

.role-grid article {
  min-height: 260px;
}

.icon {
  display: block;
  width: 52px;
  height: 52px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: #eef6ff;
}

.icon.route {
  border-color: var(--green);
  background: #effaf1;
}

.icon.lock {
  border-color: var(--yellow);
  background: #fff9df;
}

.role-grid h3,
.example-card h3,
.trouble-grid b {
  display: block;
  margin-top: 24px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.role-grid p,
.trouble-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.prep-section {
  padding-top: 70px;
}

.prep-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.prep-list div {
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 800;
}

.prep-list span {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 18px;
  border: 5px solid var(--blue);
  border-radius: 50%;
  background: #ffffff;
}

.prep-list b {
  color: var(--blue);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 70px;
  align-items: start;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.step-list b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 13px;
}

.step-list span {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.guide-preview {
  margin: 0;
}

.guide-preview img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.guide-preview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.settings-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(6, 27, 73, 0.06);
}

.settings-table div {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 64px;
}

.settings-table div + div {
  border-top: 1px solid var(--line);
}

.settings-table b,
.settings-table span {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  font-size: 15px;
}

.settings-table b {
  border-right: 1px solid var(--line);
  background: #f0f6ff;
  color: var(--navy);
  font-weight: 900;
}

.settings-table span {
  color: var(--ink);
  font-weight: 650;
}

.example-grid {
  grid-template-columns: 1fr 1fr;
}

.example-card {
  min-height: 320px;
}

.example-card.buffer {
  border-top: 6px solid var(--blue);
}

.example-card.object {
  border-top: 6px solid var(--green);
}

.example-card h3 {
  margin-top: 0;
}

.example-card ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.example-card li {
  display: grid;
  grid-template-columns: 10px 1fr 190px;
  gap: 16px;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
}

.example-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.object li::before {
  background: var(--green);
}

.example-card li b {
  display: inline-block;
  font-weight: 850;
}

.example-card li span {
  color: var(--navy);
  font-weight: 900;
}

.amt-settings {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: start;
}

.recommend-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(6, 27, 73, 0.06);
}

.recommend-panel div {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.recommend-panel div + div {
  border-top: 1px solid var(--line);
}

.recommend-panel b,
.recommend-panel span {
  padding: 18px;
  font-size: 15px;
}

.recommend-panel b {
  background: var(--blue);
  color: #ffffff;
}

.recommend-panel span {
  font-weight: 750;
}

.alert-sample {
  grid-column: 2;
  padding: 24px;
  border: 3px solid var(--blue);
  border-radius: 8px;
  background: #ffffff;
}

.alert-sample span,
.alert-sample strong {
  display: block;
}

.alert-sample span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.alert-sample strong {
  margin-top: 10px;
  color: var(--blue);
  font-size: 28px;
  word-break: break-word;
}

.trouble-grid article {
  min-height: 180px;
}

.trouble-grid article:nth-child(1) {
  border-top: 6px solid var(--yellow);
}

.trouble-grid article:nth-child(2) {
  border-top: 6px solid var(--blue);
}

.trouble-grid article:nth-child(3) {
  border-top: 6px solid var(--green);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer strong {
  color: var(--navy);
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .hero,
  .split-section,
  .amt-settings {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 34px;
  }

  .bridge-visual {
    display: grid;
    gap: 16px;
    min-height: 0;
    padding: 16px;
  }

  .terminal {
    position: static;
    width: 100%;
  }

  .bridge-line {
    display: none;
  }

  .status-strip {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
  }

  .status-strip b + b {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-stats,
  .role-grid,
  .prep-list,
  .example-grid,
  .trouble-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-heading.compact {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .settings-table div,
  .recommend-panel div {
    grid-template-columns: 1fr;
  }

  .settings-table b,
  .recommend-panel b {
    border-right: 0;
  }

  .alert-sample {
    grid-column: auto;
  }

  .example-card li {
    grid-template-columns: 10px 1fr;
    row-gap: 8px;
  }

  .example-card li span {
    grid-column: 2;
  }
}
