:root {
  --navy: #0b315f;
  --blue: #1268c9;
  --blue-2: #2f8ee5;
  --sky: #eaf6ff;
  --sky-2: #f5fbff;
  --line: #cfe5f7;
  --text: #14365d;
  --muted: #5d83aa;
  --white: rgba(255, 255, 255, 0.9);
  --shadow: 0 22px 60px rgba(19, 71, 120, 0.12);
  --soft-shadow: 0 12px 32px rgba(34, 105, 169, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

/* ------------------------------------------------------------------
   Visual refresh v2
   駅の案内板 × 爽やかな夏色 × 少しポップな先生向けサイト
------------------------------------------------------------------ */
:root {
  --v2-ink: #10345f;
  --v2-blue: #1976d2;
  --v2-sky: #dff4ff;
  --v2-mint: #dff8ed;
  --v2-cream: #fff8df;
  --v2-coral: #ff8d79;
  --v2-yellow: #ffd85a;
  --v2-paper: rgba(255, 255, 255, 0.88);
  --v2-border: rgba(137, 199, 235, 0.42);
  --v2-shadow: 0 22px 70px rgba(25, 118, 210, 0.14);
}

body.site-body {
  color: var(--v2-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 216, 90, 0.28), transparent 22vw),
    radial-gradient(circle at 92% 12%, rgba(120, 220, 206, 0.24), transparent 24vw),
    linear-gradient(180deg, #f7fcff 0%, #eef8ff 48%, #fffaf0 100%);
}

body.site-body::before {
  content: "SNS OPERATION LINE";
  position: fixed;
  right: -7vw;
  top: 38vh;
  z-index: -1;
  color: rgba(23, 106, 181, 0.055);
  font-size: clamp(70px, 10vw, 170px);
  font-weight: 1000;
  letter-spacing: -0.06em;
  transform: rotate(90deg);
  pointer-events: none;
}

.site-bg {
  opacity: 0.82;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.82), rgba(237, 250, 255, 0.8)),
    url("./assets/yoyogi-wave-cover.png") center / cover no-repeat;
}

.site-header {
  width: min(1500px, calc(100% - 34px));
  margin-top: 14px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(35, 108, 174, 0.13);
}

.brand {
  min-width: 285px;
}

.brand-icon {
  border-radius: 50%;
  background:
    linear-gradient(135deg, #ffd85a 0 28%, #31a6e8 28% 100%);
  box-shadow: 0 12px 26px rgba(25, 118, 210, 0.24);
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.header-nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-end;
  scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.header-nav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: #236da9;
  background: rgba(239, 248, 255, 0.78);
  border: 1px solid rgba(171, 215, 242, 0.5);
}

.header-nav a.active,
.header-nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, #1166bd, #24a7e2);
  border-color: transparent;
}

.manual-home,
.page-shell {
  width: min(1500px, calc(100% - 34px));
}

.home-hero {
  position: relative;
  min-height: 660px;
  padding: clamp(38px, 5vw, 78px);
  border: 0;
  border-radius: 44px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 216, 90, 0.46), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(74, 196, 229, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 248, 255, 0.82));
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: auto -5% -18% -5%;
  height: 46%;
  background:
    repeating-linear-gradient(12deg, rgba(45, 142, 229, 0.14) 0 2px, transparent 2px 20px),
    linear-gradient(180deg, transparent, rgba(207, 235, 255, 0.78));
  clip-path: ellipse(58% 48% at 50% 100%);
}

.home-hero::after {
  content: "Yoyogi Station";
  position: absolute;
  right: 5%;
  bottom: 8%;
  color: rgba(16, 52, 95, 0.08);
  font-size: clamp(40px, 7vw, 110px);
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.hero-copy,
.hero-dashboard {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #156cba;
  background: rgba(229, 247, 255, 0.86);
  border: 1px solid rgba(126, 197, 235, 0.42);
  letter-spacing: 0.12em;
}

h1 {
  color: var(--v2-ink);
  letter-spacing: -0.075em;
}

.home-hero h1,
.page-hero h1 {
  max-width: 920px;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
}

.lead {
  color: #365f87;
  font-size: clamp(16px, 1.4vw, 20px);
}

.button {
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #105fb3, #18a7df);
}

.button.ghost {
  color: #145b9f;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(112, 187, 231, 0.42);
}

.hero-dashboard {
  border: 0;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 253, 255, 0.74));
  box-shadow: var(--v2-shadow);
}

