/* material-collection — 静的閲覧用（proposal Bクリーン系に準拠） */
:root {
  --bg-page: #f8f9fb;
  --bg-card: #ffffff;
  --text-heading: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-soft: rgba(99, 102, 241, 0.08);
  --success: #10b981;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.75rem 4rem;
}

.hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.hero__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: var(--font-jp);
  color: #4338ca;
  background: var(--accent-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
}

.hero__lead {
  margin: 0 auto;
  max-width: 52rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-body);
}

.section {
  margin-top: 2.75rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ----- 回収フロー（タイムライン：左トラック＋本文カード） ----- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0 1.125rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 0.35rem;
}

.timeline__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--accent);
  flex-shrink: 0;
}

.timeline__line {
  flex: 1;
  width: 3px;
  min-height: 1.5rem;
  margin-top: 0.35rem;
  background: var(--border);
  border-radius: 2px;
}

.timeline__item--last .timeline__line {
  display: none;
}

.timeline__body {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
}

.timeline__step {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-en);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.timeline__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.timeline__badge--office {
  color: #3730a3;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
}

.timeline__badge--client {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.timeline__badge--both {
  color: var(--text-heading);
  background: #f1f5f9;
  border: 1px solid var(--border);
}

.timeline__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.timeline__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ----- 技術構成：層フロー ----- */
.card--layers {
  margin-bottom: 1rem;
}

.layers-intro {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}

.layer-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.layer-flow__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.layer-flow__label {
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.layer-flow__box {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-body);
}

.layer-flow__box p {
  margin: 0;
}

.layer-flow__box p + p {
  margin-top: 0.45rem;
}

.layer-flow__box--accent {
  background: var(--accent-soft);
  border-color: #c7d2fe;
  color: var(--text-heading);
  font-weight: 600;
}

.layer-flow__box--muted {
  background: #f8fafc;
  color: var(--text-muted);
}

.layer-flow__who {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
}

.layer-flow__who + .layer-flow__who {
  margin-top: 0.35rem;
  font-weight: 500;
  color: var(--text-body);
}

.layer-flow__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

.layer-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.15rem 0;
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .layer-flow {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .layer-flow__arrow {
    align-self: center;
    padding: 0 0.15rem;
  }
}

/* ----- 複数顧問先ダッシュボード ----- */
.card--figure {
  margin: 0;
  padding: 1.35rem 1.5rem;
}

.figure-caption {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
}

.role-pair {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .role-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.role-pair__card {
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
}

.role-pair__card--firm {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-color: #c7d2fe;
}

.role-pair__card--client {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.role-pair__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
}

.role-pair__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-body);
}

.card--dashboard {
  margin-top: 1rem;
}

.dashboard__title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
}

