/**
 * thinx-ai-platform.css – THINX AI分析基盤（AI Analytics Platform）
 *
 * 範囲（すべて ID スコープ。他コンポーネントへの副作用なし）:
 *   #thxAiPlatform  … /ai-platform/ サービスページ
 *   #thxAiCase      … /ai-platform/case-multi-store-hall/ 導入事例ページ
 *   #thxAiTeaser    … Home のティーザーセクション（Hero 直後）
 *   #thxSolutions / #thxMethodology 内の .thx-ai-* … 各ページに追加した AI セクション
 *
 * 共通部品（.thx-ai-card ほか）:
 *   - 説明だけのカード（.thx-ai-card）はホバーで動かさない
 *   - クリックできるカードは Home の Service カード（thinx-service.css）と同じ構造
 *     <a class="thx-ai-card-link"><div class="thx-ai-card thx-ai-card--link">…</div></a>。
 *     枠線と影は内側の div に付ける（thinx-header.css とサイト共通 CSS の
 *     「a { border-bottom: none !important; box-shadow: none !important; }」が <a> 自身の
 *     下枠線と影を消すため。2026-10-07 に原因を特定）
 *   - カードに backdrop-filter を使わない（端数の拡大率で下辺の枠線が欠ける描画の不具合を避ける）
 * 見出し・Statement Box・CTA の値は Solutions（thinx-solutions.css）と同じ。
 *
 * @package HelloElementorThinxChild
 */

/* ================================================================
 *  1. ページの土台（#thxAiPlatform / #thxAiCase）
 * ================================================================ */
#thxAiPlatform,
#thxAiCase {
  background-color: var(--thx-bg, #0B1320);
  color: #ECE7DA;
  padding: 140px 0 120px !important;
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, sans-serif;
  width: 100%;
}
#thxAiPlatform::before,
#thxAiCase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(200,190,170,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200,190,170,0.05) 1px, transparent 1px);
  background-size: 92px 92px;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 1;
}
#thxAiPlatform .thx-container,
#thxAiCase .thx-container { position: relative; z-index: 2; }

/* 見出し（Solutions と同値） */
#thxAiPlatform .thx-section-header,
#thxAiCase .thx-section-header { text-align: center; margin-bottom: 80px; }
#thxAiPlatform .thx-section-title-ja,
#thxAiCase .thx-section-title-ja {
  font-size: 20px; font-weight: 800; color: var(--thx-accent, #37AB9D);
  letter-spacing: 0.15em; margin: 0 0 12px; display: block;
}
#thxAiPlatform .thx-section-label,
#thxAiCase .thx-section-label {
  font-size: 13px; letter-spacing: 0.5em; color: var(--thx-muted, rgba(236,231,218,0.7));
  text-transform: uppercase; margin-bottom: 70px; display: block; position: relative;
}
#thxAiPlatform .thx-section-label::after,
#thxAiCase .thx-section-label::after {
  content: ""; position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 2px; background: var(--thx-accent, #37AB9D); opacity: 0.8;
}
#thxAiPlatform .thx-section-header > h2,
#thxAiCase .thx-section-header > h2 {
  font-family: Georgia, "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 4vw, 38px); font-weight: 400; line-height: 1.5;
  letter-spacing: 0.02em; color: #ECE7DA; text-align: center; margin: 0;
}
#thxAiPlatform .thx-ai-gap { margin-top: 140px; }
#thxAiPlatform .thx-ai-lead {
  max-width: 760px; margin: 40px auto 0; font-size: 16px; line-height: 2;
  color: rgba(236, 231, 218, 0.9); text-align: center;
}
#thxAiPlatform .thx-ai-section-note {
  max-width: 720px; margin: -40px auto 48px; font-size: 15px; line-height: 1.8;
  color: var(--thx-muted, rgba(236,231,218,0.7)); text-align: center;
}

/* Statement Box（Solutions と同値） */
#thxAiPlatform .thx-statement-box {
  background: radial-gradient(circle at center, rgba(55, 171, 157, 0.08) 0%, transparent 70%);
  border-top: 1px solid rgba(55, 171, 157, 0.3);
  border-bottom: 1px solid rgba(55, 171, 157, 0.3);
  padding: 50px 30px; margin: 0 auto 40px; max-width: 900px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
