/* ============================================================
   転職プレス — style.css
   ============================================================ */

/* === RESET & VARIABLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1a3a5c;
  --primary-d: #0f2540;
  --accent:    #e85d04;
  --accent-l:  #f48226;
  --bg:        #f1f5f9;
  --bg-card:   #ffffff;
  --text:      #1e293b;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --radius:    10px;
  --shadow:    0 2px 12px rgba(0,0,0,0.07);
  --shadow-h:  0 6px 24px rgba(0,0,0,0.12);

  --cat-it:       #3b82f6;
  --cat-med:      #10b981;
  --cat-high:     #8b5cf6;
  --cat-col:      #f59e0b;
  --cat-finance:  #ea580c;
  --cat-mfg:      #0284c7;
  --cat-care:     #be185d;
  --cat-global:   #0f766e;
  --cat-pro:      #7e22ce;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  width: 100%;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === UTILITIES === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === HEADER === */
#site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem; max-width: 1120px; margin: 0 auto;
  position: relative;
}
.site-logo {
  font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: 0.04em;
  white-space: nowrap; flex-shrink: 0;
}
.site-logo span { color: var(--accent-l); }
/* トップページ用シンプルヘッダー（ハンバーガーなし・常時表示） */
.header-nav-top { display: flex; gap: 1rem; align-items: center; }
.header-nav-top a { white-space: nowrap; }

/* 記事・その他ページ用ナビ */
.header-nav { display: flex; gap: 0.75rem; align-items: center; flex-wrap: nowrap; }
.header-nav a {
  color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 600;
  transition: color 0.2s; padding: 0.3rem 0;
  white-space: nowrap;
}
.header-nav a:hover { color: #fff; }
.nav-ranking {
  background: var(--accent); color: #fff !important;
  padding: 0.4rem 0.85rem !important; border-radius: 100px;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.nav-ranking:hover { background: var(--accent-l) !important; }
/* 小さい「🔧 ツール」ボタン */
.nav-tool-sm {
  color: rgba(255,255,255,0.7) !important; font-size: 0.75rem !important;
  border: 1px solid rgba(255,255,255,0.3); padding: 0.3rem 0.65rem !important;
  border-radius: 100px; white-space: nowrap;
  transition: color 0.2s, border-color 0.2s !important;
}
.nav-tool-sm:hover { color: #fff !important; border-color: rgba(255,255,255,0.7) !important; }
.hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 1.5rem; cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 100%);
  color: #fff; text-align: center; padding: 3rem 1.25rem 2.5rem;
}
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 0.6rem; }
.hero h1 span { color: var(--accent-l); }
.hero p { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 1.5rem; }
.hero-stats {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin-top: 1.2rem;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent-l); }
.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* === CATEGORY TABS === */
.category-section { background: #fff; border-bottom: 2px solid var(--border); position: sticky; top: 58px; z-index: 90; }
.category-tabs {
  display: flex; gap: 0; overflow-x: auto; max-width: 1120px; margin: 0 auto;
  padding: 0 1.25rem; scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0; background: none; border: none; border-bottom: 3px solid transparent;
  padding: 0.9rem 1.2rem; font-size: 0.88rem; font-weight: 700;
  color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s;
  font-family: inherit; white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--accent); }
.tab-btn[data-cat="IT転職"].active        { border-bottom-color: var(--cat-it);      color: var(--cat-it); }
.tab-btn[data-cat="医療転職"].active       { border-bottom-color: var(--cat-med);     color: var(--cat-med); }
.tab-btn[data-cat="ハイクラス転職"].active  { border-bottom-color: var(--cat-high);    color: var(--cat-high); }
.tab-btn[data-cat="転職コラム"].active      { border-bottom-color: var(--cat-col);     color: var(--cat-col); }
.tab-btn[data-cat="金融・保険転職"].active  { border-bottom-color: var(--cat-finance); color: var(--cat-finance); }
.tab-btn[data-cat="製造・メーカー転職"].active { border-bottom-color: var(--cat-mfg);  color: var(--cat-mfg); }
.tab-btn[data-cat="介護・福祉転職"].active  { border-bottom-color: var(--cat-care);    color: var(--cat-care); }
.tab-btn[data-cat="外資系転職"].active      { border-bottom-color: var(--cat-global);  color: var(--cat-global); }
.tab-btn[data-cat="士業・専門職転職"].active { border-bottom-color: var(--cat-pro);    color: var(--cat-pro); }

