@charset "UTF-8";

/*  ====================================================
  service-detail.css
  各サービス詳細ページ共通スタイル
  ※ style.css / lower.css / service.css と併用
===================================================== */

/* ============================================================
  各ページのbody or sectionにクラスを付与して使い分け
============================================================ */
:root {
  --detail-color:        #9c27b0;   /* デフォルト：パープル（CRM） */
  --detail-color-light:  rgba(156, 39, 176, 0.08);
  --detail-color-grad:   linear-gradient(90deg, #9c27b0 0%, #7b1fa2 100%);
  --detail-shadow:       rgba(156, 39, 176, 0.25);
}

/* ── パープル（01 CRM） */
.page-crm {
  --detail-color:       #9c27b0;
  --detail-color-light: rgba(156, 39, 176, 0.08);
  --detail-color-grad:  linear-gradient(90deg, #9c27b0 0%, #7b1fa2 100%);
  --detail-shadow:      rgba(156, 39, 176, 0.25);
}
/* ── ブルー（02 データ基盤） */
.page-data-platform {
  --detail-color:       #2196F3;
  --detail-color-light: rgba(33, 150, 243, 0.08);
  --detail-color-grad:  linear-gradient(90deg, #2196F3 0%, #1976D2 100%);
  --detail-shadow:      rgba(33, 150, 243, 0.25);
}
/* ── ピンク（03 AI予測） */
.page-analytics {
  --detail-color:       #BE0161;
  --detail-color-light: rgba(190, 1, 97, 0.08);
  --detail-color-grad:  linear-gradient(90deg, #BE0161 0%, #ff4081 100%);
  --detail-shadow:      rgba(190, 1, 97, 0.25);
}
/* ── ティール（04 データ品質） */
.page-data-quality {
  --detail-color:       #00BCD4;
  --detail-color-light: rgba(0, 188, 212, 0.08);
  --detail-color-grad:  linear-gradient(90deg, #00BCD4 0%, #0097A7 100%);
  --detail-shadow:      rgba(0, 188, 212, 0.25);
}
/* ── グリーン（05 生成AI / 06 AIエージェント） */
.page-genai,
.page-ai-agent {
  --detail-color:       #4CAF50;
  --detail-color-light: rgba(76, 175, 80, 0.08);
  --detail-color-grad:  linear-gradient(90deg, #4CAF50 0%, #388E3C 100%);
  --detail-shadow:      rgba(76, 175, 80, 0.25);
}


/* ============================================================
  パンくずリスト
  ヒーローと背景を統一してシームレスに接続
============================================================ */
.breadcrumb {
  background: #080810;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.breadcrumb-inner {
  max-width: 1130px;
  margin: 0 auto;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
}
.breadcrumb-inner a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.breadcrumb-inner a:hover {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}
.breadcrumb-inner .sep {
  color: rgba(255,255,255,0.2);
}
.breadcrumb-inner .current {
  color: rgba(255,255,255,0.7);
}


/* ============================================================
  詳細ページ ヒーロー
============================================================ */
.detail-hero {
  margin-top: 0;
  padding: 100px 20px;
  background: linear-gradient(135deg, #0C0C14 0%, #111118 40%, #1e2235 75%, #2a3050 100%);
  position: relative;
  overflow: hidden;
}

/* 背景画像（サービス一覧ページと同じ mv_bg.jpg を薄く重ねる） */
.detail-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url(/assets/images/common/mv_bg.jpg) no-repeat center center;
  background-size: cover;
  opacity: 0.18;
  pointer-events: none;
}


.detail-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.detail-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.detail-hero-num {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: var(--detail-color-grad);
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.detail-hero-en {
  font-size: 13px;
  font-weight: bold;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
}

.detail-hero-ttl {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-feature-settings: "palt";
}

.detail-hero-lead {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 760px;
  margin: 0 0 40px;
}

.detail-hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  background: var(--detail-color-grad);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px var(--detail-shadow);
  transition: all 0.3s ease;
}
.detail-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--detail-shadow);
  opacity: 1;
}
.detail-hero-link {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}
.detail-hero-link:hover {
  color: #fff;
  opacity: 1;
}


/* ============================================================
  共通セクション設定
============================================================ */
.detail-section {
  padding: 80px 0;
}
.detail-section-white {
  background: #fff;
}
.detail-section-gray {
  background: #f8f9fa;
}
.detail-section-dark {
  background: linear-gradient(135deg, #0C0C14 0%, #111118 40%, #1e2235 75%, #2a3050 100%);
}

.detail-section-inner {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 15px;
}

/* セクション見出し（共通） */
.detail-section-head {
  margin-bottom: 56px;
  text-align: center;
}
.detail-section-head.align-left {
  text-align: left;
}
.detail-label {
  display: inline-block;
  padding: 5px 18px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: bold;
  color: var(--detail-color);
  background: var(--detail-color-light);
  border-radius: 20px;
  letter-spacing: 0.1em;
}
.detail-section-ttl {
  font-size: 32px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 16px;
  font-feature-settings: "palt";
}
.detail-section-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  max-width: 900px;
  margin: 0 auto;
}
.detail-section-head.align-left .detail-section-lead {
  margin: 0;
}

/* ダーク背景用 */
.detail-section-dark .detail-label {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}
.detail-section-dark .detail-section-ttl {
  color: #fff;
}
.detail-section-dark .detail-section-lead {
  color: rgba(255,255,255,0.75);
}


/* ============================================================
  ① CRM定義帯（ヒーロー直下）
============================================================ */
.crm-definition {
  background: #fff;
  padding: 72px 20px;
}
.crm-definition-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 左：キャッチ */
.crm-definition-catch {
  border-left: 4px solid var(--detail-color);
  padding-left: 28px;
}
.crm-definition-catch-ttl {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 24px;
  font-feature-settings: "palt";
}
.crm-definition-catch-body {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}
.crm-definition-catch-body strong {
  color: #1a1a2e;
  font-weight: bold;
}
.crm-definition-catch-close {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.crm-definition-catch-close strong {
  color: var(--detail-color);
  font-weight: bold;
}

/* 右：要素リスト */
.crm-definition-elements {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 36px 32px;
}
.crm-definition-elements-lead {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.crm-definition-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.crm-definition-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.crm-definition-list-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--detail-color-grad);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.crm-definition-list-text {
  font-size: 15px;
  font-weight: bold;
  color: #1a1a2e;
}
.crm-definition-emphasis {
  padding: 16px 20px;
  background: var(--detail-color-light);
  border-left: 3px solid var(--detail-color);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--detail-color);
  line-height: 1.8;
}

/* 円形関係図 */
.crm-circle-diagram {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto 28px;
}
.crm-circle-diagram svg.crm-circle-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.crm-circle-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--detail-color), #6a0080);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(156,39,176,0.35);
  z-index: 2;
}
.crm-circle-center-label {
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
}
.crm-circle-node {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--detail-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(156,39,176,0.15);
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: box-shadow 0.2s, transform 0.2s;
}
.crm-circle-node:hover {
  box-shadow: 0 6px 22px rgba(156,39,176,0.30);
  transform: translate(-50%, -50%) scale(1.07);
}
.crm-circle-node-num {
  font-size: 10px;
  font-weight: bold;
  color: var(--detail-color);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 3px;
}
.crm-circle-node-label {
  font-size: 12px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.3;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .crm-circle-diagram {
    width: 280px;
    height: 280px;
  }
  .crm-circle-center {
    width: 78px;
    height: 78px;
  }
  .crm-circle-center-label { font-size: 10px; }
  .crm-circle-node {
    width: 66px;
    height: 66px;
  }
  .crm-circle-node-label { font-size: 11px; }
}

/* レスポンシブ */
@media screen and (max-width: 834px) {
  .crm-definition-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .crm-definition-catch-ttl { font-size: 22px; }
}
@media screen and (max-width: 767px) {
  .crm-definition { padding: 48px 15px; }
  .crm-definition-catch { padding-left: 18px; }
  .crm-definition-catch-ttl { font-size: 20px; }
  .crm-definition-elements { padding: 24px 20px; }
}


/* ============================================================
  ② 失敗要因セクション（問題提起）
============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.problem-item {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 4px solid #e0e0e0;
  position: relative;
}
.problem-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--detail-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--detail-color);
}
.problem-item-ttl {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}
.problem-item-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #777;
}

/* 結論ボックス */
.problem-conclusion {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.problem-conclusion::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--detail-color);
  opacity: 0.08;
}
.problem-conclusion-ttl {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.problem-conclusion-txt {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.problem-conclusion-accent {
  color: #fff;
  font-weight: bold;
  border-bottom: 2px solid var(--detail-color);
}


/* ============================================================
  ③ CRM・データ戦略設計とは（思想セクション）
============================================================ */
.philosophy-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.philosophy-text {}
.philosophy-text p {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
}
.philosophy-text p:last-child {
  margin-bottom: 0;
}
.philosophy-text strong {
  color: #1a1a2e;
  font-weight: bold;
}

/* 図解ボックス */
.philosophy-diagram {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 36px 32px;
}
.philosophy-diagram-ttl {
  font-size: 13px;
  font-weight: bold;
  color: #999;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 24px;
}
.philosophy-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.philosophy-flow-item {
  background: #fff;
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.philosophy-flow-item + .philosophy-flow-item {
  margin-top: 4px;
}
.philosophy-flow-arrow {
  text-align: center;
  color: var(--detail-color);
  font-size: 18px;
  line-height: 1;
  padding: 4px 0;
}
.philosophy-flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--detail-color-grad);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.philosophy-flow-label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}
.philosophy-flow-sub {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}


/* ============================================================
  ④ 強み（思想ベース）
============================================================ */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.strength-item {
  background: #fff;
  border-radius: 12px;
  padding: 32px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}
.strength-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.strength-num {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: var(--detail-color-grad);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.strength-body {}
.strength-ttl {
  font-size: 17px;
  font-weight: bold;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.4;
}
.strength-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}


/* ============================================================
  ⑤ 支援領域（設計領域グリッド）
============================================================ */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.scope-item {
  background: #fff;
  border-radius: 10px;
  padding: 28px 26px;
  border-top: 3px solid var(--detail-color);
}
.scope-item-ttl {
  font-size: 16px;
  font-weight: bold;
  color: #1a1a2e;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #efefef;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scope-item-ttl-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--detail-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.scope-item-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  margin-bottom: 16px;
}
.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scope-tag {
  padding: 5px 13px;
  font-size: 12px;
  font-weight: bold;
  color: var(--detail-color);
  background: var(--detail-color-light);
  border-radius: 4px;
  border: 1px solid var(--detail-color);
}


/* ============================================================
  ⑥ 進め方（ステップフロー）
============================================================ */
.step-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step-flow::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--detail-color) 0%, rgba(156,39,176,0.2) 100%);
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--detail-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--detail-shadow);
}
.step-num-label {
  font-size: 9px;
  font-weight: bold;
  color: var(--detail-color);
  letter-spacing: 0.1em;
  line-height: 1;
}
.step-num {
  font-size: 22px;
  font-weight: bold;
  color: var(--detail-color);
  line-height: 1.1;
}
.step-ttl {
  font-size: 15px;
  font-weight: bold;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.4;
}
.step-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #777;
}
.howwework-img-wrap {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.howwework-img-label {
  font-size: 14px;
  font-weight: bold;
  color: var(--detail-color);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.howwework-img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.howwework-img-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #888;
  text-align: center;
}


/* ============================================================
  ⑦ 支援事例
============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #efefef;
  transition: box-shadow 0.3s ease;
}
.case-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.case-item-head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.case-industry-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: bold;
  color: var(--detail-color);
  background: var(--detail-color-light);
  border-radius: 3px;
  margin-bottom: 10px;
}
.case-item-ttl {
  font-size: 16px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
}
.case-item-body {
  padding: 18px 24px 22px;
}
.case-item-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 14px;
}
.case-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-item-tags span {
  padding: 3px 10px;
  font-size: 11px;
  color: #888;
  background: #f4f4f4;
  border-radius: 3px;
}


/* ============================================================
  ⑧ 関連ソリューション
============================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-item {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  text-decoration: none;
  border: 1px solid #efefef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.related-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--detail-color-grad);
}
.related-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  opacity: 1;
}
.related-item-num {
  font-size: 11px;
  font-weight: bold;
  color: #bbb;
  margin-bottom: 8px;
}
.related-item-ttl {
  font-size: 15px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 8px;
}
.related-item-en {
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.1em;
}
.related-item-arrow {
  position: absolute;
  bottom: 16px;
  right: 18px;
  font-size: 14px;
  color: var(--detail-color);
}

/* ガイド集CTA */
.guide-cta-wrap {
  margin-top: 48px;
  border-top: 1px solid #e8e8e8;
  padding-top: 40px;
}
.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 28px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.guide-cta:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transform: translateY(-2px);
  opacity: 1;
}
.guide-cta-body {
  flex: 1;
}
.guide-cta-eyebrow {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.12em;
  color: var(--detail-color);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.guide-cta-ttl {
  font-size: 17px;
  font-weight: bold;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.4;
}
.guide-cta-txt {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}
.guide-cta-arrow {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
  background: var(--detail-color);
  border-radius: 20px;
  padding: 10px 22px;
}
@media screen and (max-width: 767px) {
  .guide-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }
  .guide-cta-arrow {
    align-self: flex-start;
  }
}


