:root {
  color-scheme: light;
  --bg: #f2f6f8;
  --paper: #ffffff;
  --paper-soft: #f8fbfc;
  --ink: #15222c;
  --muted: #667582;
  --line: #d9e4eb;
  --navy: #102f43;
  --teal: #007f8c;
  --teal-soft: #e7f7f7;
  --orange: #d9792b;
  --orange-soft: #fff1e5;
  --green: #247a63;
  --shadow: 0 22px 55px rgba(19, 48, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.82;
}

body > header,
body > nav,
body > main,
body > footer {
  width: min(960px, calc(100% - 56px));
  margin: 0 auto;
}

body > header {
  padding: 44px 0 18px;
}

body > header::before {
  content: "生成AI時代の業務改革・事業推進プロジェクト";
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid rgba(0, 127, 140, 0.26);
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

body > header h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

body > header .subtitle {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

nav#TOC {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid rgba(215, 225, 232, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(24, 42, 57, 0.07);
  backdrop-filter: blur(12px);
}

nav#TOC ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav#TOC ul ul {
  display: none;
}

nav#TOC a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

nav#TOC a:hover {
  background: var(--teal-soft);
  color: #005d66;
}

main {
  padding: 8px 0 72px;
}

main > *,
body > p,
body > h2,
body > h3,
body > h4,
body > ul,
body > ol,
body > pre,
body > blockquote,
body > table {
  width: min(860px, 100%);
  margin-left: auto;
  margin-right: auto;
}

main > h1,
body > h1 {
  width: min(960px, 100%);
  margin: 18px auto 22px;
  padding: 34px 34px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(18, 50, 71, 0.96), rgba(0, 93, 102, 0.92)),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.2;
}

h2 {
  width: min(860px, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-top: 42px;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.28;
}

h2::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--teal);
}

h3 {
  width: min(860px, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
}

p {
  margin: 14px auto;
}

a {
  color: var(--teal);
  font-weight: 700;
}

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

main > p:first-of-type,
main h1 + p,
body > h1 + p {
  color: var(--muted);
}

blockquote {
  width: min(920px, 100%);
  margin: 22px auto;
  padding: 20px 22px;
  border: 1px solid rgba(0, 135, 146, 0.22);
  border-left: 8px solid var(--teal);
  border-radius: 14px;
  background: linear-gradient(180deg, #f4ffff, #e7f6f7);
  color: #183b42;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 135, 146, 0.08);
}

ul,
ol {
  padding-left: 1.35em;
}

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

main > ul,
main > ol,
body > ul,
body > ol {
  padding: 18px 24px 18px 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(24, 42, 57, 0.06);
}

pre {
  overflow-x: auto;
  width: min(920px, 100%);
  margin: 22px auto;
  padding: 22px;
  border-radius: 18px;
  background: #102131;
  color: #edf8fb;
  font-size: 13px;
  line-height: 1.8;
  box-shadow: var(--shadow);
}

code {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: #e7edf2;
  color: #173246;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

table {
  width: min(960px, 100%);
  margin: 24px auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(24, 42, 57, 0.08);
  font-size: 13.5px;
  line-height: 1.65;
}

th,
td {
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: #e7f0f5;
  color: var(--navy);
  font-weight: 900;
  white-space: nowrap;
}

td:first-child {
  color: var(--navy);
  font-weight: 800;
}

.workstream-panel {
  width: min(960px, 100%);
  margin: 24px auto 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workstream-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  min-height: 148px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(15, 64, 80, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 252, 0.96)),
    var(--paper);
  box-shadow: 0 16px 36px rgba(22, 48, 64, 0.09);
}

.workstream-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--teal), var(--orange));
}

.workstream-index {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(16, 47, 67, 0.16);
}

.workstream-card h3 {
  width: auto;
  margin: 1px 0 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.45;
}

.workstream-card p {
  margin: 0;
  color: #526370;
  font-size: 13.5px;
  line-height: 1.75;
}

main > p,
main > blockquote,
main > pre,
main > ul,
main > ol,
main > table,
body > p,
body > blockquote,
body > pre,
body > ul,
body > ol,
body > table {
  animation: fadeIn 300ms ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

tr:nth-child(even) td {
  background: #fbfdff;
}

hr {
  width: min(980px, 100%);
  margin: 50px auto;
  border: 0;
  border-top: 1px solid var(--line);
}

body > footer {
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  body > header,
  body > nav,
  body > main,
  body > footer {
    width: min(100% - 24px, 1180px);
  }

  main > *,
  body > h1,
  body > h2,
  body > h3,
  body > h4,
  body > p,
  body > ul,
  body > ol,
  body > pre,
  body > blockquote,
  body > table {
    width: calc(100% - 24px);
  }

  .workstream-panel {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .workstream-card {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 0;
    padding: 17px 16px 16px;
    border-radius: 16px;
  }

  .workstream-card::after {
    border-radius: 16px 0 0 16px;
  }

  .workstream-index {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 13px;
  }

  .workstream-card h3 {
    font-size: 15.5px;
    line-height: 1.45;
  }

  .workstream-card p {
    font-size: 13px;
    line-height: 1.7;
  }

  body > header {
    padding-top: 30px;
  }

  nav#TOC {
    overflow-x: auto;
  }

  nav#TOC ul {
    flex-wrap: nowrap;
    width: max-content;
  }

  main > h1,
  body > h1 {
    padding: 26px 22px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
