/* 社内AIアプリ開発 — Cloud Assist（/ai/development/）ページ専用スタイル
   ファイル配置: /includes/ai-development/ai-development-style.css
   ai-development.html 内の <link rel="stylesheet" href="..."> から参照される。

   すべてのセレクタを .ai-dev-lp 配下にスコープし、WordPressテーマ(denettm)へ
   スタイルが漏れないようにしている。デザイントークン(CSS変数)も .ai-dev-lp 配下に
   限定して定義しているため、テーマ側の変数とは衝突しない。
   （兄弟ページ /includes/ai-data-analytics/ と同じ流儀） */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ================================================================
   DESIGN TOKENS（.ai-dev-lp 配下に限定）
   ================================================================ */
.ai-dev-lp {
  --denet-red: #C8161D;
  --denet-red-dark: #9E1016;
  --denet-red-100: #F5C4C6;
  --denet-red-50: #FBE7E8;
  --ink: #1A1A1A;
  --fg-1: #1A1A1A;
  --fg-2: #3E3E3E;
  --fg-3: #6E6E6E;
  --border-1: #E5E5E5;
  --border-3: #F0F0F0;
  --bg-0: #FFFFFF;
  --bg-soft: #F5F5F5;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;

  --fs-body: 17px;
  --fs-body-lg: 20px;
  --fs-small: 15px;

  --fw-bold: 700;
  --lh-heading: 1.4;
  --lh-body: 1.8;
  --ls-caps: 0.1em;
  --ls-heading: 0.02em;

  --radius-sm: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;

  --container-max: 1350px; /* mspに合わせる: WPテーマ本文コンテナ幅 */
  --container-pad: 24px;

  /* ラッパー自体の基本スタイル（旧 body 相当） */
  font-family: var(--font-jp);
  color: var(--fg-1);
  line-height: var(--lh-body);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

/* リセット（.ai-dev-lp 配下のみ） */
.ai-dev-lp *,
.ai-dev-lp *::before,
.ai-dev-lp *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* セクションはフルブリード（兄弟ページと同じセクション単位ブレイクアウト） */
.ai-dev-lp>section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 104px 0;
}

.ai-dev-lp .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.ai-dev-lp .bg-soft {
  background: var(--bg-soft);
}

/* ===== セクション見出し（左に赤バー） ===== */
.ai-dev-lp .sec-head {
  margin-bottom: 56px;
}

.ai-dev-lp .sec-eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--denet-red);
  font-weight: 700;
  margin-bottom: 14px;
}

.ai-dev-lp .sec-title {
  position: relative;
  font-size: 40px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  padding-left: 22px;
}

.ai-dev-lp .sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6%;
  width: 6px;
  height: 88%;
  background: var(--denet-red);
  border-radius: 1px;
}

.ai-dev-lp .sec-lead {
  margin-top: 22px;
  max-width: 820px;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--fg-2);
}

/* 日本語の不自然な改行を抑制し文節単位で折り返す（未対応ブラウザは無視） */
.ai-dev-lp .hero-catch,
.ai-dev-lp .hero-sub,
.ai-dev-lp .sec-lead,
.ai-dev-lp .card-desc,
.ai-dev-lp .svc-list li,
.ai-dev-lp .hero-trust,
.ai-dev-lp .hero-cta-note,
.ai-dev-lp .problem-bridge,
.ai-dev-lp .svc-bridge,
.ai-dev-lp .int-item,
.ai-dev-lp .faq-q,
.ai-dev-lp .faq-a p,
.ai-dev-lp .cta-sub,
.ai-dev-lp .cta-note,
.ai-dev-lp .cta-dl-lead {
  word-break: auto-phrase;
  line-break: strict;
}

/* ===== グリッド ===== */
.ai-dev-lp .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.ai-dev-lp .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* 標準カード */
.ai-dev-lp .card {
  background: var(--bg-0);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}

.ai-dev-lp .card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--denet-red-100);
  transform: translateY(-2px);
}

.ai-dev-lp .card-title {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-heading);
  margin-bottom: 12px;
}

.ai-dev-lp .card-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
}