#thxAiPlatform .thx-statement-box::before,
#thxAiPlatform .thx-statement-box::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border-color: var(--thx-accent, #37AB9D); border-style: solid; opacity: 0.5;
}
#thxAiPlatform .thx-statement-box::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
#thxAiPlatform .thx-statement-box::after { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
#thxAiPlatform .thx-highlight-text {
  font-size: 24px; font-weight: 800; color: #fff; display: block; margin-bottom: 20px;
  letter-spacing: 0.15em; text-shadow: 0 0 20px rgba(55, 171, 157, 0.3);
}
#thxAiPlatform .thx-statement-text { font-size: 16px; line-height: 2; color: rgba(236, 231, 218, 0.9); max-width: 720px; }
/* 図のあとの独立メッセージ：冒頭の Statement Box と同じ部品・同じ幅で、前後に余白をとる
   （.thx-statement-box の margin 一括指定に負けないよう 2 クラスで指定） */
#thxAiPlatform .thx-statement-box.thx-ai-statement-standalone { margin: 120px auto 0; }
#thxAiPlatform .thx-ai-lead strong { color: #fff; font-weight: 700; }

/* ================================================================
 *  2. CTA（Solutions と同値。AI ページ・事例・Home ティーザーで使用）
 * ================================================================ */
#thxAiPlatform .thx-cta-wrapper { text-align: center; }
#thxAiPlatform .thx-ai-top-cta { margin-top: 40px; }
#thxAiPlatform .thx-ai-bottom-cta { margin-top: 100px; }

#thxAiPlatform .thx-cta-link,
#thxAiCase .thx-cta-link,
#thxAiTeaser .thx-cta-link { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; transition: all 0.3s ease; }
#thxAiPlatform .thx-cta-btn-text,
#thxAiCase .thx-cta-btn-text,
#thxAiTeaser .thx-cta-btn-text {
  font-size: 14px; font-weight: 700; letter-spacing: 0.15em; color: #fff; text-transform: uppercase;
  border-bottom: 1px solid rgba(55, 171, 157, 0.3); padding-bottom: 4px; transition: all 0.3s ease;
}
#thxAiPlatform .thx-cta-link:hover .thx-cta-btn-text,
#thxAiCase .thx-cta-link:hover .thx-cta-btn-text,
#thxAiTeaser .thx-cta-link:hover .thx-cta-btn-text { color: var(--thx-accent, #37AB9D); border-color: var(--thx-accent, #37AB9D); }
#thxAiPlatform .thx-cta-arrow,
#thxAiCase .thx-cta-arrow,
#thxAiTeaser .thx-cta-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(55, 171, 157, 0.3);
  display: flex; align-items: center; justify-content: center; color: var(--thx-accent, #37AB9D);
  position: relative; transition: all 0.4s ease; flex-shrink: 0;
}
#thxAiPlatform .thx-cta-link:hover .thx-cta-arrow,
#thxAiCase .thx-cta-link:hover .thx-cta-arrow,
#thxAiTeaser .thx-cta-link:hover .thx-cta-arrow {
  background: var(--thx-accent, #37AB9D); color: #fff; transform: translateX(5px);
  box-shadow: 0 0 20px rgba(55, 171, 157, 0.6);
}