.route-ticket {
  background:
    linear-gradient(135deg, #10345f, #1779c8 58%, #39b6dd);
  border: 3px dashed rgba(255, 255, 255, 0.62);
}

.quick-map,
.home-feature,
.page-hero,
.content-section,
.screenshot-manual,
.interactive-demo > .demo-panel,
.demo-warning {
  border: 1px solid var(--v2-border);
  border-radius: 38px;
  background: var(--v2-paper);
  box-shadow: var(--v2-shadow);
}

.manual-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.mode-switch-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 24px;
}

.mode-switch-board a {
  position: relative;
  min-height: 170px;
  padding: 26px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 18px 42px rgba(31, 112, 185, 0.12);
}

.mode-switch-board a:first-child {
  color: #0e4d87;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 216, 90, 0.36), transparent 32%),
    linear-gradient(135deg, #ffffff, #e6f7ff);
}

.mode-switch-board a:last-child {
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 216, 90, 0.33), transparent 32%),
    linear-gradient(135deg, #10345f, #1592d8);
}

.mode-switch-board small,
.mode-switch-board strong,
.mode-switch-board span {
  position: relative;
  z-index: 1;
  display: block;
}

.mode-switch-board small {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.mode-switch-board strong {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.mode-switch-board span {
  max-width: 520px;
  font-weight: 800;
  opacity: 0.86;
}

.manual-route-card {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  border: 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 216, 90, 0.35), transparent 34%),
    linear-gradient(180deg, #ffffff, #edf9ff);
}

.manual-route-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -28px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(49, 166, 232, 0.11);
  border-radius: 50%;
}

.manual-route-card span {
  position: relative;
  z-index: 1;
  border-radius: 18px 18px 8px 8px;
  color: #fff;
  background: linear-gradient(135deg, #1878c9, #26a7df);
}

.manual-route-card h3,
.manual-route-card p {
  position: relative;
  z-index: 1;
}

.primary-card,
.demo-card {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 216, 90, 0.34), transparent 30%),
    linear-gradient(135deg, #10345f, #167fd0);
}

.primary-card h3,
.primary-card p,
.demo-card h3,
.demo-card p {
  color: #fff;
}

.demo-card span {
  color: var(--v2-ink);
  background: var(--v2-yellow);
}

.page-hero {
  min-height: 390px;
  border: 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 216, 90, 0.42), transparent 23%),
    radial-gradient(circle at 14% 80%, rgba(108, 220, 204, 0.25), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 248, 255, 0.84));
}

.manual-step,
.handover-card,
.trouble-grid article,
.metric-grid div,
.sheet-shot-card,
.check-gallery article {
  border: 0;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 252, 255, 0.84));
  box-shadow: 0 16px 38px rgba(31, 112, 185, 0.1);
}

.screenshot-manual {
  overflow: hidden;
}

.screenshot-manual figure,
.feature-shot,
.sheet-shot-card img,
.check-gallery article {
  border: 0;
}

.screenshot-manual figure,
.feature-shot {
  box-shadow: 0 20px 50px rgba(33, 92, 143, 0.16);
}

.demo-warning {
  background:
    radial-gradient(circle at 6% 50%, rgba(255, 216, 90, 0.34), transparent 18%),
    linear-gradient(135deg, rgba(236, 253, 244, 0.95), rgba(255, 255, 255, 0.82));
}

.interactive-demo {
  gap: 26px;
}

.demo-panel {
  border: 0;
}

.demo-form-grid input,
.demo-form-grid select,
.status-controls select {
  border: 2px solid rgba(158, 213, 243, 0.56);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.demo-post-id {
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 216, 90, 0.28), transparent 35%),
    linear-gradient(135deg, #10345f, #167fd0);
}

.demo-sheet-table {
  border: 0;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(169, 218, 245, 0.7);
}

.demo-sheet-row.header span {
  color: #155e9d;
  background: #e4f5ff;
}