/* ============================================================
  ⑨ CTAセクション
============================================================ */
.detail-cta {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 35% 45% at 85% 90%,
      rgba(190,1,97,0.09) 0%, transparent 70%),
    linear-gradient(135deg, #080810 0%, #111118 45%, #1e1e2c 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.detail-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,1,97,0.05) 0%, transparent 65%);
  opacity: 1;
}
.detail-cta-inner {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}
.detail-cta-ttl {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
  font-feature-settings: "palt";
}
.detail-cta-lead {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 20px;
}
.detail-cta-needs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.detail-cta-need {
  padding: 8px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
}
.detail-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* CTA note */
.detail-cta-note {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
/* `.detail-cta-need` を案Bトーンに */
.detail-cta-need {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
}
.detail-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: bold;
  color: #BE0161;
  background: #fff;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}
.detail-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  opacity: 1;
}
.detail-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: bold;
  color: rgba(255,255,255,0.8);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.detail-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.60);
  transform: translateY(-3px);
  opacity: 1;
}


/* ============================================================
  ⑦ 支援事例：業界実績補足
============================================================ */
.case-industries {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #efefef;
}
.case-industries-label {
  font-size: 12px;
  font-weight: bold;
  color: #bbb;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-align: center;
}
.case-industry-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.case-industry-tag-item {
  padding: 5px 14px;
  font-size: 12px;
  color: #666;
  background: #f4f4f4;
  border-radius: 20px;
  border: 1px solid #e8e8e8;
}