/* ================================================================
 *  3. 共通部品：グリッドとカード
 * ================================================================ */
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-grid {
  display: grid; gap: 32px; margin: 0; padding: 0; list-style: none;
}
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--thx-card-bg, rgba(15, 28, 48, 0.4));
  border: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2));
  border-radius: 24px;
  padding: 40px 36px;
  color: inherit;
}
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-card-icon {
  display: block; font-size: 24px; color: var(--thx-accent, #37AB9D); margin-bottom: 20px;
}
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-card-tag,
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-num {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--thx-accent, #37AB9D); margin-bottom: 14px;
}
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-card-title {
  font-size: 18px; font-weight: 800; line-height: 1.5; color: #fff; margin: 0 0 12px;
}
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-card-desc {
  font-size: 15px; line-height: 1.75; color: rgba(236, 231, 218, 0.8); margin: 0;
}

/* クリックできるカード：Home の Service カードと同じ動き（枠線は内側の div に付ける） */
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card-link { display: block; height: 100%; text-decoration: none; color: inherit; }
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card--link {
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.6s ease, background-color 0.6s ease, box-shadow 0.6s ease;
}
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card-link:focus-visible { outline: none; }
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card-link:hover .thx-ai-card--link,
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card-link:focus-visible .thx-ai-card--link {
  border-color: rgba(55, 171, 157, 0.5);
  transform: translateY(-8px);
  background-color: rgba(10, 30, 56, 0.85);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(55, 171, 157, 0.12);
}
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card--link .thx-ai-card-desc { margin-bottom: 28px; }
:is(#thxAiPlatform, #thxAiCase) .thx-ai-more {
  margin-top: auto; display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.15em; color: var(--thx-accent, #37AB9D);
}
:is(#thxAiPlatform, #thxAiCase) .thx-ai-more-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(55, 171, 157, 0.3);
  display: flex; align-items: center; justify-content: center; font-size: 12px; transition: all 0.4s ease;
}
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card-link:hover .thx-ai-more-arrow,
:is(#thxAiPlatform, #thxAiCase) .thx-ai-card-link:focus-visible .thx-ai-more-arrow {
  background: var(--thx-accent, #37AB9D); color: #fff; border-color: var(--thx-accent, #37AB9D);
  transform: translateX(5px); box-shadow: 0 0 15px rgba(55, 171, 157, 0.5);
}

/* ================================================================
 *  4. #thxAiPlatform：仕組み（図解）
 * ================================================================ */
#thxAiPlatform .thx-ai-diagram { max-width: 960px; margin: 0 auto; }
#thxAiPlatform .thx-ai-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#thxAiPlatform .thx-ai-chips li {
  font-size: 14px; color: rgba(236, 231, 218, 0.85); border: 1px dashed rgba(200, 190, 170, 0.35);
  border-radius: 999px; padding: 6px 18px;
}
#thxAiPlatform .thx-ai-down { text-align: center; color: var(--thx-accent, #37AB9D); font-size: 16px; padding: 16px 0; }
#thxAiPlatform .thx-ai-layer {
  border: 1px solid rgba(55, 171, 157, 0.45); border-radius: 24px; padding: 32px 32px 24px;
  background: linear-gradient(135deg, rgba(55, 171, 157, 0.08) 0%, rgba(15, 28, 48, 0.5) 100%);
}
#thxAiPlatform .thx-ai-layer-label {
  display: block; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--thx-accent, #37AB9D); margin-bottom: 20px;
}
#thxAiPlatform .thx-ai-layer-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#thxAiPlatform .thx-ai-layer-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin: 0 auto; }
#thxAiPlatform .thx-ai-node {
  border: 1px solid rgba(200, 190, 170, 0.18); border-radius: 16px; background: rgba(11, 19, 32, 0.55);
  padding: 20px 16px; text-align: center; display: flex; flex-direction: column; gap: 6px;
}
#thxAiPlatform .thx-ai-node strong { font-size: 16px; color: #fff; font-weight: 800; }
#thxAiPlatform .thx-ai-node span { font-size: 14px; color: var(--thx-muted, rgba(236,231,218,0.7)); }
#thxAiPlatform .thx-ai-layer-foot { margin: 18px 0 0; text-align: center; font-size: 14px; color: rgba(236, 231, 218, 0.8); }
#thxAiPlatform .thx-ai-layer-foot i { color: var(--thx-accent, #37AB9D); margin-right: 8px; }

#thxAiPlatform .thx-ai-cycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#thxAiPlatform .thx-ai-cycle li {
  border: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2)); border-radius: 16px;
  background: var(--thx-card-bg, rgba(15, 28, 48, 0.4));
  padding: 24px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
#thxAiPlatform .thx-ai-cycle li.is-human { border-color: rgba(55, 171, 157, 0.6); }
#thxAiPlatform .thx-ai-cycle .thx-ai-num { margin-bottom: 4px; }
#thxAiPlatform .thx-ai-cycle strong { font-size: 16px; color: #fff; font-weight: 800; white-space: nowrap; }
#thxAiPlatform .thx-ai-cycle li > span:last-child { font-size: 14px; color: var(--thx-muted, rgba(236,231,218,0.7)); white-space: nowrap; }
#thxAiPlatform .thx-ai-loop { margin: 20px 0 0; text-align: center; font-size: 14px; color: rgba(236, 231, 218, 0.8); }
#thxAiPlatform .thx-ai-loop i { color: var(--thx-accent, #37AB9D); margin-right: 8px; }
#thxAiPlatform .thx-ai-note {
  margin: 36px auto 0; max-width: 720px; font-size: 14px; line-height: 1.8; font-style: normal;
  color: var(--thx-muted, rgba(236,231,218,0.7)); text-align: center;
}

/* ================================================================
 *  5. #thxAiPlatform：画面イメージ（架空データ）
 * ================================================================ */