.next-page-card {
  background:
    radial-gradient(circle at 92% 50%, rgba(255, 216, 90, 0.3), transparent 24%),
    linear-gradient(135deg, #eef9ff, #ffffff);
}

@media (max-width: 1180px) {
  .manual-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 28px;
  }

  .brand {
    min-width: 0;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 66px);
  }

  .manual-card-grid {
    grid-template-columns: 1fr;
  }

  .mode-switch-board {
    grid-template-columns: 1fr;
  }

  .mode-switch-board a {
    min-height: 150px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    system-ui,
    sans-serif;
  background: #f7fbff;
  line-height: 1.85;
  overflow-x: hidden;
}

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

.manual-home,
.page-shell {
  width: min(1480px, calc(100% - 36px));
  margin: 22px auto 80px;
}

.manual-home {
  display: grid;
  gap: 28px;
}

.page-shell {
  display: grid;
  gap: 24px;
}

.home-hero,
.page-hero,
.quick-map,
.home-feature,
.screenshot-manual {
  border: 1px solid rgba(185, 220, 244, 0.78);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 34px;
  align-items: center;
  min-height: 580px;
  padding: 70px 58px;
  overflow: hidden;
}

.hero-dashboard {
  min-height: 360px;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(180, 218, 244, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 248, 255, 0.76)),
    radial-gradient(circle at 92% 18%, rgba(45, 142, 229, 0.18), transparent 38%);
  box-shadow: 0 22px 48px rgba(21, 87, 146, 0.14);
}

.route-ticket {
  margin: 18px 0 24px;
  padding: 20px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #0b315f, #1d77bd);
  box-shadow: 0 16px 32px rgba(11, 49, 95, 0.22);
}

.route-ticket span,
.route-ticket strong {
  display: block;
}

.route-ticket span {
  opacity: 0.8;
  font-size: 13px;
  font-weight: 800;
}

.route-ticket strong {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.35;
}

.quick-map,
.home-feature,
.page-hero,
.screenshot-manual {
  padding: 42px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.manual-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.manual-route-card {
  display: block;
  min-height: 230px;
  padding: 24px;
  border: 1px solid #d4ebfb;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 251, 255, 0.78));
  box-shadow: 0 16px 34px rgba(35, 96, 150, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.manual-route-card:hover {
  transform: translateY(-5px);
  border-color: #8dc7ef;
  box-shadow: 0 22px 44px rgba(35, 96, 150, 0.16);
}

.manual-route-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #0e65b8;
  font-weight: 900;
  background: #e8f6ff;
}

.manual-route-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.manual-route-card p {
  color: #426d92;
  margin-bottom: 0;
}

.primary-card {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 66, 121, 0.94), rgba(36, 136, 216, 0.9)),
    url("./assets/yoyogi-wave-cover.png") center / cover;
}

.demo-card {
  background:
    linear-gradient(135deg, rgba(236, 250, 255, 0.94), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 90% 20%, rgba(26, 151, 221, 0.22), transparent 38%);
}

.demo-warning {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid rgba(69, 176, 123, 0.26);
  border-radius: 24px;
  color: #176443;
  background: rgba(232, 250, 241, 0.9);
  box-shadow: 0 12px 28px rgba(26, 119, 80, 0.08);
}

.demo-warning strong {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #d8f7e8;
}

.demo-warning p {
  margin: 0;
}

.interactive-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
}

.demo-panel {
  padding: 28px;
  border: 1px solid rgba(185, 220, 244, 0.78);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.demo-heading h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.demo-form-grid label,
.status-controls label {
  display: grid;
  gap: 7px;
}

.demo-form-grid span,
.status-controls span {
  color: #3c86c4;
  font-size: 13px;
  font-weight: 900;
}

.demo-form-grid input,
.demo-form-grid select,
.status-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfe6f8;
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  background: #f8fcff;
  outline: none;
}

.demo-form-grid input:focus,
.demo-form-grid select:focus,
.status-controls select:focus {
  border-color: #3d99dd;
  box-shadow: 0 0 0 4px rgba(61, 153, 221, 0.13);
}

.wide-field {
  grid-column: 1 / -1;
}

.demo-post-id {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #0a3b73, #168ade);
  box-shadow: 0 16px 30px rgba(17, 100, 180, 0.18);
}