/* ============================================================
  ⑧ FAQ
============================================================ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #efefef;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

/* Q行（クリックで開閉） */
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }

.faq-q-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--detail-color-grad);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  margin-top: 1px;
}

.faq-q-text {
  flex: 1;
  font-size: 16px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
  padding-top: 4px;
}

.faq-q-arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--detail-color);
  margin-top: 4px;
  transition: transform 0.3s ease;
}
details[open] .faq-q-arrow {
  transform: rotate(180deg);
}

/* A行 */
.faq-a {
  padding: 0 28px 24px 76px;
  border-top: 1px solid #f0f0f0;
}
.faq-a-inner {
  padding-top: 20px;
}
.faq-a-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}
.faq-a-list {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-a-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.6;
}
.faq-a-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--detail-color);
  margin-top: 7px;
}
.faq-a-close {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.faq-a-emphasis {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: bold;
  color: var(--detail-color);
  background: var(--detail-color-light);
  border-left: 3px solid var(--detail-color);
  border-radius: 0 6px 6px 0;
  line-height: 1.7;
}

/* レスポンシブ */
@media screen and (max-width: 767px) {
  .faq-q { padding: 18px 20px; gap: 12px; }
  .faq-q-text { font-size: 14px; }
  .faq-a { padding: 0 20px 20px 20px; }
  .faq-a-lead,
  .faq-a-list li,
  .faq-a-close { font-size: 14px; }
}


/* ============================================================
  レスポンシブ
============================================================ */
@media screen and (max-width: 1024px) {
  .step-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .step-flow::before {
    display: none;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 834px) {
  .detail-hero {
    padding: 60px 20px;
  }
  .detail-hero-ttl {
    font-size: 32px;
  }
  .detail-hero-lead {
    font-size: 15px;
  }
  .detail-section {
    padding: 60px 0;
  }
  .detail-section-ttl {
    font-size: 26px;
  }
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .philosophy-wrap {
    grid-template-columns: 1fr;
  }
  .strength-grid {
    grid-template-columns: 1fr;
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-cta-ttl {
    font-size: 26px;
  }
}

@media screen and (max-width: 767px) {
  .detail-hero {
    margin-top: 72px;
    padding: 48px 15px 44px;
  }
  .detail-hero-ttl {
    font-size: 26px;
  }
  .detail-hero-lead {
    font-size: 14px;
  }
  .detail-hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-section-ttl {
    font-size: 22px;
  }
  .detail-section-lead {
    font-size: 14px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-conclusion {
    padding: 28px 20px;
  }
  .problem-conclusion-ttl {
    font-size: 18px;
  }
  .step-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-cta {
    padding: 60px 0;
  }
  .detail-cta-ttl {
    font-size: 22px;
  }
  .detail-cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .detail-cta-btn-primary,
  .detail-cta-btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}


/* ============================================================
  データ基盤構築ページ固有スタイル
  （service/data-infrastructure.html）
============================================================ */

/* ── 5ステップフロー（共通の4列を上書き） */
.page-data-platform .step-flow {
  grid-template-columns: repeat(5, 1fr);
}
.page-data-platform .step-flow::before {
  left: calc(10%);
  right: calc(10%);
}
/* タブレット：5→3列 */
@media screen and (max-width: 1024px) {
  .page-data-platform .step-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .page-data-platform .step-flow::before {
    display: none;
  }
}
/* スマホ：1列 */
@media screen and (max-width: 767px) {
  .page-data-platform .step-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── 思想帯（ヒーロー直下） */
.di-philosophy {
  background: #fff;
  padding: 72px 20px;
}
.di-philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 左：キャッチ */
.di-philosophy-catch {
  border-left: 4px solid var(--detail-color);
  padding-left: 28px;
}
.di-philosophy-catch-ttl {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 24px;
  font-feature-settings: "palt";
}
.di-philosophy-catch-body {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}
.di-philosophy-catch-body strong {
  color: #1a1a2e;
  font-weight: bold;
}
.di-philosophy-catch-close {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.di-philosophy-catch-close strong {
  color: var(--detail-color);
  font-weight: bold;
}

/* 右：Before/After図ラッパー */
.di-philosophy-diagram {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 36px 28px;
}
.di-philosophy-diagram-ttl {
  font-size: 13px;
  font-weight: bold;
  color: #999;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 24px;
}

/* Before / After 比較図 */
.di-before-after {
  display: flex;
  align-items: center;
  gap: 16px;
}
.di-ba-col {
  flex: 1;
  min-width: 0;
}
.di-ba-label {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 14px;
  padding: 4px 0;
  border-radius: 4px;
}
.di-ba-label-before {
  color: #999;
  background: #eee;
}
.di-ba-label-after {
  color: #fff;
  background: var(--detail-color);
}

/* BEFORE：ノードリスト */
.di-ba-nodes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.di-ba-node {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  color: #666;
}
.di-ba-node-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #999;
}

/* 状態表示バー */
.di-ba-state {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.4;
}
.di-ba-state-before {
  background: #fff0f0;
  color: #c62828;
}
.di-ba-state-before svg {
  flex-shrink: 0;
  stroke: #c62828;
}
.di-ba-state-after {
  background: rgba(33, 150, 243, 0.08);
  color: var(--detail-color);
}
.di-ba-state-after svg {
  flex-shrink: 0;
  stroke: var(--detail-color);
}

/* 中央矢印 */
.di-ba-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.di-ba-arrow span {
  font-size: 10px;
  font-weight: bold;
  color: var(--detail-color);
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

/* AFTER：ハブ図 */
.di-ba-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.di-ba-hub-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--detail-color-grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 16px var(--detail-shadow);
}
.di-ba-hub-center span {
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
}
.di-ba-hub-spokes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.di-ba-hub-spoke {
  font-size: 11px;
  font-weight: bold;
  color: var(--detail-color);
  background: var(--detail-color-light);
  border: 1px solid var(--detail-color);
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
}


/* ── アーキテクチャ図（HOW WE WORK内） */
.di-arch-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 32px 24px;
  margin-top: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 列共通 */
.di-arch-sources,
.di-arch-platform,
.di-arch-outputs {
  flex-shrink: 0;
}
.di-arch-col-label {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #999;
  text-align: center;
  margin-bottom: 14px;
}

/* データソース列 */
.di-arch-sources {
  min-width: 120px;
}
.di-arch-source-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.di-arch-source-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  color: #555;
  white-space: nowrap;
}
.di-arch-source-item svg {
  flex-shrink: 0;
  color: #888;
}

/* 矢印 */
.di-arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  flex-shrink: 0;
  min-width: 72px;
}
.di-arch-arrow-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--detail-color), rgba(33,150,243,0.3));
  position: relative;
}
.di-arch-arrow-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left: 8px solid var(--detail-color);
}
.di-arch-arrow-label {
  font-size: 10px;
  font-weight: bold;
  color: var(--detail-color);
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}

