/* ===== Incrave Cloud Hosting — Design v2 (draft) ===== */
:root {
  --navy: #0f2043; --navy-2: #1a365d; --blue: #2c5282; --sky: #4364F7; --sky-2: #6FB1FC; --sky-bg: #eef3ff;
  --teal: #0f9d8a; --teal-bg: #e6f7f4; --amber: #d98b1a; --amber-bg: #fff4e0; --red: #e63946; --red-bg: #fdecee;
  --text: #2d3748; --muted: #718096; --line: #e2e8f0; --bg: #f7fafc;
  --en: "Montserrat", sans-serif; --jp: "Noto Sans JP", sans-serif;
  --grad: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%);
  --shadow: 0 10px 24px rgba(15,32,67,0.06); --shadow-lg: 0 24px 48px rgba(15,32,67,0.12);
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--jp); color: var(--text); background: var(--bg); line-height: 1.75; overflow-wrap: anywhere; overflow-x: hidden; }
h1, h2, h3, h4, .eyebrow, .kicker, .stat .l, .tag, .toc a, .gnav a, .cc-q, .cc-ans { word-break: keep-all; }
img { max-width: 100%; }
a { color: var(--sky); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; margin: 0; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); font-weight: 900; letter-spacing: -0.01em; }
h2 em { font-style: normal; color: var(--sky); }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-family: var(--en); font-weight: 800; letter-spacing: .22em; font-size: .76rem; color: var(--sky); text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sky); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 2px; background: var(--sky); }
.lead { font-size: 1.05rem; color: var(--text); }
.lead b { color: var(--navy); }
.center { text-align: center; }
.sec { padding: 96px 0; position: relative; }
.sec.tint { background: #fff; }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head .lead { margin-top: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); color: var(--navy); background: #fff; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.btn.primary { background: var(--grad); color: #fff; border: none; box-shadow: 0 4px 14px rgba(0,118,255,0.35); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 6px; background: var(--navy); color: #fff; }
.tag.sky { background: var(--sky-bg); color: var(--blue); }
.tag.teal { background: var(--teal-bg); color: #0b6b5e; }
.tag.amber { background: var(--amber-bg); color: #8a5a00; }
.tag.red { background: var(--red-bg); color: #9b2430; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px 26px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > .fig { order: 2; }
.fig svg { width: 100%; height: auto; display: block; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat .v { font-family: var(--en); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--navy); }
.stat .v small { font-size: .95rem; font-family: var(--jp); font-weight: 700; margin-left: 2px; }
.stat .l { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-family: var(--en); font-weight: 800; }
.icon.sky { background: linear-gradient(135deg, #2c5282, #4364F7); }
.icon.amber { background: linear-gradient(135deg, #b8700f, #e9a93a); }
.icon.teal { background: linear-gradient(135deg, #0b7f70, #1fbfa8); }
.icon.red { background: linear-gradient(135deg, #b3202c, #ef6b75); }
.icon svg { width: 24px; height: 24px; }
.mark { font-family: var(--en); font-weight: 800; font-size: 1.05rem; }
.note { font-size: .82rem; color: var(--muted); }
.legend { display: flex; gap: 14px; justify-content: center; margin-top: 14px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ----- header ----- */
header { position: sticky; top: 0; z-index: 100; background: rgba(247,250,252,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(15,32,67,0.08); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand img { height: 26px; display: block; }
.gnav { display: flex; gap: 26px; }
.gnav a { color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.gnav a.active { border-bottom-color: var(--sky); }
.toc { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 90; }
.toc .wrap { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.toc .label { font-size: .76rem; font-weight: 700; color: var(--muted); margin-right: 6px; }
.toc a { font-size: .82rem; color: var(--navy); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; white-space: nowrap; }
.toc a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ----- hero ----- */
.hero { padding: 76px 0 70px; color: #fff; overflow: hidden; position: relative;
  background: radial-gradient(900px 500px at 10% 10%, rgba(255,255,255,0.28), transparent 60%),
              radial-gradient(700px 500px at 95% 90%, rgba(111,177,252,0.6), transparent 60%),
              linear-gradient(135deg, #1f55c4 0%, #3b7df0 55%, #6FB1FC 100%); }
.hero .split { gap: 40px; }
.hero .kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.14); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: #cfe6ff; }
.hero .lead { color: rgba(255,255,255,0.92); margin: 18px 0 24px; max-width: 520px; }
.hero .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.hero .pills span { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.4); }
.hero .cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero .btn.primary { background: #fff; color: var(--navy); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.hero .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .tel { color: #fff; text-decoration: none; font-family: var(--en); font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.hero .tel small { display: block; font-family: var(--jp); font-weight: 500; font-size: .72rem; opacity: .85; }
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.trust .t { font-size: .86rem; color: var(--muted); }
.trust .t b { color: var(--navy); }
.trust .logos { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.trust .logos img { height: 30px; width: auto; opacity: .9; }

/* ----- assurance ----- */
.flow-v { display: grid; gap: 14px; }
.flow-v .item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.flow-v .item p { font-size: .92rem; }

/* ----- comparison ----- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cmp th, .cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cmp th { background: var(--navy); color: #fff; font-weight: 700; }
.cmp th.us { background: var(--sky); }
.cmp td:first-child, .cmp th:first-child { text-align: left; font-weight: 700; color: var(--navy); }
.cmp td.us { background: var(--sky-bg); }
.cmp tr:last-child td { border-bottom: none; }
.chip { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-family: var(--en); }
.chip.ok { background: var(--teal-bg); color: var(--teal); }
.chip.mid { background: var(--amber-bg); color: var(--amber); }
.chip.ng { background: var(--red-bg); color: var(--red); }

/* ----- reasons / options / recommend ----- */
.feature { display: grid; gap: 14px; }
.feature .icon { margin-bottom: 2px; }
.feature p { font-size: .93rem; }
.band { background: var(--navy); color: #fff; border-radius: 24px; padding: 44px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(111,177,252,0.45), transparent 65%); }
.band h3 { color: #fff; font-size: 1.35rem; }
.band p { color: rgba(255,255,255,0.85); margin-top: 10px; }
.band .stats { position: relative; }
.band .stat .v, .band .stat .l { color: #fff; }
.band .stat .l { color: rgba(255,255,255,0.75); }

/* ----- pricing ----- */
.price { border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.price .head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.price.hi .head { background: var(--navy); color: #fff; }
.price .body { padding: 22px 24px; }
.price .num { font-family: var(--en); font-weight: 800; font-size: 2.1rem; color: var(--navy); line-height: 1; white-space: nowrap; }
.price .num small { font-family: var(--jp); font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: .9rem; }
.price li { padding-left: 22px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.steps-h { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.steps-h .s { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; text-align: center; font-size: .88rem; font-weight: 700; color: var(--navy); position: relative; }
.steps-h .s b { display: block; font-family: var(--en); color: var(--sky); font-size: 1.2rem; margin-bottom: 4px; }

/* ----- faq / contact ----- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--sky); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px; font-size: .93rem; border-top: 1px solid var(--line); padding-top: 12px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.contact a { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); }
.contact .big { font-family: var(--en); font-weight: 800; font-size: 1.3rem; }
.contact small { display: block; color: var(--muted); font-size: .82rem; font-family: var(--jp); font-weight: 400; }
footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 56px 0 36px; font-size: .88rem; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
footer a { color: #fff; text-decoration: none; }
footer h4 { color: #fff; font-size: .9rem; margin-bottom: 10px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; margin-top: 10px; font-size: .78rem; color: rgba(255,255,255,0.6); }
.draft-bar { background: var(--red); color: #fff; text-align: center; font-size: .82rem; padding: 7px; }

@media (max-width: 960px) {
  .split, .hero .split, .band, .faq, .contact, footer .wrap { grid-template-columns: 1fr; }
  .split.rev > .fig { order: 0; }
  .grid3, .grid4 { grid-template-columns: 1fr 1fr; }
  .steps-h { grid-template-columns: repeat(2, 1fr); }
  .gnav { display: none; }
  .toc { top: 72px; }
  .sec { padding: 64px 0; }
}
@media (max-width: 600px) {
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .toc .wrap { flex-wrap: nowrap; overflow-x: auto; }
  .hero { padding: 48px 0; }
  .band { padding: 28px 22px; }
}
section[id] { scroll-margin-top: 130px; }

/* ===== 旧スタイル変数の別名（用語集・互換用） ===== */
:root {
  --color-primary: var(--navy); --color-primary-light: var(--blue); --color-text: #2d3748; --color-text-light: #718096;
  --color-bg-body: var(--bg); --color-bg-card: #fff; --font-base: var(--jp); --radius-card: 18px; --radius-btn: 999px;
  --shadow-card: var(--shadow); --shadow-hover: var(--shadow-lg); --grad-accent: var(--grad); --grad-main: linear-gradient(135deg, #0f2043 0%, #1a365d 100%);
}

/* ===== モバイルナビ ===== */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span { top: 21px; } .nav-toggle span::before { left: 0; top: -6px; } .nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; } .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); } .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  header .wrap { height: 64px; }
  header .btn.primary { padding: 10px 18px; font-size: .85rem; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 24px 12px; box-shadow: var(--shadow-lg); }
  .gnav.open { display: flex; }
  .gnav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .gnav a.active { border-bottom-color: var(--line); color: var(--sky); }
  .toc { top: 64px; }
  section[id] { scroll-margin-top: 120px; }
}

/* ===== 用語ツールチップ・用語集ドロワー（旧style.cssから移植） ===== */
.term-tooltip {
  position: relative;
  color: var(--color-primary-light);
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: help;
  transition: color 0.2s ease;
}

button.term-tooltip {
  appearance: none;
  -webkit-appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
}

.term-tooltip:hover {
  color: #4364F7;
}

button.term-tooltip:focus-visible {
  outline: 2px solid rgba(67, 100, 247, 0.55);
  outline-offset: 2px;
  border-radius: 3px;
}

/* heroエリア内のツールチップは白で視認性を向上 */
.hero .term-tooltip {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.hero .term-tooltip:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

footer .term-tooltip {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

footer .term-tooltip:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.95);
}

/* 背景が黒や暗い色のセクション内のテキストを全て白に */
.hero,
.hero *,
.accent-band,
.accent-band *,
footer,
footer *,
.comparison-table thead,
.comparison-table thead * {
  color: #fff;
}

/* ただし、既に色が指定されている要素は除外（必要に応じて調整） */
.hero .btn,
.accent-band .btn {
  color: inherit; /* ボタンは独自のスタイルを維持 */
}

.term-tooltip-popup {
  position: fixed;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  display: none;
  pointer-events: none;
}

.term-tooltip-popup strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.term-tooltip-popup::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--color-primary);
}

/* ====================================
   固定位置の用語集ドロワー
   ==================================== */
.fixed-term-drawer-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  /* ヘッダー(1000)・サブナビ(1001〜1099)より手前。用語ツールチップ(10000)より後ろ */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.fixed-term-drawer-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #fff;
  color: var(--color-text);
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-base);
  z-index: 1001;
}

.fixed-term-drawer-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #f7fafc;
}

.fixed-term-drawer-toggle:active {
  transform: translateY(0);
}

.fixed-term-drawer-toggle:focus-visible {
  outline: 3px solid rgba(67, 100, 247, 0.3);
  outline-offset: 2px;
  border-color: var(--color-primary-light);
}

.fixed-term-drawer-toggle[aria-expanded="true"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15, 32, 67, 0.2);
}

.fixed-term-drawer-toggle[aria-expanded="true"]:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.fixed-term-drawer-toggle svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: currentColor;
}

.fixed-term-drawer-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: #fff;
}

.fixed-term-drawer-label {
  white-space: nowrap;
}

.fixed-term-drawer {
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              transform 0.3s ease;
}

.fixed-term-drawer.open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

.fixed-term-drawer-content {
  display: flex;
  flex-direction: column;
  max-height: 600px;
  overflow: hidden;
  background: transparent;
}

.fixed-term-drawer .term-drawer-header {
  flex-shrink: 0;
}

.fixed-term-drawer .term-drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  max-height: 500px;
}

.fixed-term-drawer .term-drawer-list::-webkit-scrollbar {
  width: 6px;
}

.fixed-term-drawer .term-drawer-list::-webkit-scrollbar-track {
  background: #f7fafc;
  border-radius: 3px;
}

.fixed-term-drawer .term-drawer-list::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.fixed-term-drawer .term-drawer-list::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* 用語集の切り替えアニメーション */
.term-content-updating {
  opacity: 0.3;
  transition: opacity 0.15s ease;
}

.term-content-updated {
  animation: termUpdateHighlight 0.6s ease;
}

@keyframes termUpdateHighlight {
  0% {
    background-color: rgba(67, 100, 247, 0.1);
  }
  50% {
    background-color: rgba(67, 100, 247, 0.2);
  }
  100% {
    background-color: transparent;
  }
}

/* セクション名のスタイル */
.term-drawer-header h3 .section-name {
  display: inline-block;
  font-weight: 800;
  color: #fff;
  position: relative;
  padding-right: 4px;
}

.term-drawer-header h3 .section-label {
  font-weight: 500;
  opacity: 0.9;
  font-size: 0.9em;
}

/* セクション切り替え時のヘッダーアニメーション */
.term-drawer-header h3 {
  transition: all 0.3s ease;
}

.term-drawer-header h3 .section-name {
  animation: sectionNameUpdate 0.5s ease;
}

@keyframes sectionNameUpdate {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* モバイル対応：用語集ボタンは右下に丸型（アイコンのみ） */
@media (max-width: 768px) {
  .ops-flow-step {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 12px;
  }

  .ops-flow-index {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .ops-flow-note div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fixed-term-drawer-wrapper {
    bottom: 20px;
    right: 20px;
    left: auto;
    align-items: flex-end;
  }

  .fixed-term-drawer-toggle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .fixed-term-drawer-toggle .fixed-term-drawer-label {
    display: none;
  }

  .fixed-term-drawer {
    width: calc(100vw - 32px);
    max-width: 360px;
    right: 0;
    left: auto;
  }

  .fixed-term-drawer.open {
    max-height: 70vh;
  }

  .fixed-term-drawer .term-drawer-list {
    max-height: calc(70vh - 80px);
  }
}


/* ===== 下層ページ互換スタイル ===== */
.subpage .hero.hero-sub { padding: 56px 0 56px; text-align: center; }
.subpage .hero-content { max-width: 900px; margin: 0 auto; }
.subpage .hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.subpage .hero .lead { margin: 16px auto 0; max-width: 760px; }
.subpage .hero .kicker { margin-bottom: 14px; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.breadcrumb a { color: #fff; } .breadcrumb span { margin: 0 8px; opacity: .6; }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stat { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4); border-radius: 12px; padding: 12px 20px; min-width: 150px; }
.hero-stat .v { font-family: var(--en); font-weight: 800; font-size: 1.4rem; line-height: 1.1; } .hero-stat .l { font-size: .78rem; opacity: .9; margin-top: 4px; }
.subpage .hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.subpage section.wrap { padding-top: 80px; padding-bottom: 80px; }
.subpage section.alt { background: #fff; padding: 80px 0; }
.sectionTitle { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sectionTitle h2 { position: relative; padding-top: 18px; }
.sectionTitle h2::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 2px; background: var(--sky); }
.sectionTitle .hint { margin-top: 10px; font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.card.pad { padding: 26px; }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.grid2 { gap: 24px; }
.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.list-plain li { padding-left: 20px; position: relative; } .list-plain li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.small-text, .text-muted, .small { font-size: .88rem; color: var(--muted); } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-32 { margin-bottom: 32px; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pain-item { background: #fff; border-radius: 14px; padding: 18px 20px; border-left: 4px solid var(--sky); box-shadow: var(--shadow); font-weight: 700; color: var(--navy); font-size: .95rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feature-item h3 { margin-bottom: 8px; } .feature-item p { font-size: .93rem; } .feature-item .note { display: block; margin-top: 8px; }
.edr-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.edr-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px; text-align: center; box-shadow: var(--shadow); }
.edr-step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--en); font-weight: 800; margin-bottom: 8px; }
.edr-step h4 { margin-bottom: 4px; } .edr-step p { font-size: .84rem; color: var(--muted); }
.price-box { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 20px 0 10px; }
.price-box .plus { font-size: 2rem; font-weight: 800; color: var(--muted); }
.price-cell { background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 240px; text-align: center; overflow: hidden; }
.price-cell .head { background: var(--navy); color: #fff; font-weight: 700; padding: 10px; font-size: .9rem; }
.price-cell .val { padding: 18px 16px; font-family: var(--en); font-size: 1.9rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.price-cell .val small { font-family: var(--jp); font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.support-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; box-shadow: var(--shadow); }
.support-item h4 { margin-bottom: 6px; } .support-item p { font-size: .88rem; color: var(--muted); }
.summary-cta { margin-top: 28px; text-align: center; }
.mid-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding: 26px 30px; background: var(--navy); color: #fff; border-radius: 22px; }
.mid-cta-text { display: flex; flex-direction: column; gap: 4px; } .mid-cta-text strong { font-size: 1.1rem; } .mid-cta-text span { font-size: .9rem; opacity: .8; }
.mid-cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mid-cta .btn.primary { background: #fff; color: var(--navy); box-shadow: none; }
.btn.mid-cta-tel { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; flex-direction: column; gap: 0; padding: 8px 22px; line-height: 1.3; }
.mid-cta-tel .tel-number { font-family: var(--en); font-weight: 800; font-size: 1.05rem; } .mid-cta-tel .tel-hours { font-size: .72rem; opacity: .8; }
.comparison-table-wrapper { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.comparison-table th, .comparison-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: .93rem; }
.comparison-table th { background: var(--navy); color: #fff; } .comparison-table th:last-child { background: var(--sky); }
.comparison-table td:first-child, .comparison-table th:first-child { text-align: left; font-weight: 700; color: var(--navy); }
.comparison-table td:last-child { background: var(--sky-bg); } .comparison-table tr:last-child td { border-bottom: none; }
.table-subtitle, .table-note { display: block; font-size: .76rem; font-weight: 400; color: inherit; opacity: .8; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; text-align: center; font-size: .88rem; font-weight: 700; color: var(--navy); }
.flow .step span { display: block; font-family: var(--en); color: var(--sky); font-size: 1.2rem; margin-bottom: 4px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; } .faq-item summary::after { content: "+"; color: var(--sky); font-weight: 800; } .faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 12px 0 18px; font-size: .93rem; border-top: 1px solid var(--line); }
.contact-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.contact-cta { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); }
.cta-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; }
.cta-label { font-weight: 700; font-size: 1.05rem; } .cta-description { font-size: .82rem; color: var(--muted); } .cta-arrow { color: var(--sky); margin-left: auto; }
.tag { margin-bottom: 4px; }
.subpage h3 { margin-bottom: 6px; } .subpage .card h4 { margin-bottom: 4px; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); } .faq-grid, .contact-cta-grid { grid-template-columns: 1fr; } .mid-cta { flex-direction: column; text-align: center; } .mid-cta-text { align-items: center; } }

/* ===== 下層ページ: お問い合わせの入れ子グリッド修正 ===== */
.subpage .contact { display: block; max-width: 900px; }
.cta-content { flex: 1; display: flex; flex-direction: column; gap: 2px; }

/* ===== モーション ===== */
@media (prefers-reduced-motion: no-preference) {
  /* スクロールで現れる */
  .reveal { opacity: 0; transform: translateY(36px) scale(.985); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; } .reveal[data-delay="3"] { transition-delay: .36s; }
  .reveal[data-delay="4"] { transition-delay: .48s; } .reveal[data-delay="5"] { transition-delay: .60s; } .reveal[data-delay="6"] { transition-delay: .72s; }

  /* ヒーローの登場 */
  @keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .hero .kicker, .hero h1, .hero .lead, .hero .pills, .hero .cta, .hero .breadcrumb, .hero .hero-stats, .hero .hero-cta { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .08s; } .hero .lead { animation-delay: .16s; } .hero .pills, .hero .hero-stats { animation-delay: .24s; } .hero .cta, .hero .hero-cta { animation-delay: .32s; }
  .hero .fig { animation: heroIn 1s .2s cubic-bezier(.2,.7,.2,1) both; }
  .hero .fig svg { animation: floatY 6s ease-in-out 1.2s infinite; }

  /* カード・ボタンの手触り */
  .card, .price, .contact a, .contact-cta, .pain-item, .edr-step, .support-item, .faq details, .faq-item, .steps-h .s, .flow .step, .hero-stat { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1), border-color .25s; }
  .card:hover, .price:hover, .contact a:hover, .contact-cta:hover, .pain-item:hover, .edr-step:hover, .support-item:hover, .steps-h .s:hover, .flow .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(67,100,247,0.35); }
  .btn { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .25s; }
  .btn:active { transform: translateY(0) scale(.98); }
  .icon { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .card:hover .icon, .contact a:hover .icon, .contact-cta:hover .cta-icon { transform: scale(1.08) rotate(-4deg); }
  .contact a:hover svg, .cta-arrow { transition: transform .3s; } .contact-cta:hover .cta-arrow { transform: translateX(4px); }

  /* ナビ */
  .gnav a { position: relative; border-bottom: none; }
  .gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
  .gnav a:hover::after, .gnav a.active::after { transform: scaleX(1); }
  .toc a { transition: background .25s, color .25s, border-color .25s, transform .25s; }
  .toc a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
  .toc a:hover { transform: translateY(-1px); }
  header { transition: box-shadow .3s, background .3s; }
  header.scrolled { box-shadow: 0 6px 24px rgba(15,32,67,0.08); background: rgba(255,255,255,0.96); }

  /* 比較表のチップ */
  .chip { transition: transform .25s; } tr:hover .chip { transform: scale(1.12); }
  .cmp tbody tr, .comparison-table tbody tr { transition: background .25s; } .cmp tbody tr:hover td { background: #f3f7ff; } .comparison-table tbody tr:hover td { background: #f3f7ff; }

  /* FAQ 開閉 */
  .faq .a, .faq-body { animation: faqIn .35s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .faq summary::after, .faq-item summary::after { transition: transform .3s; display: inline-block; }
  .faq details[open] summary::after, .faq-item[open] summary::after { transform: rotate(180deg); }

  /* 用語集ボタン */
  .fixed-term-drawer-toggle { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; } .fixed-term-drawer-toggle:hover { transform: translateY(-3px); }
}

/* ===== 意図を伝えるモーション ===== */
@media (prefers-reduced-motion: no-preference) {
  /* --- 見出しのキーワードにマーカーが引かれる --- */
  h2 em, .hero h1 em { background: linear-gradient(transparent 62%, rgba(111,177,252,0.45) 62%) no-repeat left bottom / 0% 100%; transition: background-size .9s cubic-bezier(.2,.7,.2,1) .35s; padding: 0 .04em; }
  .in h2 em, .hero h1 em { background-size: 100% 100%; }
  .hero h1 em { background-image: linear-gradient(transparent 62%, rgba(255,255,255,0.35) 62%); transition-delay: .9s; }
  /* eyebrow の線が伸びる */
  .eyebrow::before, .eyebrow::after { transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1) .15s; }
  .eyebrow.center::after { transform-origin: right; }
  .in .eyebrow::before, .in .eyebrow::after { transform: scaleX(1); }
  /* 数字のポップ */
  .in .stat .v { animation: popIn .6s cubic-bezier(.2,.9,.2,1.3) both; }
  @keyframes popIn { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

  /* --- ヒーロー図: 基盤 → サーバー → 守り の順に組み上がる --- */
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes dropIn { from { opacity: 0; transform: translateY(-22px) scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes drawDown { from { stroke-dashoffset: 40; opacity: 0; } to { stroke-dashoffset: 0; opacity: .7; } }
  @keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
  .hero .fig svg { animation: none; }
  .hero .h-nodes { animation: rise .8s .3s cubic-bezier(.2,.7,.2,1) both; }
  .hero .h-server { animation: rise .8s .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .h-bar { transform-origin: 128px 0; transform-box: view-box; animation: barFill 1.4s 1.3s cubic-bezier(.2,.7,.2,1) both; }
  .hero .h-links path { stroke-dasharray: 40; animation: drawDown .6s 1.3s ease-out both; }
  .hero .h-guard { animation: dropIn .7s cubic-bezier(.2,.9,.2,1.2) both; transform-box: fill-box; transform-origin: center; }
  .hero .h-guard.g1 { animation-delay: 1.5s; } .hero .h-guard.g2 { animation-delay: 1.7s; } .hero .h-guard.g3 { animation-delay: 1.9s; }
  .hero.live .h-leds circle { animation: blink 2.4s infinite; } .hero .h-leds circle:nth-child(2) { animation-delay: .8s; } .hero .h-leds circle:nth-child(3) { animation-delay: 1.6s; }
  .hero .fig { animation: heroIn 1s .2s cubic-bezier(.2,.7,.2,1) both; }
  /* スクロール誘導 */
  .scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(255,255,255,0.6); border-radius: 16px; display: block; }
  .scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
  .hero { position: relative; }

  /* --- Nutanix図: 「障害 → VMが隣へ → 動き続ける」を8秒ループ --- */
  /* 0-25%: 正常。 25%: 障害発生。 35-55%: 矢印が伸びてVMが移る。 55-100%: 引き継ぎ状態を見せ、戻る */
  @keyframes nOld   { 0%,24% { opacity: 1; } 34%,100% { opacity: 0; } }
  @keyframes nGhost { 0%,34% { opacity: 0; } 44%,96% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes nFail  { 0%,24% { opacity: 0; transform: scale(.8); } 30%,96% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
  @keyframes nNode2 { 0%,24% { stroke: #e2e8f0; } 30%,96% { stroke: #f5b5bb; } 100% { stroke: #e2e8f0; } }
  @keyframes nArrow { 0%,32% { stroke-dashoffset: 120; opacity: 0; } 36% { opacity: 1; } 52%,96% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
  @keyframes nHead  { 0%,50% { opacity: 0; } 54%,96% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes nNew   { 0%,52% { opacity: 0; transform: translateX(-16px); } 60%,96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  @keyframes nCap   { 0%,58% { opacity: 0; transform: translateY(8px); } 66%,96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  #nutanix.in.live .n-old { animation: nOld 8s infinite; }
  #nutanix.in.live .n-old-ghost { animation: nGhost 8s infinite; }
  #nutanix.in.live .n-fail { animation: nFail 8s infinite; transform-box: fill-box; transform-origin: center; }
  #nutanix.in.live .n-node2 { animation: nNode2 8s infinite; }
  #nutanix.in.live .n-arrow-line { stroke-dasharray: 120; animation: nArrow 8s infinite; }
  #nutanix.in.live .n-arrow path:last-child { animation: nHead 8s infinite; }
  #nutanix.in.live .n-new { animation: nNew 8s infinite; transform-box: fill-box; }
  #nutanix.in.live .n-cap { animation: nCap 8s infinite; transform-box: fill-box; }
  #nutanix:not(.in) .n-old-ghost, #nutanix:not(.in) .n-fail, #nutanix:not(.in) .n-arrow, #nutanix:not(.in) .n-new, #nutanix:not(.in) .n-cap { opacity: 0; }

  /* --- 多層防御図: 層が上から点灯 → 攻撃が飛来して層で止まる → 復旧矢印、を9秒ループ --- */
  @keyframes sLayer { 0% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes sAtk   { 0% { stroke-dashoffset: 300; opacity: 0; } 10% { opacity: 1; } 40% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes sBlk   { 0%,38% { opacity: 0; transform: scale(.4); } 46% { opacity: 1; transform: scale(1.35); } 54%,100% { opacity: 1; transform: scale(1); } }
  @keyframes sRst   { 0%,60% { stroke-dashoffset: 160; opacity: 0; } 64% { opacity: 1; } 80%,100% { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes sRstT  { 0%,78% { opacity: 0; } 86%,100% { opacity: 1; } }
  @keyframes sSrv   { 0%,78% { transform: scale(1); } 86% { transform: scale(1.06); } 94%,100% { transform: scale(1); } }
  #security .s-layer { opacity: 0; }
  #security.in .s-layer { animation: sLayer .5s both; }
  #security.in .s-layer.l1 { animation-delay: .1s; } #security.in .s-layer.l2 { animation-delay: .3s; } #security.in .s-layer.l3 { animation-delay: .5s; } #security.in .s-layer.l4 { animation-delay: .7s; } #security.in .s-layer.l5 { animation-delay: .9s; }
  #security .s-atk { stroke-dasharray: 6 5; opacity: 0; }
  #security.in.live .s-atk { stroke-dasharray: 300; animation: sAtk 9s 1.2s infinite; }
  #security.in .s-atk:nth-of-type(2) { animation-delay: 1.5s; } #security.in .s-atk:nth-of-type(3) { animation-delay: 1.8s; }
  #security .s-blk { opacity: 0; transform-box: fill-box; transform-origin: center; }
  #security.in.live .s-blk { animation: sBlk 9s 1.2s infinite; }
  #security.in .s-blk.b2 { animation-delay: 1.5s; } #security.in .s-blk.b3 { animation-delay: 1.8s; }
  #security .s-rst, #security .s-rst-t { opacity: 0; }
  #security.in.live .s-rst { stroke-dasharray: 160; animation: sRst 9s 1.2s infinite; }
  #security.in.live .s-rst-t { animation: sRstT 9s 1.2s infinite; }
  #security.in.live .s-srv { animation: sSrv 9s 1.2s infinite; transform-box: fill-box; transform-origin: center; }

  /* --- 比較表: インクレイブ列が光る、チップが行ごとにポップ --- */
  @keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(220%); } }
  .cmp th.us { position: relative; overflow: hidden; }
  .in .cmp th.us::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent); animation: sweep 1.4s .6s ease-in-out both; }
  .cmp tbody .chip { opacity: 0; transform: scale(.5); }
  .in .cmp tbody .chip { animation: popIn .5s cubic-bezier(.2,.9,.2,1.3) both; }
  .in .cmp tbody tr:nth-child(1) .chip { animation-delay: .3s; } .in .cmp tbody tr:nth-child(2) .chip { animation-delay: .45s; } .in .cmp tbody tr:nth-child(3) .chip { animation-delay: .6s; }
  .in .cmp tbody tr:nth-child(4) .chip { animation-delay: .75s; } .in .cmp tbody tr:nth-child(5) .chip { animation-delay: .9s; } .in .cmp tbody tr:nth-child(6) .chip { animation-delay: 1.05s; }
  .in .cmp tbody td.us .chip { animation-duration: .7s; }

  /* --- 料金: おすすめ（専有）が一拍おいて前に出る --- */
  .price.hi { transition: transform .8s cubic-bezier(.2,.9,.2,1.1), box-shadow .8s; }
  .in .price.hi { transform: translateY(-6px) scale(1.02); box-shadow: 0 28px 56px rgba(15,32,67,0.16); }
  .in .price.hi:hover { transform: translateY(-10px) scale(1.02); }
  /* --- 導入の流れ: 番号が順に点灯 --- */
  .steps-h .s b { transition: color .3s, transform .3s; }
  .in .steps-h .s b { animation: popIn .5s cubic-bezier(.2,.9,.2,1.3) both; }
  .in .steps-h .s:nth-child(2) b { animation-delay: .15s; } .in .steps-h .s:nth-child(3) b { animation-delay: .3s; } .in .steps-h .s:nth-child(4) b { animation-delay: .45s; } .in .steps-h .s:nth-child(5) b { animation-delay: .6s; }
  /* --- CTAボタンの光（主要ボタンのみ、6秒に1回） --- */
  @keyframes shine { 0%, 80% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(230%) skewX(-18deg); } }
  .btn.primary { position: relative; overflow: hidden; }
  .hero .btn.primary::after, #contact .btn.primary::after, .mid-cta .btn.primary::after, .band .btn.primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); animation: shine 6s 2s ease-in-out infinite; pointer-events: none; }
  /* --- 相談バンドの光の円がゆっくり動く --- */
  @keyframes orbit { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 30px); } }
  .band.live::after { animation: orbit 9s ease-in-out infinite; }
}

/* ===== できることページ: ビジュアル ===== */
.subpage .hero.hero-split { text-align: left; }
.hero-split .split { gap: 40px; align-items: center; }
.hero-split .hero-content { margin: 0; max-width: none; }
.hero-split .hero .lead, .hero-split .lead { margin-left: 0; }
.hero-split .hero-stats { justify-content: flex-start; } .hero-split .hero-cta { justify-content: flex-start; }
.hero-split .breadcrumb { text-align: left; }
.plan-fig svg { width: 100%; height: auto; }
.choose-chart { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px 30px; margin-bottom: 36px; }
.cc-q { font-weight: 900; color: var(--navy); font-size: 1.15rem; text-align: center; margin-bottom: 18px; }
.cc-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cc-branch { display: grid; grid-template-rows: auto 28px 1fr; justify-items: center; text-align: center; }
.cc-ans { font-weight: 700; padding: 6px 16px; border-radius: 999px; background: var(--sky-bg); color: var(--blue); font-size: .9rem; }
.cc-branch.no .cc-ans { background: var(--teal-bg); color: #0b6b5e; }
.cc-arrow { width: 2px; background: var(--line); position: relative; margin: 4px 0; }
.cc-arrow::after { content: ""; position: absolute; left: -5px; bottom: -2px; border: 6px solid transparent; border-top-color: var(--line); }
.cc-result { width: 100%; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 6px; justify-items: center; }
.cc-result strong { font-family: var(--en); font-size: 1.3rem; color: var(--navy); } .cc-result span:last-child { font-size: .84rem; color: var(--muted); }
.cc-result.hi { background: var(--teal-bg); border-color: #9fe0d4; }
.cc-note { text-align: center; font-size: .86rem; color: var(--muted); margin-top: 16px; }
@media (max-width: 960px) { .hero-split .split { grid-template-columns: 1fr; } .hero-split .hero-stats, .hero-split .hero-cta { justify-content: center; } .subpage .hero.hero-split { text-align: center; } .cc-branches { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes slideL { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
  @keyframes slideR { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
  .plan-fig .p-shared { animation: slideL .9s .4s cubic-bezier(.2,.7,.2,1) both; }
  .plan-fig .p-dedicated { animation: slideR .9s .6s cubic-bezier(.2,.7,.2,1) both; }
  .plan-fig .p-tenant { animation: popIn .5s cubic-bezier(.2,.9,.2,1.3) both; transform-box: fill-box; transform-origin: center; }
  .plan-fig .t1 { animation-delay: 1.1s; } .plan-fig .t2 { animation-delay: 1.25s; } .plan-fig .t3 { animation-delay: 1.4s; } .plan-fig .t4 { animation-delay: 1.6s; }
  .plan-fig .p-vm { animation: popIn .6s 1.3s cubic-bezier(.2,.9,.2,1.3) both; transform-box: fill-box; transform-origin: center; }
  .plan-fig .p-chip { animation: popIn .4s cubic-bezier(.2,.9,.2,1.3) both; transform-box: fill-box; transform-origin: center; }
  .plan-fig .p-chip:nth-of-type(1) { animation-delay: 1.7s; } .plan-fig .p-chip:nth-of-type(2) { animation-delay: 1.8s; } .plan-fig .p-chip:nth-of-type(3) { animation-delay: 1.9s; } .plan-fig .p-chip:nth-of-type(4) { animation-delay: 2s; } .plan-fig .p-chip:nth-of-type(5) { animation-delay: 2.1s; }
  .plan-fig .p-bar { transform-origin: 334px 0; transform-box: view-box; animation: barFill 1.2s 2.2s cubic-bezier(.2,.7,.2,1) both; }
  .plan-fig .p-price { animation: popIn .5s 2.4s cubic-bezier(.2,.9,.2,1.3) both; transform-box: fill-box; transform-origin: center; }
  .hero.live .plan-fig .you rect:first-child { animation: youPulse 2.4s 2.6s ease-in-out infinite; }
  @keyframes youPulse { 0%,100% { stroke-width: 2; } 50% { stroke-width: 4; } }
  .in .comparison-table tbody .chip { animation: popIn .5s cubic-bezier(.2,.9,.2,1.3) both; }
  .comparison-table tbody .chip { opacity: 0; }
  .comparison-table tbody tr:nth-child(odd) .chip { animation-delay: .25s; } .comparison-table tbody tr:nth-child(even) .chip { animation-delay: .4s; }
  .cc-branch { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .in .cc-branch.yes { opacity: 1; transform: none; transition-delay: .3s; } .in .cc-branch.no { opacity: 1; transform: none; transition-delay: .55s; }
}

.fig svg, .plan-fig svg { filter: drop-shadow(0 14px 18px rgba(6,24,58,0.18)); }
@media (prefers-reduced-motion: no-preference) { .hero .fig svg, .plan-fig svg { filter: none; } }

/* 目次バー: 横スクロール時の端の余白とフェード */
@media (max-width: 600px) {
  .toc { position: relative; }
  .toc .wrap { padding-right: 0; -webkit-overflow-scrolling: touch; }
  .toc .wrap::after { content: ""; flex: 0 0 24px; }
  .toc::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none; }
}
/* SVG内の文字がiOSの太めフォントでもはみ出しにくいように */
.fig svg text, .plan-fig svg text { font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif; letter-spacing: -0.01em; }

/* ===== スマホ: はみ出し・折り返し ===== */
.toc .label { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 960px) {
  .toc .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 0; }
  .toc .wrap::-webkit-scrollbar { display: none; }
  .toc .wrap::after { content: ""; flex: 0 0 24px; }
  .toc { position: sticky; }
  .toc::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none; }
  #ransomware > .wrap > .card { grid-template-columns: 1fr !important; padding: 28px 22px !important; }
  #ransomware .grid3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  #ransomware .grid3 .card { padding: 14px 8px; }
  #ransomware .grid3 h3 { font-size: .85rem; }
  .trust .logos img { height: 24px; }
}
@media (max-width: 600px) {
  h2 { font-size: 1.55rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero h1 span[style] { white-space: normal !important; }
  h2 span[style] { white-space: normal !important; }
  .band { grid-template-columns: 1fr; }
  .stats { gap: 18px; }
  .sec { padding: 56px 0; }
  .fig svg, .plan-fig svg { max-width: 100%; }
}

/* ===== ランサムウェア対策ページ: ビジュアル ===== */
.edr-fig svg { width: 100%; height: auto; }
.pain-item { display: flex; align-items: center; gap: 12px; }
.pain-ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--red-bg); color: var(--red); display: grid; place-items: center; }
.pain-ic svg { width: 20px; height: 20px; }
.edr-step .n svg { width: 18px; height: 18px; }
.epp-edr { display: grid; grid-template-columns: auto 40px 1fr 70px 1.3fr; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 24px; margin: 24px 0 8px; }
.ee-threat { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .8rem; color: var(--muted); }
.ee-threat strong { color: var(--navy); }
.ee-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; font-family: var(--en); }
.ee-ic.red { background: var(--red); }
.ee-arrow { height: 2px; background: var(--line); position: relative; font-size: .72rem; color: var(--amber); text-align: center; }
.ee-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--line); }
.ee-arrow.warn { color: var(--amber); font-weight: 700; line-height: 0; }
.ee-arrow.warn::before { content: attr(data-x); }
.ee-box { border-radius: 14px; padding: 14px 16px; display: grid; gap: 3px; }
.ee-box .ee-label { font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.ee-box strong { color: var(--navy); font-size: .98rem; } .ee-box span { font-size: .82rem; color: var(--muted); }
.ee-box.epp { background: var(--sky-bg); } .ee-box.epp .ee-label { color: var(--blue); }
.ee-box.edr { background: var(--teal-bg); border: 2px solid #9fe0d4; } .ee-box.edr .ee-label { color: #0b6b5e; }
.ee-arrow.warn { display: flex; align-items: center; justify-content: center; height: auto; background: none; }
.ee-arrow.warn::after { display: none; }
.ee-arrow.warn { position: relative; padding: 0 2px; } 
.ee-arrow.warn::before { content: ""; position: absolute; left: 0; right: 10px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 10px); z-index: 0; }
.ee-arrow.warn span { position: relative; background: #fff; padding: 0 4px; }
@media (max-width: 960px) {
  .epp-edr { grid-template-columns: 1fr; gap: 8px; }
  .ee-arrow { width: 2px; height: 22px; margin: 0 auto; } .ee-arrow::after { right: auto; left: -5px; top: auto; bottom: -4px; border: 6px solid transparent; border-top-color: var(--line); }
  .ee-arrow.warn { width: auto; height: auto; } .ee-arrow.warn::before { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  /* ヒーロー図の組み上がり */
  .edr-fig .r-server { animation: rise .8s .3s cubic-bezier(.2,.7,.2,1) both; }
  .edr-fig .r-attacker { animation: slideL .8s .6s cubic-bezier(.2,.7,.2,1) both; }
  .edr-fig .r-noc { animation: rise .8s .9s cubic-bezier(.2,.7,.2,1) both; }
  .edr-fig .r-badge { animation: popIn .6s 1.1s cubic-bezier(.2,.9,.2,1.3) both; transform-box: fill-box; transform-origin: center; }
  /* ループ（画面内のみ）: 攻撃が来る → 検知 → 遮断 → 隔離 → 復旧 （10秒） */
  @keyframes rAtk  { 0% { stroke-dashoffset: 260; opacity: 0; } 6% { opacity: 1; } 28% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes rAlert{ 0%,26% { opacity: 0; transform: translateY(8px); } 32%,100% { opacity: 1; transform: none; } }
  @keyframes rBlk  { 0%,34% { opacity: 0; transform: scale(.3); } 40% { opacity: 1; transform: scale(1.3); } 46%,100% { opacity: 1; transform: scale(1); } }
  @keyframes rIso  { 0%,44% { opacity: 0; transform: translateX(14px); } 50%,100% { opacity: 1; transform: none; } }
  @keyframes rRst  { 0%,58% { stroke-dashoffset: 140; opacity: 0; } 62% { opacity: 1; } 78%,100% { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes rRstB { 0%,74% { opacity: 0; transform: translateY(8px); } 82%,100% { opacity: 1; transform: none; } }
  @keyframes rScan { 0% { transform: translateX(0); } 100% { transform: translateX(140px); } }
  .edr-fig .r-atk, .edr-fig .r-alert, .edr-fig .r-blk, .edr-fig .r-iso, .edr-fig .r-rst-line, .edr-fig .r-rst > rect, .edr-fig .r-rst > path:not(.r-rst-line), .edr-fig .r-rst > text { opacity: 0; }
  .hero.live .edr-fig .r-atk { stroke-dasharray: 260; animation: rAtk 10s 1.4s infinite; }
  .hero.live .edr-fig .r-atk.a2 { animation-delay: 1.7s; }
  .hero.live .edr-fig .r-alert { animation: rAlert 10s 1.4s infinite; transform-box: fill-box; }
  .hero.live .edr-fig .r-blk { animation: rBlk 10s 1.4s infinite; transform-box: fill-box; transform-origin: center; }
  .hero.live .edr-fig .r-blk.b2 { animation-delay: 1.7s; }
  .hero.live .edr-fig .r-iso { animation: rIso 10s 1.4s infinite; transform-box: fill-box; }
  .hero.live .edr-fig .r-rst-line { stroke-dasharray: 140; animation: rRst 10s 1.4s infinite; }
  .hero.live .edr-fig .r-rst > rect, .hero.live .edr-fig .r-rst > path:not(.r-rst-line), .hero.live .edr-fig .r-rst > text { animation: rRstB 10s 1.4s infinite; transform-box: fill-box; }
  .hero.live .edr-fig .r-scan-bar { animation: rScan 2.2s linear infinite alternate; }
  /* EPP/EDR 帯: 左から順に */
  .ee-threat, .ee-box, .ee-arrow { opacity: 0; transform: translateX(-12px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
  .in .ee-threat { opacity: 1; transform: none; } .in .epp-edr > :nth-child(2) { opacity: 1; transform: none; transition-delay: .15s; } .in .epp-edr > :nth-child(3) { opacity: 1; transform: none; transition-delay: .3s; } .in .epp-edr > :nth-child(4) { opacity: 1; transform: none; transition-delay: .45s; } .in .epp-edr > :nth-child(5) { opacity: 1; transform: none; transition-delay: .6s; }
  .in .ee-box.edr { animation: popIn .6s .8s cubic-bezier(.2,.9,.2,1.3) both; }
  /* ステップ: 1→4 の順に点灯 */
  .edr-step .n { transition: transform .3s; }
  .in .edr-step .n { animation: popIn .5s cubic-bezier(.2,.9,.2,1.3) both; }
  .in .edr-flow > :nth-child(2) .n { animation-delay: .15s; } .in .edr-flow > :nth-child(3) .n { animation-delay: .3s; } .in .edr-flow > :nth-child(4) .n { animation-delay: .45s; }
}
.hero-split .hero-stat { min-width: 118px; padding: 10px 14px; } .hero-split .hero-stat .v { font-size: 1.25rem; }

/* ===== 乗り換え・移行ページ: ビジュアル ===== */
.mig-fig svg { width: 100%; height: auto; }
.pain-ic.sky { background: var(--sky-bg); color: var(--blue); }
.row-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sky-bg); color: var(--blue); margin-right: 10px; vertical-align: middle; }
.row-ic svg { width: 16px; height: 16px; }
.mig-step .num { transition: transform .3s; }
@media (prefers-reduced-motion: no-preference) {
  .mig-fig .m-old { animation: slideL .8s .3s cubic-bezier(.2,.7,.2,1) both; }
  .mig-fig .m-new { animation: slideR .8s .5s cubic-bezier(.2,.7,.2,1) both; }
  .mig-fig .m-user, .mig-fig .m-noc { animation: rise .8s .8s cubic-bezier(.2,.7,.2,1) both; }
  .mig-fig .m-item { animation: popIn .4s cubic-bezier(.2,.9,.2,1.3) both; transform-box: fill-box; transform-origin: center; }
  .mig-fig .i1 { animation-delay: .9s; } .mig-fig .i2 { animation-delay: 1s; } .mig-fig .i3 { animation-delay: 1.1s; } .mig-fig .i4 { animation-delay: 1.2s; }
  /* 12秒ループ: ①コピー(0-30%) → ②並行稼働(30-60%) → ③DNS切替(60-85%) → ④解約(85-100%) */
  @keyframes mArrow { 0%,4% { stroke-dashoffset: 130; opacity: 0; } 6% { opacity: 1; } 18%,100% { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes mHead  { 0%,16% { opacity: 0; } 19%,100% { opacity: 1; } }
  @keyframes mCopy  { 0%,20% { opacity: 0; transform: translateX(-10px); } 26%,100% { opacity: 1; transform: none; } }
  @keyframes mL1    { 0%,2% { opacity: 0; } 6%,100% { opacity: 1; } }
  @keyframes mL2    { 0%,30% { opacity: 0; transform: translateY(6px); } 35%,100% { opacity: 1; transform: none; } }
  @keyframes mDnsOld{ 0%,60% { opacity: 1; } 68%,100% { opacity: .2; } }
  @keyframes mDnsNew{ 0%,32% { opacity: 0; stroke-dashoffset: 160; } 36% { opacity: 1; } 48%,100% { opacity: 1; stroke-dashoffset: 0; } }
  @keyframes mL3    { 0%,60% { opacity: 0; transform: translateY(6px); } 65%,100% { opacity: 1; transform: none; } }
  @keyframes mOld   { 0%,84% { opacity: 1; } 92%,100% { opacity: .45; } }
  @keyframes mL4    { 0%,84% { opacity: 0; } 90%,100% { opacity: 1; } }
  .mig-fig .m-arrow-line, .mig-fig .m-arrow-head, .mig-fig .m-copy, .mig-fig .m-step-label, .mig-fig .m-dns-new, .mig-fig .m-retire { opacity: 0; }
  .hero.live .mig-fig .m-arrow-line { stroke-dasharray: 130; animation: mArrow 12s 1.4s infinite; }
  .hero.live .mig-fig .m-arrow-head { animation: mHead 12s 1.4s infinite; }
  .hero.live .mig-fig .m-copy { animation: mCopy 12s 1.4s infinite; transform-box: fill-box; }
  .hero.live .mig-fig .c2 { animation-delay: 1.6s; } .hero.live .mig-fig .c3 { animation-delay: 1.8s; } .hero.live .mig-fig .c4 { animation-delay: 2s; }
  .hero.live .mig-fig .l1 { animation: mL1 12s 1.4s infinite; }
  .hero.live .mig-fig .l2 { animation: mL2 12s 1.4s infinite; transform-box: fill-box; }
  .hero.live .mig-fig .m-dns-old { animation: mDnsOld 12s 1.4s infinite; }
  .hero.live .mig-fig .m-dns-new { stroke-dasharray: 160; animation: mDnsNew 12s 1.4s infinite; }
  .hero.live .mig-fig .l3 { animation: mL3 12s 1.4s infinite; transform-box: fill-box; }
  .hero.live .mig-fig .m-old { animation: slideL .8s .3s cubic-bezier(.2,.7,.2,1) both, mOld 12s 1.4s infinite; }
  .hero.live .mig-fig .m-retire { animation: mL4 12s 1.4s infinite; }
  /* 移行の流れ: 番号が順に点灯、担当の枠がスライド */
  .in .mig-step .num { animation: popIn .5s cubic-bezier(.2,.9,.2,1.3) both; }
  .mig-roles > * { opacity: 0; transform: translateY(8px); transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1); }
  .in .mig-roles > :first-child { opacity: 1; transform: none; transition-delay: .25s; } .in .mig-roles > :last-child { opacity: 1; transform: none; transition-delay: .4s; }
}
.hero-split .hero h1, .hero-split h1 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); }
.nw { white-space: nowrap; } @media (max-width: 600px) { .nw { white-space: normal; } }

/* ===== テーブルのレスポンシブ ===== */
.scroll-hint { display: none; }
.table-scroll, .comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) {
  .scroll-hint { display: block; font-size: .78rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
  .table-scroll, .comparison-table-wrapper:not(.stack) { margin-left: -24px; margin-right: -24px; padding: 0 24px; }
  .cmp, .comparison-table:not(.table-stack) { min-width: 580px; border-radius: 14px; }
  .cmp th, .cmp td, .comparison-table:not(.table-stack) th, .comparison-table:not(.table-stack) td { padding: 10px 10px; font-size: .82rem; line-height: 1.45; }
  .cmp th:first-child, .cmp td:first-child, .comparison-table:not(.table-stack) th:first-child, .comparison-table:not(.table-stack) td:first-child { position: sticky; left: 0; z-index: 2; min-width: 150px; max-width: 170px; background: #fff; box-shadow: 4px 0 8px -4px rgba(15,32,67,0.15); }
  .cmp th:first-child, .comparison-table:not(.table-stack) th:first-child { background: var(--navy); }
  .cmp th:not(:first-child), .comparison-table:not(.table-stack) th:not(:first-child) { min-width: 120px; }
  .cmp th small { display: block; font-size: .7rem; }
  .chip { width: 26px; height: 26px; font-size: .85rem; }
  .table-note, .cmp td small.note { font-size: .7rem; }
  /* 移行対象: カード積み */
  .table-stack { min-width: 0; display: block; background: transparent; box-shadow: none; border: none; }
  .table-stack thead { display: none; }
  .table-stack tbody { display: grid; gap: 12px; }
  .table-stack tr { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
  .table-stack td { display: block; border: none; padding: 2px 0; text-align: left; background: transparent !important; font-size: .9rem; }
  .table-stack td:first-child { font-size: 1rem; margin-bottom: 4px; }
  .table-stack td[data-label]::before { content: attr(data-label) "："; font-weight: 700; color: var(--muted); font-size: .8rem; }
  .table-stack td[data-label] { font-size: .85rem; color: var(--navy); font-weight: 700; margin-top: 6px; }
}
/* スマホ: ヒーロー図を広げ、細かな注釈は省略して要点だけ見せる */
@media (max-width: 600px) {
  .hero .fig, .hero .plan-fig, .hero .edr-fig, .hero .mig-fig { margin-left: -12px; margin-right: -12px; }
  .hero .fig svg text[font-size="8.5"], .hero .fig svg text[font-size="9"], .hero .fig svg text[font-size="9.5"] { display: none; }
  .hero .fig svg text[font-size="10"], .hero .fig svg text[font-size="10.5"] { font-size: 11.5px; }
  .hero .fig svg text[font-size="11"] { font-size: 12px; }
}
