
			/* ===== リンクカード ===== */
.post_content .lc-wrap {
  max-width: 680px;
  margin: 28px auto;
}
.post_content .lc-label {
  font-size: 12px;
  font-weight: 700;
  color: #2b5ea6;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post_content .lc-label::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: #2b5ea6;
}
.post_content .link-card-1 {
  display: flex;
  align-items: stretch;
  background: #fafbfd;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #2b5ea6;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow .25s, background .2s;
}
.post_content .link-card-1:hover {
  box-shadow: 0 4px 16px rgba(43,94,166,.1);
  background: #f4f7fc;
  text-decoration: none !important;
  color: inherit !important;
}
.post_content .lc1-thumb {
  width: 140px;
  flex-shrink: 0;
  overflow: hidden;
}
.post_content .lc1-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  margin: 0 !important;
}
.post_content .lc1-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.post_content .lc1-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post_content .lc1-desc {
  font-size: 12px;
  line-height: 1.55;
  color: #7a8090;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 560px) {
  .post_content .lc1-thumb { width: 100px; }
  .post_content .lc1-body { padding: 12px 14px; }
  .post_content .lc1-title { font-size: 13px; }
  .post_content .lc1-desc { font-size: 11px; }
}

/* ===== マーカー装飾 ===== */
.post_content .mark_b {
  background: linear-gradient(transparent 60%, #a8d8ff 60%);
  padding: 0 2px;
}
.post_content .mark_div {
  background: linear-gradient(transparent 60%, #ffd6ec 60%);
  padding: 0 2px;
}
/* ===== SEO記事 共通装飾：見出し・目次・ボックス ===== */

/* H2見出し */
.post_content h2 {
  position: relative;
  margin-top: 56px;
  margin-bottom: 22px;
  padding: 16px 20px 16px 22px;
  border-left: 5px solid #2b5ea6;
  border-bottom: 1px solid #d9e3f3;
  background: linear-gradient(90deg, #f3f7fc 0%, #ffffff 80%);
  border-radius: 8px;
  font-size: 1.55rem;
  line-height: 1.45;
  color: #1f3f73;
  font-weight: 700;
}

/* H3見出し */
.post_content h3 {
  position: relative;
  margin-top: 34px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid #2b5ea6;
  font-size: 1.22rem;
  line-height: 1.5;
  color: #222;
  font-weight: 700;
}

/* 目次ボックス：主要TOCプラグイン・テーマ対応 */
.post_content .toc,
.post_content .toc_container,
.post_content #toc_container,
.post_content .p-toc,
.post_content .ez-toc-container,
.post_content .wp-block-aioseo-table-of-contents {
  background: #fafbfd !important;
  border: 1px solid #e2e5ea !important;
  border-left: 4px solid #2b5ea6 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 22px 24px !important;
  margin: 28px 0 36px !important;
  box-shadow: 0 4px 16px rgba(43, 94, 166, 0.08);
}

/* 目次タイトル */
.post_content .toc_title,
.post_content .toc-title,
.post_content .p-toc__ttl,
.post_content .ez-toc-title,
.post_content .ez-toc-title-container,
.post_content .wp-block-aioseo-table-of-contents > strong {
  color: #1f3f73 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

/* 目次リンク */
.post_content .toc a,
.post_content #toc_container a,
.post_content .p-toc a,
.post_content .ez-toc-container a,
.post_content .wp-block-aioseo-table-of-contents a {
  color: #222 !important;
  text-decoration: none !important;
}

.post_content .toc a:hover,
.post_content #toc_container a:hover,
.post_content .p-toc a:hover,
.post_content .ez-toc-container a:hover,
.post_content .wp-block-aioseo-table-of-contents a:hover {
  color: #2b5ea6 !important;
  text-decoration: underline !important;
}

/* 重要ポイントボックス */
.post_content .ai-point-box {
  background: #fafbfd;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #2b5ea6;
  border-radius: 0 10px 10px 0;
  padding: 20px 22px;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(43, 94, 166, 0.08);
}

.post_content .ai-point-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f3f73;
  margin-bottom: 8px;
}

.post_content .ai-point-box p:last-child {
  margin-bottom: 0;
}

/* 重要文ハイライト：既存mark_bに近い青系 */
.post_content .ai-highlight {
  background: linear-gradient(transparent 60%, #a8d8ff 60%);
  padding: 0 2px;
  font-weight: 700;
}

/* 強調テキスト */
.post_content .ai-strong {
  color: #1f3f73;
  font-weight: 700;
}

/* ===== データカード ===== */
.post_content .ai-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.post_content .ai-data-card {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-top: 4px solid #2b5ea6;
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 4px 14px rgba(43, 94, 166, 0.08);
}

.post_content .ai-data-number {
  display: block;
  color: #2b5ea6;
  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 8px;
}

.post_content .ai-data-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.post_content .ai-data-note {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #7a8090;
}

/* ===== 6領域カード ===== */
.post_content .ai-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.post_content .ai-service-card {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #2b5ea6;
  border-radius: 0 10px 10px 0;
  padding: 20px 18px;
  box-shadow: 0 4px 14px rgba(43, 94, 166, 0.08);
}

.post_content .ai-service-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: #2b5ea6;
  font-size: 0.78rem;
  font-weight: 700;
}

.post_content .ai-service-card h3 {
  margin: 0 0 10px;
  padding-left: 0;
  border-left: none;
  color: #1f3f73;
  font-size: 1.08rem;
}

.post_content .ai-service-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #333;
}

/* ===== 表の見やすさ改善 ===== */
.post_content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 0.95rem;
  background: #fff;
}

.post_content table th {
  background: #2b5ea6;
  color: #fff;
  font-weight: 700;
  padding: 13px 15px;
  border: 1px solid #2b5ea6;
  text-align: left;
}

.post_content table td {
  padding: 13px 15px;
  border: 1px solid #e2e5ea;
  line-height: 1.7;
  vertical-align: top;
}

.post_content table tr:nth-child(even) td {
  background: #fafbfd;
}

/* ===== CTAボックス ===== */
.post_content .ai-cta {
  background: linear-gradient(135deg, #1f3f73 0%, #2b5ea6 100%);
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 8px 22px rgba(43, 94, 166, 0.22);
}

.post_content .ai-cta h2,
.post_content .ai-cta h3 {
  background: none;
  border: none;
  color: #fff;
  padding: 0;
  margin-top: 0;
}

.post_content .ai-cta p {
  color: #fff;
  line-height: 1.8;
}

.post_content .ai-cta-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #1f3f73 !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity .2s, transform .2s;
}

.post_content .ai-cta-button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ===== チェックリスト ===== */
.post_content .ai-check-box {
  background: #fafbfd;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #2b5ea6;
  border-radius: 0 10px 10px 0;
  padding: 22px 24px;
  margin: 28px 0;
}

.post_content .ai-check-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.post_content .ai-check-box li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.post_content .ai-check-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2b5ea6;
  font-weight: 800;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .post_content h2 {
    font-size: 1.28rem;
    padding: 15px 16px 15px 18px;
  }

  .post_content h3 {
    font-size: 1.12rem;
  }

  .post_content .ai-data-grid,
  .post_content .ai-service-grid {
    grid-template-columns: 1fr;
  }

  .post_content .ai-point-box,
  .post_content .ai-cta,
  .post_content .ai-check-box {
    padding: 20px;
  }

  .post_content table {
    font-size: 0.88rem;
  }
}
/* ===== DXハブ記事 追加装飾 ===== */