/* 統合基盤列 */
.di-arch-platform {
  min-width: 220px;
}
.di-arch-platform-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.di-arch-platform-layer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid;
}
.di-arch-layer-cdp {
  background: rgba(33, 150, 243, 0.06);
  border-color: rgba(33, 150, 243, 0.3);
}
.di-arch-layer-dwh {
  background: rgba(33, 150, 243, 0.03);
  border-color: rgba(33, 150, 243, 0.2);
}
.di-arch-layer-lake {
  background: rgba(33, 150, 243, 0.02);
  border-color: rgba(33, 150, 243, 0.15);
}
.di-arch-layer-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  background: var(--detail-color-grad);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}
.di-arch-layer-text {
  font-size: 12px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
}
.di-arch-layer-text small {
  display: block;
  font-size: 10px;
  font-weight: normal;
  color: #999;
  margin-top: 2px;
}

/* 活用先列 */
.di-arch-outputs {
  min-width: 120px;
}
.di-arch-output-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.di-arch-output-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}
.di-arch-output-crm {
  background: rgba(33,150,243,0.07);
  color: var(--detail-color);
  border: 1px solid rgba(33,150,243,0.2);
}
.di-arch-output-ai {
  background: rgba(33,150,243,0.05);
  color: var(--detail-color);
  border: 1px solid rgba(33,150,243,0.15);
}
.di-arch-output-bi {
  background: rgba(33,150,243,0.04);
  color: var(--detail-color);
  border: 1px solid rgba(33,150,243,0.12);
}
.di-arch-output-ma {
  background: rgba(33,150,243,0.03);
  color: var(--detail-color);
  border: 1px solid rgba(33,150,243,0.10);
}
.di-arch-output-item svg {
  flex-shrink: 0;
}