.dashboard__note {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.dashboard-table-wrap {
  overflow-x: auto;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.dashboard-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.dashboard-table th,
.dashboard-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: middle;
}

.dashboard-table thead th {
  background: #f1f5f9;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.8125rem;
}

.dashboard-table tbody th {
  background: var(--bg-page);
  color: var(--text-heading);
  font-weight: 600;
  white-space: nowrap;
}

.dashboard-table td {
  color: var(--text-body);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.badge--ok {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge--warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.badge--pending {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ----- 技術構成 ----- */
.tech-card__title,
.table-block__title {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
}

.tech-card__note {
  margin-top: 1rem;
  margin-bottom: 0;
}

.card + .card.card--table {
  margin-top: 1.25rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-intro {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tag {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  font-family: var(--font-jp);
}

.tag--muted {
  background: var(--bg-page);
  color: var(--text-body);
  border-color: var(--border);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-top: 0.25rem;
}

.tech-table th,
.tech-table td {
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.tech-table thead th {
  background: #f1f5f9;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.875rem;
}

.tech-table tbody th {
  background: var(--bg-page);
  color: var(--text-heading);
  font-weight: 700;
  width: 30%;
}

.tech-table td {
  color: var(--text-body);
}

@media (max-width: 560px) {
  .tech-table th,
  .tech-table td {
    display: block;
    width: 100%;
  }
  .tech-table th {
    padding-bottom: 0.25rem;
    border-bottom: none;
  }
  .tech-table td {
    padding-top: 0.25rem;
    border-top: none;
    padding-bottom: 0.75rem;
  }
}

/* ----- スイムレーン（課題・インパクト節） ----- */
.swimlane-card {
  margin-bottom: 1.5rem;
  border: 2px solid #fca5a5;
  box-shadow: var(--shadow);
}

.swimlane-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: -0.02em;
}

.swimlane-card__def {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-body);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.swimlane {
  margin: 0 0 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.swimlane__lanes {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .swimlane__lanes {
    grid-template-columns: repeat(3, 1fr);
  }

  .swimlane__lane + .swimlane__lane {
    border-left: 1px solid var(--border);
  }
}

.swimlane__lane {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.swimlane__lane-head {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.swimlane__lane--client .swimlane__lane-head {
  background: linear-gradient(180deg, #fda4af 0%, #fb7185 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.swimlane__lane--firm .swimlane__lane-head {
  background: linear-gradient(180deg, #fdba74 0%, #fb923c 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.swimlane__lane--tool .swimlane__lane-head {
  background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.swimlane__lane-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.85rem 1.15rem;
  align-items: stretch;
}

.swimlane__lane--client .swimlane__lane-body {
  background: #fff1f2;
}

.swimlane__lane--firm .swimlane__lane-body {
  background: #fff7ed;
}

.swimlane__lane--tool .swimlane__lane-body {
  background: #eff6ff;
}

@media (max-width: 767px) {
  .swimlane__lane + .swimlane__lane {
    border-top: 1px solid var(--border);
  }
}

.swimlane-node {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-heading);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.swimlane-node--branch {
  border-style: dashed;
  border-color: #fb7185;
  background: #fff;
}

.swimlane-branch-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.swimlane-arrow {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.2;
  padding: 0.1rem 0;
}

.swimlane-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (max-width: 420px) {
  .swimlane-split {
    grid-template-columns: 1fr;
  }
}

.swimlane-node--split {
  padding: 0.55rem 0.6rem;
  font-size: 0.75rem;
}

.swimlane-node--split-warn {
  border-color: #fbbf24;
  background: #fffbeb;
}

.swimlane-node--split-ok {
  border-color: #34d399;
  background: #ecfdf5;
}

.swimlane-card__footer {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* ----- 課題ビジュアル + インパクト試算 ----- */
.challenge-visual {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .challenge-visual {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--challenge-accent, var(--border));
}

.challenge-card--a {
  --challenge-accent: #6366f1;
}

.challenge-card--b {
  --challenge-accent: #0ea5e9;
}

.challenge-card--c {
  --challenge-accent: #10b981;
}

.challenge-card__icon {
  color: var(--challenge-accent);
  margin-bottom: 0.75rem;
}

.challenge-card__icon svg {
  display: block;
}

.challenge-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
}

.challenge-card__text {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-body);
}

.challenge-card__office {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  padding: 0.5rem 0.65rem;
  background: var(--bg-page);
  border-radius: 8px;
  border: 1px dashed var(--border);
}

.challenge-card__arrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.challenge-card__fix {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-heading);
  padding: 0.65rem 0.75rem;
  background: var(--bg-page);
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ----- インパクト2軸 + 事務所コールアウト ----- */
.impact-dual {
  margin-bottom: 1.25rem;
}

.impact-dual__heading {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
}

.impact-dual__lead {
  margin: 0 0 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-body);
}

.impact-dual__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .impact-dual__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.impact-dual__col {
  border-radius: 10px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
}

.impact-dual__col--client {
  background: #f8fafc;
}

.impact-dual__col--firm {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border-color: #e9d5ff;
}

.impact-dual__title {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-en);
}

.impact-dual__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-body);
}

.impact-dual__list li {
  margin-bottom: 0.4rem;
}

.impact-dual__list li:last-child {
  margin-bottom: 0;
}

.sim-office-callout {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}

.sim-office-callout__title {
  margin: 0 0 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #14532d;
}

.sim-office-callout__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #166534;
}

.sim-office-callout__list li {
  margin-bottom: 0.35rem;
}

.sim-office-callout__list li:last-child {
  margin-bottom: 0;
}

.card--sim {
  margin-top: 0.25rem;
}

.sim__heading {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
}

.sim__intro {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}

.slider-block {
  margin-bottom: 1.75rem;
}

.slider-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.slider-block__head label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
}

.slider-block__value {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--accent);
}

.slider-block__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-en);
}

.range-input {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--border);
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
  cursor: grab;
}