/* 役割別マーカー */
.post_content .mark_y {
  background: linear-gradient(transparent 60%, #fff2a8 60%);
  padding: 0 2px;
  font-weight: 700;
}

.post_content .mark_o {
  background: linear-gradient(transparent 60%, #ffd8a8 60%);
  padding: 0 2px;
  font-weight: 700;
}

.post_content .mark_g {
  background: linear-gradient(transparent 60%, #bff3d4 60%);
  padding: 0 2px;
  font-weight: 700;
}

/* 冒頭：この記事でわかること */
.post_content .ai-lead-box {
  background: #fafbfd;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #2b5ea6;
  border-radius: 0 10px 10px 0;
  padding: 22px 24px;
  margin: 28px 0 34px;
  box-shadow: 0 4px 16px rgba(43, 94, 166, 0.08);
}

.post_content .ai-lead-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1f3f73;
  margin-bottom: 10px;
}

.post_content .ai-lead-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.post_content .ai-lead-box li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* 出典注記 */
.post_content .ai-source-note {
  font-size: 0.84rem;
  line-height: 1.7;
  color: #7a8090;
  margin-top: -8px;
  margin-bottom: 28px;
}

/* データカード内の補足 */
.post_content .ai-data-comment {
  background: #fffdf2;
  border: 1px solid #f5e6a8;
  border-left: 4px solid #f2b705;
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  margin: 24px 0;
}

/* 6領域カードのラベル色分け */
.post_content .ai-service-label.is-blue {
  background: #edf4ff;
  color: #2b5ea6;
}

.post_content .ai-service-label.is-green {
  background: #e9f8ef;
  color: #16834a;
}

.post_content .ai-service-label.is-orange {
  background: #fff3df;
  color: #b96800;
}

.post_content .ai-service-label.is-purple {
  background: #f2ecff;
  color: #6941c6;
}

/* 受託開発メリットカード */
.post_content .ai-merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.post_content .ai-merit-card {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-top: 4px solid #2b5ea6;
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: 0 4px 14px rgba(43, 94, 166, 0.08);
}

.post_content .ai-merit-card h3 {
  margin: 0 0 10px;
  padding-left: 0;
  border-left: none;
  font-size: 1.08rem;
  color: #1f3f73;
}

.post_content .ai-merit-card p {
  margin-bottom: 0;
  line-height: 1.75;
}

/* 注意ボックス */
.post_content .ai-alert-box {
  background: #fff8ef;
  border: 1px solid #f4d3a1;
  border-left: 4px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 20px 22px;
  margin: 28px 0;
}

.post_content .ai-alert-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #9a5b00;
  margin-bottom: 8px;
}

/* 関連記事枠 */
.post_content .ai-related-box {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-radius: 10px;
  padding: 22px 24px;
  margin: 34px 0;
  box-shadow: 0 4px 14px rgba(43, 94, 166, 0.07);
}

.post_content .ai-related-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1f3f73;
  margin-bottom: 12px;
}