/* ── レスポンシブ（データ基盤ページ固有） */
@media screen and (max-width: 834px) {
  .di-philosophy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .di-philosophy-catch-ttl { font-size: 22px; }
  .di-before-after {
    flex-direction: column;
    gap: 12px;
  }
  .di-ba-arrow {
    flex-direction: row;
    gap: 8px;
  }
  .di-ba-arrow svg {
    transform: rotate(90deg);
  }
}
@media screen and (max-width: 767px) {
  .di-philosophy { padding: 48px 15px; }
  .di-philosophy-catch { padding-left: 18px; }
  .di-philosophy-catch-ttl { font-size: 20px; }
  .di-philosophy-diagram { padding: 24px 20px; }
  .di-arch-diagram {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 16px;
  }
  .di-arch-arrow {
    flex-direction: row;
    justify-content: center;
    min-width: auto;
  }
  .di-arch-arrow-line {
    transform: rotate(90deg);
  }
  .di-arch-source-items,
  .di-arch-output-items {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .di-arch-source-item,
  .di-arch-output-item {
    flex: 1;
    min-width: calc(50% - 4px);
    justify-content: center;
  }
  .di-arch-col-label {
    text-align: left;
  }
}


/* ============================================================
  AI予測・顧客分析ページ固有スタイル
  （service/data-analysis.html）
============================================================ */

/* ── 5ステップフロー（共通の4列を上書き） */
.page-analytics .step-flow {
  grid-template-columns: repeat(5, 1fr);
}
.page-analytics .step-flow::before {
  left: calc(10%);
  right: calc(10%);
}
/* タブレット：5→3列 */
@media screen and (max-width: 1024px) {
  .page-analytics .step-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .page-analytics .step-flow::before {
    display: none;
  }
}
/* スマホ：1列 */
@media screen and (max-width: 767px) {
  .page-analytics .step-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ── 思想帯（ヒーロー直下） */
.da-philosophy {
  background: #fff;
  padding: 72px 20px;
}
.da-philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 左：キャッチ */
.da-philosophy-catch {
  border-left: 4px solid var(--detail-color);
  padding-left: 28px;
}
.da-philosophy-catch-ttl {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 24px;
  font-feature-settings: "palt";
}
.da-philosophy-catch-body {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
}
.da-philosophy-catch-body strong {
  color: #1a1a2e;
  font-weight: bold;
}
.da-philosophy-catch-close {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.da-philosophy-catch-close strong {
  color: var(--detail-color);
  font-weight: bold;
}

/* 右：Before/After図ラッパー */
.da-philosophy-diagram {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 36px 28px;
}
.da-philosophy-diagram-ttl {
  font-size: 13px;
  font-weight: bold;
  color: #999;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 24px;
}


/* ── Before / After 比較図（分析ページ） */
.da-before-after {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.da-ba-col {
  flex: 1;
  min-width: 0;
}
.da-ba-label {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 12px;
  padding: 4px 0;
  border-radius: 4px;
}
.da-ba-label-before {
  color: #999;
  background: #eee;
}
.da-ba-label-after {
  color: #fff;
  background: var(--detail-color);
}

/* アイテムリスト */
.da-ba-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.da-ba-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}
.da-ba-item-before {
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #999;
}
.da-ba-item-before svg {
  flex-shrink: 0;
  color: #c62828;
  stroke: #c62828;
}
.da-ba-item-after {
  background: rgba(190, 1, 97, 0.06);
  border: 1px solid rgba(190, 1, 97, 0.2);
  color: var(--detail-color);
}
.da-ba-item-after svg {
  flex-shrink: 0;
  stroke: var(--detail-color);
}

/* 中央矢印 */
.da-ba-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 34px; /* ラベル分のオフセット */
}
.da-ba-arrow span {
  font-size: 10px;
  font-weight: bold;
  color: var(--detail-color);
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}


/* ── サイクル図（HOW WE WORK 内） */
.da-cycle-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 36px 24px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* 各ノード */
.da-cycle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 110px;
  padding: 16px 12px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #ebebeb;
  transition: box-shadow 0.2s, transform 0.2s;
}
.da-cycle-item:hover {
  box-shadow: 0 4px 16px rgba(190, 1, 97, 0.12);
  transform: translateY(-2px);
}
.da-cycle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--detail-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--detail-color);
  flex-shrink: 0;
}
.da-cycle-label {
  font-size: 13px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.4;
}
.da-cycle-sub {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}

