@charset "UTF-8";

/* ==========================================================================
   追記（2026.11.03）/ai/ を /service/ と同じ仕様に
   ・背景：PC /ai/img/ai_background.webp、スマホ（575.98px以下）/ai/img/ai_background_sp.webp
   ・本文は白の半透明パネル（.ai_bg_02）にのせる
   ========================================================================== */
.ai_bg_01 { background-image: url(/ai/img/ai_background.webp); background-size: cover; background-position: center center; background-attachment: fixed; }
.ai_bg_02 { background-color: hsla(0,0%,100%,0.72); padding: 36px 60px 48px 60px; border-radius: 12px; }

@media (max-width: 767.98px) {
.ai_bg_02 { background-color: hsla(0,0%,100%,0.72); padding: 24px 36px 24px 36px; border-radius: 36px; }
}
@media (max-width: 575.98px) {
.ai_bg_01 { background-image: url(/ai/img/ai_background_sp.webp); background-size: cover; background-position: center center; background-attachment: fixed; }
.ai_bg_02 { background-color: #FFFFFF; padding: 0px 24px; border-radius: 0px; }
}

/* ==========================================================================
   追記（2026.11.03）AI検索対策で押さえる3つのポイント（.ai-reason）
   ・992px以上：左にテキスト、右に画像（正方形）。テキストは画像の高さに対して上下中央
   ・991.98px以下：画像 → テキストの順に縦並び（画像は最大360px）
   ========================================================================== */
.ai-reason {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 40px;
}
.ai-reason__body h3 { margin-top: 0 !important; }
.ai-reason__img {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #e9f7fc;
  box-shadow: 0 10px 28px rgba(20, 40, 75, .08);
}
.ai-reason__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

@media (max-width: 991.98px) {
  .ai-reason { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .ai-reason__img { order: -1; width: 100%; max-width: 360px; margin: 0 auto; }
}
