@charset "UTF-8";

/* ==========================================================================
   ACE 特設ページ用スタイル
   ・AI-BOX 特設ページ（aibox.css）のデザインを踏襲し、ACEブランドカラー
     （パープル × ネイビー）で構成する
   ・左サイドの製品タブ（AICFD / AIFEM / AIPOD）で右側の内容を切り替える
   ========================================================================== */

.ace-page {
  --ace: #7C5CD6;
  --ace-deep: #4C2E9E;
  --ace-ink: #3B2280;
  --ace-soft: #F6F2FE;
  --ace-line: #E1D7FA;
  --ace-shadow: rgba(124, 92, 214, 0.16);
  --ace-navy: #0B2545;
  background-color: #ffffff;
}

.ace-page #main {
  text-align: left;
}

/* 既存 #main の overflow:hidden は position:sticky を無効化するため、
   ACEページでは clip（スクロールコンテナを作らない）に切り替える。
   clip 非対応のブラウザでは hidden のままとなり、タブは追従しないだけ。 */
.ace-page #main {
  overflow: clip;
}

/* 既存ヘッダーの文字色を、可読性を保つ濃さに調整（AI-BOXページと共通） */
.ace-page #header h1 {
  color: #6f5f49;
}

/* スマートフォン：固定配置のメニューアイコンがタブバーの上に来るようにする */
.ace-page button.nav_icon {
  z-index: 20;
}

.ace-page #h_logo .h_sub {
  color: #6e6e6e !important;
}

/* ラベル・見出しのアクセントカラーをACEカラーへ変更 */
.ace-page .sec-label {
  color: var(--ace-deep);
}

.ace-page .sec-title {
  border-bottom-color: var(--ace);
}

/* ---------- ヒーロー ---------- */

.ace-hero-mark {
  display: inline-block;
  margin: 0 0 14px 0;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.24em;
  color: #E9E1FF;
  border: solid 1px rgba(225, 215, 250, 0.5);
  border-radius: 999px;
  background-color: rgba(76, 46, 158, 0.35);
}

.ace-hero-points {
  position: relative;
  margin: 22px 0 0 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.ace-hero-points::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #C4B5FD 0%, #A78BFA 45%, #38BDF8 100%);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.55);
}

.ace-hero-points li {
  position: relative;
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: #ffffff;
}

.ace-hero-points li:last-child {
  margin-bottom: 0;
}

.ace-hero-points li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-radius: 50%;
  background-color: #C4B5FD;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18), 0 0 12px rgba(167, 139, 250, 0.8);
}

/* ---------- ACEとは ---------- */

.ace-about {
  padding: 60px 0;
  background-color: #ffffff;
}

.ace-about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ace-about-card {
  display: block;
  height: 100%;
  box-sizing: border-box;
  padding: 24px 22px 22px 22px;
  text-decoration: none;
  border: solid 1px var(--ace-line);
  border-top: solid 4px var(--ace);
  border-radius: 12px;
  background-color: var(--ace-soft);
  box-shadow: 0 4px 14px var(--ace-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ace-about-card:hover,
.ace-about-card:focus-visible {
  border-color: var(--ace);
  border-top-color: var(--ace);
  box-shadow: 0 12px 26px var(--ace-shadow);
  transform: translateY(-3px);
}

.ace-about-card:focus-visible {
  outline: solid 3px var(--ace);
  outline-offset: 2px;
}

.ace-about-card .ace-about-num {
  display: inline-block;
  margin: 0 0 10px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--ace-deep);
}

.ace-page .ace-about-card h3 {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 21px;
  line-height: 1.4;
  color: var(--ace-ink);
  border: none;
}

.ace-about-card p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
}

/* ---------- 製品タブ＋本文 ---------- */

.ace-workspace {
  padding: 56px 0 64px 0;
  background-color: #F2F7FD;
}

.ace-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
}

/* 本文（製品タブ＋内容）は他セクションより広く取る（2026-11-17） */
.ace-page .ace-workspace .ace-layout {
  width: 100%;
  max-width: 1360px;
}

/* --- 左サイド（製品タブ） --- */

.ace-side {
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.ace-side-label {
  margin: 0 0 10px 2px;
  padding: 0;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: var(--ace-deep);
}

.ace-tabs {
  display: block;
  margin: 0;
  padding: 0;
}

.ace-tab {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 10px 0;
  padding: 16px 16px 15px 16px;
  font-family: inherit;
  text-align: left;
  color: var(--ace-ink);
  cursor: pointer;
  border: solid 1px var(--ace-line);
  border-left: solid 5px var(--ace-line);
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.06);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}

.ace-tab:hover,
.ace-tab:focus-visible {
  border-color: var(--ace);
  border-left-color: var(--ace);
  background-color: var(--ace-soft);
  box-shadow: 0 6px 16px var(--ace-shadow);
}

.ace-tab:focus-visible {
  outline: solid 3px var(--ace);
  outline-offset: 2px;
}

.ace-tab-num {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  border-radius: 50%;
  background-color: var(--ace);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ace-tab-body {
  display: block;
  min-width: 0;
}

.ace-tab-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.ace-tab-sub {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #5B6B80;
}

/* 選択中のタブ（ハイライト） */
.ace-tab[aria-selected="true"],
.ace-tab.is-active {
  color: #ffffff;
  border-color: var(--ace-deep);
  border-left-color: #C4B5FD;
  background: linear-gradient(120deg, var(--ace-deep) 0%, var(--ace-deep) 45%, var(--ace) 100%);
  box-shadow: 0 6px 16px rgba(76, 46, 158, 0.24);
}

.ace-tab[aria-selected="true"] .ace-tab-num,
.ace-tab.is-active .ace-tab-num {
  color: var(--ace-deep);
  background-color: #ffffff;
}

.ace-tab[aria-selected="true"] .ace-tab-sub,
.ace-tab.is-active .ace-tab-sub {
  color: #E3D9FB;
}

.ace-tab[aria-selected="true"]:hover,
.ace-tab.is-active:hover {
  background: linear-gradient(120deg, var(--ace-deep) 0%, var(--ace-deep) 45%, var(--ace) 100%);
}

.ace-side-note {
  margin: 18px 2px 0 2px;
  padding: 14px 14px 12px 14px;
  font-size: 11px;
  line-height: 1.7;
  color: #55667B;
  border: solid 1px #DCE7F4;
  border-radius: 10px;
  background-color: #ffffff;
}

/* --- 左サイド：製品ごとの二次リスト（製品概要／機能紹介／応用事例） --- */

.ace-subtabs {
  display: none;
  margin: -2px 0 14px 0;
  padding: 2px 0 2px 12px;
  border-left: solid 2px var(--ace-line);
}

.ace-subtabs.is-open {
  display: block;
}

.ace-subtab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 0 0 6px 0;
  padding: 9px 12px;
  font-family: inherit;
  text-align: left;
  color: #55667B;
  cursor: pointer;
  border: solid 1px transparent;
  border-radius: 8px;
  background-color: transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
}

.ace-subtab:hover,
.ace-subtab:focus-visible {
  color: var(--ace-deep);
  border-color: var(--ace-line);
  background-color: #ffffff;
}

.ace-subtab:focus-visible {
  outline: solid 3px var(--ace);
  outline-offset: 2px;
}

.ace-subtab-num {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ace-deep);
  border-radius: 50%;
  background-color: var(--ace-soft);
}

.ace-subtab-body {
  display: block;
  min-width: 0;
}

.ace-subtab-label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
}

.ace-subtab-orig {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.4;
  letter-spacing: 0;
  color: #7A8899;
}

.ace-subtab.is-active {
  color: var(--ace-deep);
  border-color: var(--ace-line);
  background-color: #ffffff;
  box-shadow: 0 2px 10px var(--ace-shadow);
}

.ace-subtab.is-active .ace-subtab-num {
  color: #ffffff;
  background-color: var(--ace);
}

.ace-subtab.is-active .ace-subtab-orig {
  color: var(--ace-deep);
}

/* --- 右側（製品ごとの内容） --- */

.ace-panels {
  min-width: 0;
}

.ace-panel {
  display: none;
}

.ace-panel.is-active {
  display: block;
}

.ace-panel:focus {
  outline: none;
}

.ace-panel-head {
  margin: 0 0 34px 0;
}

.ace-page .ace-panel-title {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.3;
}

.ace-panel-full {
  display: block;
  margin: 8px 0 0 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #55667B;
}

.ace-panel-head .sec-lead {
  margin-bottom: 20px;
}

.ace-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 16px 18px;
  border: solid 1px #DCE7F4;
  border-radius: 10px;
  background-color: #ffffff;
}

.ace-meta > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.ace-meta dt {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--ace-deep);
  white-space: nowrap;
}

.ace-meta dd {
  margin: 0;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.7;
  color: #333333;
}

/* --- 章 --- */

.ace-chapter {
  margin: 0 0 44px 0;
}

.ace-chapter:last-child {
  margin-bottom: 0;
}

/* 二次リストで選択していない章・導入ブロックは隠す（JS が付与） */
.ace-panel .is-group-hidden {
  display: none;
}

.ace-chapter-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px 0;
  padding: 0 0 12px 0;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--ace-navy);
  border-bottom: solid 2px var(--ace);
}

.ace-chapter-num {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  border-radius: 999px;
  background-color: var(--ace);
}

.ace-chapter-count {
  margin-left: auto;
  padding-left: 12px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: #6B7C91;
  white-space: nowrap;
}

/* --- スライド --- */

.ace-slide {
  margin: 0 0 22px 0;
  padding: 0;
}

.ace-slide:last-child {
  margin-bottom: 0;
}

.ace-slide-link {
  display: block;
  overflow: hidden;
  border: solid 1px var(--ace-line);
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(11, 37, 69, 0.08);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ace-slide-link:hover,
.ace-slide-link:focus-visible {
  border-color: var(--ace);
  box-shadow: 0 12px 28px var(--ace-shadow);
  transform: translateY(-2px);
}

.ace-slide-link:focus-visible {
  outline: solid 3px var(--ace);
  outline-offset: 2px;
}

.ace-slide-link img {
  display: block;
  width: 100%;
  height: auto;
}

.ace-slide figcaption {
  margin: 8px 0 0 2px;
  font-size: 12px;
  line-height: 1.6;
  color: #55667B;
}

.ace-slide-no {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: bold;
  color: var(--ace-deep);
  border-radius: 999px;
  background-color: var(--ace-soft);
}

/* ---------- 本文コンテンツ（資料の内容をHTML化したもの） ---------- */

.ace-topic {
  margin: 0 0 40px 0;
}

.ace-topic:last-child {
  margin-bottom: 0;
}

.ace-body {
  margin: 0 0 18px 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #333333;
}

.ace-body:last-child {
  margin-bottom: 0;
}

.ace-h4 {
  position: relative;
  margin: 0 0 16px 0;
  padding: 0 0 0 14px;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ace-navy);
}

.ace-h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ace) 0%, var(--ace-deep) 100%);
}

.ace-h5 {
  margin: 24px 0 10px 0;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--ace-ink);
}

.ace-list {
  margin: 0 0 18px 0;
  padding: 0;
  list-style: none;
}

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

.ace-list li {
  position: relative;
  margin: 0 0 8px 0;
  padding: 0 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: #333333;
}

.ace-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ace);
}