#thxAiPlatform .thx-ai-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; max-width: 960px; margin: 0 auto; }
#thxAiPlatform .thx-ai-screen {
  border: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2)); border-radius: 16px; overflow: hidden;
  background: rgba(11, 19, 32, 0.85);
}
#thxAiPlatform .thx-ai-screen-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: rgba(236, 231, 218, 0.06); border-bottom: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2));
}
#thxAiPlatform .thx-ai-screen-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(236, 231, 218, 0.25); }
#thxAiPlatform .thx-ai-screen-bar em { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--thx-accent, #37AB9D); font-weight: 700; }
#thxAiPlatform .thx-ai-screen-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
#thxAiPlatform .thx-ai-msg { font-size: 14px; line-height: 1.7; border-radius: 12px; padding: 12px 14px; }
#thxAiPlatform .thx-ai-msg p { margin: 8px 0 0; }
#thxAiPlatform .thx-ai-msg--user { align-self: flex-end; max-width: 88%; background: rgba(55, 171, 157, 0.18); color: #fff; }
#thxAiPlatform .thx-ai-msg--ai { background: rgba(236, 231, 218, 0.05); border: 1px solid rgba(200, 190, 170, 0.15); color: rgba(236, 231, 218, 0.9); }
#thxAiPlatform .thx-ai-screen-meta { margin: 0; font-size: 13px; color: var(--thx-muted, rgba(236,231,218,0.7)); }
#thxAiPlatform .thx-ai-table { width: 100%; border: 0; border-collapse: collapse; font-size: 14px; margin: 0; }
#thxAiPlatform .thx-ai-table th,
#thxAiPlatform .thx-ai-table td { text-align: left; padding: 7px 8px; border: 0; border-bottom: 1px solid rgba(200, 190, 170, 0.15); color: rgba(236, 231, 218, 0.88); background: none; }
#thxAiPlatform .thx-ai-table th { font-size: 13px; color: var(--thx-accent, #37AB9D); font-weight: 700; white-space: nowrap; }
#thxAiPlatform .thx-ai-caption { margin: 20px 0 0; font-size: 14px; color: var(--thx-muted, rgba(236,231,218,0.7)); text-align: center; }

/* ================================================================
 *  6. #thxAiCase：導入事例
 * ================================================================ */
#thxAiCase .thx-ai-breadcrumb { font-size: 13px; color: var(--thx-muted, rgba(236,231,218,0.7)); margin-bottom: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
#thxAiCase .thx-ai-breadcrumb a { color: var(--thx-accent, #37AB9D); transition: color 0.3s ease; }
#thxAiCase .thx-ai-breadcrumb a:hover { color: #fff; }

#thxAiCase .thx-ai-profile {
  max-width: 900px; margin: -20px auto 100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2)); border-radius: 24px;
  background: var(--thx-card-bg, rgba(15, 28, 48, 0.4)); overflow: hidden;
}
#thxAiCase .thx-ai-profile > div { padding: 24px 28px; border-right: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2)); }
#thxAiCase .thx-ai-profile > div:last-child { border-right: 0; }
#thxAiCase .thx-ai-profile dt { font-size: 13px; font-weight: 700; color: var(--thx-accent, #37AB9D); letter-spacing: 0.15em; margin-bottom: 6px; }
#thxAiCase .thx-ai-profile dd { margin: 0; font-size: 15px; line-height: 1.7; color: #fff; }

#thxAiCase .thx-ai-case-section { max-width: 900px; margin: 0 auto 90px; }
#thxAiCase .thx-ai-case-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
/* セクション番号：Georgia は旧字体数字（3・4 などが下に伸びる）しか持たず lining-nums が効かない。
   見出しと同じ Noto Serif JP（thinx-base.css で読込済み）はライニング数字のため、番号もこの書体に統一し、
   ライニング・等幅を明示する。旧字体に戻らないよう Georgia は代替書体に含めない */
#thxAiCase .thx-ai-case-num {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 38px; font-weight: 400; line-height: 1; letter-spacing: 0.04em;
  color: rgba(55, 171, 157, 0.85);
  min-width: 2.6ch;
}
#thxAiCase .thx-ai-case-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--thx-accent, #37AB9D); margin-bottom: 4px; }
#thxAiCase .thx-ai-case-title { font-size: 22px; font-weight: 800; color: #fff; margin: 0; line-height: 1.4; }