/* ===================== HERO ===================== */
.ai-dev-lp #hero {
  background: var(--bg-0);
  /* 直上にテーマ出力のH1（固定ページタイトル）が入る。
     eyebrow廃止後もH1とキャッチコピー(h2)の間に適度な余白を確保する */
  padding: 32px 0 96px;
}

.ai-dev-lp .hero-catch {
  /* h1は2行構成・最長行約21字（約21.4em）。固定サイズでは列幅を超えて
     語中折り返しが発生するため、最初から幅連動で可変にする
     （兄弟ページ /ai/data-analytics/ と同じ実測係数。上限46px・
      1段目のfallbackはmin()非対応の旧ブラウザ用）。 */
  font-size: 42px;
  font-size: min(46px, calc((100vw - 63px) / 21.6));
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: var(--ls-heading);
  margin-bottom: 26px;
}

.ai-dev-lp .hero-catch .accent {
  color: var(--denet-red);
}

.ai-dev-lp .hero-sub {
  max-width: 900px;
  font-size: var(--fs-body-lg);
  color: var(--fg-2);
  line-height: var(--lh-body);
  margin-bottom: 30px;
}

.ai-dev-lp .hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* ヒーローCTA添え書き（マイクロコピー） */
.ai-dev-lp .hero-cta-note {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.8;
  margin-bottom: 30px;
}

.ai-dev-lp .btn-primary {
  padding: 14px 30px;
  background: var(--denet-red);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  max-width: 100%;
  flex: 0 1 auto;
  transition: all var(--dur-fast) var(--ease-standard);
}

.ai-dev-lp .btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ai-dev-lp .btn-primary:hover {
  background: var(--denet-red-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.ai-dev-lp .hero-trust {
  max-width: 900px;
  font-size: var(--fs-small);
  color: var(--fg-3);
  border-top: 1px solid var(--border-1);
  padding-top: 22px;
  line-height: 1.9;
}

/* ===================== PROBLEM ===================== */
/* .svc-bridge（Serviceセクション末尾のDify誘導文）は同じ「グリッド直後の橋渡し文」
   パターンのため共用する */
.ai-dev-lp .problem-bridge,
.ai-dev-lp .svc-bridge {
  margin: 56px auto 0;
  max-width: 860px;
  text-align: center;
  font-size: var(--fs-body-lg);
  font-weight: 500;
  color: var(--fg-1);
  line-height: var(--lh-body);
}

/* ===================== SERVICE（2つの開発メニュー） ===================== */
.ai-dev-lp .menu-card {
  display: flex;
  flex-direction: column;
}

/* メニューカード見出しの補足行（「—」区切りをやめ、2行目に落として可読性を上げる） */
.ai-dev-lp .menu-card .card-title .title-sub {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-2);
}

.ai-dev-lp .menu-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--denet-red);
  margin-bottom: 8px;
}

/* 使用技術タグ（カード下段に横並び・折り返し表示） */
.ai-dev-lp .tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

/* 「使用ツール: ○○」タグ（小型・控えめ表記） */
.ai-dev-lp .tool-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-3);
}

.ai-dev-lp .svc-label {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.ai-dev-lp .svc-list {
  list-style: none;
  margin-top: 6px;
}

.ai-dev-lp .svc-list li {
  padding: 13px 0;
  font-size: var(--fs-body);
  color: var(--fg-1);
  border-bottom: 1px solid var(--border-3);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.6;
}

.ai-dev-lp .svc-list li:last-child {
  border-bottom: none;
}

.ai-dev-lp .svc-list li::before {
  content: '✓';
  color: var(--denet-red);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.6;
}

/* ===================== INTEGRATION（既存システム連携） ===================== */
/* 4項目なので列数を明示（.grid-3のauto-fitに任せると中間幅で3+1の孤立行が出る）
   ・1101px以上: 4列1行 ・1100px以下: 2列2行 ・768px以下: 1列（下のSPブロック） */
.ai-dev-lp .int-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .ai-dev-lp .int-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ai-dev-lp .int-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-0);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-1);
  line-height: 1.6;
}

.ai-dev-lp .int-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--denet-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-dev-lp .int-check svg {
  width: 14px;
  height: 14px;
}

/* ===================== CASE・中間CTA ===================== */