.ace-list.is-small li {
  font-size: 14px;
  line-height: 1.8;
}

/* 問題点（元資料の赤枠に相当） */
.ace-point {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  margin: 0 0 24px 0;
  padding: 16px 18px;
  border-left: solid 5px #C04A8A;
  border-radius: 8px;
  background-color: #FCF0F7;
}

.ace-point-label {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -ms-flex-item-align: start;
  align-self: flex-start;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #ffffff;
  border-radius: 999px;
  background-color: #C04A8A;
}

.ace-point p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #333333;
}

/* カード */
.ace-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 0 20px 0;
}

.ace-cards.is-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ace-cards.is-1 {
  grid-template-columns: 1fr;
}

.ace-cards.is-4 {
  grid-template-columns: repeat(2, 1fr);
}

.ace-cards:last-child {
  margin-bottom: 0;
}

.ace-card {
  padding: 20px 20px 18px 20px;
  border: solid 1px var(--ace-line);
  border-top: solid 4px var(--ace);
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.06);
}

.ace-card > h5 {
  margin: 0 0 6px 0;
  padding: 0;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.5;
  color: var(--ace-ink);
}

.ace-card > .ace-card-sub {
  margin: 0 0 12px 0;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.12em;
  color: var(--ace-deep);
}

.ace-card p {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.85;
  color: #333333;
}

.ace-card p:last-child,
.ace-card .ace-list:last-child {
  margin-bottom: 0;
}

.ace-card .ace-list li {
  font-size: 13.5px;
  line-height: 1.8;
}

.ace-card .ace-label {
  display: inline-block;
  margin: 0 0 6px 0;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: var(--ace-deep);
  border-radius: 999px;
  background-color: var(--ace-soft);
}

.ace-card .ace-label--scenario {
  color: #0A6647;
  background-color: #EAF8F2;
}

.ace-card figure {
  margin: 0 0 12px 0;
}

.ace-card figure img {
  display: block;
  width: 100%;
  height: auto;
  border: solid 1px var(--ace-line);
  border-radius: 6px;
}

/* 2カラム */
.ace-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  margin: 0 0 20px 0;
}

.ace-two-col.is-wide-left {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.ace-two-col.is-wide-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.ace-two-col:last-child {
  margin-bottom: 0;
}

/* 図中の小さな注記（元スライドの 8pt 未満のテキスト） */
.ace-figtext {
  margin: 4px 0 10px 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6B7C91;
}

/* 2カラム内の列（生成本文用） */
.ace-col {
  min-width: 0;
}

/* 単独で置く図：元スライドの図が小さい場合は拡大しすぎない */
.ace-figure.is-narrow img {
  max-width: 520px;
}

.ace-figure.is-half img {
  max-width: 62%;
}

/* 図 */
.ace-figure {
  margin: 0 0 20px 0;
  padding: 0;
}

.ace-figure:last-child {
  margin-bottom: 0;
}

.ace-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: solid 1px var(--ace-line);
  border-radius: 8px;
  background-color: #ffffff;
}

.ace-fig-link {
  display: block;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}

.ace-fig-link:focus-visible {
  outline: solid 3px var(--ace);
  outline-offset: 2px;
}

.ace-figure figcaption {
  margin: 8px 0 0 2px;
  font-size: 12px;
  line-height: 1.7;
  color: #55667B;
}

/* 図の幅を絞って中央に置く（ページ個別の微調整） */
.ace-figure.is-w60 {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.ace-figure.is-w80 {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.ace-figure.is-w60 figcaption,
.ace-figure.is-w80 figcaption {
  text-align: center;
}

/* カード内の図を小さくして高さを揃える（AIPOD 製品特徴２） */
.ace-cards.is-media-eq .ace-card figure img {
  width: auto;
  max-width: 100%;
  height: 240px;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

/* 相反する2つの追求を「矛盾！」の両方向矢印で結ぶ（AIPOD 製品特徴５） */
.ace-cards.is-conflict {
  grid-template-columns: minmax(0, 1fr) 118px minmax(0, 1fr);
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.ace-conflict-arrow {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 64px;
}

.ace-conflict-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  border-top: dashed 2px #C93A5B;
  opacity: 0.75;
}

.ace-conflict-line::before,
.ace-conflict-line::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 0;
  height: 0;
  border-style: solid;
}

.ace-conflict-line::before {
  left: 0;
  border-width: 6px 9px 6px 0;
  border-color: transparent #C93A5B transparent transparent;
}

.ace-conflict-line::after {
  right: 0;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #C93A5B;
}

.ace-conflict-tag {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  color: #ffffff;
  border-radius: 999px;
  background-color: #C93A5B;
  white-space: nowrap;
}

/* 2カラム内の図は下余白を落とし、列内の見出しは上余白を落とす（AIPOD 製品特徴４） */
.ace-two-col > .ace-figure {
  margin-bottom: 0;
}

.ace-h5.is-col-top {
  margin-top: 0;
}

/* AIPODの独自機能：親機能と5つの子機能（PPT p15 の構成に合わせる） */
.ace-uniq {
  margin: 0 0 20px 0;
}

.ace-uniq-group {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background-color: #EFF3FD;
}

.ace-uniq-parent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  color: #ffffff;
  border-radius: 8px;
  background-color: var(--ace-deep);
}

.ace-uniq-kids {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ace-uniq-kids li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
  color: #22344B;
  border: solid 1px #C9D8F2;
  border-radius: 8px;
  background-color: #ffffff;
}

/* 製品名は PPT と同じく2行目（太字）に置く */
.ace-uniq-kids li strong {
  display: block;
  margin: 3px 0 0 0;
  font-size: 12.5px;
  font-weight: bold;
  color: var(--ace-deep);
}

.ace-uniq-rest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
}

.ace-uniq-rest li {
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: var(--ace-deep);
  border: solid 1px var(--ace-line);
  border-radius: 8px;
  background-color: var(--ace-soft);
}

.ace-figure-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 20px 0;
}

.ace-figure-row.is-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ace-figure-row.is-4 {
  grid-template-columns: repeat(4, 1fr);
}

.ace-figure-row .ace-figure {
  margin: 0;
}

/* 仕様表（事例概要） */
.ace-spec {
  width: 100%;
  margin: 0 0 20px 0;
  border-collapse: collapse;
  border: solid 1px var(--ace-line);
}

.ace-spec th,
.ace-spec td {
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
  border-bottom: solid 1px var(--ace-line);
}

.ace-spec th {
  width: 108px;
  font-weight: bold;
  color: var(--ace-ink);
  background-color: var(--ace-soft);
  white-space: nowrap;
}

.ace-spec td {
  color: #333333;
}

.ace-spec tr:last-child th,
.ace-spec tr:last-child td {
  border-bottom: none;
}

/* データ表（結果・比較） */
.ace-data-wrap {
  margin: 0 0 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ace-data-wrap.is-narrow {
  max-width: 430px;
}

.ace-data {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  background-color: #ffffff;
  border: solid 1px var(--ace-line);
}

.ace-data caption {
  caption-side: top;
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  color: var(--ace-deep);
}

.ace-data th,
.ace-data td {
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  border-bottom: solid 1px var(--ace-line);
}

.ace-data thead th {
  font-weight: bold;
  color: #ffffff;
  background-color: var(--ace-deep);
  white-space: nowrap;
}

.ace-data tbody th {
  font-weight: bold;
  color: var(--ace-ink);
  background-color: var(--ace-soft);
  white-space: nowrap;
}

.ace-data tbody tr:nth-child(even) td {
  background-color: #FAF7FF;
}

.ace-data tr.is-hl td,
.ace-data tr.is-hl th {
  font-weight: bold;
  color: var(--ace-ink);
  background-color: #EFE7FD;
}

.ace-data tr.is-total td {
  font-weight: bold;
  background-color: #F2F7FD;
}

/* 列幅を固定して狭い本文幅でも横スクロールさせない */
.ace-data.is-fixed {
  table-layout: fixed;
  min-width: 0;
}

.ace-data.is-fixed thead th {
  white-space: normal;
  word-break: break-word;
}

.ace-data.is-fixed tbody th {
  white-space: normal;
  word-break: break-word;
}

.ace-data.is-fixed td {
  word-break: break-word;
}

.ace-data .num {
  text-align: right;
  white-space: nowrap;
}

.ace-data .note-cell {
  font-size: 12px;
  color: #55667B;
}

/* 最適化結果のハイライト */
.ace-result {
  margin: 0 0 20px 0;
  padding: 16px 18px;
  border-left: solid 5px var(--ace);
  border-radius: 8px;
  background-color: var(--ace-soft);
}

.ace-result .ace-result-label {
  display: block;
  margin: 0 0 6px 0;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--ace-deep);
}

.ace-result p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #333333;
}

.ace-result strong {
  color: var(--ace-deep);
}

/* 比較フロー図（従来／自動） */
.ace-flow {
  margin: 0 0 20px 0;
}

.ace-flow-row {
  padding: 16px 18px;
  border: solid 1px var(--ace-line);
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.05);
}

.ace-flow-row + .ace-flow-row {
  margin-top: 16px;
}

/* 従来 → 自動 の切れ目を示す下向き矢印 */
.ace-flow-sep {
  position: relative;
  height: 34px;
  margin: 12px 0 2px 0;
}

.ace-flow-sep::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 10px;
  margin-left: -1px;
  width: 0;
  border-left: solid 2px var(--ace);
  opacity: 0.5;
}

.ace-flow-sep::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-left: solid 8px transparent;
  border-right: solid 8px transparent;
  border-top: solid 10px var(--ace);
  opacity: 0.7;
}

.ace-flow-head {
  margin: 0 0 12px 0;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: var(--ace-deep);
}

.ace-flow-row.is-auto .ace-flow-head {
  color: #0A6647;
}

.ace-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ace-flow-steps li {
  position: relative;
  padding: 11px 12px 12px 12px;
  border: solid 1px var(--ace-line);
  border-radius: 8px;
  background-color: var(--ace-soft);
}

.ace-flow-row.is-auto .ace-flow-steps li {
  border-color: #C3E8D9;
  background-color: #EAF8F2;
}

.ace-flow-steps li + li::before {
  content: "▶";
  position: absolute;
  left: -17px;
  top: 50%;
  margin-top: -6px;
  font-size: 10px;
  line-height: 1;
  color: var(--ace);
}

.ace-flow-t {
  display: block;
  margin: 0 0 6px 0;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
  color: var(--ace-ink);
}

.ace-flow-row.is-auto .ace-flow-t {
  color: #0A6647;
}

/* 「解析」の直後に添える動画への案内（P2-T3／P2-T8） */
.ace-video-hint {
  display: inline-block;
  margin-left: 2px;
  font-size: 11.5px;
  font-weight: normal;
  white-space: nowrap;
  color: #55667B;
}

.ace-flow-row.is-auto .ace-video-hint {
  color: #0A6647;
}

.ace-flow-b {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: #333333;
}

.ace-flow-note {
  margin: 12px 0 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: bold;
  color: #9D2E6A;
}

.ace-flow-row.is-auto .ace-flow-note {
  color: #0A6647;
}

/* 解析ノード内の動画（元スライドではフローの中に埋め込まれている） */
.ace-flow-steps li.is-video {
  padding-bottom: 10px;
}

