:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #657085;
  --line: #e5eaf2;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0f172a;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  border-radius: 28px;
  padding: 32px 32px;
  box-shadow: var(--shadow);
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 8px;
}

.hero h1,
.page-header h1,
.job-header h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.18;
  margin: 0 0 18px;
}

.hero p {
  color: #dbeafe;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-primary,
.btn-secondary,
.comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-primary,
.comment-form button {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.comment-form button:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}

.content-section {
  margin-top: 48px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.page-header h1,
.job-article h2 {
  color: var(--accent);
}

.section-heading p,
.page-header p,
.job-header p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ranking-card,
.job-list-item,
.ranking-row,
.job-article,
.contact-box,
.comment-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ranking-card {
  padding: 22px;
  transition: .2s ease;
}

.ranking-card:hover,
.job-list-item:hover {
  transform: translateY(-2px);
}

.ranking-card span {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.ranking-card h2,
.ranking-card h3 {
  margin: 8px 0;
  line-height: 1.35;
}

.ranking-card p {
  color: var(--muted);
  font-size: 14px;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-list-item {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-list-item h3 {
  margin: 0;
}

.job-list-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.page-layout {
  max-width: 980px;
}

.page-header {
  margin-bottom: 28px;
}

.ranking-list {
  display: grid;
  gap: 16px;
}

.ranking-list-bright {
  display: grid;
  gap: 10px;
}

.ranking-row-bright {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.rank-badge {
  border-radius: 16px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 76px;
}

.rank-badge span {
  font-size: 11px;
  font-weight: 800;
  opacity: .9;
}

.rank-badge strong {
  font-size: 30px;
  line-height: 1;
}

.ranking-row-bright.rank-1 .rank-badge {
  background: linear-gradient(135deg, #facc15, #f97316);
}

.ranking-row-bright.rank-2 .rank-badge {
  background: linear-gradient(135deg, #cbd5e1, #64748b);
}

.ranking-row-bright.rank-3 .rank-badge {
  background: linear-gradient(135deg, #fb923c, #b45309);
}

.ranking-body-bright {
  min-width: 0;
}

.ranking-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.job-category-link {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.ranking-percentage-big {
  display: inline-flex;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.ranking-rank_value-big {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 4px 9px;
  font-size: 15px;
  font-weight: 800;
}

.ranking-job-title {
  margin: 0 0 6px;
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.25;
}

.ranking-job-title a {
  color: #0f172a;
}

.ranking-reason {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.ranking-source-box {
  margin-top: 14px;
  background: #f8fafc;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  padding: 12px 14px;
  color: #475569;
  font-size: 13px;
}

.ranking-source-box strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}

.ranking-source-box p {
  margin: 4px 0 0;
}

.source-url a {
  color: #2563eb;
  font-weight: 700;
  word-break: break-all;
}

@media (max-width: 640px) {
  .ranking-row-bright {
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }

  .rank-badge {
    min-height: 66px;
    border-radius: 14px;
  }

  .rank-badge strong {
    font-size: 26px;
  }

  .ranking-topline {
    align-items: flex-start;
  }

  .job-category-link {
    font-size: 11px;
    padding: 3px 8px;
  }

  .ranking-percentage-big {
    font-size: 13px;
    padding: 4px 8px;
  }

  .ranking-reason {
    font-size: 13px;
    line-height: 1.55;
  }
}

.ranking-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 22px;
}

.rank-number {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.job-category {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
}

.ranking-body h2 {
  margin: 0 0 8px;
}

.reason-box {
  background: #f1f5f9;
  border-left: 4px solid var(--primary);
  padding: 12px 14px;
  border-radius: 10px;
  color: #334155;
  font-size: 14px;
  margin-top: 12px;
}

.article-layout {
  max-width: 900px;
}

.job-article {
  padding: 32px;
}

.job-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.job-article section {
  margin-top: 32px;
}

.comment-section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.comment-form {
  display: grid;
  gap: 16px;
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.comment-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.form-note,
.empty-text {
  color: var(--muted);
  font-size: 14px;
}

.comments {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.comment-card {
  padding: 16px 18px;
}

.contact-box {
  padding: 28px;
}

@media (max-width: 768px) {
  .site-main {
    padding: 20px 14px 48px;
  }

  .hero {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 1fr;
  }

  .job-list-item {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .job-article {
    padding: 22px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.site-nav a:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.notice {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 700;
}

.notice.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.notice.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.admin-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}

.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-form input,
.admin-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.admin-form button {
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.result-box {
  margin-top: 28px;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  overflow-x: auto;
}

.result-box pre {
  white-space: pre-wrap;
}

.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e5eaf2;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 14px 12px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: #172033;
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.logo-text {
  font-size: 26px;
  letter-spacing: .02em;
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.site-nav a {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  padding: 7px 9px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: #eff6ff;
  color: #2563eb;
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  margin: 5px 0;
  transition: .2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header-search {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 8px;
}

.header-search input {
  width: 100%;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}

.header-search input:focus {
  border-color: #60a5fa;
  background: #fff;
}

.header-search button {
  border: none;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e5eaf2;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: #172033;
}

.footer-brand p {
  color: #64748b;
  font-size: 14px;
  margin: 8px 0 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.footer-copy {
  color: #94a3b8;
  font-size: 12px;
  margin-top: 18px;
}

.compact-list {
  gap: 8px;
}

/* 検索結果ページ */

.job-list-item.compact {
  padding: 13px 15px;
  border-radius: 14px;
}

.job-list-item.compact h3 {
  font-size: 16px;
}

.job-list-item.compact p {
  font-size: 12px;
}

.search-result-head {
  margin-bottom: 14px;
}

.search-result-head h2 {
  margin: 0;
  font-size: 20px;
}

.search-result-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.search-sort-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.search-sort-nav a {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.search-sort-nav a:hover,
.search-sort-nav a.is-active {
  background: linear-gradient(135deg,
      #2563eb,
      #38bdf8);

  color: #fff;

  border-color: transparent;

  box-shadow:
    0 6px 15px rgba(37, 99, 235, .25);
}


.search-job-body {
  flex: 1;
}


.search-score-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}


.search-score-list span {
  display: inline-flex;
  align-items: center;

  padding: 4px 8px;

  border-radius: 999px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  color: #475569;

  font-size: 12px;

  font-weight: 800;
}


.search-more {
  color: #2563eb;
  font-size: 13px;
  white-space: nowrap;
}


@media(max-width:600px) {

  .search-score-list span {
    font-size: 11px;
    padding: 3px 7px;
  }

}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-tabs a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.small-admin-btn {
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.job-page {
  max-width: 960px;
}

.compact-job {
  padding: 18px;
}

.job-hero-card {
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 16px;
}

.job-hero-card h1 {
  font-size: clamp(26px, 6vw, 42px);
  margin: 0 0 8px;
  line-height: 1.2;
}

.job-lead {
  color: #475569;
  margin: 0;
}

.job-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.job-quick-facts div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}

.job-quick-facts span {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
}

.job-quick-facts strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.job-quick-facts-four {
  grid-template-columns: repeat(4, 1fr);
}

.job-score-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
  width: 100%;
}

.job-score-box {
  min-width: 0;
  border-radius: 15px;
  padding: 10px 6px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.job-score-box span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  opacity: .95;
}

.job-score-box strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.score-career {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.score-stress {
  background: linear-gradient(135deg, #fb7185, #e11d48);
}

.score-balance {
  background: linear-gradient(135deg, #2dd4bf, #0891b2);
}

.score-stability {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.score-competition {
  background: linear-gradient(135deg, #fbbf24, #f97316);
}

@media (max-width: 640px) {
  .job-score-strip {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }

  .job-score-box {
    border-radius: 11px;
    padding: 8px 3px;
  }

  .job-score-box span {
    font-size: 9px;
    letter-spacing: -0.03em;
  }

  .job-score-box strong {
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .job-quick-facts-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .job-quick-facts-four {
    grid-template-columns: 1fr;
  }
}

.job-vote-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}

.job-vote-section h2,
.compact-comment h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.job-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.job-info-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  transition: .2s ease;
}

.job-info-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.job-info-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #0f172a;
}

.job-info-card p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.income-card {
  background: linear-gradient(135deg,
      #eff6ff,
      #ffffff);
}

@media (max-width: 768px) {

  .job-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .job-info-card {
    padding: 16px;
    border-radius: 16px;
  }

  .job-info-card h2 {
    font-size: 18px;
  }
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

/* formが縮まないようにする */
.vote-grid form {
  width: 100%;
}

.vote-btn {
  width: 100%;
  min-height: 70px;
  font-size: 15px;
  position: relative;

  border: none;
  border-radius: 20px;

  padding: 18px 12px;

  color: #fff;

  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  box-shadow:
    0 8px 0 rgba(0, 0, 0, .18),
    0 14px 26px rgba(15, 23, 42, .18);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    filter .15s ease;

  overflow: hidden;
}

/* 光沢 */
.vote-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;

  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, .45),
      transparent);

  transform: skewX(-20deg);
}


/* hover */
.vote-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 11px 0 rgba(0, 0, 0, .16),
    0 18px 30px rgba(15, 23, 42, .22);

  filter: brightness(1.05);
}


.vote-btn:hover::before {
  animation: shine .8s ease;
}


/* 押した時 */
.vote-btn:active {
  transform: translateY(5px);

  box-shadow:
    0 3px 0 rgba(0, 0, 0, .2),
    0 8px 14px rgba(15, 23, 42, .18);
}


@keyframes shine {

  from {
    left: -80%;
  }

  to {
    left: 130%;
  }

}

.vote-btn strong {
  font-size: 18px;
}

.vote-blue {
  background: #2563eb;
}

.vote-green {
  background: #16a34a;
}

.vote-gold {
  background: #ca8a04;
}

.vote-sky {
  background: #0284c7;
}

.vote-orange {
  background: #ea580c;
}

.vote-red {
  background: #dc2626;
}

.vote-cyan {
  background: #00FFFF;
}

.vote-black {
  background: black;
}

.vote-brown {
  background: brown;
}

.compact-comment {
  background: #fff;
  border: 1px solid #2563eb;
  border-radius: 18px;
  padding: 16px;
}

.compact-comment .comment-form {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mini-card-list {
  display: grid;
  gap: 8px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mini-card span {
  color: #2563eb;
  font-weight: 900;
  white-space: nowrap;
}

.related-job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.related-job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.related-job-card strong {
  display: block;
  margin-bottom: 5px;
}

.related-job-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.future-stars {
  margin: 0;
  color: #f59e0b;
  font-size: 22px;
  letter-spacing: 1px;
  font-weight: 900;
}

.category-header {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading h2 {
  margin-bottom: 4px;
}

.category-job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  transition: .2s ease;
}

.category-job-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.category-job-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #0f172a;
}

.category-job-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.job-card-meta {
  color: #2563eb !important;
  font-weight: 800;
  margin-bottom: 4px !important;
}

.income-chip {
  align-self: flex-start;
  white-space: nowrap;
  background: #ecfdf5;
  color: #059669;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.section-more-link {
  margin-top: 18px;
  text-align: center;
}

.section-more-link a {
  display: inline-flex;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  padding: 11px 20px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
}

.category-pop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-pop-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  transition: .2s ease;
}

.category-pop-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.category-pop-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #facc15, #38bdf8);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.category-pop-card h3 {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
}

.category-pop-card p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 13px;
}

.ranking-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ranking-index-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: .2s ease;
}

.ranking-index-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.ranking-index-year {
  display: inline-flex;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.ranking-index-card h2 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.ranking-index-card p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
}

.ranking-index-card strong {
  color: #059669;
  font-size: 13px;
}

@media (max-width: 640px) {

  .category-pop-grid,
  .ranking-index-grid {
    grid-template-columns: 1fr;
  }

  .category-pop-card {
    padding: 13px;
    border-radius: 16px;
  }

  .ranking-index-card {
    padding: 15px;
  }
}

.legal-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.legal-article section {
  margin-top: 28px;
}

.legal-article h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f172a;
}

.legal-article p,
.legal-article li {
  color: #475569;
  font-size: 15px;
}

.legal-article ul {
  padding-left: 1.4em;
}

.legal-article a {
  color: #2563eb;
  font-weight: 800;
}

.legal-updated {
  margin-top: 32px;
  color: #64748b;
  font-size: 13px;
}

.contact-cta-box {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}

.contact-cta-box strong {
  display: block;
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-cta-box p {
  margin: 0;
  color: #64748b;
}

.job-list-summary {
  margin: 18px 0 28px;
}

.summary-card {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  border-radius: 18px;
  padding: 18px;
  display: inline-grid;
  gap: 4px;
  min-width: 180px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
}

.summary-card span {
  font-size: 13px;
  font-weight: 700;
  opacity: .9;
}

.summary-card strong {
  font-size: 30px;
  line-height: 1;
}

.job-table-section {
  margin-top: 32px;
}

.job-table-section h2 {
  background: #eff6ff;
  color: #2563eb;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 20px;
}

.job-public-table a {
  color: #2563eb;
  font-weight: 800;
}

.status-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}

.status-chip.published {
  background: #ecfdf5;
  color: #047857;
}

.status-chip.draft {
  background: #fff7ed;
  color: #c2410c;
}

.sitemap-list {
  margin: 0;
  padding-left: 18px;
}

.sitemap-list li {
  margin-bottom: 8px;
}

.sitemap-list a {
  color: #2563eb;
  font-weight: 700;
}

.sitemap-category-group {
  margin-top: 28px;
}

.sitemap-category-group h3 {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
}

.sitemap-job-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 20px;
  list-style: none;
  padding: 0;
}

.sitemap-job-list li {
  margin: 0;
}

.sitemap-job-list a {
  color: #334155;
}

.sitemap-job-list a:hover {
  color: #2563eb;
}

.vs-hero {
  background: linear-gradient(135deg, #eff6ff, #fff7ed);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 22px;
}

.vs-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 7vw, 48px);
}

.vs-result-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
  align-items: stretch;
}

.vs-job-side,
.vs-winner-center {
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
}

.vs-job-side {
  background: #fff;
  border: 1px solid var(--line);
}

.vs-job-side span,
.vs-winner-center span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #64748b;
}

.vs-job-side h2,
.vs-winner-center h2 {
  margin: 8px 0;
  font-size: 24px;
}

.vs-job-side strong {
  color: #2563eb;
  font-size: 34px;
  font-weight: 900;
}

.vs-winner-center {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #fff;
  border: none;
}

.vs-winner-center span,
.vs-winner-center p {
  color: rgba(255, 255, 255, .9);
}

.vs-winner-center h2 {
  font-size: 30px;
}

.vs-battle-list {
  display: grid;
  gap: 12px;
}

.vs-battle-row {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 10px;
  align-items: stretch;
}

.vs-battle-job,
.vs-metric-center {
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.vs-battle-job {
  display: grid;
  align-content: center;
  gap: 6px;
}

.vs-battle-job h3 {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
}

.vs-battle-job strong {
  font-size: 22px;
  color: #334155;
}

.vs-battle-job span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  background: #f1f5f9;
  color: #64748b;
}

.vs-battle-job.is-win {
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
  border-color: #86efac;
}

.vs-battle-job.is-win span {
  background: #16a34a;
  color: #fff;
}

.vs-battle-job.is-lose {
  opacity: .72;
}

.vs-battle-job.is-lose span {
  background: #e2e8f0;
  color: #64748b;
}

.vs-metric-center {
  text-align: center;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.vs-metric-icon {
  font-size: 30px;
}

.vs-metric-center h3 {
  margin: 0;
  font-size: 14px;
  color: #0f172a;
}

.vs-battle-row.is-missing {
  opacity: .65;
}

.vs-error-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 22px;
}

/* 右側職業だけ右寄せ */
.vs-battle-row .vs-battle-job:last-child {
  text-align: right;
  justify-items: end;
}

.home-vs-section {
  margin: 40px 0;
  padding: 28px;

  border-radius: 26px;

  background:
    linear-gradient(135deg, #eff6ff, #fff7ed);

  box-shadow:
    0 15px 35px rgba(15, 23, 42, .10);

  border: 1px solid #e5e7eb;
}


.home-vs-header {
  text-align: center;
  margin-bottom: 22px;
}


.home-vs-header span {
  font-size: 13px;
  font-weight: 900;

  color: #f97316;

  letter-spacing: .08em;
}


.home-vs-header h2 {
  margin: 6px 0;

  font-size: clamp(28px, 5vw, 42px);

  color: #0f172a;
}


.home-vs-header p {
  color: #64748b;
}



.home-vs-form {

  display: grid;

  grid-template-columns: 1fr auto 1fr auto;

  gap: 14px;

  align-items: center;

}



.vs-select-box select {

  width: 100%;

  height: 56px;

  padding: 0 16px;


  border-radius: 16px;

  border: 2px solid #e2e8f0;


  background: #fff;


  font-size: 16px;

  font-weight: 700;


  cursor: pointer;

}



.vs-center-mark {

  width: 54px;

  height: 54px;


  display: grid;

  place-items: center;


  border-radius: 50%;


  background:

    linear-gradient(135deg, #facc15, #f97316);


  color: #fff;


  font-size: 18px;

  font-weight: 900;


  box-shadow:

    0 8px 18px rgba(249, 115, 22, .35);

}



.vs-submit-btn {

  height: 56px;

  padding: 0 24px;


  border: none;

  border-radius: 18px;

  background:

    linear-gradient(135deg, #2563eb, #7c3aed);


  color: #fff;


  font-size: 16px;

  font-weight: 900;


  cursor: pointer;


  box-shadow:

    0 8px 0 rgba(0, 0, 0, .15),

    0 15px 25px rgba(37, 99, 235, .25);
  transition: .15s ease;

}


.vs-submit-btn:hover {
  transform: translateY(-3px);
}



@media(max-width:700px) {

  .home-vs-section {

    padding: 20px 14px;

  }

  .home-vs-form {
    grid-template-columns: 1fr;
  }


  .vs-center-mark {
    margin: auto;
  }


  .vs-submit-btn {
    width: 100%;
  }

}

.job-vs-box {

  margin: 32px 0;

  padding: 24px;


  border-radius: 24px;


  background:

    linear-gradient(135deg, #f0f9ff, #fff7ed);


  border: 1px solid #e5e7eb;


  box-shadow:

    0 12px 28px rgba(15, 23, 42, .08);

}


.job-vs-title {

  text-align: center;

  margin-bottom: 20px;

}


.job-vs-title span {

  color: #f97316;

  font-size: 13px;

  font-weight: 900;

}


.job-vs-title h2 {

  margin: 6px 0;

  font-size: 24px;

}


.job-vs-title p {

  color: #64748b;

  font-size: 14px;

}


.job-vs-form {

  display: grid;

  grid-template-columns: 1fr 60px 1fr auto;

  gap: 12px;

  align-items: center;

}


.current-job-card {

  height: 54px;


  display: flex;

  align-items: center;

  justify-content: center;


  border-radius: 16px;


  background: #fff;


  font-weight: 900;


  border: 2px solid #bfdbfe;

}


.job-vs-mark {

  width: 54px;

  height: 54px;


  display: grid;

  place-items: center;


  border-radius: 50%;


  background:

    linear-gradient(135deg, #facc15, #f97316);


  color: white;

  font-weight: 900;

}


.job-vs-form select {

  height: 54px;

  padding: 0 14px;


  border-radius: 16px;


  border: 2px solid #e2e8f0;


  background: #fff;


  font-weight: 700;

}


.job-vs-form button {

  height: 54px;

  padding: 0 22px;


  border: none;

  border-radius: 16px;


  background:

    linear-gradient(135deg, #2563eb, #7c3aed);


  color: white;


  font-weight: 900;


  cursor: pointer;

}



@media(max-width:700px) {


  .job-vs-form {

    grid-template-columns: 1fr;

  }


  .job-vs-mark {

    margin: auto;

  }


  .job-vs-form button {

    width: 100%;

  }

}

.vs-card-select {
  background: linear-gradient(135deg, #f0f9ff, #fff7ed);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.vs-card-select h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.vs-card-select p {
  margin: 0 0 18px;
  color: #64748b;
}

.vs-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vs-card-link {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
  transition: .18s ease;
}

.vs-card-link:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.vs-card-job {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.vs-card-job.left {
  .vs-guide-box {
    margin-top: 30px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid var(--line);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
  }

  .vs-guide-header {
    text-align: center;
    margin-bottom: 20px;
  }

  .vs-guide-header span {
    display: inline-flex;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 13px;
    font-weight: 900;
  }

  .vs-guide-header h2 {
    margin: 10px 0 8px;
    font-size: 26px;
    color: #0f172a;
  }

  .vs-guide-header p {
    margin: 0 auto;
    max-width: 760px;
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
  }

  .vs-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .vs-guide-card {
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    padding: 16px;
  }

  .vs-guide-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: #0f172a;
  }

  .vs-guide-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
  }

  @media (max-width: 640px) {
    .vs-guide-box {
      padding: 16px;
      border-radius: 18px;
    }

    .vs-guide-grid {
      grid-template-columns: 1fr;
    }

    .vs-guide-header h2 {
      font-size: 22px;
    }
  }

  text-align: left;
}

.vs-card-job.right {
  text-align: right;
}

.vs-card-center {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(249, 115, 22, .28);
}

@media (max-width: 720px) {
  .vs-card-grid {
    grid-template-columns: 1fr;
  }

  .vs-card-link {
    grid-template-columns: 1fr 46px 1fr;
    padding: 12px;
  }

  .vs-card-center {
    width: 42px;
    height: 42px;
  }

  .vs-card-job {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .vs-result-top {
    grid-template-columns: 1fr;
  }

  .vs-battle-row {
    grid-template-columns: 1fr 78px 1fr;
    gap: 6px;
  }

  .vs-battle-job,
  .vs-metric-center {
    padding: 10px 8px;
    border-radius: 14px;
  }

  .vs-battle-job h3 {
    font-size: 13px;
  }

  .vs-battle-job strong {
    font-size: 15px;
  }

  .vs-battle-job span {
    font-size: 10px;
    padding: 4px 7px;
  }

  .vs-metric-icon {
    font-size: 24px;
  }

  .vs-metric-center h3 {
    font-size: 11px;
  }
}

.vs-guide-box {
  margin-top: 30px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.vs-guide-header {
  text-align: center;
  margin-bottom: 20px;
}

.vs-guide-header span {
  display: inline-flex;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 900;
}

.vs-guide-header h2 {
  margin: 10px 0 8px;
  font-size: 26px;
  color: #0f172a;
}

.vs-guide-header p {
  margin: 0 auto;
  max-width: 760px;
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
}

.vs-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vs-guide-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  padding: 16px;
}

.vs-guide-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #0f172a;
}

.vs-guide-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 14px;
}

.job-view-count {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.license-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.license-index-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  transition: .18s ease;
}

.license-index-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.license-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  font-size: 22px;
  flex: 0 0 auto;
}

.license-index-card h2 {
  margin: 0 0 5px;
  font-size: 19px;
  color: #0f172a;
}

.license-index-card p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.license-index-card strong {
  color: #059669;
  font-size: 13px;
}

.license-job-section {
  margin-top: 30px;
}

.license-section-heading {
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

.license-section-heading h2 {
  margin: 0 0 6px;
  font-size: 23px;
}

.license-section-heading p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.importance-必須 {
  background: linear-gradient(135deg, #fee2e2, #fff);
}

.importance-有利 {
  background: linear-gradient(135deg, #eff6ff, #fff);
}

.importance-関連 {
  background: linear-gradient(135deg, #ecfdf5, #fff);
}

.license-job-grid {
  display: grid;
  gap: 12px;
}

.license-job-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.license-job-category {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
}

.license-job-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #0f172a;
}

.license-job-industry,
.license-job-note {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.license-job-note {
  margin-top: 6px;
}

.job-license-section {
  margin: 34px 0;
}

.job-license-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.job-license-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  transition: .18s ease;
}

.job-license-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.job-license-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.job-license-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  font-size: 20px;
}

.job-license-importance {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
  background: #f1f5f9;
  color: #475569;
}

.job-license-card h3 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 18px;
}

.job-license-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

.job-license-card.importance-必須 {
  background: linear-gradient(135deg, #fee2e2, #fff);
  border-color: #fecaca;
}

.job-license-card.importance-有利 {
  background: linear-gradient(135deg, #eff6ff, #fff);
  border-color: #bfdbfe;
}

.job-license-card.importance-関連 {
  background: linear-gradient(135deg, #ecfdf5, #fff);
  border-color: #bbf7d0;
}

.job-license-card.importance-必須 .job-license-importance {
  background: #dc2626;
  color: #fff;
}

.job-license-card.importance-有利 .job-license-importance {
  background: #2563eb;
  color: #fff;
}

.job-license-card.importance-関連 .job-license-importance {
  background: #16a34a;
  color: #fff;
}

.field-index-section {
  margin-top: 24px;
}

.field-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.field-index-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  transition: .18s ease;
}

.field-index-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.field-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #fff;
  font-size: 20px;
  flex: 0 0 auto;
}

.field-index-card h2 {
  margin: 0 0 5px;
  color: #0f172a;
  font-size: 18px;
}

.field-index-card p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.field-index-card strong {
  color: #2563eb;
  font-size: 13px;
}

.field-job-section {
  margin-top: 28px;
}

.field-job-grid {
  display: grid;
  gap: 12px;
}

.field-job-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  transition: .18s ease;
}

.field-job-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.field-job-category {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
}

.field-job-card h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 22px;
}

.field-job-industry,
.field-job-desc {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.field-job-desc {
  margin-top: 6px;
}

.field-job-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: center;
}

.field-job-metrics div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}

.field-job-metrics span {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 800;
}

.field-job-metrics strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 14px;
}

@media (max-width: 900px) {
  .field-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .field-index-grid {
    grid-template-columns: 1fr;
  }

  .field-job-card {
    grid-template-columns: 1fr;
  }

  .field-job-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .field-job-metrics strong {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .job-license-grid {
    grid-template-columns: 1fr;
  }

  .job-license-card {
    padding: 14px;
    border-radius: 16px;
  }
}

.license-job-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: center;
}

@media (max-width: 900px) {

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 1001;
    margin-left: 0;

    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .16);
  }

  .site-nav.is-open {
    display: grid;
    gap: 7px;
  }

  .site-nav a {
    display: block;
    border-radius: 13px;
    padding: 12px 14px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 14px;
  }

  .site-nav a:hover {
    background: #eff6ff;
    color: #2563eb;
  }

  .header-inner {
    padding-bottom: 8px;
  }

  .header-search {
    grid-template-columns: minmax(0, 1fr) 64px;
    padding-bottom: 10px;
  }
}

@media (max-width: 420px) {
  .site-logo {
    font-size: 18px;
  }

  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-search {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
  }

  .site-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 800;
    color: #0f172a;
    background: #f8fafc;
  }

  .site-nav a:hover {
    background: #eff6ff;
    color: #2563eb;
  }
}

.license-job-metrics div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}

.license-job-metrics span {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 800;
}

.license-job-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #0f172a;
}

@media (max-width: 720px) {
  .license-index-grid {
    grid-template-columns: 1fr;
  }

  .license-job-card {
    grid-template-columns: 1fr;
  }

  .license-job-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .license-job-metrics strong {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .vs-guide-box {
    padding: 16px;
    border-radius: 18px;
  }

  .vs-guide-grid {
    grid-template-columns: 1fr;
  }

  .vs-guide-header h2 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .sitemap-job-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sitemap-job-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .summary-card {
    width: 100%;
    box-sizing: border-box;
  }

  .job-table-section h2 {
    font-size: 18px;
  }

  .job-public-table {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .contact-cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .legal-article {
    padding: 16px;
    border-radius: 16px;
  }

  .legal-article h2 {
    font-size: 19px;
  }

  .legal-article p,
  .legal-article li {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .category-header {
    padding: 16px;
    border-radius: 16px;
  }

  .category-job-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .category-job-card {
    padding: 13px;
  }

  .category-job-card h3 {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .compact-job {
    padding: 12px;
  }

  .job-hero-card {
    padding: 14px;
    border-radius: 16px;
  }

  .job-quick-facts {
    grid-template-columns: 1fr;
  }

  .vote-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vote-btn {
    font-size: 12px;
  }

  .related-job-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.admin-comment-list {
  display: grid;
  gap: 14px;
}

.admin-comment-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.admin-comment-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #0f172a;
  font-size: 14px;
}

.admin-comment-meta span,
.admin-comment-job {
  color: #64748b;
  font-size: 13px;
}

.admin-comment-job a {
  color: #2563eb;
  font-weight: 800;
}

.admin-comment-body {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  color: #334155;
}

.admin-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-action {
  border: none;
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.comment-action.approve {
  background: #16a34a;
}

.comment-action.reject {
  background: #ea580c;
}

.comment-action.pending {
  background: #2563eb;
}

.comment-action.delete {
  background: #dc2626;
}

.success-message {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

.notice-message {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .header-inner {
    padding: 8px 10px 10px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 17px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    font-size: 12px;
    padding: 6px 7px;
  }

  .header-search {
    grid-template-columns: 1fr 58px;
    gap: 6px;
  }

  .header-search input {
    font-size: 13px;
    padding: 9px 12px;
  }

  .header-search button {
    font-size: 12px;
  }

  .hero {
    padding: 28px 18px;
  }

  .content-section {
    margin-top: 34px;
  }

  .ranking-card {
    padding: 16px;
    border-radius: 15px;
  }

  .ranking-card h2,
  .ranking-card h3 {
    font-size: 17px;
  }

  .ranking-card p {
    font-size: 13px;
  }

  .job-list-item {
    padding: 14px 15px;
    border-radius: 15px;
  }
}

.ranking-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ranking-title-row h2 {
  margin: 0 0 8px;
}

.ranking-percentage {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.admin-job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.admin-job-action {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-job-action select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  font-size: 13px;
  max-width: 180px;
}

.admin-export-box textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: #f8fafc;
}

.admin-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f1f5f9;
  font-weight: 800;
}

@media (max-width: 720px) {
  .admin-job-row {
    grid-template-columns: 1fr;
  }

  .admin-job-action {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .admin-job-action select {
    max-width: none;
    width: 100%;
  }
}

/* タブレット以下 */
@media (max-width: 768px) {
  .header-inner {
    position: relative;
    padding: 14px 16px;
  }

  .site-logo {
    font-size: 22px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    justify-content: flex-start;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
  }

  .site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }
}

.license-search-section {
  margin: 24px 0;
}


.license-search-form {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 10px;

  background: linear-gradient(135deg,
      #eff6ff,
      #ffffff);

  border: 1px solid #dbeafe;
  border-radius: 20px;

  padding: 16px;

  box-shadow:
    0 10px 25px rgba(37, 99, 235, .08);
}

.license-search-form input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 15px;
  outline: none;
}

.license-search-form input:focus {
  border-color: #2563eb;
}

.license-search-form button {
  border: none;
  border-radius: 999px;
  background:
    linear-gradient(135deg,
      #2563eb,
      #38bdf8);
  color: #fff;
  font-weight: 900;
  cursor: pointer;

}

.license-search-result {
  margin-top: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 14px;
  color: #475569;
  font-size: 14px;

}


.license-search-result strong {
  color: #2563eb;
}


.license-search-result a {
  margin-left: 12px;
  color: #2563eb;
  font-weight: 800;
}

@media(max-width:600px) {
  .license-search-form {
    grid-template-columns: 1fr;
  }

  .license-search-form button {
    padding: 12px;
  }
}

.ranking-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background:
    linear-gradient(135deg,
      #ef4444,
      #f97316);

  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  box-shadow:
    0 5px 14px rgba(239, 68, 68, .3);
  animation: newPulse 1.8s infinite;
}


@keyframes newPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }

}

/* ランキングページ追加 */
.ranking-type-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.ranking-type-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 15px;
  background: #fff;
  border: 1px solid var(--line);
  color: #334155;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.ranking-type-link:hover,
.ranking-type-link.is-active {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  border-color: transparent;
}

.sub-ranking-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.sub-ranking-nav a {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid #e2e8f0;
}

.sub-ranking-nav a:hover,
.sub-ranking-nav a.is-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

@media (max-width: 640px) {
  .ranking-type-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sub-ranking-nav {
    gap: 6px;
  }

  .sub-ranking-nav a {
    font-size: 12px;
    padding: 7px 10px;
  }
}

.job-ranking-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 28px;
  flex-wrap: wrap;
}

.empty-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.empty-box h2 {
  margin: 0 0 8px;
  color: #0f172a;
}

.empty-box p {
  margin: 0;
  color: #64748b;
}