/* ノード間矢印 */
.da-cycle-arrow {
  font-size: 22px;
  color: var(--detail-color);
  flex-shrink: 0;
  padding: 0 6px;
  line-height: 1;
  align-self: center;
  margin-top: -20px; /* ノード中央に合わせる */
}

/* 最後の戻り矢印（サイクル感） */
.da-cycle-arrow-return {
  font-size: 20px;
  color: var(--detail-color);
  opacity: 0.5;
  flex-shrink: 0;
  padding: 0 6px;
  line-height: 1;
  align-self: center;
  margin-top: -20px;
}


/* ── レスポンシブ（分析ページ固有） */
@media screen and (max-width: 834px) {
  .da-philosophy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .da-philosophy-catch-ttl { font-size: 22px; }
  .da-before-after {
    gap: 10px;
  }
  .da-cycle-diagram {
    gap: 4px;
    padding: 24px 16px;
  }
  .da-cycle-item {
    min-width: 90px;
    padding: 12px 8px;
  }
  .da-cycle-arrow,
  .da-cycle-arrow-return {
    font-size: 18px;
    padding: 0 2px;
  }
}
@media screen and (max-width: 767px) {
  .da-philosophy { padding: 48px 15px; }
  .da-philosophy-catch { padding-left: 18px; }
  .da-philosophy-catch-ttl { font-size: 20px; }
  .da-philosophy-diagram { padding: 24px 16px; }
  .da-before-after {
    flex-direction: column;
    gap: 12px;
  }
  .da-ba-arrow {
    flex-direction: row;
    padding-top: 0;
    justify-content: center;
  }
  .da-ba-arrow svg {
    transform: rotate(90deg);
  }
  .da-cycle-diagram {
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    gap: 0;
  }
  .da-cycle-item {
    width: 100%;
    min-width: unset;
    flex-direction: row;
    text-align: left;
    gap: 14px;
    padding: 12px 16px;
  }
  .da-cycle-icon {
    flex-shrink: 0;
  }
  .da-cycle-arrow,
  .da-cycle-arrow-return {
    transform: rotate(90deg);
    margin: 4px 0;
    padding: 0;
  }
}


/* ============================================================
  SCOPEセクション ミニ図（.smd-*）
  分析ページ（data-analysis.html）固有
============================================================ */