.ace-flow-video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 8px 0;
  border-radius: 6px;
  background-color: #0B2545;
}

/* チップ（対応ソフト一覧など） */
.ace-chips {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px 0;
  padding: 0;
  list-style: none;
}

.ace-chips li {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ace-ink);
  border: solid 1px var(--ace-line);
  border-radius: 999px;
  background-color: var(--ace-soft);
  white-space: nowrap;
}

/* 評価バッジ（他社比較） */
.ace-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.6;
  color: #ffffff;
  border-radius: 999px;
  white-space: nowrap;
}

.ace-badge.is-great {
  background-color: #129A6B;
}

.ace-badge.is-good {
  background-color: #3B82F6;
}

.ace-badge.is-ok {
  background-color: #8899AA;
}

.ace-note {
  margin: 16px 0 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #55667B;
}

.ace-contact-box {
  margin: 8px 0 0 0;
  padding: 20px 22px;
  border: solid 1px var(--ace-line);
  border-radius: 10px;
  background-color: var(--ace-soft);
}

.ace-contact-box p {
  margin: 0 0 6px 0;
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}

.ace-contact-box p:last-child {
  margin-bottom: 0;
}

.ace-contact-box a {
  font-weight: bold;
  color: var(--ace-deep);
}

/* ---------- 動画 ---------- */

.ace-video {
  display: block;
  width: 100%;
  height: auto;
  border: solid 1px var(--ace-line);
  border-radius: 8px;
  background-color: #0B2545;
}

/* ---------- 機能全体（4ブロックの関係図） ---------- */

.ace-funcmap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  grid-template-areas:
    "tl ar tr"
    "au ct ad"
    "bl ab br";
  gap: 8px;
  margin: 0 0 18px 0;
}

.ace-fm-card {
  padding: 14px 14px 14px 14px;
  border: solid 1px var(--ace-line);
  border-top: solid 4px var(--ace);
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.06);
}

.ace-fm-card.is-tl { grid-area: tl; }
.ace-fm-card.is-tr { grid-area: tr; }
.ace-fm-card.is-bl { grid-area: bl; }
.ace-fm-card.is-br { grid-area: br; }

.ace-fm-card > h5 {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  color: var(--ace-ink);
}

.ace-fm-lead {
  margin: 10px 0 3px 0;
  font-size: 12px;
  font-weight: bold;
  color: var(--ace-deep);
}

.ace-fm-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: #333333;
}

.ace-fm-figure {
  margin: 0 0 10px 0;
}

.ace-fm-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: solid 1px var(--ace-line);
  border-radius: 6px;
  background-color: #ffffff;
}

.ace-fm-note {
  margin: 10px 0 0 0;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.7;
  color: #333333;
  border-radius: 6px;
  background-color: var(--ace-soft);
}

/* 対応ソフトのロゴ一覧 */
.ace-logo-list {
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
}

.ace-logo-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  padding: 5px 0;
  border-top: dashed 1px var(--ace-line);
}

.ace-logo-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.ace-logo-cat {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  min-width: 32px;
  padding: 1px 0;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--ace-deep);
}

.ace-logo {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 3px;
  padding: 1px 5px 1px 3px;
  font-size: 10px;
  line-height: 1.8;
  color: #333333;
  border: solid 1px var(--ace-line);
  border-radius: 4px;
  background-color: #ffffff;
}

.ace-logo img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* 後処理のサムネイル */
.ace-fm-thumbs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ace-fm-thumbs li {
  margin: 0 0 8px 0;
}

.ace-fm-thumbs li:last-child {
  margin-bottom: 0;
}

.ace-fm-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  border: solid 1px var(--ace-line);
  border-radius: 6px;
  background-color: #ffffff;
}

.ace-fm-thumbs span {
  display: block;
  margin: 3px 0 0 2px;
  font-size: 10.5px;
  font-weight: bold;
  color: #55667B;
}

/* 後処理ブロックだけ：画像を半分の大きさに、ラベルを大きく（ブロック高さを約50%に） */
#panel-aipod .ace-fm-card.is-bl .ace-fm-thumbs li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px 0;
}

#panel-aipod .ace-fm-card.is-bl .ace-fm-thumbs li > a {
  display: block;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 47%;
  flex: 0 0 47%;
  min-width: 0;
}

#panel-aipod .ace-fm-card.is-bl .ace-fm-thumbs img {
  width: 100%;
}

#panel-aipod .ace-fm-card.is-bl .ace-fm-thumbs span {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #33475B;
}

/* 応用事例：仕様表を左、事例説明＋最適化結果を右に並べる（全幅で間延びしていたのを詰める） */
#panel-aipod .ace-case-top {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: 4px 24px;
  align-items: start;
  margin: 0 0 16px 0;
}

#panel-aipod .ace-case-top > .ace-spec {
  margin: 0;
}

#panel-aipod .ace-case-main > :first-child {
  margin-top: 0;
}

#panel-aipod .ace-case-main > :last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  /* 仕様表が 300px を切ると値が折り返しすぎるので、狭い幅では縦積みに戻す */
  #panel-aipod .ace-case-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* 事例説明の下に置く図（右カラム内・小さめ） */
#panel-aipod .ace-case-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 12px 0 0 0;
}

#panel-aipod .ace-case-figs.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* P11：2枚を20%縮小（列幅を80%に） */
#panel-aipod .ace-case-figs.is-sm {
  max-width: 80%;
}

#panel-aipod .ace-case-figs > figure {
  margin: 0;
}

#panel-aipod .ace-case-figs > figure img {
  width: 100%;
  height: 130px;
  box-sizing: border-box;
  -o-object-fit: contain;
  object-fit: contain;
}

#panel-aipod .ace-case-figs.is-2 > figure img {
  height: 170px;
}

#panel-aipod .ace-case-figs > figure figcaption {
  margin: 4px 0 0 0;
  font-size: 11.5px;
  line-height: 1.4;
}

/* 表の後ろなどに残る図を小さくする（行幅を狭めて中央寄せ） */
#panel-aipod .ace-figure-row.is-mini {
  max-width: 68%;
  margin-left: auto;
  margin-right: auto;
}

/* P12：4枚を半分の幅に（中央寄せ） */
#panel-aipod .ace-figure-row.is-half {
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}

/* P13：PPT と同じ2グループ（断面＋3D）を左右に並べる */
#panel-aipod .ace-case-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 0 0 16px 0;
}

#panel-aipod .ace-case-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

#panel-aipod .ace-case-pair > figure {
  margin: 0;
}

#panel-aipod .ace-case-pair > figure img {
  width: auto;
  height: 190px;
  max-width: 100%;
}

#panel-aipod .ace-case-pair > .ace-shot-cap {
  flex: 0 0 100%;
  margin: 4px 0 0 0;
  text-align: center;
}

/* P14：PPT と同じ 2行×3列（左に行ラベル・下に列キャプション） */
#panel-aipod .ace-case-matrix {
  display: grid;
  grid-template-columns: 92px repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: center;
  margin: 0 0 16px 0;
}

#panel-aipod .ace-case-matrix > .is-rowlab {
  margin: 0;
  font-size: 12.5px;
  font-weight: bold;
  line-height: 1.4;
  color: #4C2E9E;
  text-align: right;
}

#panel-aipod .ace-case-matrix > figure {
  margin: 0;
}

#panel-aipod .ace-case-matrix > figure img {
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  -o-object-fit: contain;
  object-fit: contain;
}

#panel-aipod .ace-case-matrix > .is-collab {
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: #55667B;
}

/* 1枚だけの図は中央に */
#panel-aipod .ace-case-figs.is-1 {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

#panel-aipod .ace-case-figs.is-1 > figure {
  width: 80%;
}

#panel-aipod .ace-case-center {
  margin: 0 0 16px 0;
}

#panel-aipod .ace-case-center > figure {
  margin: 0 auto;
  max-width: 66%;
}

/* P15：2枚を少し細く */
#panel-aipod .ace-case-figs.is-narrow {
  max-width: 74%;
  margin-left: auto;
  margin-right: auto;
}

/* P18：左に画面（縦積み）／右に文章 */
#panel-aipod .ace-case-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px 24px;
  align-items: start;
}

#panel-aipod .ace-case-split-media > figure {
  margin: 0 0 10px 0;
}

#panel-aipod .ace-case-split-media > figure img {
  width: 100%;
  height: auto;
}

#panel-aipod .ace-case-split-text > .ace-list {
  margin: 0;
}

@media (max-width: 779px) {
  #panel-aipod .ace-case-pairs {
    grid-template-columns: minmax(0, 1fr);
  }

  #panel-aipod .ace-case-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #panel-aipod .ace-case-matrix > .is-rowlab {
    grid-column: 1 / -1;
    text-align: left;
  }

  #panel-aipod .ace-case-split {
    grid-template-columns: minmax(0, 1fr);
  }

  #panel-aipod .ace-case-figs.is-narrow,
  #panel-aipod .ace-case-center > figure,
  #panel-aipod .ace-case-figs.is-1 > figure {
    max-width: 100%;
    width: auto;
  }
}

/* P17：1枚を60%に */
#panel-aipod .ace-figure.is-w60 {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 779px) {
  #panel-aipod .ace-case-figs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #panel-aipod .ace-figure-row.is-half {
    max-width: 100%;
  }

  #panel-aipod .ace-figure.is-w60 {
    max-width: 100%;
  }
}

/* 最適化アルゴリズムの箱 */
.ace-algo-box {
  margin: 0 0 8px 0;
  padding: 10px 10px 8px 10px;
  border: solid 1px var(--ace-line);
  border-radius: 8px;
  background-color: #FBF9FF;
}

.ace-algo-title {
  margin: 0 0 6px 0;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: #ffffff;
  border-radius: 4px;
  background-color: var(--ace-deep);
}

.ace-algo-pills {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  margin: 4px 0;
}

.ace-algo-pills.is-wide {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.ace-algo-pills span {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  padding: 3px 4px;
  font-size: 10.5px;
  line-height: 1.4;
  text-align: center;
  color: var(--ace-deep);
  border: solid 1px #C9BCEE;
  border-radius: 4px;
  background-color: #ffffff;
}

.ace-algo-sub {
  margin: 4px 0;
  font-size: 10.5px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: #0B4A8F;
}

/* 関係を示す矢印 */
.ace-fm-arrow {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 44px;
}

.ace-fm-arrow.is-right { grid-area: ar; }
.ace-fm-arrow.is-down { grid-area: ad; }
.ace-fm-arrow.is-left { grid-area: ab; }
.ace-fm-arrow.is-up { grid-area: au; }

.ace-fm-arrow span {
  position: relative;
  z-index: 1;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.5;
  color: var(--ace-deep);
  border: solid 1px #C9BCEE;
  border-radius: 999px;
  background-color: #F2F7FD;
  white-space: nowrap;
}

.ace-fm-arrow::before {
  content: "";
  position: absolute;
  background-color: #C9BCEE;
}

.ace-fm-arrow::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.ace-fm-arrow.is-right::before {
  left: 4px;
  right: 12px;
  top: 50%;
  height: 3px;
  margin-top: -1px;
}

.ace-fm-arrow.is-right::after {
  right: 2px;
  top: 50%;
  margin-top: -6px;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ace);
}

.ace-fm-arrow.is-left::before {
  left: 12px;
  right: 4px;
  top: 50%;
  height: 3px;
  margin-top: -1px;
}