.demo-post-id span,
.demo-post-id small {
  display: block;
  opacity: 0.82;
  font-weight: 800;
}

.demo-post-id strong {
  display: block;
  margin: 4px 0;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.demo-sheet-table {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid #cfe6f8;
  border-radius: 20px;
  background: #fff;
}

.demo-sheet-row {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.65fr 0.9fr 0.9fr 0.75fr 1.3fr;
  min-width: 880px;
}

.demo-sheet-row span {
  min-height: 46px;
  padding: 12px;
  border-right: 1px solid #e1eef8;
  border-bottom: 1px solid #e1eef8;
  color: #163d66;
  font-weight: 800;
}

.demo-sheet-row.header span {
  color: #3c86c4;
  font-size: 12px;
  background: #eef8ff;
}

.demo-status-board {
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  background: #f4fbff;
}

.status-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.status-summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #0b315f;
  font-weight: 900;
  background: #fff;
  border: 1px solid #d8ecfa;
}

.primary-card h3,
.primary-card p {
  color: #fff;
}

.primary-card span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.home-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.feature-copy h2 {
  margin-bottom: 14px;
}

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mini-flow span {
  padding: 9px 13px;
  border-radius: 999px;
  color: #0b5fae;
  font-weight: 900;
  background: #e8f6ff;
}

.feature-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d2e9f9;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(35, 96, 150, 0.12);
}

.feature-shot img {
  width: 100%;
  display: block;
}

.page-hero {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(237, 249, 255, 0.78)),
    radial-gradient(circle at 88% 72%, rgba(30, 132, 217, 0.2), transparent 36%);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  margin-bottom: 14px;
}

.manual-step-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.manual-step {
  padding: 24px;
  border: 1px solid #d5ebfb;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.manual-step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #0b65b8, #28a0e5);
}

.screenshot-manual {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
}

.screenshot-manual.reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
}

.screenshot-manual.reverse .shot-text {
  order: 2;
}

.screenshot-manual figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d2e9f9;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(35, 96, 150, 0.12);
}

.screenshot-manual img {
  display: block;
  width: 100%;
}

.shot-text {
  padding: 10px;
}

.large-message {
  padding: 30px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0b315f, #2188d5);
  box-shadow: 0 18px 38px rgba(11, 49, 95, 0.18);
}

.large-message p {
  margin-bottom: 8px;
  font-size: 22px;
}

.large-message strong {
  color: #d8f1ff;
}

.next-page-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 22px;
  background: #eef8ff;
}

.next-page-card span {
  color: #5a97c7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.next-page-card a {
  color: #0d5ead;
  font-weight: 900;
}

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 252, 255, 0.9) 46%, rgba(230, 244, 255, 0.86) 100%),
    url("./assets/yoyogi-wave-cover.png") center / cover no-repeat;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}

.site-bg::before {
  width: 58vw;
  height: 44vw;
  right: -10vw;
  bottom: -12vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 153, 226, 0.22), rgba(255, 255, 255, 0) 65%);
}