/* 共通ラッパー */
.scope-mini-diagram {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #efefef;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 01 分析戦略・KPI設計：3ステップフロー */
.smd-kpi {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
}
.smd-kpi-node {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #666;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  white-space: nowrap;
}
.smd-kpi-node--accent {
  color: var(--detail-color);
  border-color: var(--detail-color);
  background: var(--detail-color-light);
}
.smd-kpi-arrow {
  font-size: 13px;
  color: #ccc;
  flex-shrink: 0;
}

/* ── 02 顧客分析・CRM分析：セグメント分布バー */
.smd-seg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.smd-seg-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.smd-seg-label {
  font-size: 10px;
  font-weight: bold;
  color: #999;
  width: 52px;
  flex-shrink: 0;
  text-align: right;
}
.smd-seg-label--risk {
  color: #c62828;
}
.smd-seg-track {
  flex: 1;
  height: 8px;
  background: #ebebeb;
  border-radius: 4px;
  overflow: hidden;
}
.smd-seg-fill {
  height: 100%;
  background: var(--detail-color);
  border-radius: 4px;
  opacity: 0.55;
}
.smd-seg-fill--risk {
  background: #c62828;
  opacity: 0.45;
}

/* ── 03 AI・予測分析：折れ線SVG（HTML側でインライン記述） */
.smd-forecast {
  width: 100%;
  line-height: 0;
}

/* ── 04 BI・分析環境構築：ダッシュボードパネル */
.smd-bi {
  width: 100%;
}
.smd-bi-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.smd-bi-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smd-bi-panel--wide {
  flex: 1;
}

/* ── 05 分析運用・内製化支援：ステップ進捗ライン */
.smd-ops {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}
.smd-ops-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.smd-ops-step span {
  font-size: 10px;
  font-weight: bold;
  color: #aaa;
  white-space: nowrap;
}
.smd-ops-step--accent span {
  color: var(--detail-color);
}
.smd-ops-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #ccc;
}
.smd-ops-dot--accent {
  background: var(--detail-color);
  border-color: var(--detail-color);
  box-shadow: 0 0 0 3px var(--detail-color-light);
}
.smd-ops-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #ccc, var(--detail-color));
  margin: 0 4px;
  margin-bottom: 17px; /* ラベル分のオフセット */
  min-width: 24px;
}


/* ── 06 分析AI・生成AI活用：データ→生成AI→アウトプット */
.smd-genai {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.smd-genai-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: bold;
  color: #999;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 8px;
  white-space: nowrap;
}
.smd-genai-input svg { color: #bbb; }
.smd-genai-arrow {
  font-size: 14px;
  color: #ccc;
  flex-shrink: 0;
}
.smd-genai-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  background: var(--detail-color-grad);
  border-radius: 8px;
  padding: 8px 10px;
  white-space: nowrap;
  box-shadow: 0 2px 8px var(--detail-shadow);
}
.smd-genai-outputs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.smd-genai-outputs span {
  font-size: 10px;
  font-weight: bold;
  color: var(--detail-color);
  background: var(--detail-color-light);
  border: 1px solid var(--detail-color);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}


/* ============================================================
  データ品質・ガバナンスページ固有スタイル
  （service/data-quality.html）
============================================================ */