.ace-fm-arrow.is-left::after {
  left: 2px;
  top: 50%;
  margin-top: -6px;
  border-width: 6px 10px 6px 0;
  border-color: transparent var(--ace) transparent transparent;
}

.ace-fm-arrow.is-down::before {
  top: 4px;
  bottom: 12px;
  left: 50%;
  width: 3px;
  margin-left: -1px;
}

.ace-fm-arrow.is-down::after {
  bottom: 2px;
  left: 50%;
  margin-left: -6px;
  border-width: 10px 6px 0 6px;
  border-color: var(--ace) transparent transparent transparent;
}

.ace-fm-arrow.is-up::before {
  top: 12px;
  bottom: 4px;
  left: 50%;
  width: 3px;
  margin-left: -1px;
}

.ace-fm-arrow.is-up::after {
  top: 2px;
  left: 50%;
  margin-left: -6px;
  border-width: 0 6px 10px 6px;
  border-color: transparent transparent var(--ace) transparent;
}

.ace-fm-center {
  grid-area: ct;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ace-fm-center img {
  width: 72px;
  height: 72px;
  opacity: 0.9;
}

.ace-fm-mobile-note {
  display: none;
}

/* カード内の図＋本文（製品特徴1） */
.ace-card-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.ace-card-media .ace-figure {
  margin: 0;
}

.ace-card-media-body > p:first-child {
  margin-top: 0;
}

/* ---------- 2領域パネル（元スライドの左右2ブロックを再現） ---------- */

.ace-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;              /* 白い余白で2つの領域を分ける */
  margin: 0 0 20px 0;
}

.ace-pair-panel {
  padding: 0 0 16px 0;
  border: solid 1px var(--ace-line);
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.05);
}

/* パネル上部の帯（元スライドの青いタイトル帯） */
.ace-pair-head {
  margin: 0 0 16px 0;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(120deg, var(--ace-deep) 0%, var(--ace) 100%);
}

.ace-pair-body {
  padding: 0 16px;
}

/* 破線の小ブロック（シナリオ／技術原理） */
.ace-pair-row {
  margin: 0 0 12px 0;
  padding: 12px 14px;
  border: dashed 1px #C9B7F0;
  border-radius: 8px;
  background-color: #FCFAFF;
}

.ace-pair-row:last-of-type {
  margin-bottom: 16px;
}

.ace-pair-row-label {
  display: inline-block;
  margin: 0 0 6px 0;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--ace-deep);
  border-radius: 999px;
  background-color: var(--ace-soft);
}

.ace-pair-row-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #333333;
}

.ace-pair-lead {
  margin: 0 0 14px 0;
  font-size: 14px;
  line-height: 1.85;
  color: #333333;
}

/* パネル内の表は少し詰め、パネル幅いっぱいに広げる（狭い幅でも4列が入るように） */
.ace-pair-panel .ace-data-wrap {
  margin: 0 -16px;
}

.ace-pair-panel .ace-data th,
.ace-pair-panel .ace-data td {
  padding: 6px 6px;
  font-size: 11px;
}

.ace-pair-panel .ace-data caption {
  padding: 0 16px;
  font-size: 11.5px;
}

/* Bound-Break の動画：設計空間（左半分）を白で覆い、赤いラベルと説明帯を重ねる */
.ace-bb-figure {
  margin: 0;
  padding: 0;
}

.ace-bb-stage {
  position: relative;
  display: block;
  border: solid 1px var(--ace-line);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.ace-bb-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.ace-bb-veil {
  position: absolute;
  left: 2.95%;
  top: 1.72%;
  width: 47.5%;
  height: 95.7%;
  background-color: rgba(255, 255, 255, 0.58);
}

.ace-bb-pill {
  position: absolute;
  left: 16.1%;
  top: 40%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 19.4%;
  padding: 6px 0;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #ffffff;
  border-radius: 6px;
  background-color: rgba(221, 36, 49, 0.7);
}

.ace-bb-tag {
  position: absolute;
  left: 50%;
  bottom: 8px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  max-width: 92%;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: #ffffff;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--ace-deep) 0%, var(--ace) 100%);
}


/* 専門知識＋既存研究の組み合わせ */
.ace-knowledge-plus {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0 0;
  padding: 8px;
  border-radius: 8px;
  background-color: var(--ace-soft);
}

.ace-knowledge-plus figure {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 45%;
  flex: 0 0 45%;
  margin: 0;
}

.ace-knowledge-plus img {
  display: block;
  width: 100%;
  height: auto;
  border: solid 1px var(--ace-line);
  border-radius: 4px;
  background-color: #ffffff;
}

.ace-knowledge-plus figcaption {
  margin: 3px 0 0 0;
  font-size: 10.5px;
  line-height: 1.5;
  color: #55667B;
}

.ace-knowledge-plus-sign {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: var(--ace-deep);
}

.ace-knowledge-plus-text {
  margin: 0;
  font-size: 11.5px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--ace-ink);
}

/* 比較表ヘッダーのロゴ */
.ace-th-logo {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  vertical-align: -4px;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 3px;
}

/* ---------- スライド拡大表示 ---------- */

.ace-lb-open {
  overflow: hidden;
}

.ace-lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: rgba(6, 20, 40, 0.97);
}

.ace-lightbox[hidden] {
  display: none;
}

.ace-lb-body {
  width: 100%;
  height: 100%;
  padding: 56px 64px;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ace-lb-figure {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

.ace-lb-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  margin: 0 auto;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

.ace-lb-figure figcaption {
  margin: 14px 0 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #DCEBFB;
}

.ace-lb-count {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: bold;
  color: #0B2545;
  border-radius: 999px;
  background-color: #C4B5FD;
}

.ace-lb-btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  font-family: inherit;
  font-size: 30px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  border: solid 1px rgba(225, 215, 250, 0.45);
  border-radius: 50%;
  background-color: rgba(76, 46, 158, 0.55);
  transition: background-color 0.18s ease;
}

.ace-lb-btn:hover,
.ace-lb-btn:focus {
  background-color: var(--ace);
  outline: none;
}

.ace-lb-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}

.ace-lb-close {
  top: 18px;
  right: 20px;
  font-size: 26px;
}

.ace-lb-prev {
  left: 18px;
  top: 50%;
  margin-top: -24px;
}

.ace-lb-next {
  right: 18px;
  top: 50%;
  margin-top: -24px;
}

/* ---------- お問い合わせ ---------- */

.ace-page .contact .sec-label {
  color: #C4B5FD;
}

.ace-page .contact .sec-title {
  border-bottom-color: var(--ace);
}

/* ---------- タブレット ---------- */

@media print, screen and (min-width: 780px) and (max-width: 1024px) {

  /* 「（下記ビデオを見る）」が2行に割れないように少し小さくする */
  .ace-video-hint {
    font-size: 10.5px;
  }

  /* 本文幅を確保するため、左ナビは上部の横並びタブへ */
  .ace-layout {
    display: block;
  }

  .ace-side {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    max-height: none;
    overflow: visible;
    margin: 0 0 26px 0;
    padding: 12px 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.08);
  }

  .ace-side-label {
    display: none;
  }

  .ace-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row dense;
    gap: 12px;
  }

  .ace-tab {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    gap: 10px;
    border-left-width: 1px;
  }

  .ace-tab-name {
    font-size: 16px;
  }

  .ace-tab-sub {
    font-size: 10px;
  }

  /* 二次リストはタブバーの下に横並びで表示 */
  .ace-subtabs {
    display: none;
    grid-column: 1 / -1;
    margin: 10px 0 0 0;
    padding: 0;
    border-left: 0;
    gap: 10px;
  }

  .ace-subtabs.is-open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .ace-subtab {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    margin: 0;
    padding: 8px 10px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    border-color: var(--ace-line);
    background-color: #ffffff;
  }

  .ace-subtab-orig {
    font-size: 10px;
  }

  .ace-side-note {
    display: none;
  }

  .ace-about-cards {
    gap: 14px;
  }

  /* 狭い本文幅でも表が横スクロールしないよう列幅を固定 */
  .ace-data.is-fixed {
    table-layout: fixed;
  }

}

/* ---------- スマートフォン ---------- */

