@charset "UTF-8";
/* ========================================
    Microsoft 365 Copilot
======================================== */

/* ===== 図解 共通 ===== */
.cp-figure { margin: 32px 0; }

.cp-chart-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin: 0 0 20px 0 !important;
}

.cp-source {
  font-size: 13px;
  color: #333;
  margin-top: 12px;
  line-height: 1.6;
}
.cp-source a { color: #333; }

/* ===== h3内アイコン ===== */
.cp-h3-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

/* ===== イメージ画像 ===== */
.cp-mv-img {
  margin: 32px 0 0;
  text-align: center;
  line-height: 0;
}
.cp-mv-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== 注釈（smallタグ）：前の段落に近づけ、行間も詰める ===== */
p.cp-note {
  margin-top: -8px !important;
  margin-bottom: 12px !important;
  padding-top: 0 !important;
  line-height: 1.5 !important;
}
p.cp-note small {
  line-height: 1.5;
}

/* ===== ①②③などの小見出し：直後の本文との間隔を詰める ===== */
p.cp-mini-head {
  margin-bottom: 2px !important;
}
p.cp-mini-head + p {
  margin-top: 2px !important;
}

/* ===== 箇条書き（中黒を文字の中央に） ===== */
.cp-bullet-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 12px 0 !important;
}
.cp-bullet-list li {
  list-style: none !important;
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  padding: 4px 0;
  font-size: inherit;
  line-height: 1.7;
}
.cp-bullet-list li::before {
  content: "•";
  flex-shrink: 0;
  color: #333;
  font-weight: bold;
  /* baseline alignmentで文字の中央近くに揃う */
  font-size: 1em;
  line-height: 1.7;
}
.cp-bullet-list li::marker { content: "" !important; }

/* ===== 参照ボックス（▼Claude記事・▼プロンプト用語集） ===== */
.cp-ref-box {
  border: 1px solid #d5dce6;
  background: #f7f9fc;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}
.cp-ref-box p {
  margin: 0 0 8px 0 !important;
  font-weight: bold;
}
.cp-ref-box ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cp-ref-box li {
  list-style: none !important;
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  padding: 2px 0;
}
.cp-ref-box li::before {
  content: "•";
  flex-shrink: 0;
  color: #333;
  font-weight: bold;
  font-size: 1em;
  line-height: 1.7;
}
.cp-ref-box li::marker { content: "" !important; }

/* ===== Copilotラインナップ表 ===== */
.cp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 !important;
}
.cp-table th,
.cp-table td {
  padding: 7px 10px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  text-align: left;
}
.cp-table thead th {
  background: #444;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
}
.cp-table tbody th {
  background: #f5f7fb;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  vertical-align: middle;
}
/* td：1行目は中央、2行目以降は左寄せ → 全部左寄せに統一 */
.cp-table tbody td {
  text-align: left;
  vertical-align: middle;
}
/* ターゲット層列（2列目）は中央揃えを維持 */
.cp-table tbody td:nth-child(2) {
  text-align: center;
}
/* 特徴・料金列は左寄せ */
.cp-td-left {
  text-align: left !important;
}
.cp-table tbody tr.main th {
  background: #fff0f0;
  color: #cc0033;
}
.cp-table tbody tr.main td {
  background: #fffafa;
  font-weight: bold;
}

/* ===== [図⑦] vs図（両側：中黒・記号なし、左：白背景、右：グレー背景＋赤枠） ===== */
.cp-vs {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
}
.cp-vs-col {
  padding: 24px 20px;
  border-radius: 12px;
}
/* 左側：白背景 */
.cp-vs-col.generic {
  background: #fff;
  border: 1px solid #d5d5d5;
}
/* 右側：グレー背景＋赤枠 */
.cp-vs-col.copilot {
  background: #f5f5f5;
  border: 2px solid #cc0033;
  color: #333;
}
.cp-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #999;
}
.cp-vs-head {
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid #d5d5d5;
}
.cp-vs-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
  color: #333;
}
.cp-vs-col.copilot .cp-vs-name {
  color: #cc0033;
}
.cp-vs-tagline {
  font-size: 12px;
  color: #666;
}
.cp-vs-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cp-vs-list li {
  list-style: none !important;
  /* 記号・中黒なし、テキストのみ */
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px dashed #ddd;
  /* beforeを使わないのでflexは不要 */
}
.cp-vs-list li::marker { content: "" !important; }
.cp-vs-list li::before { content: "" !important; display: none !important; }
.cp-vs-list li:last-child { border-bottom: none; }