.post_content .ai-related-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.post_content .ai-related-box li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* AITech紹介小ボックス */
.post_content .ai-company-box {
  background: #fafbfd;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #2b5ea6;
  border-radius: 0 10px 10px 0;
  padding: 20px 22px;
  margin: 28px 0;
}

.post_content .ai-company-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f3f73;
  margin-bottom: 8px;
}

/* CTAの中の補助テキスト */
.post_content .ai-cta-small {
  font-size: 0.9rem;
  opacity: 0.92;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .post_content .ai-merit-grid {
    grid-template-columns: 1fr;
  }

  .post_content .ai-lead-box,
  .post_content .ai-related-box,
  .post_content .ai-company-box,
  .post_content .ai-alert-box,
  .post_content .ai-data-comment {
    padding: 18px;
  }
}
/* ===== シンプルCTA：2ボタン式 ===== */
.post_content .ai-cta-simple {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #2b5ea6;
  border-radius: 0 12px 12px 0;
  padding: 26px 28px;
  margin: 40px 0;
  box-shadow: 0 4px 14px rgba(43, 94, 166, 0.08);
}

.post_content .ai-cta-simple h2,
.post_content .ai-cta-simple h3 {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 10px;
  color: #1f3f73;
  font-size: 1.32rem;
  line-height: 1.5;
}

.post_content .ai-cta-simple p {
  margin: 0 0 18px;
  line-height: 1.8;
  color: #333;
}

.post_content .ai-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.post_content .ai-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.5;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}

.post_content .ai-cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 導入事例集ダウンロード */
.post_content .ai-cta-btn-download {
  background: #2b5ea6;
  color: #ffffff !important;
}

/* 問い合わせ */
.post_content .ai-cta-btn-contact {
  background: #833C0B;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .post_content .ai-cta-simple {
    padding: 22px 20px;
  }

  .post_content .ai-cta-buttons {
    flex-direction: column;
  }

  .post_content .ai-cta-btn {
    width: 100%;
    min-width: 0;
  }
}
/* ==================================================
   積算AI記事専用：レイアウト拡張
================================================== */

/* この記事でわかること */
.post_content .ai-learn-strip {
  margin: 24px 0 28px;
  padding: 20px 22px;
  background: #f7f9fc;
  border-top: 3px solid #2b5ea6;
  border-bottom: 1px solid #dfe5ed;
}

.post_content .ai-learn-label {
  margin: 0 0 12px;
  color: #1f3f73;
  font-size: 1.05rem;
  font-weight: 700;
}

.post_content .ai-learn-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post_content .ai-learn-list li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  line-height: 1.7;
}

.post_content .ai-learn-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #2b5ea6;
  font-weight: 700;
}

/* 序盤の結論 */
.post_content .ai-opening-brief {
  margin: 28px 0;
  padding: 22px 24px;
  background: #fff;
  border-left: 5px solid #d6a43a;
  box-shadow: 0 3px 14px rgba(31, 63, 115, 0.08);
}

