/* ==========================================================================
   2026-11-20 マーケティングAI導入支援（/ai/）の「3つの土台の上で回る PDCA」の図。
   元は all-rev.com のヒーローの図（.pdca）で、色をこのページ（plan-b 型）の紫・シアンに置き換えた。
   素の状態が完成形（動きを止めても図は欠けない）。動きは prefers-reduced-motion: no-preference のときだけ。
   上の札はこのページの支援領域 5 つ（リンクにはしない）。
   ========================================================================== */
.pdca {
  --bg: #ffffff;
  --bg-card: #f7f6fb;
  --bg-raise: #efecf8;
  --line: #e3e1ea;
  --line2: #cdc8e0;
  --ink: #1b1c2e;
  --body: #44465a;
  --muted: #6b6d80;
  --faint: #a7a4ba;
  --b600: #7b6bff;
  --b700: #5b48e0;
  --b-tint: rgba(123, 107, 255, 0.08);
  --ok: #19b3c9;
  --icon-stroke: #5b48e0;
  --r-sm: 2px;
  --r: 6px;
  --r-lg: 12px;
  --pill: 9999px;
  --sh-ring: inset 0 0 0 1px var(--line);
  --sh-ring-hover: inset 0 0 0 1px var(--line2);
  --sh-float: 0 24px 48px -24px rgba(40, 30, 110, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.12s;
  --mono: var(--font-display, "Outfit"), ui-monospace, monospace;
}
.pdca {
  --pd-orbit: 7s;
  --pd-feed: 8s;
  --pd-open: 6s;
  --pd-loop: 20s;
  --pd-intro: 26s;
  --pd-max: 860px;
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: var(--pd-max);
  margin: clamp(40px, 5vw, 64px) auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
}
.pd-layers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.pd-layer {
  --pd-w: 88%;
  --pd-top: 26px;
  position: relative;
  width: var(--pd-w);
  min-height: calc(var(--pd-top) + 44px);
  padding: calc(var(--pd-top) + 10px) 18px 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 0 0 14px 14px / 0 0 7px 7px;
  background: linear-gradient(to bottom, var(--bg-card) var(--pd-top), var(--bg-raise));
  box-shadow:
    var(--sh-ring),
    0 3px 5px -2px rgba(40, 30, 110, 0.2),
    0 14px 22px -12px rgba(40, 30, 110, 0.24);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.pd-layer-2 { --pd-w: 74%; }
.pd-layer-3 { --pd-w: 60%; }
.pd-layer-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-tools {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
.pd-tool {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: var(--bg);
  box-shadow: var(--sh-ring);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--body);
}
.pd-tool .brand-mark {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.pd-tool .is-wordmark {
  width: 25px;
}
.pd-layer + .pd-layer {
  margin-bottom: 0;
}
.pd-layer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--pd-top);
  border-radius: 14px / 7px;
  background: var(--bg);
  box-shadow: var(--sh-ring), inset 0 -1px 0 var(--line2);
}
.pd-layer-3::after {
  background:
    radial-gradient(ellipse 46% 80% at 50% 50%, rgba(123, 107, 255, 0.18), transparent),
    var(--bg);
}
.pd-layer-1 {
  box-shadow:
    var(--sh-ring),
    0 3px 5px -2px rgba(40, 30, 110, 0.2),
    0 22px 32px -18px rgba(40, 30, 110, 0.28);
}
.pd-layer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--pd-top);
  bottom: 0;
  border-radius: inherit;
  background: var(--b-tint);
  opacity: 0;
  pointer-events: none;
}
.pd-no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.pd-no::before {
  content: "0";
}
.pd-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--icon-stroke);
}
.pd-layer-title {
  position: relative;
}
.pd-ring {
  position: relative;
}
.pd-orbit {
  position: relative;
  aspect-ratio: 800 / 400;
  container-type: inline-size;
}
.pd-orbit::before {
  content: "";
  position: absolute;
  inset: -6% 0 0;
  z-index: 0;
  background-image: radial-gradient(var(--line2) 1px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 46% 72% at 50% 50%, var(--ink) 10%, transparent 100%);
  mask-image: radial-gradient(ellipse 46% 72% at 50% 50%, var(--ink) 10%, transparent 100%);
  pointer-events: none;
}
.pd-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(200 / 400 * 100%);
  z-index: 0;
  width: 46%;
  height: 72%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(123, 107, 255, 0.11),
    rgba(123, 107, 255, 0.04) 55%,
    transparent 100%
  );
  pointer-events: none;
}
.pd-arcs {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pd-axis {
  fill: none;
  stroke: var(--line2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 2 5;
  vector-effect: non-scaling-stroke;
}
.pd-pulse {
  fill: var(--b600);
  opacity: 0;
}
.pd-trunk {
  fill: none;
  stroke: var(--line2);
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.pd-pulse-up {
  fill: var(--b600);
  opacity: 0;
}
.pd-orbit-track {
  fill: none;
  stroke: var(--line2);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.pd-dir path {
  fill: rgba(123, 107, 255, 0.45);
}
.pd-comet {
  fill: none;
  stroke: var(--b600);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 5 95;
  stroke-dashoffset: 27.5;
}
.pd-comet-glow {
  fill: none;
  stroke: rgba(123, 107, 255, 0.16);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 5 95;
  stroke-dashoffset: 27.5;
}
.pd-nodes {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pd-node {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 10px;
  border-radius: var(--pill);
  background: var(--bg);
  box-shadow: var(--sh-ring);
  white-space: nowrap;
}
.pd-plan { left: 50%; top: calc(70 / 400 * 100%); }
.pd-do { left: calc(700 / 800 * 100%); top: calc(200 / 400 * 100%); }
.pd-check { left: 50%; top: calc(330 / 400 * 100%); }
.pd-act { left: calc(100 / 800 * 100%); top: calc(200 / 400 * 100%); }
.pd-card-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.pd-stage {
  padding-left: 1px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.pd-hub {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(200 / 400 * 100%);
  transform: translate(-50%, -50%);
  width: calc(360 / 800 * 100%);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--sh-ring), var(--sh-float);
  text-align: left;
}
.pd-flash {
  position: absolute;
  inset: -5px;
  border-radius: calc(var(--r-lg) + 5px);
  box-shadow:
    0 0 0 1.5px rgba(123, 107, 255, 0.7),
    0 0 28px rgba(123, 107, 255, 0.35);
  opacity: 0;
  pointer-events: none;
}
.pd-hub-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: clamp(22px, 3.4cqw, 32px);
  padding: 0 clamp(8px, 1.3cqw, 12px);
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.pd-hub-bar::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
  box-shadow: 9px 0 0 var(--faint), 18px 0 0 var(--faint);
  margin-right: auto;
}
.pd-hub-title {
  font-family: var(--mono);
  font-size: clamp(9px, 1.4cqw, 12px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-indent: 0.08em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.pd-hub-body {
  display: flex;
  flex-direction: column;
  max-height: clamp(110px, 23cqw, 200px);
  overflow: hidden;
  justify-content: flex-end;
  gap: 0;
  padding: clamp(8px, 1.4cqw, 13px) clamp(8px, 1.4cqw, 13px) clamp(9px, 1.5cqw, 14px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, var(--ink) clamp(10px, 2cqw, 18px));
  mask-image: linear-gradient(to bottom, transparent, var(--ink) clamp(10px, 2cqw, 18px));
}
.pd-turn {
  display: grid;
  grid-template-rows: 1fr;
  flex: none;
}
.pd-turn > .pd-say {
  overflow: hidden;
  min-height: 0;
  margin-top: clamp(5px, 0.9cqw, 9px);
}
.pd-turn:first-child > .pd-say {
  margin-top: 0;
}
.pd-say {
  max-width: 96%;
  font-size: clamp(9px, 1.45cqw, 13px);
  line-height: 1.7;
}
.pd-ask {
  justify-self: end;
  padding: clamp(4px, 0.85cqw, 9px) clamp(8px, 1.25cqw, 12px);
  border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-lg);
  background: var(--bg-raise);
  color: var(--ink);
}
.pd-ans {
  justify-self: start;
  max-width: 100%;
  width: 100%;
  padding-left: 2px;
  display: grid;
  justify-items: start;
  gap: clamp(4px, 0.7cqw, 7px);
  color: var(--body);
}
.pd-thumbs {
  display: flex;
  gap: clamp(4px, 0.7cqw, 7px);
}
.pd-thumb {
  height: clamp(26px, 4.3cqw, 40px);
  width: auto;
}
.pd-report {
  height: clamp(34px, 5.6cqw, 52px);
  width: auto;
  max-width: 100%;
}
.pd-art-card {
  fill: var(--bg);
  stroke: var(--line);
  stroke-width: 1.5;
}
.pd-art-photo {
  fill: var(--pd-photo, var(--bg-raise));
}
.pd-art-hill,
.pd-art-sun {
  fill: var(--pd-photo-mark, var(--line2));
}
.pd-thumb-a { --pd-photo: rgba(123, 107, 255, 0.12); --pd-photo-mark: rgba(123, 107, 255, 0.3); }
.pd-thumb-b { --pd-photo: var(--bg-raise); --pd-photo-mark: var(--line2); }
.pd-thumb-c { --pd-photo: rgba(123, 107, 255, 0.07); --pd-photo-mark: rgba(123, 107, 255, 0.22); }
.pd-art-text {
  fill: var(--line2);
}
.pd-art-text.is-2 {
  fill: var(--line);
}
.pd-art-cta {
  fill: var(--b600);
}
.pd-art-bars rect {
  fill: var(--line);
}
.pd-art-bars .is-on {
  fill: var(--b600);
}
.pd-art-line {
  fill: none;
  stroke: var(--b600);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pd-art-dot {
  fill: var(--b600);
}
.pd-reply {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 2px;
  margin-top: clamp(5px, 0.9cqw, 9px);
  align-self: flex-start;
  flex: none;
}
.pd-reply i {
  width: clamp(4px, 0.7cqw, 6px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--b600);
  opacity: 0.35;
}
.pd-approval {
  display: grid;
  gap: clamp(3px, 0.5cqw, 5px);
  width: 100%;
  padding: clamp(6px, 0.9cqw, 9px) clamp(7px, 1.1cqw, 11px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  font-size: clamp(8px, 1.2cqw, 11px);
  line-height: 1.45;
}
.pd-approval-head {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.7cqw, 7px);
}
.pd-approval-badge {
  flex: none;
  width: clamp(11px, 1.6cqw, 14px);
  height: clamp(11px, 1.6cqw, 14px);
  fill: var(--ok);
}
.pd-approval-badge path {
  stroke: var(--bg);
}
.pd-approval-name {
  font-weight: 600;
  color: var(--ink);
}
.pd-approval-note {
  color: var(--body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pd-approval-state {
  display: grid;
  justify-items: end;
  margin-top: clamp(1px, 0.3cqw, 3px);
}
.pd-approval-act,
.pd-approval-ok {
  grid-area: 1 / 1;
  white-space: nowrap;
}
.pd-approval-ok {
  align-self: center;
  font-weight: 600;
  color: var(--b700);
}
.pd-approval-act {
  display: none;
  gap: clamp(4px, 0.6cqw, 6px);
}
.pd-approval-no,
.pd-approval-yes {
  padding: clamp(2px, 0.35cqw, 4px) clamp(6px, 0.9cqw, 10px);
  border-radius: var(--r);
  font-weight: 600;
}
.pd-approval-no {
  border: 1px solid var(--line2);
  color: var(--body);
}
.pd-approval-yes {
  background: var(--b600);
  color: var(--bg);
}
.pd-areas {
  --pd-ah: 80px;
  --pd-ag: 8px;
  --pd-drop: 14px;
  --pd-bus: 3cqw;
  position: relative;
  margin-bottom: calc(var(--pd-drop) + var(--pd-bus));
}
.pd-area-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  column-gap: var(--pd-ag);
  row-gap: calc(var(--pd-drop) + 16px);
}
.pd-area-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--pd-ah) + var(--pd-drop));
  bottom: calc(-1 * var(--pd-drop));
  width: 1.5px;
  margin-left: -0.75px;
  background: var(--line2);
  pointer-events: none;
}
.pd-area {
  position: relative;
  height: var(--pd-ah);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  border-radius: 10px;
  background: var(--bg);
  box-shadow: var(--sh-ring);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.pd-area .pd-icon {
  width: 18px;
  height: 18px;
}
.pd-area::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--b-tint);
  opacity: 0;
  pointer-events: none;
}
.pd-area::after {
  content: "";
  position: absolute;
  left: calc(-0.5 * var(--pd-ag));
  right: calc(-0.5 * var(--pd-ag));
  top: 100%;
  height: calc(var(--pd-drop) + 1.5px);
  background:
    linear-gradient(var(--line2), var(--line2)) 50% 0 / 1.5px 100% no-repeat,
    linear-gradient(var(--line2), var(--line2)) 0 100% / 100% 1.5px no-repeat;
  pointer-events: none;
}
.pd-area:first-child::after {
  left: 50%;
  background-position: 0 0, 0 100%;
}
.pd-area:last-child::after {
  right: 50%;
  background-position: 100% 0, 0 100%;
}
@keyframes pd-comet {
  from { stroke-dashoffset: 127.5 }
  to { stroke-dashoffset: 27.5 }
}
@keyframes pd-say-1 {
  0%, 3% { grid-template-rows: 0fr; opacity: 0 }
  7%, 46% { grid-template-rows: 1fr; opacity: 1 }
  52%, 100% { grid-template-rows: 0fr; opacity: 0 }
}
@keyframes pd-say-2 {
  0%, 12% { grid-template-rows: 0fr; opacity: 0 }
  16%, 62% { grid-template-rows: 1fr; opacity: 1 }
  68%, 100% { grid-template-rows: 0fr; opacity: 0 }
}
@keyframes pd-say-3 {
  0% { grid-template-rows: 0fr; opacity: 0 }
  3%, 44% { grid-template-rows: 1fr; opacity: 1 }
  50%, 100% { grid-template-rows: 0fr; opacity: 0 }
}
@keyframes pd-say-4 {
  0%, 22% { grid-template-rows: 0fr; opacity: 0 }
  26%, 64% { grid-template-rows: 1fr; opacity: 1 }
  70%, 100% { grid-template-rows: 0fr; opacity: 0 }
}
@keyframes pd-say-5 {
  0%, 44% { grid-template-rows: 0fr; opacity: 0 }
  48%, 86% { grid-template-rows: 1fr; opacity: 1 }
  92%, 100% { grid-template-rows: 0fr; opacity: 0 }
}
@keyframes pd-say-6 {
  0%, 64% { grid-template-rows: 0fr; opacity: 0 }
  68%, 96% { grid-template-rows: 1fr; opacity: 1 }
  99%, 100% { grid-template-rows: 0fr; opacity: 0 }
}
@keyframes pd-approval-act {
  0%, 6% { opacity: 0 }
  10%, 20% { opacity: 1 }
  23%, 100% { opacity: 0 }
}
@keyframes pd-approval-ok {
  0%, 20% { opacity: 0 }
  24%, 84% { opacity: 1 }
  90%, 100% { opacity: 0 }
}
@keyframes pd-approval-card {
  0%, 6% { border-color: var(--line); background: var(--bg-card) }
  10%, 20% { border-color: var(--ok); background: rgba(56, 208, 230, 0.1) }
  24%, 100% { border-color: var(--line); background: var(--bg-card) }
}
@keyframes pd-dots {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0) }
  30% { opacity: 1; transform: translateY(-2px) }
}
@keyframes pd-feed-1 { 0%, 2% { opacity: 0 } 8%, 16% { opacity: 1 } 24%, 100% { opacity: 0 } }
@keyframes pd-feed-2 { 0%, 12% { opacity: 0 } 18%, 26% { opacity: 1 } 34%, 100% { opacity: 0 } }
@keyframes pd-feed-3 { 0%, 22% { opacity: 0 } 28%, 36% { opacity: 1 } 44%, 100% { opacity: 0 } }
@keyframes pd-rise {
  0%, 40% { opacity: 0; transform: translateY(214px) }
  43% { opacity: 1; transform: translateY(214px) }
  57% { opacity: 1; transform: translateY(0) }
  59%, 100% { opacity: 0; transform: translateY(0) }
}
@keyframes pd-flash {
  0%, 56% { opacity: 0; transform: scale(1) }
  59% { opacity: 1; transform: scale(1) }
  74%, 100% { opacity: 0; transform: scale(1.3) }
}
@keyframes pd-rise-up {
  0%, 70% { opacity: 0; transform: translateY(0px) }
  72% { opacity: 1; transform: translateY(0px) }
  82% { opacity: 1; transform: translateY(-224px) }
  84%, 100% { opacity: 0; transform: translateY(-224px) }
}
@keyframes pd-reach {
  0%, 81% { opacity: 0 }
  85%, 91% { opacity: 1 }
  97%, 100% { opacity: 0 }
}
@media (prefers-reduced-motion: no-preference) {
  .pd-comet { animation: pd-comet var(--pd-orbit) linear infinite; }
  .pd-comet-glow { animation: pd-comet var(--pd-orbit) linear infinite; }
  .pd-say-1 { animation: pd-say-1 var(--pd-intro) var(--ease-out) 1 forwards; }
  .pd-say-2 { animation: pd-say-2 var(--pd-intro) var(--ease-out) 1 forwards; }
  .pd-say-3 { animation: pd-say-3 var(--pd-loop) var(--ease-out) var(--pd-open) infinite backwards; }
  .pd-say-4 { animation: pd-say-4 var(--pd-loop) var(--ease-out) var(--pd-open) infinite backwards; }
  .pd-say-5 { animation: pd-say-5 var(--pd-loop) var(--ease-out) var(--pd-open) infinite backwards; }
  .pd-say-6 { animation: pd-say-6 var(--pd-loop) var(--ease-out) var(--pd-open) infinite backwards; }
  .pd-approval-act {
    display: flex;
    animation: pd-approval-act var(--pd-loop) var(--ease-out) var(--pd-open) infinite backwards;
  }
  .pd-approval-ok {
    animation: pd-approval-ok var(--pd-loop) var(--ease-out) var(--pd-open) infinite backwards;
  }
  .pd-approval {
    animation: pd-approval-card var(--pd-loop) step-end var(--pd-open) infinite backwards;
  }
  .pd-reply i { animation: pd-dots 1.4s var(--ease-out) infinite; }
  .pd-reply i:nth-child(2) { animation-delay: 0.16s; }
  .pd-reply i:nth-child(3) { animation-delay: 0.32s; }
  .pd-layer-1::before { animation: pd-feed-1 var(--pd-feed) linear infinite; }
  .pd-layer-2::before { animation: pd-feed-2 var(--pd-feed) linear infinite; }
  .pd-layer-3::before { animation: pd-feed-3 var(--pd-feed) linear infinite; }
  .pd-pulse { animation: pd-rise var(--pd-feed) var(--ease-out) infinite; }
  .pd-flash { animation: pd-flash var(--pd-feed) var(--ease-out) infinite; }
  .pd-pulse-up { animation: pd-rise-up var(--pd-feed) var(--ease-out) infinite; }
  .pd-area::before { animation: pd-reach var(--pd-feed) linear infinite; }
}
@media (max-width: 800px) {
  .pd-orbit {
    aspect-ratio: 800 / 480;
  }
  .pd-areas {
    --pd-bus: 3.6cqw;
  }
}
@media (max-width: 520px) {
  .pd-orbit {
    aspect-ratio: 800 / 520;
  }
  .pd-areas {
    --pd-bus: 3.9cqw;
  }
  .pd-node {
    gap: 5px;
    padding: 5px 9px 5px 8px;
  }
  .pd-do,
  .pd-act {
    flex-direction: column;
    gap: 2px;
    width: 68px;
    padding: 7px 4px;
    border-radius: var(--r-lg);
    text-align: center;
  }
  .pd-do .pd-stage,
  .pd-act .pd-stage {
    padding-left: 0;
  }
  .pd-node .pd-icon {
    width: 13px;
    height: 13px;
  }
  .pd-card-title {
    font-size: 11.5px;
  }
  .pd-stage {
    font-size: 9px;
  }
  .pd-hub {
    width: calc(380 / 800 * 100%);
  }
  .pd-hub-bar,
  .pd-reply {
    display: none;
  }
  .pd-hub-body {
    padding: clamp(7px, 1.6cqw, 11px);
    max-height: clamp(80px, 31cqw, 130px);
  }
  .pd-say {
    font-size: clamp(10.5px, 1.45cqw, 13px);
  }
  .pd-approval {
    font-size: clamp(9.5px, 1.2cqw, 11px);
  }
  .pd-flash {
    inset: -4px;
    border-radius: calc(var(--r-lg) + 4px);
  }
  .pd-layer {
    --pd-w: 100%;
    --pd-top: 20px;
    padding: calc(var(--pd-top) + 9px) 12px 9px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
  }
  .pd-layer-2 { --pd-w: 90%; }
  .pd-layer-3 { --pd-w: 80%; }
  .pd-tools {
    justify-content: flex-start;
  }
  .pd-areas {
    --pd-ah: 74px;
    --pd-ag: 6px;
    --pd-drop: 12px;
  }
  .pd-area {
    font-size: 10.5px;
    padding: 5px 3px;
  }
  .pd-area .pd-icon {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 359px) {
  .pd-areas {
    --pd-ah: 86px;
  }
  .pd-hub-body {
    max-height: clamp(72px, 27cqw, 130px);
  }
}

/* ---- TripClear 向けの上書き ---- */
.pdca { font-family: var(--font-body-jp); }
.pdca :where(p, ol, ul, li) { margin: 0; }
.pd-stage, .pd-no, .pd-hub-title { font-weight: 600; }
.pd-node .pd-card-title, .pd-layer-title { font-weight: 700; }
.pd-approval-yes { background: linear-gradient(135deg, #a06bff 0%, #7b6bff 45%, #38d0e6 100%); }
.pd-comet { stroke: #7b6bff; }
.pd-area { font-weight: 700; color: var(--pb-deep, #3d2989); }
@media (max-width: 520px) {
  .pd-area-list { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pd-area { grid-column: span 2; }
  .pd-area:nth-child(4) { grid-column: 2 / span 2; }
  .pd-area:nth-child(3)::after { right: 50%; background-position: 100% 0, 0 100%; }
  .pd-area:nth-child(4)::after { left: 50%; background-position: 0 0, 0 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pdca, .pdca *, .pdca *::before, .pdca *::after { animation: none; }
}
/* サイト共通の「影なし」（sns.css / styles.css の box-shadow: none !important）が、この図の輪郭（inset の 1px 線）と
   浮きの影まで消してしまうので、図の中だけ html:root .body-home を付けて戻す */
html:root .body-home .pdca :is(.pd-tool, .pd-node, .pd-area:not(.ai-area-card), .pd-layer::after) { box-shadow: var(--sh-ring) !important; }
html:root .body-home .pdca .pd-layer::after { box-shadow: var(--sh-ring), inset 0 -1px 0 var(--line2) !important; }
html:root .body-home .pdca .pd-layer { box-shadow: var(--sh-ring), 0 3px 5px -2px rgba(40, 30, 110, 0.14), 0 14px 22px -12px rgba(40, 30, 110, 0.18) !important; }
html:root .body-home .pdca .pd-layer-1 { box-shadow: var(--sh-ring), 0 3px 5px -2px rgba(40, 30, 110, 0.14), 0 22px 32px -18px rgba(40, 30, 110, 0.22) !important; }
html:root .body-home .pdca .pd-hub { box-shadow: var(--sh-ring), var(--sh-float) !important; }
html:root .body-home .pdca .pd-flash { box-shadow: 0 0 0 1.5px rgba(123, 107, 255, 0.7), 0 0 28px rgba(123, 107, 255, 0.35) !important; }
/* 2026-11-20 支援領域の面（.pb-panel）の中に置く。見出しとカードの間 */
.ai-scope .pdca { margin: 8px auto 0; }

/* 11/20 上の札を、支援領域のカード（色の見出し＋イラスト＋段階のラベル）そのものにした。
   幹・母線・枝は札の高さ（--pd-ah）から引くので、カードの高さを段ごとに固定する */
.ai-scope .pd-areas { --pd-ah: 236px; --pd-ag: 12px; }
.ai-scope .pd-area.ai-area-card {
  justify-content: flex-start; gap: 0; padding: 0;
  background: var(--pb-gray, #f5f5f6); border-radius: 2px;
  font-size: inherit; color: inherit;
}
.ai-scope .ai-area-card .pb-svc-tab { width: 100%; font-size: calc(15px * var(--fs-b)); padding: 12px 4px; white-space: nowrap; }
.ai-scope .ai-area-card .pb-svc-body { padding: 22px 8px 16px; }
.ai-scope .ai-area-card .pb-svc-body img { width: 104px; height: 104px; margin: 0 auto 14px; }
@media (max-width: 800px) {
  .ai-scope .pd-areas { --pd-ah: 200px; --pd-ag: 8px; }
  .ai-scope .ai-area-card .pb-svc-tab { font-size: calc(12.5px * var(--fs-b)); padding: 10px 2px; }
  .ai-scope .ai-area-card .pb-svc-body { padding: 16px 4px 12px; }
  .ai-scope .ai-area-card .pb-svc-body img { width: 84px; height: 84px; margin-bottom: 10px; }
}
@media (max-width: 520px) {
  .ai-scope .pd-areas { --pd-ah: 164px; --pd-ag: 6px; }
  .ai-scope .ai-area-card .pb-svc-tab { font-size: 11.5px /* fixed */; padding: 8px 2px; }
  .ai-scope .ai-area-card .pb-svc-tab::after { bottom: -7px; margin-left: -7px; border-width: 7px; border-bottom: 0; }
  .ai-scope .ai-area-card .pb-svc-body { padding: 12px 2px 10px; }
  .ai-scope .ai-area-card .pb-svc-body img { width: 64px; height: 64px; margin-bottom: 8px; }
  .ai-scope .ai-area-card .ai-stage { font-size: 11px !important; }
}
/* 見出しはファネルの段階、イラストの下は領域名（11/20 ユーザー指示「知ってもらうの代わりに広告・SNS運用に」） */
.ai-scope .ai-area-card .ai-stage { font-size: calc(14px * var(--fs-b)) !important; letter-spacing: .04em; color: var(--pb-deep, #3d2989); }
@media (max-width: 800px) { .ai-scope .ai-area-card .ai-stage { font-size: calc(12.5px * var(--fs-b)) !important; } }
@media (max-width: 520px) { .ai-scope .ai-area-card .ai-stage { font-size: 11px !important; } }
@media (max-width: 520px) { .ai-scope .pd-areas { --pd-ah: 146px; } }