/* 事例カードから詳細ページへのリンク */
.ai-dev-lp .case-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  font-size: 16px;
  font-weight: 700;
  color: var(--denet-red);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}

.ai-dev-lp .case-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-standard);
}

.ai-dev-lp .case-link:hover {
  color: var(--denet-red-dark);
  text-decoration: underline;
}

.ai-dev-lp .case-link:hover svg {
  transform: translateX(3px);
}

.ai-dev-lp .cta-inline {
  margin-top: 56px;
  text-align: center;
}

.ai-dev-lp .cta-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  font-size: 19px;
  font-weight: 700;
  color: var(--denet-red);
  text-decoration: none;
  border-bottom: 2px solid var(--denet-red-100);
  padding-bottom: 4px;
  transition: color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
}

.ai-dev-lp .cta-inline-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ai-dev-lp .cta-inline-link:hover {
  color: var(--denet-red-dark);
  border-color: var(--denet-red);
  text-decoration: none;
}

/* ServiceセクションのDify誘導リンク: .cta-inline を共用しつつ、
   直前の誘導文（.svc-bridge）との距離だけ詰める */
.ai-dev-lp .svc-bridge-cta {
  margin-top: 26px;
}

/* ===================== LIFECYCLE（3ポイントカード・上に赤バー） ===================== */
.ai-dev-lp .point-card {
  border-top: 4px solid var(--denet-red);
}

.ai-dev-lp .point-num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--denet-red);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ===================== FAQ（details/summary アコーディオン） ===================== */
.ai-dev-lp .faq-list {
  max-width: 900px;
}

.ai-dev-lp .faq-item {
  background: var(--bg-0);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}

.ai-dev-lp .faq-item:hover {
  border-color: var(--denet-red-100);
  box-shadow: var(--shadow-md);
}

.ai-dev-lp .faq-q {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 60px 22px 26px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.ai-dev-lp .faq-q::-webkit-details-marker {
  display: none;
}

.ai-dev-lp .faq-q::marker {
  content: "";
}

.ai-dev-lp .faq-q::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--denet-red);
}

.ai-dev-lp .faq-item[open] .faq-q::after {
  content: "−";
}

.ai-dev-lp .faq-mark {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  color: var(--denet-red);
  flex-shrink: 0;
  line-height: 1.6;
}

.ai-dev-lp .faq-a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 26px 24px;
}

.ai-dev-lp .faq-mark-a {
  color: var(--fg-3);
}

.ai-dev-lp .faq-a p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
}

/* ===================== CTA BAND ===================== */
.ai-dev-lp #cta {
  background: var(--denet-red);
  padding: 84px 0;
}

.ai-dev-lp .cta-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  text-align: center;
  color: #fff;
}

.ai-dev-lp .cta-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 18px;
}

.ai-dev-lp .cta-sub {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: var(--lh-body);
}

.ai-dev-lp .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 16px 40px;
  background: #fff;
  color: var(--denet-red);
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-standard);
}

.ai-dev-lp .cta-btn:hover {
  color: var(--denet-red-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ai-dev-lp .cta-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* CTAバンドの添え書き（マイクロコピー） */
.ai-dev-lp .cta-note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* CTAバンド内の資料DL並記枠（主CTA=相談の序列を保つ控えめなアウトライン） */
.ai-dev-lp .cta-dl {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.ai-dev-lp .cta-dl-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
  line-height: 1.8;
}

.ai-dev-lp .cta-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 13px 32px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-standard);
}

.ai-dev-lp .cta-dl-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ai-dev-lp .cta-dl-btn:hover {
  background: #fff;
  color: var(--denet-red);
  text-decoration: none;
}

/* ===================== 親ページへの戻りリンク ===================== */
.ai-dev-lp #backlink {
  padding: 48px 0;
  text-align: center;
}

.ai-dev-lp .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--denet-red);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}

.ai-dev-lp .back-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ai-dev-lp .back-link:hover {
  color: var(--denet-red-dark);
  text-decoration: underline;
}

/* ===== fade-up ===== */
.ai-dev-lp .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms var(--ease-standard), transform 500ms var(--ease-standard);
}