@media only screen and (max-width: 779px) {

  .ace-about {
    padding: 36px 0;
  }

  .ace-about-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ace-about-card {
    padding: 20px 18px;
  }

  .ace-page .ace-about-card h3 {
    font-size: 19px;
  }

  .ace-workspace {
    padding: 0 0 40px 0;
  }

  .ace-layout {
    display: block;
  }

  /* タブは上部に固定した3列のバーへ（右上のメニューアイコン分を空ける） */
  .ace-side {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    max-height: none;
    margin: 0 -16px 22px -16px;
    padding: 8px 48px 8px 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.1);
  }

  .ace-side-label {
    display: none;
  }

  .ace-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row dense;
    gap: 6px;
  }

  .ace-tab {
    width: 100%;
    margin: 0;
    padding: 8px 6px;
    gap: 6px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-left-width: 1px;
    border-radius: 8px;
  }

  .ace-tab-num {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .ace-tab-name {
    font-size: 14px;
    letter-spacing: 0;
  }

  .ace-tab-sub {
    display: none;
  }

  /* 二次リストはタブバーの下に横並び（小さい文字）で表示 */
  .ace-subtabs {
    display: none;
    grid-column: 1 / -1;
    margin: 6px 0 0 0;
    padding: 0;
    border-left: 0;
    gap: 6px;
  }

  .ace-subtabs.is-open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .ace-subtab {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    margin: 0;
    padding: 7px 6px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    border-color: var(--ace-line);
    background-color: #ffffff;
  }

  .ace-subtab-num {
    display: none;
  }

  .ace-subtab-label {
    font-size: 12px;
  }

  .ace-subtab-orig {
    display: none;
  }

  .ace-side-note {
    display: none;
  }

  .ace-panel-head {
    margin-bottom: 26px;
  }

  .ace-page .ace-panel-title {
    font-size: 22px;
  }

  .ace-panel-full {
    margin-top: 6px;
    font-size: 13px;
  }

  .ace-lb-body {
    padding: 52px 10px;
  }

  .ace-lb-figure img {
    max-height: calc(100vh - 150px);
  }

  .ace-lb-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .ace-lb-prev,
  .ace-lb-next {
    margin-top: -19px;
  }

  .ace-lb-prev {
    left: 6px;
  }

  .ace-lb-next {
    right: 6px;
  }

  .ace-lb-close {
    top: 10px;
    right: 10px;
  }

  .ace-meta {
    padding: 14px;
    gap: 8px 18px;
  }

  .ace-chapter {
    margin-bottom: 32px;
  }

  .ace-chapter-title {
    font-size: 18px;
    gap: 10px;
    margin-bottom: 16px;
  }

  .ace-chapter-num {
    min-width: 34px;
    height: 26px;
    font-size: 12px;
  }

  .ace-slide {
    margin-bottom: 16px;
  }

  .ace-slide figcaption {
    font-size: 11px;
  }

  /* 本文コンテンツ */
  .ace-topic {
    margin-bottom: 32px;
  }

  .ace-h4 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .ace-h5 {
    margin-top: 20px;
    font-size: 15px;
  }

  .ace-body {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 14px;
  }

  .ace-list li {
    font-size: 14px;
    line-height: 1.8;
  }

  .ace-point {
    display: block;
    padding: 14px;
    margin-bottom: 18px;
  }

  .ace-point-label {
    display: inline-block;
    margin: 0 0 8px 0;
  }

  .ace-cards,
  .ace-cards.is-3,
  .ace-cards.is-4,
  .ace-two-col,
  .ace-two-col.is-wide-left,
  .ace-two-col.is-wide-right {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 矛盾の両方向矢印：スマートフォンは縦積みなので縦向きにする */
  .ace-cards.is-conflict {
    grid-template-columns: 1fr;
  }

  .ace-cards.is-conflict .ace-conflict-arrow {
    min-height: 76px;
  }

  .ace-cards.is-conflict .ace-conflict-line {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 0;
    height: auto;
    margin-left: -1px;
    border-top: 0;
    border-left: dashed 2px #C93A5B;
  }

  .ace-cards.is-conflict .ace-conflict-line::before {
    left: -5px;
    top: 0;
    border-width: 0 6px 9px 6px;
    border-color: transparent transparent #C93A5B transparent;
  }

  .ace-cards.is-conflict .ace-conflict-line::after {
    left: -5px;
    right: auto;
    top: auto;
    bottom: 0;
    border-width: 9px 6px 0 6px;
    border-color: #C93A5B transparent transparent transparent;
  }

  /* AIPODの独自機能：スマートフォンは縦積み */
  .ace-uniq-group {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .ace-uniq-kids {
    grid-template-columns: 1fr 1fr;
  }

  .ace-uniq-rest {
    grid-template-columns: 1fr;
  }

  .ace-card {
    padding: 16px 16px 14px 16px;
  }

  .ace-figure-row,
  .ace-figure-row.is-3,
  .ace-figure-row.is-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ace-figure.is-w60,
  .ace-figure.is-w80 {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .ace-figure.is-w60 figcaption,
  .ace-figure.is-w80 figcaption {
    text-align: left;
  }

  /* 機能全体の4ブロック：スマートフォンは縦並び＋関係は注記で補足 */
  .ace-funcmap {
    display: block;
  }

  .ace-fm-card {
    margin: 0 0 10px 0;
    padding: 14px;
  }

  .ace-fm-card:last-child {
    margin-bottom: 0;
  }

  .ace-fm-card.is-tl { display: block; }
  .ace-fm-card.is-tr { display: block; }
  .ace-fm-card.is-br { display: block; }
  .ace-fm-card.is-bl { display: block; }

  .ace-fm-arrow,
  .ace-fm-center {
    display: none;
  }

  .ace-fm-mobile-note {
    display: block;
  }

  .ace-card-media {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* 2領域パネルはスマートフォンでは縦に積む */
  .ace-pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ace-pair-head {
    padding: 8px 12px;
    font-size: 14px;
  }

  .ace-pair-body {
    padding: 0 12px;
  }

  .ace-pair-panel .ace-data-wrap {
    margin: 0 -12px;
  }

  .ace-pair-panel .ace-data caption {
    padding: 0 12px;
  }

  .ace-pair-row {
    padding: 10px 12px;
  }

  .ace-pair-row-text,
  .ace-pair-lead {
    font-size: 13.5px;
  }

  .ace-bb-pill {
    font-size: 11px;
    padding: 4px 0;
  }

  .ace-bb-tag {
    bottom: 5px;
    padding: 3px 10px;
    font-size: 11px;
  }

  .ace-knowledge-plus {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .ace-flow-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ace-flow-steps li + li::before {
    content: "▼";
    left: 50%;
    top: -15px;
    margin: 0 0 0 -6px;
  }

  .ace-flow-t {
    font-size: 13px;
  }

  .ace-flow-b {
    font-size: 12.5px;
  }

  .ace-spec th {
    width: 88px;
  }

  .ace-spec th,
  .ace-spec td {
    padding: 8px 10px;
    font-size: 13px;
  }

  .ace-data {
    min-width: 520px;
  }

  .ace-data th,
  .ace-data td {
    padding: 8px 10px;
    font-size: 12px;
  }

  .ace-result {
    padding: 14px;
  }

  .ace-result p {
    font-size: 13.5px;
  }

}
/* ---------- 座標を保つレイアウト（PPTの列・行・図上の注記を再現。2026-11-18）
   .ace-topic.ace-geo のときだけ効く。他ページの .ace-figure / .ace-two-col には影響しない。 ---------- */
.ace-geo .ace-geo-cols {
  display: grid;
  gap: 20px;
  align-items: start;
  margin: 0 0 6px 0;
}

.ace-geo .ace-geo-cols[data-cols="2"] {
  grid-template-columns: 1fr 1fr;
}

.ace-geo .ace-geo-cols[data-cols="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.ace-geo .ace-geo-cols[data-cols="4"] {
  grid-template-columns: repeat(4, 1fr);
}

.ace-geo .ace-geo-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ace-geo .ace-geo-head {
  display: inline-block;
  margin: 10px 0 2px 0;
  padding: 3px 10px;
  border-radius: 6px;
  background-color: #EDE7FB;
  font-size: 13.5px;
  font-weight: bold;
  line-height: 1.5;
  color: #4C2E9E;
}

/* 分野ごとのカード（AICFD 4／AIFEM 14 のような「N分野×事例」ページ） */
.ace-geo .ace-geo-cols.is-cards .ace-geo-col {
  padding: 12px 14px 16px 14px;
  border: solid 1px #DCE7F4;
  border-radius: 14px;
  background-color: #F6F2FE;
}

.ace-geo .ace-geo-cols.is-cards .ace-geo-head.is-card-head {
  display: block;
  margin: 0 0 4px 0;
  padding: 7px 12px;
  border-radius: 8px;
  background-color: #7C5CD6;
  font-size: 14px;
  color: #ffffff;
}

.ace-geo .ace-geo-cols.is-cards .ace-geo-sub2 {
  margin: 0 0 8px 0;
  padding: 0 2px;
}

.ace-geo .ace-geo-cols.is-cards .ace-geo-head:not(.is-card-head) {
  margin-top: 6px;
}

/* 全幅の帯見出しで始まる色ブロック（PPT の色パネル。色はサイトの紫系に置き換える） */
.ace-geo .ace-geo-panel {
  border: solid 1px var(--ace-line);
  border-radius: 14px;
  background-color: var(--ace-soft);
  overflow: hidden;
}

.ace-geo .ace-geo-panel + .ace-geo-panel {
  margin-top: 12px;
}

.ace-geo .ace-geo-panel-head {
  margin: 0;
  padding: 9px 16px;
  background-image: -webkit-linear-gradient(left, #7C5CD6 0%, #4C2E9E 100%);
  background-image: linear-gradient(90deg, #7C5CD6 0%, #4C2E9E 100%);
  font-size: 14.5px;
  font-weight: bold;
  letter-spacing: .02em;
  color: #ffffff;
}

.ace-geo .ace-geo-panel-sub {
  margin: 8px 16px 0 16px;
  font-size: 12px;
  line-height: 1.6;
  color: #55667B;
}

.ace-geo .ace-geo-panel-body {
  padding: 12px 16px 16px 16px;
}

.ace-geo .ace-geo-cols.is-arrow > .ace-geo-col + .ace-geo-col {
  position: relative;
}

.ace-geo .ace-geo-cols.is-arrow > .ace-geo-col + .ace-geo-col::before {
  content: "→";
  position: absolute;
  left: -16px;
  top: 50%;
  margin-top: -11px;
  font-size: 16px;
  font-weight: bold;
  color: #7C5CD6;
}

/* 全幅に横並びさせる N 枚カード（AICFD 3ページのオールインワン環境など） */
.ace-geo .ace-geo-cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* 4枚の間に「→」を挟む版（カード4＋矢印3の7列） */
.ace-geo .ace-geo-cards4.is-flow {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.ace-geo .ace-geo-card-arrow {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: #7C5CD6;
  text-align: center;
}

.ace-geo .ace-geo-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ace-geo .ace-geo-card .ace-figure {
  margin: 0;
}

.ace-geo .ace-geo-card-label {
  margin: 0;
  font-size: 12.5px;
  font-weight: bold;
  line-height: 1.35;
  color: #0B2545;
}

@media (max-width: 1024px) {
  .ace-geo .ace-geo-cards4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ace-geo .ace-geo-cards4.is-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .ace-geo .ace-geo-card-arrow {
    display: none;
  }
}

@media (max-width: 779px) {
  .ace-geo .ace-geo-cards4 {
    grid-template-columns: 1fr;
  }

  .ace-geo .ace-geo-cards4.is-flow {
    grid-template-columns: 1fr;
  }
}

.ace-geo .ace-geo-sub2 {
  margin: 0 0 2px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #55667B;
}

.ace-geo .ace-geo-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin: 0;
}

.ace-geo .ace-geo-row > figure {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.ace-geo .ace-geo-row > .ace-geo-cell {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1 1 0;
  min-width: 0;
}

.ace-geo .ace-geo-cell.is-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  max-width: 52%;
  padding-bottom: 10px;
}

.ace-geo .ace-geo-cell.is-label .ace-body {
  margin: 0;
  padding: 3px 8px;
  border: solid 1px #D6E2F0;
  border-radius: 6px;
  background-color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.35;
  color: #0B2545;
}

.ace-geo .ace-geo-txt p {
  margin: 0 0 6px 0;
  font-size: 13.5px;
  line-height: 1.7;
}

/* 章見出し（01 ソフトウェア概要 など）は非表示にする（二次リストと同じ内容のため） */
.ace-panel .ace-chapter-title[hidden] {
  display: none !important;
}

.ace-geo .ace-geo-txt ul {
  margin: 0;
  padding-left: 1.15em;
}

.ace-geo .ace-geo-txt li {
  font-size: 13.5px;
  line-height: 1.7;
}

.ace-geo .ace-geo-fig {
  position: relative;
}

.ace-geo .ace-geo-fig img,
.ace-geo .ace-geo-fig video {
  display: block;
  width: 100%;
  height: auto;
}

.ace-geo .ace-geo-fig figcaption {
  margin: 6px 0 0 0;
  font-size: 12px;
  text-align: center;
}

/* 図の上に乗っている注記（元スライドの位置関係を保つ）
   .ace-figlab は同じ見た目だが採番しない（図の中の AICFD／他社製品 など） */
.ace-geo .ace-ov,
.ace-geo .ace-figlab {
  position: absolute;
  font-size: 10.5px;
  line-height: 1.2;
  padding: 1px 4px;
  border: solid 1px #D6E2F0;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, .9);
  color: #0B2545;
  white-space: nowrap;
}

.ace-geo .ace-geo-cross {
  margin: 14px 0;
}

/* 元スライドで図と図の間に矢印がある行 */
.ace-geo .ace-geo-row.is-flow {
  gap: 26px;
}

/* 図の行を縦方向の中央で揃える（P13 の3枚など） */
.ace-geo .ace-geo-row.is-mid {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* 図＋下キャプションのまとまり（P15 の全圧分布／静圧分布など） */
.ace-geo .ace-figcol {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
}

.ace-geo .ace-figcol .ace-shot-cap {
  margin: 4px 0 0 0;
}

/* 列下寄せ（P12 の左カラム：見出しを下げて右カラムの長さに合わせる） */
.ace-geo .ace-geo-head.is-push {
  margin-top: auto;
}

/* P12 は左右のカラムを同じ高さにしてから下寄せする（既定の align-items:start では効かない） */
#panel-aicfd .ace-topic[data-slide="12"] .ace-geo-cols {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

/* 入口／出口ラベルと矢印（P15 の F3） */
.ace-geo .ace-geo-row.is-inout {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.ace-geo .ace-inout-label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  color: var(--ace-deep);
  white-space: nowrap;
}

.ace-geo .ace-inout-arrow {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 0;
  border-top: solid 2px var(--ace-deep);
}

.ace-geo .ace-inout-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -6px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--ace-deep);
}

.ace-geo .ace-inout-label.is-out .ace-inout-arrow::after {
  right: auto;
  left: -1px;
  border-width: 5px 8px 5px 0;
  border-color: transparent var(--ace-deep) transparent transparent;
}

.ace-geo .ace-geo-row.is-flow > .ace-geo-fig + .ace-geo-fig {
  position: relative;
}

.ace-geo .ace-geo-row.is-flow > .ace-geo-fig + .ace-geo-fig::before {
  content: "→";
  position: absolute;
  left: -24px;
  top: 44%;
  font-size: 16px;
  font-weight: bold;
  color: #2F5FD0;
}

.ace-geo .ace-geo-row.is-flow ~ .ace-geo-row.is-flow {
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .ace-geo .ace-geo-cols {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 779px) {
  /* スマホは図とラベルを縦積みにする（横に並べると図が小さすぎて読めない） */
  .ace-geo .ace-geo-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    gap: 10px;
  }

  /* 入口・出口：スマートフォンは図の上下に置き、矢印を縦向きにする */
  .ace-geo .ace-geo-row.is-inout {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .ace-geo .ace-inout-label {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .ace-geo .ace-inout-arrow {
    width: 0;
    height: 24px;
    border-top: 0;
    border-left: solid 2px var(--ace-deep);
  }

  .ace-geo .ace-inout-arrow::after {
    right: auto;
    left: -6px;
    top: auto;
    bottom: -1px;
    border-width: 8px 5px 0 5px;
    border-color: var(--ace-deep) transparent transparent transparent;
  }

  .ace-geo .ace-inout-label.is-out .ace-inout-arrow::after {
    left: -6px;
    top: -1px;
    bottom: auto;
    border-width: 0 5px 8px 5px;
    border-color: transparent transparent var(--ace-deep) transparent;
  }

  .ace-geo .ace-geo-row.is-flow > .ace-geo-fig + .ace-geo-fig::before {
    content: "↓";
    left: 50%;
    top: -20px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .ace-geo .ace-geo-row > figure {
    width: 100% !important;
  }

  /* パネル内の左右分割はスマホで縦積み。矢印は下向きに */
  .ace-geo .ace-geo-cols.is-arrow > .ace-geo-col + .ace-geo-col::before {
    content: "↓";
    left: 50%;
    top: -14px;
    margin-top: 0;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .ace-geo .ace-geo-cell.is-label {
    max-width: 100%;
    padding-bottom: 0;
  }

  .ace-geo .ace-ov {
    font-size: 9px;
    white-space: normal;
  }

  .ace-geo .ace-geo-txt p,
  .ace-geo .ace-geo-txt li {
    font-size: 13px;
  }
}

/* ---------- AICFD P3「AI技術の活用」：図を少し小さくして左右の余白を揃える（2026-11-18） ---------- */
.ace-geo .ace-geo-cols.is-ai-block > .ace-geo-col > .ace-geo-fig {
  width: 84%;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- AICFD P4「対応する解析範囲」：図は左・文字は右／4列を同じ長さに揃える（2026-11-18） ---------- */
.ace-geo .ace-geo-txt.ace-plan-lead {
  margin: 0 0 14px 0;
}

.ace-geo .ace-plan-lead p {
  margin: 0 0 2px 0;
}

.ace-geo .ace-geo-cols.is-plan {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.ace-geo .ace-geo-cols.is-plan .ace-geo-sub2 {
  min-height: 3.3em;   /* 4列とも同じ高さから事例行が始まるように、副題は2行分の高さを確保 */
}

.ace-geo .ace-geo-cols.is-plan .ace-geo-row {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  height: 72px;
}

.ace-geo .ace-geo-cols.is-plan .ace-geo-row > figure {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 52%;
  flex: 0 0 52%;
  width: 52%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.ace-geo .ace-geo-cols.is-plan .ace-geo-row > figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: left center;
  object-position: left center;
}

.ace-geo .ace-geo-cols.is-plan .ace-geo-cell {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1 1 0;
}

.ace-geo .ace-geo-cols.is-plan .ace-geo-txt p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
}

.ace-geo .ace-geo-cols.is-plan .ace-geo-txt p + p {
  margin-top: 2px;
}

/* 900〜1024px は4列のまま（1列に積むとカードが横に間延びするため） */
@media (min-width: 900px) and (max-width: 1024px) {
  .ace-geo .ace-geo-cols.is-plan {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* 900px 未満は1列積み。図は40%に抑え、行高を少し高くする */
@media (max-width: 899px) {
  .ace-geo .ace-geo-cols.is-plan .ace-geo-row {
    height: 96px;
  }

  .ace-geo .ace-geo-cols.is-plan .ace-geo-row > figure {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    width: 40%;
  }
}

@media (max-width: 779px) {
  .ace-geo .ace-geo-cols.is-plan .ace-geo-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 86px;
  }

  .ace-geo .ace-geo-cols.is-plan .ace-geo-row > figure {
    -ms-flex: 0 0 54%;
    flex: 0 0 54%;
    width: 54% !important;
    height: 100%;
  }

  .ace-geo .ace-geo-cols.is-plan .ace-geo-txt p {
    font-size: 13px;
  }
}

/* ---------- AICFD P6「あらゆる業界のニーズをカバー」：左右を色ブロックで囲み、矢印は中央（2026-11-18） ---------- */
.ace-geo .ace-geo-cols.is-niche {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
}

.ace-geo .ace-geo-cols.is-niche > .is-niche-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: solid 1px #DCE7F4;
  border-radius: 14px;
  background-color: #F6F2FE;
}

.ace-geo .ace-geo-cols.is-niche > .is-niche-box .ace-chips {
  margin: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ace-geo .ace-geo-cols.is-niche > .is-niche-arrow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: bold;
  color: #7C5CD6;
}

@media (min-width: 900px) {
  .ace-geo .ace-geo-cols.is-niche {
    grid-template-columns: 1fr 46px 1fr !important;
  }
}

@media (max-width: 899px) {
  .ace-geo .ace-geo-cols.is-niche {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .ace-geo .ace-geo-cols.is-niche > .is-niche-arrow span {
    display: inline-block;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}

/* ---------- AICFD 解析事例（章03）：文字は白枠チップをやめて通常本文、短いラベルは折り返さない（2026-11-18） ---------- */
#panel-aicfd .ace-chapter[data-chapter-group="3"] .ace-geo-cell.is-label .ace-body {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #0B2545;
}

/* 図のない行（事例概要など）のテキストは行幅いっぱいに使う（52%で折り返していたのを解除） */
#panel-aicfd .ace-chapter[data-chapter-group="3"] .ace-geo-cell.is-label {
  max-width: none;
}

#panel-aicfd .ace-chapter[data-chapter-group="3"] .ace-geo-row:has(> figure) .ace-geo-cell.is-label {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

#panel-aicfd .ace-chapter[data-chapter-group="3"] .ace-geo-row:has(> figure) .ace-geo-cell.is-label .ace-body {
  white-space: nowrap;
}

/* 切り出したグラフ画像は文字（軸ラベル・凡例）が画像内に入っているので、重ねた白ラベルは見せない。
   DOM には残す（テキスト検索・コピー・テキスト門禁のため）。 */
#panel-aicfd .ace-chapter[data-chapter-group="3"] figure:has(img[src*="chart_s"]) .ace-ov {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 779px) {
  #panel-aicfd .ace-chapter[data-chapter-group="3"] .ace-geo-row:has(> figure) .ace-geo-cell.is-label {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
  }

  #panel-aicfd .ace-chapter[data-chapter-group="3"] .ace-geo-row:has(> figure) .ace-geo-cell.is-label .ace-body {
    white-space: normal;
  }
}

/* ---------- AIFEM P3/P4：PPT キャプチャを並べるページ（2026-11-18） ---------- */
.ace-geo .ace-geo-cols.is-shot2 {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  margin-bottom: 18px;
}

.ace-geo .ace-geo-cols.is-shot2 > .ace-geo-col > .ace-figure {
  width: 100%;
  margin: 0;
}

.ace-geo .ace-geo-fig.is-shot-full {
  display: block;
  width: 100%;
  margin: 0 0 18px 0;
}

.ace-geo .ace-geo-fig.is-shot-full:last-child {
  margin-bottom: 0;
}

.ace-geo .ace-geo-fig.is-shot-full img {
  display: block;
  width: 100%;
  height: auto;
}

/* AIFD P9「解析条件」：リストの右にソルバー設定表を並べる（2026-11-18） */
#panel-aicfd .ace-geo-row.is-cond {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 16px;
}

#panel-aicfd .ace-geo-row.is-cond > .ace-geo-cell {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1 1 0;
  max-width: none;
}

#panel-aicfd .ace-geo-row.is-cond > .ace-geo-cell.is-cond-list {
  -ms-flex: 0 0 44%;
  flex: 0 0 44%;
}

#panel-aicfd .ace-geo-row.is-cond .ace-data-wrap {
  margin: 0;
}

#panel-aicfd .ace-geo-row.is-cond table.ace-data {
  width: 100%;
}

@media (max-width: 779px) {
  #panel-aicfd .ace-geo-row.is-cond {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #panel-aicfd .ace-geo-row.is-cond > .ace-geo-cell {
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
  }
}

/* ---------- AICFD P9：F1 を小さくして、右に解析条件とソルバー設定表を並べる（2026-11-18） ---------- */
#panel-aicfd .ace-geo-row.is-p9b {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 18px;
  margin-top: 6px;
}