.post_content .ai-opening-brief-title {
  margin: 0 0 8px;
  color: #76530c;
  font-weight: 700;
}

.post_content .ai-opening-brief p:last-child {
  margin-bottom: 0;
}

/* 手動目次 */
.post_content .ai-toc {
  margin: 32px 0 44px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #dfe5ed;
  border-radius: 10px;
}

.post_content .ai-toc-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dfe5ed;
  color: #1f3f73;
  font-size: 1.12rem;
  font-weight: 700;
}

.post_content .ai-toc ol {
  margin: 0;
  padding-left: 1.4em;
}

.post_content .ai-toc li {
  margin: 7px 0;
}

.post_content .ai-toc a {
  color: #333;
  text-decoration: none;
}

.post_content .ai-toc a:hover {
  color: #2b5ea6;
  text-decoration: underline;
}

/* 横方向の処理フロー */
.post_content .ai-flow-strip {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 26px 0;
}

.post_content .ai-flow-item {
  flex: 1;
  position: relative;
  padding: 18px 14px;
  background: #f8fafc;
  border-top: 3px solid #2b5ea6;
  text-align: center;
}

.post_content .ai-flow-no {
  display: block;
  margin-bottom: 7px;
  color: #2b5ea6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.post_content .ai-flow-item strong {
  display: block;
  margin-bottom: 4px;
  color: #1f3f73;
}

.post_content .ai-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8190a5;
  font-size: 1.25rem;
}

/* 積算ソフトとAIの役割分担 */
.post_content .ai-role-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin: 28px 0;
}

.post_content .ai-role-panel {
  padding: 24px;
  background: #f8fafc;
  border-top: 4px solid #2b5ea6;
}

.post_content .ai-role-panel.is-ai {
  border-top-color: #833c0b;
}

.post_content .ai-role-kicker {
  display: block;
  margin-bottom: 7px;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 700;
}

.post_content .ai-role-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #1f3f73;
  font-size: 1.12rem;
}

.post_content .ai-role-panel.is-ai strong {
  color: #833c0b;
}

.post_content .ai-role-plus {
  display: flex;
  align-items: center;
  font-size: 1.65rem;
  font-weight: 700;
  color: #8a96a8;
}

/* 入力・処理・出力の図解 */
.post_content .ai-extract-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
}

.post_content .ai-extract-col {
  min-height: 150px;
  padding: 20px 16px;
  background: #f8fafc;
  border-bottom: 3px solid #2b5ea6;
}

.post_content .ai-extract-col.is-process {
  background: #eef4fb;
  border-bottom-color: #d6a43a;
}

.post_content .ai-extract-col.is-output {
  border-bottom-color: #4d8662;
}

.post_content .ai-extract-title {
  display: block;
  margin-bottom: 10px;
  color: #1f3f73;
  font-weight: 700;
  text-align: center;
}

.post_content .ai-extract-col ul {
  margin: 0;
  padding-left: 1.2em;
}

.post_content .ai-extract-center {
  color: #8190a5;
  font-size: 1.4rem;
}

/* Before / After */
.post_content .ai-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin: 28px 0;
}

.post_content .ai-ba-side {
  padding: 22px 24px;
  background: #f8f8f8;
  border-left: 4px solid #a5aab3;
}

.post_content .ai-ba-side.is-after {
  background: #f3f8f5;
  border-left-color: #4d8662;
}

.post_content .ai-ba-label {
  display: block;
  margin-bottom: 9px;
  color: #555;
  font-size: 0.82rem;
  font-weight: 700;
}

.post_content .ai-ba-side.is-after .ai-ba-label {
  color: #356648;
}

.post_content .ai-ba-arrow {
  display: flex;
  align-items: center;
  color: #8190a5;
  font-size: 1.5rem;
}

/* 確認ルールの横線リスト */
.post_content .ai-rule-lines {
  margin: 24px 0;
  border-top: 1px solid #dfe5ed;
}

.post_content .ai-rule-line {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid #dfe5ed;
}

.post_content .ai-rule-number {
  color: #2b5ea6;
  font-size: 1.1rem;
  font-weight: 700;
}

/* AIが見られること・見られないこと */
.post_content .ai-warning-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0;
}

.post_content .ai-warning-side {
  padding: 22px;
  background: #f3f8f5;
  border-top: 4px solid #4d8662;
}