.site-bg::after {
  width: 120vw;
  height: 22vw;
  left: -10vw;
  bottom: -8vw;
  background:
    repeating-linear-gradient(12deg, rgba(64, 142, 206, 0.18) 0 1px, transparent 1px 18px);
  transform: rotate(-3deg);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px auto 0;
  width: min(1480px, calc(100% - 36px));
  padding: 14px 18px;
  border: 1px solid rgba(161, 207, 239, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #0a4f91, #1978dd);
  box-shadow: 0 12px 24px rgba(16, 98, 178, 0.28);
}

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

.brand small {
  display: block;
  color: #5b94c6;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.header-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #2d6fae;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: #fff;
  background: var(--blue);
}

main {
  width: min(1480px, calc(100% - 36px));
  margin: 22px auto 80px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
}

.section-full {
  grid-column: 1 / -1;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 36px;
  padding: 78px 58px;
  border: 1px solid rgba(188, 220, 245, 0.72);
  border-radius: 40px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(244, 251, 255, 0.76)),
    radial-gradient(circle at 90% 75%, rgba(48, 143, 220, 0.24), transparent 40%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 10px;
  color: #4d96d4;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.03em;
}

h3 {
  color: var(--navy);
  line-height: 1.35;
}

.lead {
  max-width: 760px;
  color: #355d85;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(30, 111, 190, 0.15);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #0d5db1, #1595e4);
}

.button.ghost {
  border: 1px solid rgba(60, 138, 205, 0.28);
  background: rgba(255, 255, 255, 0.7);
}

.hero-board {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(187, 218, 242, 0.86);
  box-shadow: var(--soft-shadow);
}

.board-label {
  margin-bottom: 22px;
  color: #3d87c8;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 18px 0 12px;
}

.hero-rail::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 43px;
  height: 8px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, #9dc9e9 0 8px, transparent 8px 14px),
    linear-gradient(#bcdcf2, #bcdcf2);
}

.station {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 10px 8px 8px;
  color: #447eb6;
  font-weight: 900;
}

.station::before {
  content: "";
  width: 48px;
  height: 42px;
  display: block;
  margin: 0 auto 8px;
  border: 3px solid #a9d3ef;
  border-radius: 15px 15px 8px 8px;
  background:
    linear-gradient(#fff, #eff9ff);
  box-shadow: inset 0 -7px 0 #dbeefb;
}

.station.active {
  color: #0b5fae;
}

.station.active::before {
  border-color: #0d6dca;
  background: linear-gradient(#258ce7, #075db7);
  box-shadow: inset 0 -7px 0 rgba(255, 255, 255, 0.2), 0 14px 22px rgba(12, 96, 181, 0.3);
}

.board-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f1f8ff;
  color: #315e87;
}

.side-index {
  position: sticky;
  top: 116px;
  align-self: start;
  padding: 22px;
  border: 1px solid rgba(184, 218, 244, 0.75);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.side-index p {
  margin-bottom: 12px;
  color: #4f97d4;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.side-index a {
  display: block;
  padding: 9px 10px;
  border-radius: 12px;
  color: #315f89;
  font-size: 14px;
  font-weight: 800;
}

.side-index a:hover,
.side-index a.active {
  color: #fff;
  background: #1d74bd;
}

.content-section {
  grid-column: 2 / 3;
  padding: 42px;
  border: 1px solid rgba(185, 220, 244, 0.78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.content-section + .content-section {
  margin-top: 24px;
}

.section-heading {
  max-width: 960px;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  color: #40698d;
  font-size: 17px;
}

.wide-card,
.manual-card,
.point-card,
.danger-card,
.success-card,
.notice-card,
.sheet-preview,
.sheet-notes,
.confirm-matrix article,
.trouble-grid article,
.post-control-preview,
.rail-panel {
  border: 1px solid rgba(203, 229, 248, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(37, 102, 158, 0.08);
}

.wide-card,
.notice-card {
  padding: 26px;
}

.story-card p {
  color: #375f85;
}

.three-grid,
.four-grid,
.app-manual-grid,
.trouble-grid,
.metric-grid {
  display: grid;
  gap: 18px;
}

.three-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}

.four-grid {
  grid-template-columns: repeat(4, 1fr);
}

.point-card,
.manual-card,
.trouble-grid article {
  padding: 22px;
}

.point-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  color: #0c63b6;
  font-weight: 900;
  background: #e9f6ff;
}

.compare-layout,
.sheet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.danger-card,
.success-card {
  padding: 26px;
}

.danger-card {
  background: linear-gradient(180deg, rgba(255, 248, 248, 0.86), rgba(255, 255, 255, 0.72));
}

.success-card {
  background: linear-gradient(180deg, rgba(239, 255, 248, 0.9), rgba(255, 255, 255, 0.72));
}

ul {
  padding-left: 1.2em;
}

li + li {
  margin-top: 6px;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.system-node {
  position: relative;
  min-height: 190px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(196, 226, 247, 0.92);
  background: rgba(255, 255, 255, 0.74);
}

.system-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  translate: 0 -50%;
  color: #60a7dc;
  font-size: 22px;
  font-weight: 900;
}

.system-node small,
.preview-heading span,
.route-status span {
  display: block;
  color: #58a0d8;
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.system-node strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
}

.notice-card {
  margin-top: 18px;
  color: #315f88;
  background: rgba(238, 249, 255, 0.86);
}

.flow-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #edf7ff;
}

.tab-button {
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  color: #3175b2;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.tab-button.active {
  color: #fff;
  background: linear-gradient(135deg, #105eac, #258ce7);
  box-shadow: 0 10px 20px rgba(14, 102, 190, 0.22);
}

.rail-panel {
  display: none;
  padding: 26px;
}

.rail-panel.active {
  display: block;
}

.rail-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--count, 11), minmax(70px, 1fr));
  gap: 8px;
  margin: 22px 0;
  overflow-x: auto;
}

.rail-line[data-count="11"] {
  --count: 11;
}

.rail-line[data-count="9"] {
  --count: 9;
}

.rail-line::before {
  content: "";
  position: absolute;
  left: 38px;
  right: 38px;
  top: 35px;
  height: 7px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #a6cdea 0 8px, transparent 8px 13px);
}

.rail-line span {
  position: relative;
  z-index: 1;
  min-width: 70px;
  padding-top: 58px;
  text-align: center;
  color: #397bb6;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.rail-line span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 46px;
  height: 42px;
  translate: -50% 0;
  border: 3px solid #a8d2ef;
  border-radius: 15px 15px 8px 8px;
  background: linear-gradient(#fff, #f0f9ff);
  box-shadow: inset 0 -7px 0 #deeffa;
}

.step-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-detail-grid > div {
  padding: 16px;
  border-radius: 18px;
  background: #f5fbff;
}

.app-manual-grid {
  grid-template-columns: repeat(4, 1fr);
}

.manual-card h3 {
  margin-bottom: 8px;
}

.post-control-preview {
  margin-top: 22px;
  padding: 24px;
}

.preview-heading {
  margin-bottom: 18px;
}

.preview-heading strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
}

.preview-management {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.post-title,
.chip {
  padding: 14px 16px;
  border: 1px solid #d8ecfa;
  border-radius: 18px;
  background: #f8fcff;
}

.post-title h3 {
  margin: 4px 0 0;
  font-size: 24px;
}

.chip {
  color: #1d4d7a;
  font-weight: 800;
}

.route-status {
  margin-top: 14px;
  padding: 18px;
  border-radius: 20px;
  background: #f4fbff;
}

.mini-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
  margin-top: 18px;
}

.mini-rail::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 20px;
  height: 6px;
  border-radius: 999px;
  background: #d9edf9;
}