#panel-aicfd .ace-geo-row.is-p9b > .ace-geo-cell {
  max-width: none;
}

#panel-aicfd .ace-geo-row.is-p9b > .is-p9-cond {
  -ms-flex: 0 0 46%;
  flex: 0 0 46%;
}

#panel-aicfd .ace-geo-row.is-p9b > .is-cond-table {
  -ms-flex: 1 1 0;
  flex: 1 1 0;
  min-width: 0;
}

#panel-aicfd table.ace-data.is-compact th,
#panel-aicfd table.ace-data.is-compact td {
  padding: 7px 5px;
  font-size: 11.5px;
}

#panel-aicfd .ace-geo-row.is-p9b .ace-geo-txt > .ace-geo-head {
  margin-top: 0;
}

/* ---------- AICFD P10：図の上に中央寄せタイトル、各段の下にキャプション（2026-11-18） ---------- */
#panel-aicfd .ace-topic[data-slide="10"] .ace-p10-title {
  margin: 0 0 10px 0;
  text-align: center;
  font-weight: bold;
  font-size: 13.5px;
  color: #0B2545;
}

#panel-aicfd .ace-topic[data-slide="10"] .is-p10pair {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="10"] .is-p10pair > figure {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="10"] .is-p10pair > figure img {
  width: auto;
  height: 168px;
  max-width: 100%;
}

