/*
 * AI対策オプション（導入事例・FAQ）のスタイル。
 *
 * ツール記事の「まとめ」の直前に差し込まれるセクション。
 * H2 の黒帯（basic.css の `section h2`）と H3 は記事本文と同じ見た目になるよう、
 * ここでは中身のレイアウトだけを定義して見出しの装飾は継承させる。
 */

.toolAiContent {
  margin-bottom: 30px;
}

/* ------------------------------
   導入事例
   ------------------------------ */

.toolAiCaseStudy {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px dotted #9b9b9b;
}

.toolAiCaseStudy:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.toolAiCaseStudy-image {
  margin-bottom: 16px;
  text-align: center;
}

.toolAiCaseStudy-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.toolAiCaseStudy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 20px;
  padding: 16px;
  background: #f7f7f7;
  border-radius: 4px;
}

.toolAiCaseStudy-meta > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.toolAiCaseStudy-meta dt {
  font-size: 13px;
  color: #767676;
  white-space: nowrap;
}

.toolAiCaseStudy-meta dd {
  margin: 0;
  font-weight: bold;
  color: #292929;
}

.toolAiCaseStudy p {
  margin-bottom: 16px;
  line-height: 1.9;
}

/* ------------------------------
   FAQ
   ------------------------------ */

.toolAiFaq {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dotted #9b9b9b;
}

.toolAiFaq:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.toolAiFaq p {
  margin-bottom: 0;
  line-height: 1.9;
}

.toolAiFaq-answerMark {
  font-weight: bold;
  color: #767676;
  margin-right: 4px;
}

/* ------------------------------
   SP
   ------------------------------ */

@media screen and (max-width: 767px) {
  .toolAiCaseStudy-meta {
    flex-direction: column;
    gap: 4px;
    padding: 12px;
  }

  .toolAiCaseStudy {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
}
