/**
 * 転職サイト改修 v1.0 スタイル（Z-T1〜Z-T13）
 */

/* --- Z-T1: カテゴリータブ --- */
.category-tabs {
  margin-bottom: 1rem;
  border-bottom: 2px solid #e8ecf0;
}
.category-tabs__scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
}
.category-tabs__btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 1px solid #d0d7de;
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.category-tabs__btn.is-active {
  background: #1a56db;
  color: #fff;
  border-color: #1a56db;
}
.category-tabs__links {
  margin-top: 0.5rem;
}
.category-tabs__deep-link {
  font-size: 0.875rem;
  color: #1a56db;
}

/* --- Z-T3: 拡張比較表 --- */
.comparison-table--extended {
  font-size: 0.8125rem;
}
.comparison-table--extended th,
.comparison-table--extended td {
  min-width: 6rem;
  vertical-align: top;
}
.comparison-updated {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.comparison-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}
.comparison-filters__label {
  font-weight: 600;
  margin: 0;
}
.comparison-rank {
  display: inline-block;
  background: #1a56db;
  color: #fff;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  border-radius: 50%;
  font-size: 0.75rem;
  margin-right: 0.25rem;
}
.experience-report-link {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* --- Z-T6: マガジン末尾CTA --- */
.magazine-end-cta {
  margin: 3rem 0 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  text-align: center;
}
.magazine-end-cta__eyebrow {
  font-size: 0.875rem;
  color: #1a56db;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.magazine-end-cta__title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.magazine-end-cta__desc {
  margin: 0 0 1.5rem;
  color: #374151;
}
.magazine-end-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
@media (min-width: 640px) {
  .magazine-end-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}
.magazine-end-cta__note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 1rem;
}

/* --- Z-T7: 診断 --- */
.diagnose-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.diagnose-fieldset {
  border: none;
  padding: 0;
  margin-bottom: 2rem;
}
.diagnose-fieldset legend {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.diagnose-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.diagnose-option:has(input:checked) {
  border-color: #1a56db;
  background: #eff6ff;
}
.diagnose-nav {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.diagnose-progress {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.diagnose-result-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.diagnose-result-rank {
  background: #1a56db;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
}
.diagnose-disclaimer {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* --- 静的ページ共通 --- */
.page-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.pr-notice {
  font-size: 0.8125rem;
  color: #6b7280;
  padding: 0.75rem;
  background: #f9fafb;
  border-left: 3px solid #f59e0b;
  margin-bottom: 1.5rem;
}
.area-stats dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}
.area-agent-list {
  list-style: none;
  padding: 0;
}
.area-agent-list li {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.author-profile h1 {
  margin-bottom: 0.25rem;
}
.author-title {
  color: #6b7280;
  margin-bottom: 1rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.5rem;
  color: #9ca3af;
}