.ace-geo .ace-shot-cap {
  margin: 6px 0 14px 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  color: #55667B;
}

/* ---------- AICFD P11：発熱量の2行目の頭を揃える／※注記の点を外す／表の下に注記（2026-11-18） ---------- */
#panel-aicfd .ace-list li.is-heat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

#panel-aicfd .ace-list li.is-heat .is-heat-k {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

#panel-aicfd .ace-list li.is-heat .is-heat-v span {
  display: block;
}

#panel-aicfd .ace-topic[data-slide="11"] .ace-body.is-note-plain {
  margin: 2px 0 0 0;
}

#panel-aicfd .ace-topic[data-slide="11"] .ace-table-notes {
  margin: 8px 0 0 0;
}

#panel-aicfd .ace-topic[data-slide="11"] .ace-table-notes .ace-body {
  margin: 0 0 2px 0;
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 779px) {
  #panel-aicfd .ace-geo-row.is-p9b {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #panel-aicfd .ace-geo-row.is-p9b > .ace-geo-cell {
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
  }

  #panel-aicfd .ace-topic[data-slide="10"] .is-p10pair {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #panel-aicfd .ace-topic[data-slide="10"] .is-p10pair > figure img {
    height: 110px;
  }
}

/* 章03 の小見出しは、下の本文と同じ幅（列幅いっぱい）に広げる（2026-11-18） */
#panel-aicfd .ace-chapter[data-chapter-group="3"] .ace-geo-head {
  display: block;
}

/* 図の上に置く行タイトル・下に置く列キャプション（P10・P11） */
.ace-geo .ace-shot-title {
  margin: 4px 0 6px 0;
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  color: #0B2545;
}

#panel-aicfd .ace-topic[data-slide="11"] .is-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 12px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="11"] .is-3grid > figure {
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="11"] .is-3grid > figure img {
  width: auto;
  max-width: 100%;
  height: 118px;
  margin: 0 auto;
  -o-object-fit: contain;
  object-fit: contain;
  /* 白い下地と枠を付けない */
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

#panel-aicfd .ace-topic[data-slide="11"] .is-3cap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 16px 0;
}

#panel-aicfd .ace-topic[data-slide="11"] .is-3cap .ace-shot-cap {
  margin: 0;
}

/* 物性値表とその下の注記を詰める */
#panel-aicfd .ace-topic[data-slide="11"] .ace-data-wrap {
  margin-bottom: 6px;
}

#panel-aicfd .ace-topic[data-slide="11"] .ace-table-notes {
  margin: 0;
}

/* 画像2列グリッド＋列キャプション（P12 など） */
#panel-aicfd .is-2grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
}

#panel-aicfd .is-2grid > figure {
  margin: 0;
}

#panel-aicfd .is-2grid > figure img {
  width: auto;
  max-width: 100%;
  height: 200px;
  margin: 0 auto;
  -o-object-fit: contain;
  object-fit: contain;
  /* 白い下地と枠を付けない（図の背景をそのまま見せる） */
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

#panel-aicfd .is-caprow {
  display: grid;
  gap: 12px;
  margin: 4px 0 14px 0;
}

#panel-aicfd .is-caprow.c2 {
  grid-template-columns: repeat(2, 1fr);
}

#panel-aicfd .is-caprow.c3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 行ラベル＋2列の画像マトリクス（P14 など） */
#panel-aicfd .is-matrix {
  display: grid;
  grid-template-columns: 54px 1fr 1fr;
  gap: 8px 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 0 12px 0;
}

#panel-aicfd .is-matrix > figure {
  margin: 0;
}

#panel-aicfd .is-matrix > figure img {
  width: 100%;
  height: 108px;
  -o-object-fit: contain;
  object-fit: contain;
}

#panel-aicfd .is-matrix .is-mrow {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #55667B;
  text-align: center;
}

#panel-aicfd .is-matrix .ace-shot-cap {
  margin: 0;
}

/* 行ラベル（白い角丸ピル）＋2列の図＋列キャプション（P17・P18） */
#panel-aicfd .ace-geo-row.is-lab {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (max-width: 779px) {
  /* スマホはラベルを上の行に広げ、図は2列のまま */
  #panel-aicfd .ace-geo-row.is-lab {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  #panel-aicfd .ace-geo-row.is-lab > .ace-geo-cell.is-label {
    grid-column: 1 / -1;
  }

  #panel-aicfd .ace-geo-row.is-lab > span {
    display: none;
  }
}

/* ---------- AICFD P19〜P23：PPT 切り抜きと上下キャプション（2026-11-19） ---------- */
/* P19: 翼面圧力係数分布の比較 = PPT 下部の2グラフを1枚に切り抜いた長図（ページ全幅） */
#panel-aicfd .ace-topic[data-slide="19"] .is-p19wide {
  margin: 2px 0 0 0;
}

#panel-aicfd .ace-topic[data-slide="19"] .is-p19wide img {
  width: 100%;
  height: auto;
}

/* P20: 図2列＋図の下の列キャプション（AICFD／他社製品、y/b=0.4／y/b=0.8） */
#panel-aicfd .ace-topic[data-slide="20"] .is-p20grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  align-items: end;
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="20"] .is-p20grid > figure {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

#panel-aicfd .ace-topic[data-slide="20"] .is-p20grid > figure img {
  width: 100%;
  height: auto;
}

#panel-aicfd .ace-topic[data-slide="20"] .is-p20cap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 14px 0;
}

#panel-aicfd .ace-topic[data-slide="20"] .is-p20cap .ace-shot-cap {
  margin: 0;
}

/* P21: 三組の図＝上タイトル＋2枚（PPT と同じ 体積分率／中央断面速度分布／中央断面圧力分布） */
#panel-aicfd .ace-topic[data-slide="21"] .is-p21pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  align-items: center;
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="21"] .is-p21pair > figure {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

#panel-aicfd .ace-topic[data-slide="21"] .is-p21pair > figure img {
  width: 100%;
  height: auto;
}

#panel-aicfd .ace-topic[data-slide="21"] .ace-shot-title {
  margin: 12px 0 4px 0;
}

#panel-aicfd .ace-topic[data-slide="21"] .ace-geo-col > .ace-shot-title:first-of-type {
  margin-top: 0;
}

/* P22: 動画の上キャプション／結果比較は PPT と同じ 60:40 の2ブロック */
.ace-geo .ace-shot-cap.is-top {
  margin: 0 0 6px 0;
  text-align: left;
}

#panel-aicfd .ace-topic[data-slide="22"] .ace-geo-cols[data-cols="2"] {
  grid-template-columns: 1fr 1.9fr;
}

#panel-aicfd .ace-topic[data-slide="22"] .is-p22grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
  align-items: start;
  margin: 4px 0 0 0;
}

#panel-aicfd .ace-topic[data-slide="22"] .is-p22cell {
  min-width: 0;
}

#panel-aicfd .ace-topic[data-slide="22"] .is-p22cell > .ace-geo-head {
  margin: 0 0 6px 0;
}

#panel-aicfd .ace-topic[data-slide="22"] .is-p22cell figure {
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="22"] .is-p22cell img {
  width: 100%;
  height: auto;
}

/* P23: 概略図（切り抜き）と 2つのグラフ（切り抜き） */
#panel-aicfd .ace-topic[data-slide="23"] .is-p23fig {
  margin: 0 0 10px 0;
}

#panel-aicfd .ace-topic[data-slide="23"] .is-p23fig img {
  width: 100%;
  height: auto;
}

#panel-aicfd .ace-topic[data-slide="23"] .is-p23charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="23"] .is-p23charts > figure {
  margin: 0;
}

#panel-aicfd .ace-topic[data-slide="23"] .is-p23charts > figure img {
  width: 100%;
  height: auto;
}

@media (max-width: 779px) {
  #panel-aicfd .ace-topic[data-slide="22"] .ace-geo-cols[data-cols="2"],
  #panel-aicfd .ace-topic[data-slide="22"] .is-p22grid,
  #panel-aicfd .ace-topic[data-slide="23"] .is-p23charts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- AIFEM P5〜P14：PPT 版面の組み直し（2026-11-19） ---------- */
#panel-aifem .is-figrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

#panel-aifem .is-figrow > figure {
  margin: 0;
}

#panel-aifem .is-figrow > figure img {
  width: 100%;
  height: auto;
}

#panel-aifem .is-figcol {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#panel-aifem .is-figcol > figure {
  margin: 0;
}

#panel-aifem .is-figcol > figure img {
  width: 100%;
  height: auto;
}

/* 3列（機能パネル｜条件ピル｜手順＋表） */
#panel-aifem .ace-geo-cols.is-3a[data-cols="3"] {
  grid-template-columns: 1fr 0.95fr 1.3fr;
  align-items: stretch;
}

#panel-aifem .ace-topic[data-slide="10"] .ace-geo-cols.is-3a[data-cols="3"] {
  grid-template-columns: 1.25fr 0.95fr 1.1fr;
}

#panel-aifem .ace-topic[data-slide="12"] .ace-geo-cols.is-3a[data-cols="3"] {
  grid-template-columns: 1.35fr 0.95fr 1fr;
}

/* 機能パネルは自然な高さ（PPT のように引き伸ばすと項目間が開きすぎる） */
#panel-aifem .ace-geo-panel {
  height: auto;
}

#panel-aifem .ace-geo-panel-body.is-featlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
}

#panel-aifem .ace-geo-panel-body.is-featlist .ace-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #0B2545;
}

#panel-aifem .ace-geo-panel-body.is-featlist .ace-body.is-strong {
  font-weight: bold;
  color: #4C2E9E;
}

/* PPT の青いピル＝縦並びのチップ */
#panel-aifem .ace-chips.is-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#panel-aifem .ace-chips.is-pills li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  box-sizing: border-box;
  border: solid 1px #D6CBF2;
  border-radius: 8px;
  background-color: #EDE7FB;
  font-size: 12.5px;
  font-weight: bold;
  text-align: center;
  color: #4C2E9E;
}

/* 手順の図（キャプション付き） */
#panel-aifem .is-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
}

#panel-aifem .is-steps.c2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: start;
}

#panel-aifem .is-stepfig {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

#panel-aifem .is-stepfig figure {
  margin: 0;
}

#panel-aifem .is-stepfig img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 150px;
}

#panel-aifem .is-stepfig .ace-shot-cap {
  margin: 2px 0 0 0;
}

/* P14: 8カード（4列×2行）— 行の高さを揃えて2行目の見出し位置を合わせる */
#panel-aifem .ace-geo-cols.is-14grid[data-cols="4"] {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

/* 図は「同じ大きさの枠」に contain で収める（枠サイズを揃えて行内の見た目を揃える） */
#panel-aifem .ace-geo-cols.is-14grid .ace-geo-col img {
  width: 100%;
  height: 120px;
  box-sizing: border-box;
  -o-object-fit: contain;
  object-fit: contain;
  margin: 0;
  display: block;
}

#panel-aifem .ace-geo-cols.is-14grid .ace-geo-col {
  gap: 10px;
}

#panel-aifem .ace-geo-cols.is-14grid .ace-geo-head.is-card-head {
  margin: 0;
}

#panel-aifem .ace-geo-cols.is-14grid .is-figcol {
  gap: 10px;
}