/* 項目名｜説明 の 2 列（説明の 2 行目以降は説明列の左端にそろう）
   項目名は NEWS / REPORT ラベル（thinx-news.css .thx-news-tag）と同じ細枠ラベル。説明用なのでホバー演出なし */
#thxAiCase .thx-ai-rows { margin: 0; border-top: 1px solid rgba(200, 190, 170, 0.15); }
#thxAiCase .thx-ai-rows > div {
  display: grid; grid-template-columns: 12.5em minmax(0, 1fr); column-gap: 28px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid rgba(200, 190, 170, 0.15);
}
#thxAiCase .thx-ai-rows dt {
  justify-self: start;
  margin-top: 1px;
  padding: 3px 10px;
  border: 1px solid rgba(55, 171, 157, 0.55);
  border-radius: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.7;
  color: rgba(236, 231, 218, 0.95);
  white-space: nowrap;
}
#thxAiCase .thx-ai-rows dd { margin: 0; font-size: 15px; line-height: 1.85; color: rgba(236, 231, 218, 0.85); }
#thxAiCase .thx-ai-rows--when > div { grid-template-columns: 6em minmax(0, 1fr); }

#thxAiCase .thx-ai-case-cta { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 28px 56px; }

/* ================================================================
 *  7. #thxAiTeaser：Home ティーザー（Recruit / About teaser と同型）
 *     配置は「お知らせ」の直後。上下余白は Home の他セクション（News / About 等）と同じ 100px（SP 80px）
 * ================================================================ */
#thxAiTeaser {
  background-color: var(--thx-bg, #0B1320);
  color: #ECE7DA;
  padding: 100px 0 !important;
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, sans-serif;
  width: 100%;
  margin-top: -2px !important;
  margin-bottom: -2px !important;
}
#thxAiTeaser::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(200,190,170,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200,190,170,0.05) 1px, transparent 1px);
  background-size: 92px 92px;
  background-attachment: fixed;
  pointer-events: none; z-index: 1;
}
#thxAiTeaser .thx-container { position: relative; z-index: 2; }
#thxAiTeaser .thx-ai-teaser-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 60px; align-items: center; }
#thxAiTeaser .thx-ai-teaser-header { display: flex; flex-direction: column; margin-bottom: 32px; }
#thxAiTeaser .thx-ai-teaser-title-ja { font-size: 18px; font-weight: 700; color: var(--thx-accent, #37AB9D); letter-spacing: 0.02em; margin-bottom: 4px; }
#thxAiTeaser .thx-ai-teaser-label { font-size: 13px; letter-spacing: 0.4em; color: rgba(236, 231, 218, 0.7); text-transform: uppercase; display: block; margin-bottom: 16px; }
#thxAiTeaser .thx-ai-teaser-title {
  font-family: Georgia, "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 4vw, 38px); font-weight: 400; line-height: 1.5; letter-spacing: 0.02em; color: #ECE7DA; margin: 0;
}
#thxAiTeaser .thx-nb { display: inline-block; }
#thxAiTeaser .thx-ai-teaser-desc { font-size: 16px; line-height: 2; color: rgba(236, 231, 218, 0.9); max-width: 560px; margin: 0 0 36px; }

#thxAiTeaser .thx-ai-teaser-phases {
  list-style: none; margin: 0; padding: 12px 36px;
  background: var(--thx-card-bg, rgba(15, 28, 48, 0.4));
  border: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2)); border-radius: 24px;
}
#thxAiTeaser .thx-ai-teaser-phases li {
  display: grid; grid-template-columns: 6.5em minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid rgba(200, 190, 170, 0.12);
}
#thxAiTeaser .thx-ai-teaser-phases li:last-child { border-bottom: 0; }
#thxAiTeaser .thx-ai-teaser-phases .thx-ai-num {
  grid-row: span 2; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--thx-accent, #37AB9D);
}
#thxAiTeaser .thx-ai-teaser-phases strong { font-size: 17px; color: #fff; font-weight: 800; }
#thxAiTeaser .thx-ai-teaser-phases li > span:last-child { font-size: 15px; line-height: 1.7; color: rgba(236, 231, 218, 0.8); }

/* ================================================================
 *  8. Solutions・システム開発に追加したセクション
 *     （見出し・CTA は各ページの既存クラスをそのまま使う）
 * ================================================================ */