.ai-dev-lp .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ai-dev-lp .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  .ai-dev-lp .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===================== RESPONSIVE =====================
   ・.grid-3 は auto-fit で 3→2→1 列へ自動折返し
   ・.grid-2 は 768px 以下で 1 カラム化
   ・スマートフォン: h1は幅連動＋下限で文節折り返し、ボタンは全幅・縮小許可
   ====================================================== */

/* スマートフォン */
@media (max-width: 768px) {
  .ai-dev-lp {
    --container-pad: 18px;
  }

  /* スマホ幅ではブレイクアウトを解除し列いっぱいに収める（兄弟ページと同じ横ズレ対策） */
  .ai-dev-lp>section {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    padding: 56px 0;
  }

  .ai-dev-lp #hero {
    padding: 16px 0 56px;
  }

  .ai-dev-lp .sec-head {
    margin-bottom: 36px;
  }

  .ai-dev-lp .hero-catch {
    /* 最長行約21字のため、スマホでは単一行化せず幅連動＋下限21pxとし、
       下限到達時（約518px未満）は word-break: auto-phrase の文節折り返しに任せる */
    font-size: 21px;
    font-size: clamp(21px, (100vw - 64px) / 21.6, 31px);
    line-height: 1.45;
    margin-bottom: 20px;
  }

  .ai-dev-lp .sec-title {
    font-size: 28px;
  }

  .ai-dev-lp .cta-title {
    font-size: 28px;
  }

  .ai-dev-lp .hero-sub,
  .ai-dev-lp .sec-lead,
  .ai-dev-lp .problem-bridge,
  .ai-dev-lp .svc-bridge,
  .ai-dev-lp .cta-sub {
    font-size: 16px;
  }

  .ai-dev-lp .sec-lead {
    margin-top: 16px;
  }

  .ai-dev-lp .card-title {
    font-size: 20px;
  }

  /* PC用に手動で入れた <br> はスタイル上だけ無効化し、文節折り返しに任せる */
  .ai-dev-lp .cta-sub br {
    display: none;
  }

  /* カード類は1カラム化＋余白を詰める */
  .ai-dev-lp .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ai-dev-lp .grid-3 {
    gap: 16px;
  }

  .ai-dev-lp .int-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ai-dev-lp .card {
    padding: 26px 22px;
  }

  .ai-dev-lp .problem-bridge,
  .ai-dev-lp .svc-bridge {
    margin-top: 36px;
    text-align: left;
  }

  .ai-dev-lp .cta-inline {
    margin-top: 40px;
  }

  .ai-dev-lp .cta-inline-link {
    font-size: 17px;
  }

  /* Dify誘導リンクは誘導文（.svc-bridge）との距離を保つ
     （.cta-inline のモバイル margin-top: 40px より後に書いて優先させる） */
  .ai-dev-lp .svc-bridge-cta {
    margin-top: 20px;
    text-align: left;
  }

  .ai-dev-lp .faq-q {
    font-size: 16px;
    padding: 18px 52px 18px 20px;
  }

  .ai-dev-lp .faq-q::after {
    right: 20px;
  }

  .ai-dev-lp .faq-a {
    padding: 0 20px 20px;
  }

  /* ヒーローのCTAボタン: 内容幅＋親幅キャップ＋flex縮小許可
     （基底の white-space: nowrap を解除し、超過時はボタン内で折り返す） */
  .ai-dev-lp .hero-cta-row .btn-primary {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    align-self: flex-start;
    padding: 13px 22px;
    font-size: 16px;
    white-space: normal;
    text-align: left;
  }

  /* 下部CTAバンドのボタンは全幅・左右padding縮小で375pxでも1行に収める */
  .ai-dev-lp .cta-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }

  .ai-dev-lp .cta-dl-btn {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .ai-dev-lp #backlink {
    padding: 36px 0;
  }
}

/* 小型スマートフォン */
@media (max-width: 420px) {
  .ai-dev-lp {
    --container-pad: 16px;
  }

  .ai-dev-lp .sec-title {
    font-size: 24px;
  }

  .ai-dev-lp .cta-title {
    font-size: 24px;
  }

  .ai-dev-lp .card {
    padding: 24px 20px;
  }
}