@media (max-width: 779px) {
  #panel-aifem .ace-geo-cols.is-3a[data-cols="3"] {
    grid-template-columns: minmax(0, 1fr);
  }

  #panel-aifem .is-stepfig img {
    max-height: 190px;
  }

  /* P14：1列になる幅では固定高を解除（横幅いっぱいの自然な比率で見せる） */
  #panel-aifem .ace-geo-cols.is-14grid .ace-geo-col img {
    height: auto;
    max-height: 260px;
  }
}

/* AIFEM P9〜P12：左半＝機能パネル(T1〜T4) →［→］→ 条件ピル(T5)／
   右半＝図を F1 → F2 → F3 の横一列に並べる */
#panel-aifem .ace-geo-cols.is-2f[data-cols="2"] {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

/* 矢印（左半の T塊→T5、右半の図→図） */
#panel-aifem .is-next {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: #2F5FD0;
}

/* 左半：パネルとピルを横に並べる（どちらも中身は縦積みのまま）＋左右の高さを揃える */
#panel-aifem .ace-geo-col.is-lf {
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
}

#panel-aifem .ace-geo-col.is-lf > .ace-geo-panel {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

/* ピル（T5）の高さに合わせて伸びた分は、中身を上下中央に置く */
#panel-aifem .ace-geo-col.is-lf > .ace-geo-panel > .ace-geo-panel-body {
  flex: 1 1 auto;
  justify-content: center;
}

#panel-aifem .ace-geo-col.is-lf > .ace-chips.is-pills {
  flex: 0 0 43%;
}

#panel-aifem .ace-geo-col.is-lf > .is-next {
  align-self: center;
}

/* 右半：図の横一列（枠は等幅・等高、中身は contain） */
#panel-aifem .is-stepsr {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

#panel-aifem .is-stepsr + .is-stepsr {
  margin-top: 12px;
}

#panel-aifem .is-stepsr > .is-stepfig,
#panel-aifem .is-stepsr > figure {
  flex: 1 1 0;
  min-width: 0;
}

#panel-aifem .is-stepsr > .is-stepfig > figure,
#panel-aifem .is-stepsr > figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
}

/* .is-stepfig は align-items:center なので、figure は自分で幅を取る（幅 0 → 高さ 0 になる罠） */
#panel-aifem .is-stepsr > .is-stepfig > figure {
  width: 100%;
  -ms-flex-item-align: stretch;
  align-self: stretch;
}

/* P12 のグラフ段：図を20%縮めて中央に置く（左右に均等な余白）／矢印なしなので間隔を広めに */
#panel-aifem .is-stepsr.is-sq {
  justify-content: center;
  gap: 14px;
}

#panel-aifem .is-stepsr.is-sq > figure {
  flex: 0 0 27.2%;
  aspect-ratio: 1 / 1;
}

/* 矢印なしで図だけ並べる段（P12 の画面キャプチャ） */
#panel-aifem .is-stepsr.is-flat {
  gap: 10px;
}

/* 枠の高さは aspect-ratio で決める（中の img に高さを押し広げられないよう絶対配置） */
#panel-aifem .is-stepsr > .is-stepfig > figure .ace-fig-link,
#panel-aifem .is-stepsr > figure .ace-fig-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
}

#panel-aifem .is-stepsr > .is-stepfig img,
#panel-aifem .is-stepsr > figure img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  -o-object-fit: contain;
  object-fit: contain;
}

#panel-aifem .is-stepsr > .is-stepfig .ace-shot-cap {
  margin: 2px 0 0 0;
}

#panel-aifem .is-stepsr > .is-next {
  align-self: center;
}

#panel-aifem .ace-geo-cols.is-2f .ace-chips.is-pills {
  margin-top: 0;
}

@media (max-width: 779px) {
  /* スマホは左半も縦積みに戻し、図は2列に折り返す */
  #panel-aifem .ace-geo-col.is-lf {
    flex-direction: column;
    align-items: stretch;
  }

  #panel-aifem .ace-geo-col.is-lf > .is-next {
    align-self: center;
    transform: rotate(90deg);
  }

  #panel-aifem .is-stepsr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #panel-aifem .is-stepsr > .is-stepfig,
  #panel-aifem .is-stepsr > figure {
    flex: 0 0 auto;
  }

  #panel-aifem .is-stepsr > .is-next {
    display: none;
  }
}

#panel-aifem .ace-geo-cols.is-2f .is-steps.c2 {
  margin-bottom: 10px;
}

@media (max-width: 779px) {
  #panel-aifem .ace-geo-cols.is-2f[data-cols="2"] {
    grid-template-columns: minmax(0, 1fr);
  }
}

#panel-aifem .ace-topic[data-slide="12"] .is-figrow:last-child {
  margin-bottom: 6px;
}

/* 同じ種類の画面キャプチャを等幅・等高の箱に揃える（余白は contain で吸収） */
#panel-aifem .is-figrow.is-eq > figure img {
  height: 130px;
  -o-object-fit: contain;
  object-fit: contain;
}

#panel-aifem .is-figrow.is-eq.h120 > figure img {
  height: 120px;
}

#panel-aifem .is-figrow.is-eq.h140 > figure img {
  height: 140px;
}

#panel-aifem .is-figrow.is-eq.h150 > figure img {
  height: 150px;
}

/* P6・P7：右の説明リストの高さに合わせて図を縮める（リスト 171px → 図 165px） */
#panel-aifem .is-figrow.is-eq.h165 > figure img {
  height: 165px;
}

/* P7 の 6 枚組（2行×3）：リスト 215px に収まる 100px 角の枠 */
#panel-aifem .is-figrow.is-eq.h100 > figure img {
  height: 100px;
}

/* AIFEM P14：タブレット幅（780〜1024）は2列にして縦長を抑える */
@media (min-width: 780px) and (max-width: 1024px) {
  #panel-aifem .ace-geo-cols.is-14grid[data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #panel-aifem .ace-geo-cols.is-14grid .ace-geo-col img {
    height: 160px;
  }
}

#panel-aifem .is-figrow.is-eq.h200 > figure img {
  height: 200px;
}

/* AIFEM P3：左右2列（左＝F1/F2、右＝T1+F3／応用事例+F4）、左右の高さを揃える */
#panel-aifem .ace-geo-cols.is-p3pair {
  gap: 24px;
}

#panel-aifem .ace-geo-cols.is-p3pair .ace-geo-col {
  gap: 14px;
}

#panel-aifem .ace-geo-cols.is-p3pair .is-p3left > figure {
  width: 78.5%;
  margin-left: auto;
  margin-right: auto;
}

/* AIFEM P5〜P7：見出し帯はブロック全幅、その下に図＋説明リスト */
#panel-aifem .is-blk {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 10px 20px;
  align-items: start;
  margin: 2px 0 14px 0;
}

#panel-aifem .is-blk > .ace-list {
  margin: 0;
  padding-left: 1.15em;
}

/* 高さを揃える行（P5 の F1／F2） */
#panel-aifem .is-figrow.is-eqh > figure {
  flex: 0 0 auto;
}

#panel-aifem .is-figrow.is-eqh > figure img {
  width: auto;
  height: 230px;
  max-width: 100%;
}

/* 高さだけ固定したい行（幅は PPT の実寸比のまま） */
#panel-aifem .is-figrow.is-eqh.h195 > figure img {
  height: 195px;
}

@media (max-width: 779px) {
  #panel-aifem .is-blk {
    grid-template-columns: minmax(0, 1fr);
  }

  #panel-aifem .ace-geo-cols.is-p3pair .is-p3left > figure {
    width: 100%;
  }

  #panel-aifem .is-figrow.is-eqh > figure img {
    height: 150px;
  }
}

/* AIFEM：見出し帯は下の内容と同じ幅まで伸ばす（「拉長」） */
#panel-aifem .ace-geo-head {
  display: block;
}

/* AIFEM P8：4カードの高さを揃える（図は固定高の枠に contain で収める） */
#panel-aifem .ace-geo-cols.is-p8 {
  align-items: stretch;
}

#panel-aifem .ace-geo-cols.is-p8 .ace-geo-col {
  gap: 10px;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#panel-aifem .ace-geo-cols.is-p8 .ace-geo-col > figure {
  width: 100%;
  margin: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

#panel-aifem .ace-geo-cols.is-p8 .ace-geo-col > figure .ace-fig-link {
  display: block;
  height: 100%;
}

#panel-aifem .ace-geo-cols.is-p8 .ace-geo-col > figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

#panel-aifem .ace-geo-cols.is-p8 .ace-geo-head.is-card-head {
  margin: 0 0 2px 0;
  line-height: 1.45;
}

#panel-aifem .is-figrow.is-eq.h195 > figure img {
  height: 195px;
}

/* AIFEM P8：狭い幅ではカードが1列になるため、図の固定高を解除して自然な大きさに戻す */
@media (max-width: 1024px) {
  #panel-aifem .ace-geo-cols.is-p8 .ace-geo-col > figure {
    height: auto !important;
  }

  #panel-aifem .ace-geo-cols.is-p8 .ace-geo-col > figure .ace-fig-link {
    height: auto;
  }

  #panel-aifem .ace-geo-cols.is-p8 .ace-geo-col > figure img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto;
  }
}

/* P17：F1（電磁力の次数別振幅）を、キャプション無しで左の仕様表と同じ高さまで広げる（2026-11-19 追加指示） */
@media (min-width: 961px) {
  #panel-aipod .ace-topic.is-p17 .ace-case-top {
    align-items: stretch;
  }

  #panel-aipod .ace-topic.is-p17 .ace-case-main {
    display: flex;
    flex-direction: column;
  }

  #panel-aipod .ace-topic.is-p17 .ace-case-figs.is-1 {
    position: relative;
    flex: 1 1 0;
    min-height: 120px;
    margin-top: 10px;
  }

  #panel-aipod .ace-topic.is-p17 .ace-case-figs.is-1 > figure {
    position: absolute;
    inset: 0;
    width: auto;
  }

  #panel-aipod .ace-topic.is-p17 .ace-case-figs.is-1 .ace-fig-link {
    display: block;
    width: 100%;
    height: 100%;
  }

  #panel-aipod .ace-topic.is-p17 .ace-case-figs.is-1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
}

/* P18：左にタイトル色塊＋四分割画像、右に箇条書き。左右の高さを揃える（2026-11-19 追加指示） */
#panel-aipod .ace-topic.is-p18 .ace-case-split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
}

#panel-aipod .ace-topic.is-p18 .ace-p18-head {
  display: block;
  margin: 0 0 8px 0;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #EDE7FB;
  font-size: 13.5px;
  font-weight: bold;
  line-height: 1.5;
  color: #4C2E9E;
}

#panel-aipod .ace-topic.is-p18 .ace-case-split-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

#panel-aipod .ace-topic.is-p18 .ace-case-split-media > figure {
  margin: 0;
}

#panel-aipod .ace-topic.is-p18 .ace-case-split-media figure img {
  width: 100%;
  height: auto;
}

#panel-aipod .ace-topic.is-p18 .ace-case-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* P18：中幅以下は縦積み（2カラム指定より後に置いて上書きする） */
@media (max-width: 960px) {
  #panel-aipod .ace-topic.is-p18 .ace-case-split {
    grid-template-columns: minmax(0, 1fr);
  }
}