#thxSolutions .thx-ai-sec-head,
#thxMethodology .thx-ai-sec-head { margin-top: 140px; }
#thxSolutions .thx-ai-sec-lead {
  max-width: 760px; margin: -32px auto 56px; text-align: center;
  font-size: 16px; line-height: 2; color: rgba(236, 231, 218, 0.9);
}
#thxSolutions .thx-ai-sec-cta,
#thxMethodology .thx-ai-sec-cta { margin: 56px 0 0; text-align: center; }
#thxMethodology .thx-ai-sec-cta { margin-bottom: 140px; }

/* ================================================================
 *  9. Responsive
 * ================================================================ */
@media (max-width: 1024px) {
  #thxAiPlatform .thx-ai-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  #thxAiPlatform, #thxAiCase { padding: 130px 0 80px !important; }
  #thxAiPlatform .thx-section-label, #thxAiCase .thx-section-label { margin-bottom: 60px; }
  #thxAiPlatform .thx-ai-gap { margin-top: 100px; }
  #thxAiPlatform .thx-ai-lead, #thxAiPlatform .thx-ai-section-note { text-align: left; }

  :is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  :is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) .thx-ai-card { padding: 32px 28px; }

  #thxAiPlatform .thx-ai-layer { padding: 28px 20px 20px; }
  #thxAiPlatform .thx-ai-layer-row, #thxAiPlatform .thx-ai-layer-row--2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #thxAiPlatform .thx-statement-box.thx-ai-statement-standalone { margin-top: 80px; }
  #thxAiPlatform .thx-statement-box { padding: 40px 20px; }
  #thxAiPlatform .thx-ai-screens { grid-template-columns: minmax(0, 1fr); }

  #thxAiCase .thx-ai-profile { grid-template-columns: minmax(0, 1fr); }
  #thxAiCase .thx-ai-profile > div { border-right: 0; border-bottom: 1px solid var(--thx-border, rgba(200, 190, 170, 0.2)); }
  #thxAiCase .thx-ai-profile > div:last-child { border-bottom: 0; }

  #thxAiTeaser { padding: 80px 0 !important; }
  #thxAiTeaser .thx-ai-teaser-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  #thxSolutions .thx-ai-sec-head, #thxMethodology .thx-ai-sec-head { margin-top: 100px; }
  #thxMethodology .thx-ai-sec-cta { margin-bottom: 100px; }
  #thxSolutions .thx-ai-sec-lead { text-align: left; margin-top: -20px; }
}

@media (max-width: 600px) {
  #thxAiCase .thx-ai-rows > div,
  #thxAiCase .thx-ai-rows--when > div { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  #thxAiCase .thx-ai-case-head { gap: 14px; }
  #thxAiCase .thx-ai-case-num { font-size: 32px; }
  #thxAiCase .thx-ai-case-cta { flex-direction: column; align-items: flex-start; }
  #thxAiTeaser .thx-ai-teaser-phases { padding: 8px 24px; }
  #thxAiTeaser .thx-ai-teaser-phases li { grid-template-columns: minmax(0, 1fr); }
  #thxAiTeaser .thx-ai-teaser-phases .thx-ai-num { grid-row: auto; }
  :is(#thxAiPlatform, #thxAiCase, #thxAiTeaser) .thx-cta-btn-text { letter-spacing: 0.08em; }
}

@media (max-width: 480px) {
  #thxAiPlatform .thx-ai-cycle { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================
 *  10. 日本語の改行（固定改行を使わず、語句の途中で折り返さない）
 *      word-break: auto-phrase は対応ブラウザのみ有効（非対応では通常の折り返し）
 * ================================================================ */
:is(#thxAiPlatform, #thxAiCase, #thxAiTeaser) :is(h2, h3, h4, p, dd, dt, li, strong, span, figcaption, .thx-statement-text, .thx-highlight-text),
:is(#thxSolutions, #thxMethodology) :is(.thx-ai-card, .thx-ai-sec-lead, .thx-ai-sec-head) :is(h2, h3, p),
:is(#thxSolutions, #thxMethodology) .thx-ai-sec-head > h2 {
  word-break: auto-phrase;
}
:is(#thxAiPlatform, #thxAiCase, #thxSolutions, #thxMethodology) :is(.thx-ai-card-title, .thx-ai-case-title) { text-wrap: balance; }
:is(#thxAiPlatform, #thxAiCase, #thxAiTeaser, #thxSolutions, #thxMethodology) :is(.thx-ai-card-desc, .thx-ai-lead, .thx-ai-section-note, .thx-ai-sec-lead, .thx-ai-teaser-desc, .thx-statement-text) { text-wrap: pretty; }
