/* ============================================================
   knowledge.css — ノウハウ記事共通スタイル
   prefix: .tg-knw-* （初版は面接100問用、他ノウハウ記事にも流用）
   設計の参考: column.css の .tg-col30-* 体系
   ============================================================ */

/* ----- フォント / 基本 ----- */
.tg-knw {
  font-family: "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: #1a1f2e;
  line-height: 1.7;
  background: #fff;
}
.tg-knw *,
.tg-knw *::before,
.tg-knw *::after { box-sizing: border-box; }

/* ----- ハイライト（黄色マーカー） ----- */
.tg-knw .mark-y {
  background: linear-gradient(transparent 62%, #FFE45A 62%);
  padding: 0 4px;
  font-weight: 900;
}
.tg-knw strong {
  font-weight: 900;
  color: #0c2548;
}

/* ----- セクション ラッパー ----- */
.tg-knw-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 40px;
}
.tg-knw-section--head { padding-top: 36px; padding-bottom: 16px; }
.tg-knw-section--cta { padding-top: 8px; padding-bottom: 32px; }
.tg-knw-section--articles { padding-top: 16px; padding-bottom: 56px; }

/* ----- パンくず ----- */
.tg-knw-breadcrumb {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 40px;
  font-size: 12px;
  color: #5a6378;
  background: #F9FAFC;
  border-bottom: 1px solid #E5E9F0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tg-knw-breadcrumb a { color: #5a6378; text-decoration: none; }
.tg-knw-breadcrumb a:hover { color: #0744CC; }
.tg-knw-breadcrumb .sep { color: #c1c8d4; }
.tg-knw-breadcrumb .current { color: #0c2548; font-weight: 700; }

/* ----- Hero ----- */
.tg-knw-hero {
  background: #fff;
  border-bottom: 1px solid #E5E9F0;
  padding: 32px 0 24px;
}
.tg-knw-hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}
.tg-knw-hero h1 {
  font-size: 28px;
  font-weight: 900;
  color: #0c2548;
  margin: 0 0 12px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.tg-knw-hero h1 .suffix {
  color: #7a849c;
  font-weight: 700;
  font-size: 18px;
}
.tg-knw-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #7a849c;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tg-knw-meta .sep { color: #c1c8d4; }
.tg-knw-tag-orange {
  background: #FF6C00;
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.tg-knw-tag-blue {
  background: #EAF1FF;
  color: #0744CC;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
}
.tg-knw-tag-pr {
  background: #FFF8E1;
  color: #B08000;
  border: 1px solid #FFE082;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* Yellow intro callout */
.tg-knw-intro {
  background: #FFFBE0;
  border: 1px solid #FFE45A;
  border-left: 5px solid #FFC700;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: #1a1f2e;
  line-height: 1.95;
}
.tg-knw-intro b { font-weight: 900; }

/* ----- H2 共通 ----- */
.tg-knw-h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.tg-knw-h2-bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  background: #0744CC;
  border-radius: 2px;
  flex-shrink: 0;
}
.tg-knw-h2-bar--orange { background: #FF6C00; }
.tg-knw-h2 h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #0c2548;
  line-height: 1.4;
}

/* ----- 説明テキスト（H2 直後の本文） ----- */
.tg-knw-lede {
  font-size: 14px;
  color: #1a1f2e;
  line-height: 1.95;
  margin-bottom: 16px;
}
.tg-knw-lede b { font-weight: 900; }

/* ----- H3 ----- */
.tg-knw-h3 {
  font-size: 16px;
  font-weight: 900;
  color: #0c2548;
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px dotted #D5DEEC;
}

/* ----- カード共通 ----- */
.tg-knw-card {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 20px 24px;
}

/* ============================================================
   結果サマリー（記事冒頭の数値カード）
   ============================================================ */
.tg-knw-summary {
  background: linear-gradient(135deg, #F4F7FB 0%, #EAF1FF 100%);
  border: 1px solid #D5DEEC;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 14px;
}
.tg-knw-summary-title {
  font-size: 15px;
  font-weight: 900;
  color: #0c2548;
  margin: 0 0 10px;
}
.tg-knw-summary-text {
  font-size: 13px;
  color: #1a1f2e;
  line-height: 1.9;
  margin-bottom: 14px;
}
.tg-knw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tg-knw-stat {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
}
.tg-knw-stat-label {
  display: block;
  font-size: 11px;
  color: #5a6378;
  font-weight: 700;
  margin-bottom: 4px;
}
.tg-knw-stat-value {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #0744CC;
}

/* ============================================================
   prereq（おすすめ対象者）
   ============================================================ */
.tg-knw-prereq {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 18px 22px;
}
.tg-knw-prereq-title {
  font-size: 13px;
  color: #5a6378;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.tg-knw-prereq dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  margin: 0;
  font-size: 13px;
}
.tg-knw-prereq dt {
  color: #5a6378;
  font-weight: 700;
}
.tg-knw-prereq dd {
  margin: 0;
  color: #1a1f2e;
}

/* ============================================================
   TOC（もくじ）— 2列
   ============================================================ */
.tg-knw-toc {
  background: #F9FAFC;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 20px 24px;
}
.tg-knw-toc-title {
  font-size: 13px;
  color: #5a6378;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.tg-knw-toc ol {
  margin: 0;
  padding-left: 22px;
  font-size: 13px;
  columns: 2;
  column-gap: 28px;
}
.tg-knw-toc ol li {
  margin-bottom: 6px;
  break-inside: avoid;
  line-height: 1.7;
}
.tg-knw-toc ol li a {
  color: #1a1f2e;
  text-decoration: none;
}
.tg-knw-toc ol li a:hover { color: #0744CC; }

/* ============================================================
   面接フロー（一次/二次/最終）— 3カード
   ============================================================ */
.tg-knw-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.tg-knw-flow-card {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 16px 18px;
}
.tg-knw-flow-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 3px;
  background: #0744CC;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.tg-knw-flow-card h4 {
  margin: 4px 0 6px;
  font-size: 14px;
  font-weight: 900;
  color: #0c2548;
  line-height: 1.5;
}
.tg-knw-flow-card p {
  margin: 0;
  font-size: 12px;
  color: #5a6378;
  line-height: 1.75;
}

/* ============================================================
   核の5問 / 逆質問テンプレ — コンパクト番号リスト
   ============================================================ */
.tg-knw-list-compact {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 14px 22px;
}
.tg-knw-list-compact ol {
  margin: 0;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.95;
}
.tg-knw-list-compact ol li {
  padding: 5px 0;
  border-bottom: 1px dotted #E5E9F0;
}
.tg-knw-list-compact ol li:last-child { border-bottom: none; }

/* ============================================================
   カテゴリインデックス（8タイル）
   ============================================================ */
.tg-knw-cat-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tg-knw-cat-tile {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 10px;
  padding: 12px 14px;
  display: block;
  color: #1a1f2e;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tg-knw-cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 40, 90, .08);
  opacity: 1;
}
.tg-knw-cat-num {
  display: inline-block;
  background: #EAF1FF;
  color: #0744CC;
  font-weight: 900;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.tg-knw-cat-tile h4 {
  margin: 6px 0 2px;
  font-size: 13px;
  font-weight: 900;
  color: #0c2548;
  line-height: 1.4;
}
.tg-knw-cat-tile p {
  margin: 0;
  font-size: 11px;
  color: #5a6378;
}

/* ============================================================
   カテゴリヘッダー（番号バッジ付き）
   ============================================================ */
.tg-knw-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 14px;
}
.tg-knw-category-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0744CC;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  font-family: Helvetica, Arial, sans-serif;
  flex-shrink: 0;
}
.tg-knw-category-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #0c2548;
  line-height: 1.4;
}

/* ============================================================
   Q&A ペアカード
   ============================================================ */
.tg-knw-qa {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 10px;
}
.tg-knw-qa-question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.tg-knw-qa-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0744CC;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  font-family: Helvetica, Arial, sans-serif;
}
.tg-knw-qa-text {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #0c2548;
  line-height: 1.55;
}
.tg-knw-qa-intent {
  background: #F4F7FB;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #5a6378;
  margin: 0 0 10px;
  line-height: 1.75;
}
.tg-knw-qa-intent strong {
  color: #0c2548;
  font-weight: 900;
}
.tg-knw-qa-answer {
  background: #EAF1FF;
  border-left: 4px solid #0744CC;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #1a1f2e;
  line-height: 1.9;
  margin: 0;
  position: relative;
}
.tg-knw-qa-answer::before {
  content: "回答例：";
  display: inline;
  font-weight: 900;
  color: #0744CC;
  margin-right: 4px;
}
.tg-knw-qa-answer strong {
  background: linear-gradient(transparent 62%, #FFE45A 62%);
  padding: 0 2px;
  font-weight: 900;
  color: #1a1f2e;
}

/* ============================================================
   編集部 Tip BOX（黄色ハイライト）
   ============================================================ */
.tg-knw-tip {
  background: #FFFBE0;
  border: 1px solid #FFE45A;
  border-left: 5px solid #FFC700;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #1a1f2e;
  line-height: 1.9;
  margin: 12px 0;
}
.tg-knw-tip-title {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: #B08000;
  margin-right: 6px;
}
.tg-knw-tip b { font-weight: 900; }

/* ============================================================
   注意ヒント（オレンジ）
   ============================================================ */
.tg-knw-mistake {
  background: #FFF8F2;
  border: 1px solid #FFD0A7;
  border-left: 5px solid #FF6C00;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #1a1f2e;
  line-height: 1.85;
  margin: 12px 0;
}
.tg-knw-mistake-title {
  font-size: 13px;
  font-weight: 900;
  color: #B84A00;
  margin: 0 0 6px;
}
.tg-knw-mistake p { margin: 0; }

/* ============================================================
   OK / NG 比較ブロック
   ============================================================ */
.tg-knw-okng {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.tg-knw-okng-card {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 12.5px;
  line-height: 1.85;
}
.tg-knw-okng-card--ng {
  background: #FFF8F2;
  border: 1px solid #FFD0A7;
}
.tg-knw-okng-card--ok {
  background: #DFF1ED;
  border: 1px solid #9BD4C5;
}
.tg-knw-okng-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.tg-knw-okng-card--ng .tg-knw-okng-label {
  background: #FF6C00;
  color: #fff;
}
.tg-knw-okng-card--ok .tg-knw-okng-label {
  background: #079765;
  color: #fff;
}
.tg-knw-okng-card p { margin: 0 0 4px; }
.tg-knw-okng-card .arrow-ng {
  color: #B84A00;
  font-weight: 700;
  margin-top: 6px;
}
.tg-knw-okng-card .arrow-ok {
  color: #045E3E;
  font-weight: 700;
  margin-top: 6px;
}

/* ============================================================
   業界別テーブル
   ============================================================ */
.tg-knw-industry {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  overflow: hidden;
}
.tg-knw-industry th,
.tg-knw-industry td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5E9F0;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.tg-knw-industry th {
  background: #EAF1FF;
  color: #0744CC;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tg-knw-industry tr:last-child td { border-bottom: none; }
.tg-knw-industry td strong {
  color: #0c2548;
  font-weight: 900;
}

/* ============================================================
   FAQ
   ============================================================ */
.tg-knw-faq-item {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 10px;
}
.tg-knw-faq-q {
  font-weight: 900;
  color: #0c2548;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 8px;
}
.tg-knw-faq-q::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #FF6C00;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  font-family: Helvetica, Arial, sans-serif;
}
.tg-knw-faq-a {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #1a1f2e;
  display: flex;
  gap: 8px;
}
.tg-knw-faq-a::before {
  content: "A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #0744CC;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  font-family: Helvetica, Arial, sans-serif;
}

/* ============================================================
   CTA — 青グラデ 3社カード
   ============================================================ */
.tg-knw-cta {
  border-radius: 16px;
  padding: 26px 28px 28px;
  color: #fff;
  background: linear-gradient(135deg, #0744CC 0%, #0633A3 100%);
  box-shadow: 0 16px 32px rgba(7, 68, 204, .16);
}
.tg-knw-cta-head {
  text-align: center;
  margin-bottom: 18px;
}
.tg-knw-cta-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  color: #fff;
}
.tg-knw-cta-sub {
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.8;
  color: #c8d2e2;
}
.tg-knw-agent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tg-knw-agent {
  background: #fff;
  color: #0c2548;
  border-radius: 12px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tg-knw-agent:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  opacity: 1;
}
.tg-knw-agent-logo {
  background: #F9FAFC;
  border: 1px solid #E5E9F0;
  border-radius: 6px;
  padding: 8px 12px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-knw-agent-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tg-knw-agent-body { min-width: 0; }
.tg-knw-agent-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.tg-knw-agent-name {
  font-size: 14px;
  font-weight: 900;
  color: #0c2548;
}
.tg-knw-agent-badge {
  background: #FFEEDD;
  color: #B84A00;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tg-knw-agent-desc {
  font-size: 11px;
  color: #5a6378;
  line-height: 1.6;
}
.tg-knw-agent-cta {
  background: #FF6C00;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tg-knw-agent-cta-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
}

/* ============================================================
   Mid CTA（記事中の差し込みCTA・白カード）
   ============================================================ */
.tg-knw-midcta {
  background: #fff;
  border: 2px solid #0744CC;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 16px 0;
}
.tg-knw-midcta-title {
  font-size: 15px;
  font-weight: 900;
  color: #0c2548;
  margin: 0 0 6px;
}
.tg-knw-midcta-text {
  font-size: 12.5px;
  color: #1a1f2e;
  line-height: 1.85;
  margin: 0 0 12px;
}
.tg-knw-midcta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tg-knw-midcta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FF6C00;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.tg-knw-midcta-btn:hover { opacity: 0.9; }
.tg-knw-midcta-btn--secondary {
  background: #fff;
  color: #0744CC;
  border: 1.5px solid #0744CC;
}
.tg-knw-midcta-note {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #5a6378;
}

/* ============================================================
   Soft CTA（薄背景の補足）
   ============================================================ */
.tg-knw-softcta {
  background: #F4F7FB;
  border: 1px solid #D5DEEC;
  border-left: 4px solid #0744CC;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 13px;
  color: #1a1f2e;
  line-height: 1.85;
}
.tg-knw-softcta-title {
  font-size: 13px;
  font-weight: 900;
  color: #0744CC;
  margin: 0 0 6px;
}
.tg-knw-softcta a {
  color: #0744CC;
  font-weight: 700;
  text-decoration: underline;
}

/* ============================================================
   Related links（関連コンテンツ）
   ============================================================ */
.tg-knw-related {
  background: #F4F7FB;
  border: 1px solid #D5DEEC;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tg-knw-related-item {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 10px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tg-knw-related-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
  opacity: 1;
}
.tg-knw-related-item-title {
  font-size: 13px;
  font-weight: 900;
  color: #0c2548;
  margin-bottom: 4px;
}
.tg-knw-related-item-desc {
  font-size: 11px;
  color: #5a6378;
  line-height: 1.6;
}
.tg-knw-related-arrow {
  color: #0744CC;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================================
   Related articles grid（記事末尾のグリッド）
   ============================================================ */
.tg-knw-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tg-knw-article {
  background: #fff;
  border: 1px solid #E5E9F0;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(11, 40, 90, .03);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tg-knw-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 40, 90, .08);
  opacity: 1;
}
.tg-knw-article-thumb {
  height: 100px;
  background: linear-gradient(135deg, #EAF1FF 0%, #D5DEEC 100%);
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0744CC;
  font-size: 11px;
  font-weight: 700;
}
.tg-knw-article-kind {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 6px;
  background: #EAF1FF;
  color: #0744CC;
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.tg-knw-article-kind--col { background: #FFEEDD; color: #B84A00; }
.tg-knw-article-kind--cmp { background: #DFF1ED; color: #045E3E; }
.tg-knw-article-title {
  font-size: 13px;
  font-weight: 900;
  color: #0c2548;
  line-height: 1.55;
  margin-bottom: 4px;
}
.tg-knw-article-desc {
  font-size: 11px;
  color: #5a6378;
  line-height: 1.6;
  margin-top: auto;
}

/* ============================================================
   Sticky CTA（SP のみ）
   ============================================================ */
.tg-knw-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #E5E9F0;
  padding: 8px 12px;
  z-index: 60;
  display: none;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .06);
}
.tg-knw-sticky-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.tg-knw-sticky-label {
  font-size: 11px;
  font-weight: 900;
  color: #0c2548;
}
.tg-knw-sticky a {
  display: inline-block;
  background: #FF6C00;
  color: #fff;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  text-decoration: none;
}

/* ============================================================
   SP（max-width: 768px）
   ============================================================ */
@media (max-width: 768px) {
  .tg-knw-section,
  .tg-knw-hero-inner,
  .tg-knw-breadcrumb {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .tg-knw-section { padding-top: 16px; padding-bottom: 16px; }
  .tg-knw-section--head { padding-top: 22px; padding-bottom: 12px; }
  .tg-knw-section--articles { padding-top: 12px; padding-bottom: 32px; }

  .tg-knw-hero { padding: 20px 0 16px; }
  .tg-knw-hero h1 { font-size: 21px; margin-bottom: 8px; }
  .tg-knw-hero h1 .suffix { display: inline; font-size: 14px; }
  .tg-knw-meta { font-size: 10px; gap: 6px; margin-bottom: 12px; }
  .tg-knw-intro { padding: 12px 14px; font-size: 12.5px; border-left-width: 4px; border-radius: 8px; }

  /* H2 */
  .tg-knw-h2 h2 { font-size: 18px; }
  .tg-knw-h2-bar { height: 18px; width: 3px; }
  .tg-knw-lede { font-size: 13px; }
  .tg-knw-h3 { font-size: 14px; }

  /* Summary */
  .tg-knw-summary { padding: 16px 16px; }
  .tg-knw-summary-title { font-size: 14px; }
  .tg-knw-summary-text { font-size: 12.5px; }
  .tg-knw-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tg-knw-stat { padding: 10px 8px; }
  .tg-knw-stat-label { font-size: 10px; }
  .tg-knw-stat-value { font-size: 14px; }

  /* prereq */
  .tg-knw-prereq dl { grid-template-columns: 1fr; gap: 2px; font-size: 12.5px; }
  .tg-knw-prereq dt { margin-top: 6px; }

  /* TOC: 1列 */
  .tg-knw-toc { padding: 14px 16px; }
  .tg-knw-toc ol { columns: 1; font-size: 12.5px; }

  /* Flow: 1列 */
  .tg-knw-flow { grid-template-columns: 1fr; gap: 10px; }
  .tg-knw-flow-card { padding: 12px 14px; }

  /* Cat-index: 2列 */
  .tg-knw-cat-index { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tg-knw-cat-tile { padding: 10px 12px; }
  .tg-knw-cat-tile h4 { font-size: 12px; }
  .tg-knw-cat-tile p { font-size: 10px; }

  /* Category header */
  .tg-knw-category-header { gap: 10px; }
  .tg-knw-category-badge { width: 32px; height: 32px; font-size: 14px; }
  .tg-knw-category-header h2 { font-size: 17px; }

  /* Q&A */
  .tg-knw-qa { padding: 14px 16px; }
  .tg-knw-qa-text { font-size: 13.5px; }
  .tg-knw-qa-intent { font-size: 11.5px; padding: 8px 12px; }
  .tg-knw-qa-answer { font-size: 12.5px; padding: 10px 14px; }

  /* Tip / mistake */
  .tg-knw-tip, .tg-knw-mistake { padding: 12px 14px; font-size: 12.5px; }

  /* OK/NG: 1列 */
  .tg-knw-okng { grid-template-columns: 1fr; gap: 10px; }

  /* Industry table */
  .tg-knw-industry { font-size: 12px; }
  .tg-knw-industry th, .tg-knw-industry td { padding: 10px 12px; }

  /* FAQ */
  .tg-knw-faq-item { padding: 12px 14px; }
  .tg-knw-faq-q { font-size: 13px; }
  .tg-knw-faq-a { font-size: 12.5px; }

  /* CTA */
  .tg-knw-cta { padding: 18px 16px 20px; border-radius: 12px; }
  .tg-knw-cta-head h2 { font-size: 17px; }
  .tg-knw-cta-sub { font-size: 11px; }

  /* 3社カード: SPは2列 */
  .tg-knw-agent {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo body"
      "cta cta";
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .tg-knw-agent-logo { grid-area: logo; width: 96px; height: 36px; padding: 6px 10px; }
  .tg-knw-agent-body { grid-area: body; }
  .tg-knw-agent-cta { grid-area: cta; justify-content: center; padding: 9px 14px; font-size: 12px; }
  .tg-knw-agent-name { font-size: 13px; }
  .tg-knw-agent-desc { font-size: 11px; }

  /* Mid CTA */
  .tg-knw-midcta { padding: 14px 16px; }
  .tg-knw-midcta-title { font-size: 14px; }
  .tg-knw-midcta-text { font-size: 12px; }
  .tg-knw-midcta-btn { font-size: 11.5px; padding: 7px 14px; }

  /* Related */
  .tg-knw-related { padding: 12px 14px; }
  .tg-knw-related-item { padding: 12px 14px; }
  .tg-knw-related-item-title { font-size: 12px; }
  .tg-knw-related-item-desc { font-size: 10.5px; }

  /* Articles: SPは1列 */
  .tg-knw-articles { grid-template-columns: 1fr; gap: 10px; }
  .tg-knw-article {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
  }
  .tg-knw-article-thumb {
    width: 96px;
    height: 60px;
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 10px;
  }
  .tg-knw-article-title { font-size: 12px; margin-bottom: 2px; }
  .tg-knw-article-desc { font-size: 10.5px; }
  .tg-knw-article-kind { margin-bottom: 4px; font-size: 9.5px; }

  /* Sticky CTA on SP */
  .tg-knw-sticky { display: block; }
  body { padding-bottom: 56px; }
}