/* ===== [図⑤] 6アプリ別 Before / After ===== */
.cp-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cp-app-card {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 18px 16px;
  transition: all 0.2s;
}
.cp-app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: #2e75b6;
}
.cp-app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.cp-app-icon { width: 32px; height: 32px; flex-shrink: 0; }
.cp-app-name { font-size: 15px; font-weight: bold; color: #1f3864; }
.cp-app-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.6;
}
.cp-app-label {
  flex-shrink: 0;
  width: 50px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: bold;
  text-align: center;
  height: fit-content;
  font-size: 11px;
}
.cp-app-label.before { background: #f5f5f5; color: #888; }
.cp-app-label.after  { background: #1f3864; color: #fff; }
.cp-app-text { color: #444; flex: 1; }

/* ===== [図④] 過剰共有リスク ===== */
.cp-risk-flow { display: flex; flex-direction: column; gap: 8px; }
.cp-risk-step {
  background: #fff;
  border: 2px solid #e5e9f0;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cp-risk-step.danger { border-color: #c00000; background: linear-gradient(135deg,#fff5f5 0%,#fff 100%); }
.cp-risk-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1f3864;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.cp-risk-step.danger .cp-risk-num { background: #c00000; }
.cp-risk-content { flex: 1; }
.cp-risk-title { font-size: 15px; font-weight: bold; color: #1f3864; margin-bottom: 4px; }
.cp-risk-step.danger .cp-risk-title { color: #c00000; }
.cp-risk-desc { font-size: 13px; color: #555; line-height: 1.6; }
.cp-risk-arrow { text-align: center; color: #999; font-size: 20px; line-height: 0.5; margin: -2px 0; }
.cp-risk-summary {
  margin-top: 16px;
  background: #c00000; color: #fff;
  padding: 14px 20px; border-radius: 8px;
  text-align: center; font-weight: bold; font-size: 15px;
}

/* ===== [図⑧] 失敗×解決策マッピング ===== */
.cp-fail-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: #fff;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin: 0 !important;
}
.cp-fail-table th,
.cp-fail-table td {
  padding: 9px 14px;
  text-align: left;
  border-bottom: 1px solid #e5e9f0;
  font-size: 13px;
  vertical-align: middle;
}
.cp-fail-table th { background: #444; color: #fff; font-weight: bold; text-align: center; }
.cp-fail-table th.fail-head { background: #c00000; }
.cp-fail-table td:first-child { font-weight: bold; background: #fafafa; color: #c00000; }
.cp-fail-table td.cp-fail-cell { text-align: center; }
.cp-fail-mark {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #2e75b6; color: #fff;
  text-align: center; line-height: 28px;
  font-weight: bold; font-size: 14px;
}
.cp-fail-mark.none { background: #e0e0e0; color: #999; }
.cp-fail-source { text-align: center; margin-top: 10px; }

/* ===== [図③] 進化タイムライン ===== */
.cp-timeline { position: relative; padding: 16px 0; }
.cp-timeline::before {
  content: "";
  position: absolute; left: 90px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #deebf7, #2e75b6, #c00000);
}
.cp-timeline-item {
  display: flex; align-items: flex-start; gap: 24px;
  margin-bottom: 28px; position: relative;
}
.cp-timeline-item:last-child { margin-bottom: 0; }
.cp-timeline-date {
  flex-shrink: 0; width: 80px;
  text-align: right; font-size: 13px; font-weight: bold;
  color: #1f3864; padding-top: 4px;
}
.cp-timeline-dot {
  position: absolute; left: 84px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #2e75b6; border: 3px solid #fff;
  box-shadow: 0 0 0 2px #2e75b6; z-index: 1;
}
.cp-timeline-item.milestone .cp-timeline-dot {
  background: #c00000; box-shadow: 0 0 0 2px #c00000;
  width: 18px; height: 18px; left: 82px; top: 4px;
}
.cp-timeline-content {
  margin-left: 40px;
  background: #fff; border: 1px solid #e5e9f0;
  border-radius: 8px; padding: 12px 16px; flex: 1;
}
.cp-timeline-item.milestone .cp-timeline-content { border-color: #c00000; background: #fff5f5; }
.cp-timeline-title { font-size: 14px; font-weight: bold; color: #1f3864; margin-bottom: 4px; }
.cp-timeline-item.milestone .cp-timeline-title { color: #c00000; }
.cp-timeline-desc { font-size: 13px; color: #555; line-height: 1.6; }

/* ===== [図⑩] 棒グラフ ===== */
.cp-chart {
  background: #fff; border: 1px solid #e8e8e8;
  border-radius: 12px; padding: 20px;
}
.cp-chart-bars {
  display: flex; align-items: flex-end;
  justify-content: space-around;
  height: 280px; padding: 20px 10px 10px;
  border-bottom: 2px solid #333; border-left: 2px solid #333;
  position: relative;
}
.cp-chart-bars::before {
  content: "万社"; position: absolute;
  top: 0; left: 10px; font-size: 11px; color: #888;
}
.cp-chart-bar-wrap {
  display: flex; flex-direction: column;
  align-items: center; flex: 1; height: 100%;
  justify-content: flex-end; position: relative;
}
.cp-chart-bar {
  width: 60%;
  background: linear-gradient(to top, #2e75b6, #deebf7);
  border-radius: 4px 4px 0 0; position: relative;
}
.cp-chart-bar.current { background: linear-gradient(to top, #c00000, #ff6b6b); }
.cp-chart-bar.future  { background: linear-gradient(to top, #1f3864, #6789ce); opacity: 0.6; }
.cp-chart-value {
  position: absolute; top: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 13px; font-weight: bold; color: #1f3864; white-space: nowrap;
}
.cp-chart-year { margin-top: 8px; font-size: 12px; font-weight: bold; color: #555; }
.cp-chart-label { font-size: 10px; color: #888; margin-top: 2px; }
.cp-chart-callout {
  margin-top: 18px; background: #fff8e7;
  border-left: 4px solid #c00000;
  padding: 14px 18px; font-size: 13px; color: #555;
  border-radius: 4px; line-height: 1.7;
}
.cp-chart-callout strong { color: #c00000; }
.cp-chart-legend {
  display: flex; justify-content: center;
  gap: 24px; margin-top: 14px;
  font-size: 12px; color: #666;
}
.cp-chart-legend-item { display: flex; align-items: center; gap: 6px; }
.cp-chart-legend-color { width: 14px; height: 14px; border-radius: 2px; }

/* ===== コラム枠（ボーダー左線スタイル、背景なし） ===== */
.cp-column {
  border-left: 4px solid #5a6b85;
  border-top: 1px solid #d5dce6;
  border-right: 1px solid #d5dce6;
  border-bottom: 1px solid #d5dce6;
  border-radius: 0 6px 6px 0;
  background: #f7f9fc;
  margin: 16px 0;
  overflow: hidden;
}
/* ヘッダー：背景なし、テキストのみ */
.cp-column-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 8px;
  font-weight: bold; font-size: 15px;
  /* 背景なし・テキスト色は濃いグレー */
  color: #333;
  border-bottom: 1px solid #d5dce6;
  background: transparent;
}
.cp-column-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  color: #5a6b85;
}
.cp-column-body {
  padding: 14px 18px;
  font-size: 14px; line-height: 1.8; color: #444;
}
.cp-column-body p { margin: 0 0 10px 0; }
.cp-column-body p:last-child { margin-bottom: 0; }
.cp-column-body strong { color: #333; }

/* ===== FAQ（2行チラ見せ＋フェード・JS開閉方式・AIO最適化）
   コンポーネント copilot_faq_component.html と完全一致 ===== */
.cp-faq {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.cp-faq-item {
  border: 1px solid #e5e9f0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: visible !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cp-faq-item:hover {
  border-color: #2E75B6 !important;
  box-shadow: 0 2px 10px rgba(46,117,182,0.08) !important;
}
.cp-faq-item.open {
  border-color: #2E75B6 !important;
}
.cp-faq-q {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 20px 10px !important;
}
.cp-faq-qmark {
  flex-shrink: 0 !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 6px !important;
  background: #1F3864 !important;
  color: #fff !important;
  font-weight: bold !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cp-faq-qtext {
  flex: 1 !important;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #1F3864 !important;
  line-height: 1.6 !important;
}
.cp-faq-body {
  padding: 0 20px 16px 58px !important;
  display: flex !important;
  flex-direction: column !important;
}
.cp-faq-peek {
  position: relative !important;
  /* 2行分：14px × 1.8 × 2 ≒ 50px。2行目からフェードがかかる */
  max-height: 50px !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease !important;
}
/* 開いた状態：全文表示（!importantのインライン上書きを回避） */
.cp-faq-item.open .cp-faq-peek {
  max-height: 2000px !important;
  overflow: visible !important;
}
.cp-faq-atext {
  display: block !important;
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cp-faq-atext strong { color: #1F3864 !important; font-weight: bold !important; }
.cp-faq-fade {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 32px !important;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff) !important;
  transition: opacity 0.2s;
  pointer-events: none;
}
.cp-faq-item.open .cp-faq-fade {
  opacity: 0 !important;
}
.cp-faq-more {
  margin-top: 10px !important;
  margin-left: auto !important;
  background: none !important;
  border: none !important;
  color: #2E75B6 !important;
  font-size: 13px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  padding: 4px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-family: inherit !important;
  text-decoration: none !important;
}
.cp-faq-more-ico {
  font-style: normal !important;
  font-size: 12px !important;
  transition: transform 0.3s ease;
}
.cp-faq-item.open .cp-faq-more-ico {
  transform: rotate(180deg) !important;
}

@media (max-width: 720px) {
  .cp-faq-q { padding: 14px 14px 8px !important; }
  .cp-faq-body { padding: 0 14px 14px 46px !important; }
  .cp-faq-qtext { font-size: 14px !important; }
}

/* ===== 共通調整 ===== */
.related-useful-materials .contents-area figure img { width: 100%; }
.related-useful-materials .contents-area .description .title { margin-bottom: 0; }
.article-contents .button-area .rounded-button:hover { color: #fff; }

/* ===== 書換クラス（棒グラフ） ===== */
.cp-chart-bar_h1 { height: 41.7%; }
.cp-chart-bar_h2 { height: 55.2%; }
.cp-chart-bar_h3 { height: 69.8%; }
.cp-chart-bar_h4 { height: 84.6%; }
.cp-chart-bar_h5 { height: 100%; }
.cp-chart-legend_c1 { background: #2e75b6; }
.cp-chart-legend_c2 { background: #c00000; }
.cp-chart-legend_c3 { background: #1f3864; opacity: 0.6; }

/* ===== モバイル ===== */
@media (max-width: 720px) {
  .cp-apps { grid-template-columns: 1fr; }
  .cp-vs { grid-template-columns: 1fr; }
  .cp-vs-divider { padding: 12px 0; }
  .cp-timeline::before { left: 70px; }
  .cp-timeline-date { width: 60px; font-size: 12px; }
  .cp-timeline-dot { left: 64px; }
  .cp-timeline-item.milestone .cp-timeline-dot { left: 62px; }
  .cp-timeline-content { margin-left: 30px; }
  .cp-chart-bars { height: 200px; }
  .cp-chart-value { font-size: 11px; }
  .cp-faq-body { padding-left: 20px; }
}