.mini-rail span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: auto;
  border: 2px solid #cae5f6;
  border-radius: 50%;
  color: #79add0;
  background: #fff;
  font-weight: 900;
}

.mini-rail .done {
  color: #fff;
  border-color: #24a5dc;
  background: #24a5dc;
}

.mini-rail .current {
  color: #fff;
  border-color: #0d63b5;
  background: #0d63b5;
  box-shadow: 0 0 0 7px rgba(13, 99, 181, 0.12);
}

.sheet-preview,
.sheet-notes {
  padding: 22px;
}

.sheet-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr 0.9fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #e1eef8;
  font-weight: 800;
}

.sheet-row.header {
  color: #478dcb;
  font-size: 13px;
}

.ok,
.warn,
.bad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
}

.ok {
  color: #13724c;
  background: #e4f9ee;
}

.warn {
  color: #946414;
  background: #fff6d9;
}

.bad {
  color: #9d2525;
  background: #ffe9e9;
}

dt {
  color: var(--navy);
  font-weight: 900;
}

dd {
  margin: 0 0 12px;
  color: #41698e;
}

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

.confirm-matrix article {
  padding: 20px;
}

.confirm-box {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #f5fbff;
}

.confirm-box strong {
  color: #3f8bcb;
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metric-grid div {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid #d5ebfb;
  background: #f8fcff;
}

.metric-grid small {
  display: block;
  color: #5d9ed5;
  font-weight: 900;
}

.metric-grid strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
}

.trouble-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid rgba(203, 229, 248, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(37, 102, 158, 0.1);
}

.screenshot-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
}

.shot-copy {
  padding: 28px;
}

.screenshot-card figure,
.sheet-shot-card figure {
  margin: 0;
}

