/* AI導入支援ページの課題・比較・工程。共通部品の余白は変更しない。 */
.ai-implementation-content .rn-page-lead + .rn-page-lead { margin-top: 18px; }
.aim-hero-action { margin-top: 28px; }
.aim-contents { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 28px; border-bottom: 1px solid var(--c-border); font-size: 14px; }
.aim-contents a { text-decoration: underline; }
.aim-section { padding: 54px 0; }
.aim-section:nth-of-type(even) { background: #f7f9fc; }
.aim-section > .rn-container { max-width: 1060px; }
.aim-section h2 { margin: 0 0 24px; font-size: clamp(24px, 2.5vw, 31px); line-height: 1.5; }
.aim-section h3 { margin: 28px 0 12px; font-size: 20px; line-height: 1.6; }
.aim-section p { margin: 0 0 18px; color: var(--c-text-sub); font-size: 16px; line-height: 1.9; }
.aim-section a { color: #005bb5; text-decoration: underline; }
.aim-section .aim-source { font-size: 14px; }
.aim-problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.aim-problems article { border-top: 2px solid #aac9e6; padding-top: 20px; }
.aim-problems h3 { margin: 0 0 12px; }
.aim-problems p { margin: 0; }
.aim-section table { width: 100%; border-collapse: collapse; margin: 24px 0 36px; text-align: left; font-size: 15px; line-height: 1.8; }
.aim-section th, .aim-section td { padding: 18px 20px; border-bottom: 1px solid #dce4ed; vertical-align: top; }
.aim-section thead th { background: #eaf3fd; color: #164c79; }
.aim-section tbody th { width: 27%; }
.aim-section td { color: var(--c-text-sub); }
.aim-section .ai-flow h3 { margin: 8px 0 10px; font-size: 18px; }
.aim-section .ai-flow p { margin: 0; font-size: 14px; }
.aim-process { list-style: none; padding: 0; margin: 32px 0 0; }
.aim-process > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; position: relative; padding-bottom: 28px; }
.aim-process > li:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 54px; bottom: 8px; border-left: 2px solid #aac9e6; }
.aim-process > li:not(:last-child)::before { content: ''; position: absolute; left: 19px; bottom: 8px; width: 8px; height: 8px; border-right: 2px solid #aac9e6; border-bottom: 2px solid #aac9e6; transform: rotate(45deg); }
.aim-step { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #0066cc; color: white; font-size: 21px; font-weight: 700; }
.aim-process h3 { margin: 5px 0 10px; }
.aim-process p { margin: 0 0 10px; }
.aim-output { padding: 12px 16px; background: #edf4fc; }
.aim-output strong { display: block; color: #164c79; margin-bottom: 4px; }
@media (max-width: 768px) {
  .aim-section { padding: 38px 0; }
  .aim-section h3 { font-size: 18px; }
  .aim-problems { grid-template-columns: 1fr; gap: 24px; }
  .aim-section table, .aim-section tbody { display: block; }
  .aim-section thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .aim-section tbody tr { display: block; padding: 18px 0; border-top: 1px solid #ccdbe8; }
  .aim-section tbody th, .aim-section td { display: block; width: auto; padding: 7px 0; border: 0; }
  .aim-section tbody th { font-size: 17px; }
  .aim-section td::before { content: attr(data-label); display: block; color: #164c79; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
  .aim-process > li { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .aim-step { width: 38px; height: 38px; font-size: 18px; }
  .aim-process > li:not(:last-child)::after { left: 18px; top: 44px; }
  .aim-process > li:not(:last-child)::before { left: 14px; }
}