/* === MAIN LAYOUT === */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem; padding: 2rem 0;
  align-items: start;
}
/* グリッドアイテムがコンテンツ幅まで広がるのを防ぐ */
.main-layout > *, .articles-grid > *, .sidebar > *, .footer-inner > * {
  min-width: 0;
}

/* === ARTICLE GRID === */
.articles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.article-card {
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex; flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-h);
}
.card-thumb {
  height: 180px; overflow: hidden;
  background: linear-gradient(135deg, #dde9f7 0%, #b8d0ea 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.article-card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb-icon {
  font-size: 3rem; opacity: 0.6;
  position: absolute;
}
/* 記事内画像 */
.article-img {
  width: 100%; margin: 1.5rem 0; border-radius: 10px; overflow: hidden;
}
.article-img img {
  width: 100%; height: auto; display: block;
  max-height: 400px; object-fit: cover;
}
.article-img figcaption {
  font-size: 0.78rem; color: #94a3b8; text-align: center;
  padding: 0.4rem 0 0;
}
.card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.cat-badge {
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem;
  border-radius: 100px; color: #fff;
}
.cat-IT転職        { background: var(--cat-it); }
.cat-医療転職       { background: var(--cat-med); }
.cat-ハイクラス転職  { background: var(--cat-high); }
.cat-転職コラム     { background: var(--cat-col); }
.cat-金融・保険転職  { background: var(--cat-finance); }
.cat-製造・メーカー転職 { background: var(--cat-mfg); }
.cat-介護・福祉転職  { background: var(--cat-care); }
.cat-外資系転職     { background: var(--cat-global); }
.cat-士業・専門職転職 { background: var(--cat-pro); }
.card-date { font-size: 0.75rem; color: var(--muted); }
.card-title {
  font-size: 1rem; font-weight: 700; line-height: 1.4;
  color: var(--text); margin-bottom: 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-desc {
  font-size: 0.82rem; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  flex: 1; margin-bottom: 0.8rem;
}
.card-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.5rem; }
.new-badge {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: #e53e3e; color: #fff;
  font-size: 0.68rem; font-weight: 800;
  padding: 0.2rem 0.55rem; border-radius: 4px;
  letter-spacing: 0.06em; z-index: 10;
  pointer-events: none;
}
.no-articles {
  grid-column: 1/-1; text-align: center;
  padding: 3rem; color: var(--muted); font-size: 1rem;
}

/* === SIDEBAR === */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-block {
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.sidebar-title {
  background: var(--primary); color: #fff;
  font-size: 0.85rem; font-weight: 700;
  padding: 0.65rem 1rem; letter-spacing: 0.05em;
}
.sidebar-content { padding: 1rem; }

/* Affiliate banner placeholder */
.affiliate-banner {
  border: 2px dashed var(--border); border-radius: 8px;
  padding: 1rem; text-align: center; margin-bottom: 0.8rem;
  background: #fafafa; cursor: pointer;
  transition: border-color 0.2s;
}
.affiliate-banner:hover { border-color: var(--accent); }
.aff-label { font-size: 0.7rem; color: var(--muted); margin-bottom: 0.4rem; }
.aff-name { font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.aff-point { font-size: 0.78rem; color: var(--accent); font-weight: 600; }

/* Ranking widget */
.rank-list { list-style: none; }
.rank-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.rank-num.gold   { background: #f59e0b; }
.rank-num.silver { background: #94a3b8; }
.rank-num.bronze { background: #cd7f32; }
.rank-name { font-weight: 600; color: var(--text); }
.rank-fee  { font-size: 0.75rem; color: var(--accent); font-weight: 700; }

/* === RANKING PAGE === */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 100%);
  color: #fff; padding: 2.5rem 1.25rem 2rem; text-align: center;
}
.page-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-hero p  { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

.section-title {
  font-size: 1.2rem; font-weight: 800; color: var(--primary);
  padding-bottom: 0.5rem; border-bottom: 3px solid var(--accent);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem;
}

.ranking-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.ranking-card {
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-columns: 60px 1fr auto;
  align-items: stretch;
  transition: box-shadow 0.2s;
}
.ranking-card:hover { box-shadow: var(--shadow-h); }
.rank-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.5rem; color: #fff; padding: 1rem 0.5rem;
  min-width: 60px;
}
.rank-badge.rank-1 { background: linear-gradient(180deg, #f59e0b, #d97706); }
.rank-badge.rank-2 { background: linear-gradient(180deg, #94a3b8, #64748b); }
.rank-badge.rank-3 { background: linear-gradient(180deg, #cd7f32, #a16207); }
.rank-badge.rank-n { background: var(--primary); font-size: 1.1rem; }
.rank-badge small { font-size: 0.6rem; font-weight: 600; opacity: 0.85; }
.rank-info { padding: 1rem 1.2rem; }
.rank-info h3 { font-size: 1.05rem; font-weight: 800; color: var(--primary); margin-bottom: 0.3rem; }
.rank-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.rank-tag {
  font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.5rem;
  border-radius: 4px; background: #e8f0fe; color: var(--primary);
}
.rank-feature { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.4rem; }
.rank-reward { font-size: 0.78rem; color: var(--accent); font-weight: 700; }
.rank-action {
  padding: 1rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-register {
  display: block; background: var(--accent); color: #fff;
  font-size: 0.82rem; font-weight: 700; padding: 0.6rem 1.1rem;
  border-radius: 8px; text-align: center; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-register:hover { background: var(--accent-l); transform: translateY(-1px); }
.btn-detail {
  font-size: 0.75rem; color: var(--primary); font-weight: 600;
  text-decoration: underline;
}

.comparison-table-wrap { overflow-x: auto; margin-top: 0.5rem; }
.comparison-table {
  width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 580px;
}
.comparison-table th {
  background: var(--primary); color: #fff;
  padding: 0.7rem 0.9rem; text-align: left; font-size: 0.8rem;
}
.comparison-table td {
  padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.comparison-table tr:hover td { background: #f8faff; }
.check { color: var(--cat-med); font-weight: 700; }
.cross { color: #ef4444; font-weight: 700; }

/* === ARTICLE PAGE === */
.article-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 100%);
  color: #fff; padding: 2.5rem 1.25rem 2rem;
}
.article-meta { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.8rem; flex-wrap: wrap; }
.article-header h1 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.4; }
.article-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 2rem;
  padding: 2rem 0; align-items: start;
}
.article-body {
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem;
}
.article-body h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--primary);
  border-left: 4px solid var(--accent); padding-left: 0.75rem;
  margin: 2rem 0 1rem;
}
.article-body h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  border-bottom: 1px solid var(--border); padding-bottom: 0.3rem;
  margin: 1.5rem 0 0.8rem;
}
.article-body p { margin-bottom: 1.1rem; line-height: 1.85; font-size: 0.95rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: 0.4rem; font-size: 0.95rem; line-height: 1.7; }
.article-body .highlight-box {
  background: #eff6ff; border-left: 4px solid var(--cat-it);
  border-radius: 0 8px 8px 0; padding: 1rem 1.2rem; margin: 1.2rem 0;
}
.article-body .warning-box {
  background: #fff7ed; border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 1rem 1.2rem; margin: 1.2rem 0;
}
.article-share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.share-title { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 0.8rem; }
.share-btns { display: flex; gap: 0.7rem; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; border: none; font-family: inherit;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-x    { background: #000; color: #fff; }
.share-copy { background: var(--border); color: var(--text); }

.breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.75);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.4rem;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }

/* === FOOTER === */
#site-footer {
  background: var(--primary-d); color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 1.5rem; margin-top: 3rem;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
}
.footer-logo {
  font-size: 1.2rem; font-weight: 800; color: #fff;
  margin-bottom: 0.5rem;
}
.footer-logo span { color: var(--accent-l); }
.footer-desc { font-size: 0.82rem; line-height: 1.7; }
.footer-heading { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1120px; margin: 1.5rem auto 0; padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.5);
}
.disclaimer {
  background: #fff8f0; border: 1px solid #fed7aa; border-radius: 8px;
  padding: 0.8rem 1rem; font-size: 0.78rem; color: #92400e;
  margin-bottom: 1rem; line-height: 1.6;
}

/* === PAGINATION === */
.pagination {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 2rem;
}
.page-btn {
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
}
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* === RESPONSIVE === */

/* --- 1024px: ナビ11リンク溢れ防止 → ハンバーガーに切り替え --- */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .header-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--primary);
    padding: 0.5rem 0 0.75rem;
    gap: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 200;
  }
  .header-nav.nav-open a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.95rem;
    display: block;
    color: rgba(255,255,255,0.9);
  }
  .header-nav.nav-open a:last-child { border-bottom: none; }
  .header-nav.nav-open .nav-ranking {
    margin: 0.5rem 1.5rem 0.25rem;
    text-align: center;
    border-radius: 8px;
    display: block;
    padding: 0.6rem 1rem !important;
  }
  .hamburger { display: block; }
}

/* --- 900px: グリッドレイアウト --- */
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .ranking-card { grid-template-columns: 56px 1fr; }
  .rank-action { grid-column: 1/-1; flex-direction: row; padding: 0.8rem 1rem; border-top: 1px solid var(--border); }
}

/* --- 768px: 記事・カード・フォント調整 --- */
@media (max-width: 768px) {
  /* --- 広告 --- */
  .pr-ad-row { flex-direction: column; align-items: center; }
  .pr-ad-item { width: 100%; max-width: 300px; }

  /* --- Article grid --- */
  .articles-grid { grid-template-columns: 1fr; }

  /* --- Card thumbnail height --- */
  .card-thumb { height: 160px; }
  .card-body { padding: 0.85rem; }
  .card-title { font-size: 0.95rem; }
  .card-desc { -webkit-line-clamp: 2; }

  /* --- Sidebar --- */
  .sidebar { grid-template-columns: 1fr; }

  /* --- Footer --- */
  .footer-inner { grid-template-columns: 1fr; }

  /* --- Hero --- */
  .hero { padding: 2rem 1rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero-stats { gap: 1.2rem; }
  .hero-stat strong { font-size: 1.3rem; }

  /* --- Tabs --- */
  .tab-btn { padding: 0.75rem 0.9rem; font-size: 0.82rem; }

  /* --- Article page --- */
  .article-body { padding: 1.25rem; }
  .article-body h2 { font-size: 1.05rem; }
  .article-body p, .article-body li { font-size: 0.9rem; }

  /* --- Ranking page --- */
  .ranking-card { grid-template-columns: 48px 1fr; }
  .rank-info { padding: 0.85rem 1rem; }
  .rank-info h3 { font-size: 0.95rem; }
}
@media (max-width: 600px) {
  /* ヘッダーのトップナビボタンをスマホサイズに縮小 */
  .header-inner { padding: 0.7rem 0.85rem; }
  .header-nav-top { gap: 0.4rem; }
  .header-nav-top a.nav-ranking {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.55rem !important;
    letter-spacing: 0;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .card-thumb { height: 140px; }
  .hero { padding: 1.5rem 0.75rem; }
  .header-inner { padding: 0.65rem 0.75rem; }
  .header-nav-top { gap: 0.3rem; }
  .header-nav-top a.nav-ranking {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.45rem !important;
  }
}


/* ===== PR広告ブロック ===== */
.pr-ad-section{background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:1.2rem 0;margin:1.5rem 0;text-align:center;}
.pr-ad-section .pr-label{font-size:0.7rem;color:#718096;font-weight:700;letter-spacing:0.08em;border:1px solid #cbd5e0;border-radius:3px;padding:1px 6px;display:inline-block;margin-bottom:0.8rem;}
.pr-ad-row{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;align-items:flex-start;}
.pr-ad-item{line-height:0;max-width:100%;}
.pr-ad-item a,.pr-ad-item img{max-width:100%;height:auto;}

/* ===== CTAボタンセクション ===== */
.cta-section{padding:1.2rem 0 1rem;margin:0;text-align:center;background:#fff;}
.cta-section .cta-pr-label{font-size:0.65rem;color:#718096;font-weight:700;letter-spacing:0.08em;border:1px solid #cbd5e0;border-radius:3px;padding:1px 5px;display:inline-block;margin-bottom:0.7rem;}
.cta-btn-row{display:flex;flex-wrap:wrap;gap:0.75rem;justify-content:center;}
.cta-btn{display:inline-block;padding:0.85rem 1.3rem;border-radius:50px;font-size:0.88rem;font-weight:700;text-decoration:none;color:#fff;line-height:1.4;transition:opacity 0.2s,transform 0.15s;max-width:340px;text-align:center;}
.cta-btn:hover{opacity:0.88;transform:translateY(-2px);}
.cta-btn-career{background:linear-gradient(135deg,#e85d04 0%,#f48c06 100%);box-shadow:0 4px 14px rgba(232,93,4,0.3);}
.cta-btn-agent{background:linear-gradient(135deg,#1a3a5c 0%,#2b6cb0 100%);box-shadow:0 4px 14px rgba(26,58,92,0.3);}
.cta-section-footer{background:#1a2a4a !important;padding:2rem 1rem;}
.cta-section-footer .cta-pr-label{color:#90cdf4;border-color:#4a6fa5;}
@media(max-width:600px){.cta-btn{font-size:0.78rem;padding:0.7rem 1rem;max-width:100%;width:100%;}}

/* ===== 記事内コンポーネント ===== */
.article-points{background:#ebf4ff;border-left:4px solid #2b6cb0;border-radius:0 8px 8px 0;padding:1.2rem 1.5rem;margin:1.5rem 0;}
.article-points ul{margin:0;padding-left:1.4rem;}
.article-points ul li{margin-bottom:0.5rem;line-height:1.7;font-size:0.95rem;}

.faq-section{background:#f7fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.5rem;margin:2rem 0;}
.faq-section h3{font-size:1.05rem;color:#1a3a5c;margin-bottom:1.2rem;padding-bottom:0.5rem;border-bottom:2px solid #e85d04;}
.faq-item{margin-bottom:1.2rem;}
.faq-item:last-child{margin-bottom:0;}
.faq-q{font-weight:700;color:#1a3a5c;font-size:0.95rem;margin-bottom:0.4rem;display:flex;gap:0.5rem;align-items:flex-start;}
.faq-q::before{content:"Q.";color:#e85d04;font-weight:800;flex-shrink:0;}
.faq-a{font-size:0.92rem;line-height:1.75;color:#374151;padding-left:1.6rem;}

.article-cta{background:linear-gradient(135deg,#1a3a5c 0%,#2b6cb0 100%);border-radius:12px;padding:1.8rem 1.5rem;margin:2rem 0;text-align:center;}
.article-cta p{color:#e2e8f0;font-size:0.95rem;margin-bottom:1.2rem;}
.article-cta a{display:inline-block;background:#e85d04;color:#fff;font-weight:700;font-size:0.95rem;padding:0.9rem 2rem;border-radius:50px;text-decoration:none;transition:opacity 0.2s,transform 0.15s;box-shadow:0 4px 14px rgba(0,0,0,0.25);}
.article-cta a:hover{opacity:0.88;transform:translateY(-2px);}