.screenshot-card img,
.sheet-shot-card img,
.check-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-card:not(.wide) h3,
.screenshot-card:not(.wide) p {
  padding-inline: 20px;
}

.screenshot-card:not(.wide) h3 {
  margin-top: 18px;
}

.screenshot-card:not(.wide) p {
  padding-bottom: 22px;
}

figcaption {
  padding: 10px 18px 18px;
  color: #5d86a9;
  font-size: 13px;
  font-weight: 700;
}

.timeline-detail {
  display: grid;
  gap: 16px;
}

.timeline-detail article {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 22px;
  border: 1px solid #d3eafa;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.timeline-detail article > span {
  grid-row: 1 / 5;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #0c61b4, #35a8e8);
  box-shadow: 0 12px 22px rgba(16, 102, 181, 0.2);
}

.timeline-detail h3 {
  margin-bottom: 2px;
}

.timeline-detail p {
  margin-bottom: 6px;
}

.timeline-detail strong {
  color: #1b75bd;
}

.teacher-note,
.sheet-deep-dive {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid #d5ebfb;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(242, 250, 255, 0.92), rgba(255, 255, 255, 0.76));
}

.sheet-shot-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.sheet-shot-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(203, 229, 248, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
}

.sheet-shot-card img {
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(33, 92, 143, 0.12);
}

.sheet-shot-card h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
}

.sheet-shot-card p {
  margin-bottom: 0;
  color: #41698e;
}

.check-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.check-gallery article {
  overflow: hidden;
  border: 1px solid rgba(203, 229, 248, 0.92);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(37, 102, 158, 0.08);
}

.check-gallery h3,
.check-gallery p {
  padding-inline: 20px;
}

.check-gallery h3 {
  margin-top: 18px;
}

.check-gallery p {
  padding-bottom: 20px;
}

.handover-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.handover-card {
  padding: 24px;
  border: 1px solid #d5ebfb;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(37, 102, 158, 0.08);
}

.handover-card ol,
.handover-card ul {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  border: 1px solid #d5ebfb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.site-footer {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto 36px;
  padding: 30px;
  color: #4c7fa9;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

@media (max-width: 1180px) {
  .home-hero,
  .home-feature,
  .screenshot-manual,
  .screenshot-manual.reverse,
  .interactive-demo {
    grid-template-columns: 1fr;
  }

  .screenshot-manual.reverse .shot-text {
    order: 0;
  }

  .manual-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manual-step-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .compare-layout,
  .sheet-layout {
    grid-template-columns: 1fr;
  }

  main {
    grid-template-columns: 1fr;
  }

  .side-index,
  .content-section {
    grid-column: 1 / -1;
  }

  .side-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .side-index p {
    width: 100%;
  }

  .system-map,
  .three-grid,
  .four-grid,
  .app-manual-grid,
  .confirm-matrix,
  .metric-grid,
  .trouble-grid,
  .tour-grid,
  .check-gallery,
  .handover-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-card.wide,
  .sheet-shot-card {
    grid-template-columns: 1fr;
  }

  .system-node:not(:last-child)::after {
    display: none;
  }

  .preview-management {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .manual-home,
  .page-shell {
    width: min(100% - 20px, 1480px);
  }

  .home-hero,
  .quick-map,
  .home-feature,
  .page-hero,
  .screenshot-manual {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .manual-card-grid {
    grid-template-columns: 1fr;
  }

  .manual-route-card {
    min-height: auto;
  }

  .next-page-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-warning {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-form-grid,
  .status-controls {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    justify-content: flex-start;
  }

  main,
  .site-header,
  .site-footer {
    width: min(100% - 20px, 1480px);
  }

  .hero,
  .content-section {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .three-grid,
  .four-grid,
  .app-manual-grid,
  .system-map,
  .step-detail-grid,
  .confirm-matrix,
  .metric-grid,
  .trouble-grid,
  .preview-management,
  .tour-grid,
  .check-gallery,
  .handover-layout {
    grid-template-columns: 1fr;
  }

  .timeline-detail article {
    grid-template-columns: 1fr;
  }

  .timeline-detail article > span {
    grid-row: auto;
  }

  .mini-rail {
    overflow-x: auto;
    grid-template-columns: repeat(11, 42px);
  }
}