/* ── 5ステップフロー（共通の4列を上書き） */
.page-data-quality .step-flow {
  grid-template-columns: repeat(5, 1fr);
}
.page-data-quality .step-flow::before {
  left: calc(10%);
  right: calc(10%);
}
/* タブレット：5→3列 */
@media screen and (max-width: 1024px) {
  .page-data-quality .step-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .page-data-quality .step-flow::before {
    display: none;
  }
}
/* スマホ：1列 */
@media screen and (max-width: 767px) {
  .page-data-quality .step-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ── 思想帯（ヒーロー直下） */
.dq-philosophy {
  background: #fff;
  padding: 72px 20px;
}
.dq-philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 左：キャッチ */
.dq-philosophy-catch {
  border-left: 4px solid var(--detail-color);
  padding-left: 28px;
}
.dq-philosophy-catch-ttl {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 24px;
  font-feature-settings: "palt";
}
.dq-philosophy-catch-body {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}
.dq-philosophy-catch-body strong {
  color: #1a1a2e;
  font-weight: bold;
}
.dq-philosophy-catch-close {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.dq-philosophy-catch-close strong {
  color: var(--detail-color);
  font-weight: bold;
}

/* 右：Before/After図ラッパー */
.dq-philosophy-diagram {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 32px 24px;
}
.dq-philosophy-diagram-ttl {
  font-size: 13px;
  font-weight: bold;
  color: #999;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 20px;
}


/* ── Before / After 比較（データ品質ページ） */
.dq-before-after {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.dq-ba-col {
  flex: 1;
  min-width: 0;
}
.dq-ba-label {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 12px;
  padding: 4px 0;
  border-radius: 4px;
}
.dq-ba-label-before {
  color: #999;
  background: #eee;
}
.dq-ba-label-after {
  color: #fff;
  background: var(--detail-color);
}

/* ノードリスト（BEFORE / AFTER 共通） */
.dq-ba-nodes {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dq-ba-node {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
}
.dq-ba-node-bad {
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #999;
}
.dq-ba-node-bad .dq-ba-node-icon {
  flex-shrink: 0;
  color: #c62828;
  stroke: #c62828;
}
.dq-ba-node-good {
  background: rgba(0, 188, 212, 0.06);
  border: 1px solid rgba(0, 188, 212, 0.25);
  color: var(--detail-color);
}
.dq-ba-node-good .dq-ba-node-icon {
  flex-shrink: 0;
  color: var(--detail-color);
  stroke: var(--detail-color);
}
.dq-ba-node-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 中央矢印 */
.dq-ba-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 34px;
}
.dq-ba-arrow span {
  font-size: 10px;
  font-weight: bold;
  color: var(--detail-color);
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}


/* ── SCOPEセクション：ミニフロー（データ品質ページ） */
.dq-scope-grid {
  grid-template-columns: repeat(2, 1fr);
}
/* 5枚目のカードをフル幅に */
.scope-item-wide {
  grid-column: 1 / -1;
}
.dq-scope-mini-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 18px;
  padding: 12px 14px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #efefef;
}
.dq-scope-mini-step {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: bold;
  color: var(--detail-color);
  background: var(--detail-color-light);
  border: 1px solid rgba(0, 188, 212, 0.35);
  border-radius: 5px;
  white-space: nowrap;
}
.dq-scope-mini-step-multi {
  background: #f0f0f0;
  color: #666;
  border-color: #ddd;
}
.dq-scope-mini-arrow {
  font-size: 12px;
  color: #bbb;
  flex-shrink: 0;
}


/* ── レスポンシブ（データ品質ページ固有） */
@media screen and (max-width: 834px) {
  .dq-philosophy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dq-philosophy-catch-ttl { font-size: 22px; }
  .dq-scope-grid {
    grid-template-columns: 1fr;
  }
  .scope-item-wide {
    grid-column: auto;
  }
}
@media screen and (max-width: 767px) {
  .dq-philosophy { padding: 48px 15px; }
  .dq-philosophy-catch { padding-left: 18px; }
  .dq-philosophy-catch-ttl { font-size: 20px; }
  .dq-philosophy-diagram { padding: 24px 16px; }
  .dq-before-after {
    flex-direction: column;
    gap: 12px;
  }
  .dq-ba-arrow {
    flex-direction: row;
    padding-top: 0;
    justify-content: center;
  }
  .dq-ba-arrow svg {
    transform: rotate(90deg);
  }
  .dq-scope-mini-flow {
    justify-content: center;
  }
}


/* ====================================================
   生成AI・AIエージェントページ固有スタイル（page-ai-agent）
   ==================================================== */

/* ===== CSS変数（グリーン） ===== */
.page-ai-agent {
  --detail-color:       #4CAF50;
  --detail-color-light: rgba(76, 175, 80, 0.08);
  --detail-color-grad:  linear-gradient(90deg, #4CAF50 0%, #388E3C 100%);
  --detail-shadow:      rgba(76, 175, 80, 0.25);
}

/* ===== HOW WE WORK 5列 ===== */
.page-ai-agent .step-flow {
  grid-template-columns: repeat(5, 1fr);
}
.page-ai-agent .step-flow::before {
  left: calc(10%);
  right: calc(10%);
}
/* タブレット：5→3列 */
@media screen and (max-width: 1024px) {
  .page-ai-agent .step-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .page-ai-agent .step-flow::before {
    display: none;
  }
}

/* ===== 思想帯 ===== */
.ai-philosophy {
  background: #fff;
  padding: 72px 20px;
}
.ai-philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ai-philosophy-catch {
  border-left: 4px solid var(--detail-color);
  padding-left: 28px;
}
.ai-philosophy-catch-ttl {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 24px;
  font-feature-settings: "palt";
}
.ai-philosophy-catch-body {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}
.ai-philosophy-catch-body strong { color: #1a1a2e; font-weight: bold; }
.ai-philosophy-catch-close {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.ai-philosophy-catch-close strong { color: var(--detail-color); font-weight: bold; }
.ai-philosophy-diagram {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 32px 24px;
}
.ai-philosophy-diagram-ttl {
  font-size: 13px;
  font-weight: bold;
  color: #999;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 20px;
}

/* ===== Before / After ===== */
.ai-before-after {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ai-ba-col { flex: 1; min-width: 0; }
.ai-ba-label {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 12px;
  padding: 4px 0;
  border-radius: 4px;
}
.ai-ba-label-before { color: #999; background: #eee; }
.ai-ba-label-after  { color: #fff; background: var(--detail-color); }
.ai-ba-nodes { display: flex; flex-direction: column; gap: 7px; }
.ai-ba-node {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
}
.ai-ba-node-bad  { background: #fff; border: 1px solid #e0e0e0; color: #999; }
.ai-ba-node-good { background: rgba(76,175,80,0.06); border: 1px solid rgba(76,175,80,0.25); color: var(--detail-color); }
.ai-ba-node-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ai-ba-node-bad  .ai-ba-node-icon { color: #c62828; }
.ai-ba-node-good .ai-ba-node-icon { color: var(--detail-color); }
.ai-ba-arrow {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  flex-shrink: 0; padding-top: 34px;
}
.ai-ba-arrow span {
  font-size: 10px; font-weight: bold;
  color: var(--detail-color); letter-spacing: 0.05em;
  text-align: center; white-space: nowrap;
}

/* ===== レスポンシブ ===== */
@media screen and (max-width: 834px) {
  .ai-philosophy-inner { grid-template-columns: 1fr; gap: 40px; }
  .ai-philosophy-catch-ttl { font-size: 22px; }
}
@media screen and (max-width: 767px) {
  .ai-philosophy { padding: 48px 15px; }
  .ai-philosophy-catch { padding-left: 18px; }
  .ai-philosophy-catch-ttl { font-size: 20px; }
  .ai-philosophy-diagram { padding: 24px 16px; }
  .ai-before-after { flex-direction: column; gap: 12px; }
  .ai-ba-arrow { flex-direction: row; padding-top: 0; justify-content: center; }
  .ai-ba-arrow svg { transform: rotate(90deg); }
}