.post_content .ai-warning-side.is-limit {
  background: #fff7f2;
  border-top-color: #c76634;
}

.post_content .ai-warning-side strong {
  display: block;
  margin-bottom: 10px;
  color: #356648;
}

.post_content .ai-warning-side.is-limit strong {
  color: #9a4522;
}

/* 評価指標 */
.post_content .ai-metric-row {
  display: flex;
  gap: 0;
  margin: 26px 0;
  border-top: 1px solid #dfe5ed;
  border-bottom: 1px solid #dfe5ed;
}

.post_content .ai-metric-item {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid #dfe5ed;
}

.post_content .ai-metric-item:last-child {
  border-right: none;
}

.post_content .ai-metric-item strong {
  display: block;
  margin-bottom: 6px;
  color: #2b5ea6;
}

/* 導入ステップ */
.post_content .ai-timeline {
  position: relative;
  margin: 28px 0 28px 16px;
  padding-left: 34px;
}

.post_content .ai-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: #cfd8e5;
}

.post_content .ai-timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.post_content .ai-timeline-item:last-child {
  margin-bottom: 0;
}

.post_content .ai-timeline-number {
  position: absolute;
  top: 0;
  left: -34px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2b5ea6;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.post_content .ai-timeline-item strong {
  display: block;
  margin-bottom: 4px;
  color: #1f3f73;
}

/* 中間CTA：細い横長 */
.post_content .ai-inline-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 38px 0;
  padding: 20px 24px;
  background: #f6f8fb;
  border-left: 4px solid #2b5ea6;
}

.post_content .ai-inline-cta p {
  margin: 0;
}

.post_content .ai-inline-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #2b5ea6;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

/* FAQ */
.post_content .ai-faq {
  margin: 24px 0 38px;
  border-top: 1px solid #dfe5ed;
}

.post_content .ai-faq details {
  border-bottom: 1px solid #dfe5ed;
}

.post_content .ai-faq summary {
  position: relative;
  padding: 18px 42px 18px 4px;
  color: #1f3f73;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.post_content .ai-faq summary::-webkit-details-marker {
  display: none;
}

.post_content .ai-faq summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 8px;
  font-size: 1.4rem;
  color: #2b5ea6;
}

.post_content .ai-faq details[open] summary::after {
  content: "−";
}

.post_content .ai-faq-answer {
  padding: 0 4px 18px;
}

.post_content .ai-faq-answer p:last-child {
  margin-bottom: 0;
}

/* まとめ */
.post_content .ai-summary-rows {
  margin: 24px 0 32px;
}

.post_content .ai-summary-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #dfe5ed;
}

.post_content .ai-summary-row:first-child {
  border-top: 1px solid #dfe5ed;
}

.post_content .ai-summary-icon {
  color: #2b5ea6;
  font-weight: 700;
  text-align: center;
}

/* CTAタイトル */
.post_content .ai-cta-title {
  margin: 0 0 10px;
  color: #1f3f73;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.5;
}

/* スマートフォン */
@media (max-width: 768px) {
  .post_content .ai-learn-list {
    grid-template-columns: 1fr;
  }

  .post_content .ai-flow-strip {
    flex-direction: column;
  }

  .post_content .ai-flow-arrow {
    transform: rotate(90deg);
  }

  .post_content .ai-role-visual,
  .post_content .ai-before-after {
    grid-template-columns: 1fr;
  }

  .post_content .ai-role-plus,
  .post_content .ai-ba-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  .post_content .ai-extract-diagram {
    grid-template-columns: 1fr;
  }

  .post_content .ai-extract-center {
    text-align: center;
    transform: rotate(90deg);
  }

  .post_content .ai-warning-split {
    grid-template-columns: 1fr;
  }

  .post_content .ai-metric-row {
    flex-direction: column;
  }

  .post_content .ai-metric-item {
    border-right: none;
    border-bottom: 1px solid #dfe5ed;
  }

  .post_content .ai-metric-item:last-child {
    border-bottom: none;
  }

  .post_content .ai-inline-cta {
    grid-template-columns: 1fr;
  }

  .post_content .ai-inline-cta a {
    width: 100%;
  }

  .post_content .ai-toc {
    padding: 20px;
  }
}
/* ==================================================
   番号付き横線リストの崩れ防止
================================================== */
.post_content .ai-rule-lines {
  width: 100%;
  margin: 24px 0;
  border-top: 1px solid #dfe5ed;
}