.range-input::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.range-input::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: var(--border);
}

.range-input::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
  cursor: grab;
}

.sim-results {
  display: grid;
  gap: 1rem;
  margin: 0.5rem 0 1.75rem;
}

@media (min-width: 640px) {
  .sim-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sim-stat {
  text-align: center;
  padding: 1.1rem 0.85rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.sim-stat--accent {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-color: #c7d2fe;
}

.sim-stat__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.sim-stat__num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--text-heading);
  line-height: 1.2;
}

.sim-stat--accent .sim-stat__num {
  color: #3730a3;
}

.sim-stat__unit {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.sim-bars {
  margin-bottom: 1.5rem;
}

.sim-bars__label {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sim-bar-stack {
  display: flex;
  width: 100%;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--border);
}

.sim-bar {
  height: 100%;
  min-width: 0;
  transition: width 0.15s ease-out;
}

.sim-bar--cut {
  background: linear-gradient(90deg, #6366f1, #818cf8);
}

.sim-bar--remaining {
  background: #cbd5e1;
}

.sim-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-body);
}

.sim-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.sim-dot--cut {
  background: #6366f1;
}

.sim-dot--remain {
  background: #cbd5e1;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow);
}

.card--flow {
  padding: 1.65rem 1.5rem 1.5rem 1.25rem;
}

@media (min-width: 480px) {
  .card--flow {
    padding: 1.75rem 1.75rem 1.65rem 1.5rem;
  }
}

.card + .card {
  margin-top: 1rem;
}

.card.card--nested {
  background: var(--bg-page);
  box-shadow: none;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0;
}

.sim-impact__title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
}

.sim-impact__body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
}

.sim-impact__body p {
  margin: 0 0 0.65rem;
}

.sim-impact__body p:last-child {
  margin-bottom: 0;
}

.sim-disclaimer {
  margin-top: 1rem;
  margin-bottom: 0;
}

.flow {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .flow {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}

.flow__col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-en);
}

.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.5rem;
  padding: 0.5rem 0;
}

@media (min-width: 640px) {
  .flow__arrow {
    padding: 2rem 0 0;
  }
}

.flow-list {
  margin: 0;
  padding-left: 1.35rem;
  font-size: 1rem;
  line-height: 1.7;
}

.flow-list li {
  margin-bottom: 0.5rem;
}

.flow-list li:last-child {
  margin-bottom: 0;
}

code {
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.checklist-demo {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist-demo li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.65;
}

.checklist-demo li:last-child {
  border-bottom: none;
}

.checklist-demo input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-body);
}

.note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 1rem;
}

/* 共有用: URL に ?solo=1（html.page--standalone）でフッターの materials 導線を隠す */
.site-footer__solo-label {
  display: none;
}

html.page--standalone .site-footer__materials,
html.page--standalone .site-footer__default-tail {
  display: none !important;
}

html.page--standalone .site-footer__solo-label {
  display: inline;
  color: var(--text-muted);
}

.site-footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.site-footer a {
  color: var(--text-muted);
}
.site-footer a:hover {
  color: var(--accent);
}
