/* =========================================================
   適職診断 Pro v2.0 - Frontend Styles
   ========================================================= */

/* ── ベースラッパー ─────────────────────────────────────────────── */
.tshindan-wrap {
  max-width: 780px;
  margin: 0 auto;
  font-family: -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  color: #1e1b4b;
}
.tshindan-screen { display: block; }
.tshindan-hidden { display: none !important; }
.tshindan-active { display: block; }

/* ── スタート画面 ────────────────────────────────────────────────── */
.tshindan-hero {
  text-align: center;
  padding: 56px 24px 64px;
  background: linear-gradient(135deg, #eef2ff 0%, #fafafe 60%, #f5f3ff 100%);
  border-radius: 24px;
  border: 1px solid #e0e7ff;
  position: relative;
  overflow: hidden;
}
.tshindan-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(99,102,241,.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(139,92,246,.06) 0%, transparent 60%);
  pointer-events: none;
}
.tshindan-hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  position: relative;
}
.tshindan-hero-title {
  font-size: clamp(22px, 4.5vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 14px;
  color: #1e1b4b;
  position: relative;
}
.tshindan-hero-sub {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 32px;
  position: relative;
}
.tshindan-features {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  position: relative;
}
.tshindan-feature-item {
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  padding: 16px 14px;
  min-width: 88px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(99,102,241,.06);
  transition: transform .2s;
}
.tshindan-feature-item:hover { transform: translateY(-2px); }
.tshindan-feature-item span { font-size: 28px; display: block; margin-bottom: 8px; }
.tshindan-feature-item p { margin: 0; font-size: 11px; color: #4b5563; line-height: 1.4; font-weight: 600; }
.tshindan-meta-info {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 32px;
  position: relative;
}

/* ── ボタン ─────────────────────────────────────────────────────── */
.tshindan-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  font-weight: 800;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 4px 16px rgba(99,102,241,.3);
}
.tshindan-btn-primary:hover, .tshindan-btn-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(99,102,241,.45);
  color: #fff;
  text-decoration: none;
}
.tshindan-btn-large { padding: 18px 44px; font-size: 18px; }
.tshindan-btn-secondary {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  font-weight: 600;
}
.tshindan-btn-secondary:hover { background: #e5e7eb; }

/* ── プログレスバー ──────────────────────────────────────────────── */
.tshindan-progress-area {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}
.tshindan-progress-bar-track {
  background: #e0e7ff;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}
.tshindan-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
  border-radius: 999px;
  transition: width .4s ease;
}
.tshindan-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
}
.tshindan-section-name {
  font-size: 12px;
  font-weight: 700;
  color: #6366f1;
  background: #eef2ff;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ── 質問エリア ─────────────────────────────────────────────────── */
.tshindan-q-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid #e0e7ff;
  box-shadow: 0 8px 32px rgba(99,102,241,.07);
}
.ts-slide-in { animation: tsSlideIn .28s cubic-bezier(.22,1,.36,1); }
@keyframes tsSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.tshindan-q-text {
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 700;
  line-height: 1.75;
  margin: 0 0 10px;
  color: #1e1b4b;
}
.tshindan-q-hint { font-size: 12px; color: #9ca3af; margin: 0 0 24px; }
.tshindan-answers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.tshindan-ans-btn {
  background: #f8faff;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 16px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all .18s;
}
.tshindan-ans-btn:hover { border-color: #6366f1; background: #eef2ff; transform: translateY(-2px); }
.tshindan-ans-selected { border-color: #6366f1 !important; background: linear-gradient(135deg,#eef2ff,#f5f3ff) !important; }
.tshindan-ans-num {
  font-size: 22px;
  font-weight: 900;
  color: #6366f1;
  line-height: 1;
}
.tshindan-ans-label {
  font-size: 10px;
  color: #6b7280;
  text-align: center;
  line-height: 1.4;
  font-weight: 600;
}
@media (max-width: 540px) {
  .tshindan-answers-grid { grid-template-columns: 1fr; gap: 8px; }
  .tshindan-ans-btn { flex-direction: row; padding: 14px 16px; border-radius: 10px; }
  .tshindan-ans-label { font-size: 13px; }
}

/* ── ローディング ────────────────────────────────────────────────── */
#tshindan-loading { text-align: center; padding: 80px 24px; }
.tshindan-spinner-ring {
  width: 64px; height: 64px;
  border: 5px solid #e0e7ff;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: tsSpin 1s linear infinite;
  margin: 0 auto 22px;
}
@keyframes tsSpin { to { transform: rotate(360deg); } }
.tshindan-loading-msg { font-size: 16px; color: #4b5563; margin-bottom: 28px; font-weight: 600; }
.tshindan-loading-steps { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.tshindan-step {
  font-size: 12px; color: #9ca3af;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px 16px;
  transition: all .35s;
  font-weight: 600;
}
.tshindan-step-active { color: #6366f1; background: #eef2ff; }
.tshindan-step-done   { color: #10b981; background: #ecfdf5; }

/* ── 結果エリア ─────────────────────────────────────────────────── */
.tshindan-result-inner { padding: 0; }
.tshindan-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.tshindan-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e7ff;
}
.tshindan-lie-alert {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 16px;
}

/* ── 結果ヒーロー ────────────────────────────────────────────────── */
.tshindan-result-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.tshindan-result-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(139,92,246,.25) 0%, transparent 50%);
  pointer-events: none;
}
.tshindan-result-eyebrow {
  font-size: 11px; color: #c7d2fe; margin: 0 0 10px;
  text-transform: uppercase; letter-spacing: .12em; position: relative;
}
.tshindan-type-label {
  font-size: clamp(24px,4.5vw,34px); font-weight: 900; margin: 0 0 28px; color: #fff; position: relative;
}
.tshindan-result-top1 {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  position: relative;
}
.ts-top1-emoji { font-size: 40px; flex-shrink: 0; }
.ts-top1-ttl  { font-size: 11px; color: #c7d2fe; margin: 0 0 5px; font-weight: 600; }
.ts-top1-name { font-size: 22px; font-weight: 900; color: #fff; margin: 0 0 4px; }
.ts-top1-cat  { font-size: 12px; color: #a5b4fc; margin: 0; }
.ts-top1-match { font-size: 36px; font-weight: 900; color: #fbbf24; margin-left: auto; flex-shrink: 0; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.ts-top1-match span { font-size: 18px; }

/* ── AI解説 ─────────────────────────────────────────────────────── */
.tshindan-commentary {
  background: linear-gradient(135deg, #faf5ff, #f0f4ff);
  border: 1px solid #ddd6fe;
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 16px;
  position: relative;
}
.tshindan-commentary::before {
  content: '✨';
  position: absolute; top: -12px; left: 24px;
  font-size: 20px;
  background: #fff;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #ddd6fe;
}
.tshindan-commentary-hd { font-size: 13px; font-weight: 800; color: #7c3aed; margin: 0 0 12px; }
.tshindan-commentary-body { font-size: 15px; line-height: 1.9; color: #374151; margin: 0; }

/* ── Big Five プロファイル ───────────────────────────────────────── */
.tshindan-charts-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 620px) {
  .tshindan-charts-wrap { grid-template-columns: 1fr; }
  .tshindan-chart-box { max-width: 260px; margin: 0 auto; }
}
.ts-b5-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.ts-b5-key { font-size: 12px; font-weight: 800; color: #6366f1; width: 62px; flex-shrink: 0; }
.ts-b5-bar-track { flex: 1; height: 9px; background: #e0e7ff; border-radius: 999px; overflow: hidden; }
.ts-b5-bar-fill  { height: 100%; background: linear-gradient(90deg,#6366f1,#8b5cf6); border-radius: 999px; transition: width 1s ease; }
.ts-b5-val { font-size: 12px; font-weight: 800; color: #4b5563; width: 28px; text-align: right; flex-shrink: 0; }
.ts-b5-desc { font-size: 11px; color: #6b7280; margin: 0 0 12px 72px; line-height: 1.6; }

/* ── RIASEC ─────────────────────────────────────────────────────── */
.ts-riasec-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 540px) { .ts-riasec-legend { grid-template-columns: 1fr; } }
.ts-rias-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8faff;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 10px 14px;
  transition: box-shadow .2s;
}
.ts-rias-item:hover { box-shadow: 0 2px 10px rgba(16,185,129,.12); }
.ts-rias-k {
  width: 28px; height: 28px;
  background: linear-gradient(135deg,#10b981,#059669);
  color: #fff;
  font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px; flex-shrink: 0;
}
.ts-rias-lab { font-size: 11px; font-weight: 700; color: #374151; margin: 0 0 2px; }
.ts-rias-desc { font-size: 10px; color: #9ca3af; margin: 0; }
.ts-rias-val { font-size: 18px; font-weight: 900; color: #10b981; margin-left: auto; flex-shrink: 0; }

/* ── TOP5 適職カード ─────────────────────────────────────────────── */
.tshindan-top5-list { display: flex; flex-direction: column; gap: 14px; }
.ts-occ-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fafbff;
  transition: box-shadow .2s, transform .2s;
}
.ts-occ-card:hover { box-shadow: 0 6px 24px rgba(99,102,241,.1); transform: translateY(-2px); }
.ts-rank-gold   { border-color: #fbbf24; background: linear-gradient(135deg,#fffbeb,#fefce8); }
.ts-rank-silver { border-color: #94a3b8; background: #f8fafc; }
.ts-rank-bronze { border-color: #d97706; background: linear-gradient(135deg,#fffbf0,#fefce8); }
.ts-occ-rank {
  width: 34px; height: 34px;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  color: #fff;
  font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(99,102,241,.35);
}
.ts-rank-gold   .ts-occ-rank { background: linear-gradient(135deg,#f59e0b,#d97706); box-shadow: 0 2px 8px rgba(245,158,11,.4); }
.ts-rank-silver .ts-occ-rank { background: linear-gradient(135deg,#94a3b8,#64748b); box-shadow: 0 2px 8px rgba(148,163,184,.4); }
.ts-rank-bronze .ts-occ-rank { background: linear-gradient(135deg,#d97706,#b45309); box-shadow: 0 2px 8px rgba(217,119,6,.4); }
.ts-occ-body { flex: 1; min-width: 0; }
.ts-occ-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.ts-occ-emoji { font-size: 26px; }
.ts-occ-name  { font-size: 17px; font-weight: 900; color: #1e1b4b; }
.ts-occ-cat   { font-size: 11px; color: #9ca3af; background: #f3f4f6; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.ts-occ-pct   { font-size: 20px; font-weight: 900; color: #6366f1; margin-left: auto; }
.ts-match-bar-wrap { height: 7px; background: #e0e7ff; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.ts-match-bar-fill { height: 100%; background: linear-gradient(90deg,#6366f1,#8b5cf6); border-radius: 999px; transition: width 1.2s ease; }
.ts-occ-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #6b7280; margin-bottom: 10px; }
.ts-occ-stats b { color: #374151; }
.ts-occ-desc { font-size: 13px; color: #4b5563; line-height: 1.7; margin: 0 0 10px; }
.ts-occ-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: #6366f1;
  text-decoration: none; padding: 5px 12px;
  background: #eef2ff; border-radius: 999px;
  transition: background .2s;
}
.ts-occ-link:hover { background: #e0e7ff; text-decoration: none; color: #4f46e5; }

/* ── 働き方スタイル ──────────────────────────────────────────────── */
.ts-ws-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ts-ws-tag {
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  color: #fff;
  font-size: 13px; font-weight: 800;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(99,102,241,.25);
}
.ts-ws-meters { display: flex; flex-direction: column; gap: 16px; }
.ts-ws-row { display: flex; align-items: center; gap: 12px; }
.ts-ws-label-l,.ts-ws-label-r { font-size: 11px; color: #6b7280; min-width: 76px; font-weight: 600; }
.ts-ws-label-r { text-align: right; }
.ts-ws-track {
  flex: 1; height: 10px;
  background: #e0e7ff; border-radius: 999px;
  position: relative;
}
.ts-ws-thumb {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(99,102,241,.45);
}

/* ── 裏校警告 ───────────────────────────────────────────────────── */
.tshindan-warning-section { border-color: #fcd34d; background: linear-gradient(135deg,#fffbeb,#fff7ed); }
.ts-warning-card { background: #fff; border: 1px solid #fde68a; border-radius: 14px; padding: 20px; }
.ts-warning-head { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 800; color: #92400e; margin-bottom: 12px; }
.ts-warning-emoji { font-size: 26px; }
.ts-warning-text { font-size: 14px; line-height: 1.75; color: #78350f; margin: 0 0 8px; }
.ts-warning-sub  { font-size: 11px; color: #b45309; margin: 0; }

/* ── シェア ──────────────────────────────────────────────────────── */
.tshindan-share-section { text-align: center; background: linear-gradient(135deg,#f8faff,#faf5ff); }
.ts-share-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ts-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 800;
  padding: 12px 22px; border-radius: 12px;
  text-decoration: none; transition: all .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.ts-share-x    { background: #000; color: #fff; }
.ts-share-line { background: #06c755; color: #fff; }
.ts-share-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.2); color: #fff; text-decoration: none; }
.ts-retry-wrap { margin-top: 12px; }

/* =========================================================
   職業個別ページ（/shokugyo/）
   ========================================================= */
.tshindan-job-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 60px;
  font-family: -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  color: #1e1b4b;
}

/* パンくず */
.tsjp-breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 4px;
  list-style: none; padding: 12px 0; margin: 0;
  font-size: 12px; color: #9ca3af;
}
.tsjp-breadcrumb li::after { content: ' ›'; margin-left: 4px; color: #d1d5db; }
.tsjp-breadcrumb li:last-child::after { content: ''; }
.tsjp-breadcrumb a { color: #6b7280; text-decoration: none; }
.tsjp-breadcrumb a:hover { color: #6366f1; }

/* ヒーロー */
.tsjp-hero {
  background: linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#4338ca 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.tsjp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(139,92,246,.3) 0%, transparent 50%);
  pointer-events: none;
}
.tsjp-hero-inner { position: relative; }
.tsjp-cat-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: #c7d2fe;
  font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
  margin-bottom: 16px; letter-spacing: .06em;
}
.tsjp-hero-title-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.tsjp-hero-emoji { font-size: 48px; flex-shrink: 0; }
.tsjp-hero-title { font-size: clamp(20px,3.5vw,28px); font-weight: 900; color: #fff; margin: 0; line-height: 1.4; }
.tsjp-hero-sub { font-size: 14px; color: #a5b4fc; margin: 0 0 28px; line-height: 1.7; }
.tsjp-stats-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .tsjp-stats-strip { grid-template-columns: repeat(2,1fr); } }
.tsjp-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.tsjp-stat-val { display: block; font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.tsjp-stat-label { display: block; font-size: 10px; color: #a5b4fc; }
.tsjp-hero-cta {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  position: relative;
}
.tsjp-cta-lead { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.tsjp-cta-btn { display: inline-block; }
.tsjp-cta-note { font-size: 11px; color: #c7d2fe; margin: 12px 0 0; }

/* セクション共通 */
.tsjp-body { display: flex; flex-direction: column; gap: 16px; }
.tsjp-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.tsjp-section-warn { border-color: #fde68a; background: #fffbeb; }
.tsjp-section-title {
  font-size: 18px; font-weight: 800; color: #1e1b4b;
  margin: 0 0 8px;
  padding-bottom: 12px; border-bottom: 2px solid #e0e7ff;
}
.tsjp-section-sub { font-size: 13px; color: #9ca3af; margin: 0 0 18px; }
.tsjp-text { font-size: 14px; line-height: 1.85; color: #374151; margin: 0; }

/* タグ */
.tsjp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tsjp-tag { font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.tsjp-tag-blue { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }
.tsjp-tag-red  { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* チャートエリア */
.tsjp-charts-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 600px) {
  .tsjp-charts-row { grid-template-columns: 1fr; }
  .tsjp-chart-box { max-width: 240px; margin: 0 auto; }
}
.tsjp-b5-bars { display: flex; flex-direction: column; }
.tsjp-b5-item { margin-bottom: 12px; }
.tsjp-b5-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tsjp-b5-key { font-size: 12px; font-weight: 800; color: #6366f1; min-width: 60px; }
.tsjp-b5-subdesc { font-size: 11px; color: #9ca3af; flex: 1; }
.tsjp-b5-num { font-size: 14px; font-weight: 800; color: #4b5563; }
.tsjp-b5-track { height: 8px; background: #e0e7ff; border-radius: 999px; overflow: hidden; }
.tsjp-b5-fill  { height: 100%; background: linear-gradient(90deg,#6366f1,#8b5cf6); border-radius: 999px; transition: width 1s ease; }
.tsjp-rias-list { display: flex; flex-direction: column; gap: 10px; }
.tsjp-rias-row { }
.tsjp-rias-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tsjp-rias-label { font-size: 12px; font-weight: 800; color: #10b981; min-width: 90px; }
.tsjp-rias-subdesc { font-size: 11px; color: #9ca3af; flex: 1; }
.tsjp-rias-num { font-size: 14px; font-weight: 800; color: #4b5563; }
.tsjp-rias-track { height: 8px; background: #d1fae5; border-radius: 999px; overflow: hidden; }
.tsjp-rias-fill { height: 100%; background: linear-gradient(90deg,#10b981,#059669); border-radius: 999px; }

/* 警告ボックス */
.tsjp-warning-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 14px;
}
.tsjp-warning-head { font-size: 14px; font-weight: 800; color: #92400e; margin: 0 0 8px; }
.tsjp-warning-text { font-size: 13px; color: #78350f; line-height: 1.7; margin: 0; }

/* 記事本文 */
.tsjp-prose { font-size: 15px; line-height: 1.85; color: #374151; }
.tsjp-prose p { margin-bottom: 1em; }
.tsjp-prose h2,.tsjp-prose h3 { font-weight: 800; color: #1e1b4b; margin: 1.5em 0 .5em; }

/* FAQ */
.tsjp-faq-list { display: flex; flex-direction: column; gap: 12px; }
.tsjp-faq-item { background: #f8faff; border: 1px solid #e0e7ff; border-radius: 12px; padding: 16px 18px; }
.tsjp-faq-q { font-size: 14px; font-weight: 800; color: #1e1b4b; margin: 0 0 8px; }
.tsjp-faq-a { font-size: 13px; color: #4b5563; line-height: 1.7; margin: 0; }

/* 中段CTA */
.tsjp-mid-cta {
  background: linear-gradient(135deg,#4338ca,#7c3aed);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  color: #fff;
}
.tsjp-mid-cta-lead { font-size: 18px; font-weight: 800; margin: 0 0 20px; line-height: 1.6; }
.tsjp-mid-cta-lead strong { color: #fbbf24; }

/* 関連職業 */
.tsjp-related-grid { display: flex; flex-direction: column; gap: 10px; }
.tsjp-related-card {
  display: flex; align-items: center; gap: 14px;
  background: #f8faff; border: 1px solid #e0e7ff;
  border-radius: 14px; padding: 16px 18px;
  text-decoration: none; color: inherit;
  transition: all .2s;
}
.tsjp-related-card:hover { box-shadow: 0 4px 16px rgba(99,102,241,.1); transform: translateX(4px); text-decoration: none; color: inherit; }
.tsjp-related-emoji { font-size: 28px; flex-shrink: 0; }
.tsjp-related-body { flex: 1; min-width: 0; }
.tsjp-related-name { font-size: 15px; font-weight: 800; color: #1e1b4b; margin: 0 0 2px; }
.tsjp-related-cat  { font-size: 11px; color: #9ca3af; margin: 0 0 4px; }
.tsjp-related-stats { font-size: 11px; color: #6b7280; margin: 0; font-weight: 600; }
.tsjp-related-arrow { font-size: 24px; color: #6366f1; flex-shrink: 0; font-weight: 900; }

/* フッターCTA */
.tsjp-footer-cta {
  margin-top: 24px;
  background: linear-gradient(135deg,#1e1b4b,#4338ca);
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
  color: #fff;
}
.tsjp-footer-cta-title { font-size: clamp(18px,3vw,24px); font-weight: 900; margin: 0 0 10px; line-height: 1.5; }
.tsjp-footer-cta-sub { font-size: 13px; color: #c7d2fe; margin: 0 0 24px; }