.post_content .ai-rule-lines .ai-rule-line {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 14px !important;
  width: 100% !important;
  padding: 16px 4px !important;
  border-bottom: 1px solid #dfe5ed;
  box-sizing: border-box;
}

.post_content .ai-rule-lines .ai-rule-number {
  display: block;
  width: auto !important;
  min-width: 0 !important;
  color: #2b5ea6;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.post_content .ai-rule-lines .ai-rule-text {
  display: block;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  writing-mode: horizontal-tb !important;
  line-height: 1.8;
}

.post_content .ai-rule-lines .ai-rule-text strong {
  display: block;
  margin-bottom: 3px;
  color: #1f3f73;
}

@media (max-width: 768px) {
  .post_content .ai-rule-lines .ai-rule-line {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}
.grecaptcha-badge { visibility: hidden; }
.ait-home {
  max-width: 1120px;
  margin: 0 auto;
}

.ait-home * {
  box-sizing: border-box;
}

.ait-hero {
  padding: 88px 24px 80px;
  max-width: 900px;
}

.ait-eyebrow,
.ait-section-label,
.ait-related-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 12px;
  opacity: .6;
}

.ait-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.25;
  margin: 0 0 24px;
}

.ait-lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
}

.ait-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ait-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity .2s ease;
}

.ait-button:hover {
  opacity: .75;
}

.ait-button-primary {
  background: #111;
  color: #fff !important;
}

.ait-button-secondary {
  border: 1px solid #ccc;
  color: inherit !important;
}

.ait-section {
  padding: 72px 24px;
  border-top: 1px solid #e5e5e5;
}

.ait-section-heading,
.ait-category-intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.ait-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
}

.ait-section p {
  line-height: 1.85;
}

.ait-topic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ait-topic-card {
  padding: 26px 22px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit !important;
}

.ait-topic-card:hover,
.ait-link-card:hover,
.ait-dx-card:hover {
  transform: translateY(-2px);
  border-color: #999;
}

.ait-topic-number {
  font-size: 12px;
  opacity: .45;
}

.ait-topic-card h3 {
  font-size: 20px;
  margin: 16px 0 10px;
}

.ait-topic-card p {
  font-size: 14px;
}

.ait-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 13px;
}

.ait-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ait-link-card {
  display: block;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  color: inherit !important;
  text-decoration: none !important;
  transition: .2s ease;
}

.ait-link-card > span {
  font-size: 12px;
  opacity: .55;
}

.ait-link-card h3 {
  font-size: 18px;
  margin: 10px 0;
}

.ait-link-card p {
  font-size: 14px;
  margin-bottom: 0;
}

.ait-article-list {
  border-top: 1px solid #ddd;
}

.ait-article-list a {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) 1.5fr;
  gap: 24px;
  padding: 20px 4px;
  border-bottom: 1px solid #ddd;
  color: inherit !important;
  text-decoration: none !important;
}

.ait-article-list a:hover strong {
  text-decoration: underline;
}

.ait-article-list span {
  opacity: .7;
}

.ait-related-box {
  margin-top: 36px;
  padding: 28px;
  background: #f6f6f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-radius: 8px;
}

.ait-related-box h3 {
  margin: 0 0 8px;
}

.ait-related-box p {
  margin-bottom: 0;
}

.ait-text-button {
  white-space: nowrap;
  font-weight: 700;
  color: inherit !important;
}

.ait-dx-section {
  background: #f7f7f7;
}

.ait-dx-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ait-dx-card {
  display: block;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  color: inherit !important;
  text-decoration: none !important;
  transition: .2s ease;
}

.ait-dx-card > span {
  font-size: 11px;
  letter-spacing: .08em;
  opacity: .5;
}

.ait-dx-card h3 {
  margin: 14px 0 8px;
  font-size: 19px;
}

.ait-dx-card p {
  font-size: 14px;
}

.ait-center {
  margin-top: 36px;
  text-align: center;
}

.ait-company {
  max-width: 850px;
}

@media (max-width: 900px) {
  .ait-topic-grid,
  .ait-dx-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ait-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ait-hero {
    padding: 56px 20px;
  }

  .ait-section {
    padding: 52px 20px;
  }

  .ait-topic-grid,
  .ait-link-grid,
  .ait-dx-grid {
    grid-template-columns: 1fr;
  }

  .ait-article-list a {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .ait-related-box {
    display: block;
  }

  .ait-text-button {
    display: inline-block;
    margin-top: 18px;
  }
}		