/* =========================================================
   Job Hoppers Lab — Page-specific styles
   ========================================================= */

/* ===== Top Page ===== */

/* Hero */
.jh-hero {
  padding: 72px 0 80px;
  background: var(--jh-bg);
}
.jh-hero-eyebrow { margin-bottom: 20px; }
.jh-hero-title {
  font-size: clamp(28px, 4.2vw, var(--jh-fs-4xl));
  line-height: 1.4;
  margin: 0 0 20px;
  letter-spacing: .01em;
  max-width: 18ch;
}
.jh-hero-title em {
  font-style: normal;
  background: linear-gradient(transparent 70%, var(--jh-accent-100) 70%);
  padding: 0 2px;
}
.jh-hero-lead {
  font-size: var(--jh-fs-md);
  color: var(--jh-text-body);
  line-height: 1.9;
  margin: 0 0 32px;
  max-width: 40ch;
}
.jh-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: center;
}
.jh-hero-visual {
  aspect-ratio: 4/5;
  border-radius: var(--jh-r-lg);
  overflow: hidden;
}
.jh-hero-visual .jh-ph { width:100%; height:100%; border-radius: var(--jh-r-lg); }

/* Search */
.jh-search {
  background: #fff;
  border: 1px solid var(--jh-line);
  border-radius: var(--jh-r-md);
  padding: 6px 6px 6px 18px;
  display: flex; align-items: center; gap: 8px;
  max-width: 480px;
  box-shadow: var(--jh-shadow-1);
}
.jh-search input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  font-size: var(--jh-fs-base);
  color: var(--jh-text);
  padding: 12px 0;
  font-family: var(--jh-font-sans);
}
.jh-search .jh-btn {
  padding: 10px 18px; font-size: var(--jh-fs-sm); border-radius: var(--jh-r-sm);
}
.jh-search-hints {
  display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
  font-size: var(--jh-fs-xs); color: var(--jh-text-muted);
  align-items: center;
}
.jh-search-hints .label { margin-right: 4px; }
.jh-search-hint {
  padding: 4px 10px; border: 1px solid var(--jh-line);
  border-radius: var(--jh-r-pill);
  color: var(--jh-navy-700);
  cursor: pointer;
  background: #fff;
}
.jh-search-hint:hover { border-color: var(--jh-navy-400); background: var(--jh-navy-050); }

/* Empathy / お悩み共感 */
.jh-empathy {
  padding: 72px 0;
  background: var(--jh-bg-elevated);
  border-top: 1px solid var(--jh-line);
  border-bottom: 1px solid var(--jh-line);
}
.jh-empathy-lead {
  font-size: var(--jh-fs-xl);
  line-height: 1.9;
  max-width: 30ch;
  color: var(--jh-text);
  font-weight: var(--jh-fw-medium);
}
.jh-empathy-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.jh-empathy-item {
  padding: 20px;
  background: var(--jh-bg);
  border-radius: var(--jh-r-md);
  border-left: 2px solid var(--jh-navy-400);
  font-size: var(--jh-fs-sm);
  line-height: 1.85;
  color: var(--jh-text-body);
}
@media (max-width: 760px) {
  .jh-empathy-list { grid-template-columns: 1fr; }
}

/* 体育会系特集 Feature Section */
.jh-feature {
  padding: 96px 0;
  background: var(--jh-navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.jh-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(232,144,96,.12), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.04), transparent 50%);
  pointer-events: none;
}
.jh-feature-inner { position: relative; }
.jh-feature-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--jh-accent-300);
  font-size: var(--jh-fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: var(--jh-fw-bold);
}
.jh-feature-kicker::before {
  content: ""; width: 32px; height: 1px; background: var(--jh-accent-500);
}
.jh-feature-title {
  font-size: clamp(26px, 3.6vw, var(--jh-fs-3xl));
  line-height: 1.45;
  color: #fff;
  margin: 0 0 16px;
  max-width: 20ch;
}
.jh-feature-lead {
  font-size: var(--jh-fs-md);
  line-height: 1.9;
  color: rgba(255,255,255,.78);
  max-width: 46ch;
  margin: 0 0 40px;
}
.jh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.jh-feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--jh-r-lg);
  padding: 24px;
  transition: border-color var(--jh-dur) var(--jh-ease), background var(--jh-dur) var(--jh-ease);
}
.jh-feature-card:hover {
  border-color: rgba(232,144,96,.6);
  background: rgba(255,255,255,.06);
}
.jh-feature-card-num {
  font-family: var(--jh-font-mono);
  font-size: var(--jh-fs-sm);
  color: var(--jh-accent-300);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.jh-feature-card-title {
  font-size: var(--jh-fs-lg);
  line-height: 1.5;
  color: #fff;
  margin: 0 0 8px;
  font-weight: var(--jh-fw-bold);
}
.jh-feature-card-excerpt {
  font-size: var(--jh-fs-sm);
  line-height: 1.85;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.jh-feature-cta { margin-top: 36px; }
.jh-feature a.jh-btn-secondary {
  color: #fff; border-color: rgba(255,255,255,.3);
}
.jh-feature a.jh-btn-secondary:hover {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5);
}
@media (max-width: 760px) {
  .jh-feature-grid { grid-template-columns: 1fr; }
}

/* Category Nav */
.jh-categories { padding: 80px 0; }
.jh-category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.jh-category {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px;
  background: var(--jh-bg-elevated);
  border: 1px solid var(--jh-line);
  border-radius: var(--jh-r-lg);
  transition: all var(--jh-dur) var(--jh-ease);
  text-decoration: none !important;
  color: inherit;
}
.jh-category:hover {
  border-color: var(--jh-navy-400);
  transform: translateY(-2px);
  box-shadow: var(--jh-shadow-card);
}
.jh-category-num {
  font-family: var(--jh-font-mono);
  font-size: var(--jh-fs-xs);
  color: var(--jh-text-light);
  letter-spacing: .1em;
}
.jh-category-name {
  font-size: var(--jh-fs-lg);
  color: var(--jh-text);
  font-weight: var(--jh-fw-bold);
  margin: 0;
}
.jh-category-desc {
  font-size: var(--jh-fs-xs);
  color: var(--jh-text-muted);
  line-height: 1.7;
  margin: 0;
}
.jh-category-count {
  font-size: var(--jh-fs-xs);
  color: var(--jh-accent-700);
  font-weight: var(--jh-fw-medium);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--jh-line);
}
@media (max-width: 860px) { .jh-category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .jh-category-grid { grid-template-columns: 1fr; } }

/* Latest articles */
.jh-latest { padding: 48px 0 80px; }
.jh-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .jh-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .jh-card-grid { grid-template-columns: 1fr; } }

/* Bottom CTA */
.jh-bottom-cta {
  padding: 80px 0;
  background: var(--jh-bg-sub);
}
.jh-bottom-cta-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.jh-bottom-cta h2 {
  font-size: var(--jh-fs-3xl);
  margin: 0 0 16px;
  line-height: 1.4;
}
.jh-bottom-cta p {
  font-size: var(--jh-fs-md);
  color: var(--jh-text-body);
  margin: 0 0 28px;
  line-height: 1.9;
}

/* ===== Article Page ===== */

.jh-breadcrumb {
  padding: 18px 0;
  font-size: var(--jh-fs-xs);
  color: var(--jh-text-muted);
  border-bottom: 1px solid var(--jh-line);
  background: var(--jh-bg-elevated);
}
.jh-breadcrumb a { color: var(--jh-navy-700); }
.jh-breadcrumb .sep { margin: 0 8px; color: var(--jh-text-light); }

.jh-article {
  padding: 48px 0 80px;
  background: var(--jh-bg-elevated);
}
.jh-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  max-width: var(--jh-container);
  margin: 0 auto;
  padding: 0 var(--jh-gutter);
}
@media (max-width: 960px) {
  .jh-article-layout { grid-template-columns: 1fr; gap: 40px; }
  .jh-sidebar { order: 2; }
}

.jh-article-head { margin-bottom: 32px; }
.jh-article-tags { display: flex; gap: 8px; margin-bottom: 20px; }
.jh-article-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.5;
  margin: 0 0 20px;
  font-weight: var(--jh-fw-bold);
}
.jh-article-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: var(--jh-fs-xs);
  color: var(--jh-text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--jh-line);
}
.jh-article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--jh-text-light); }

.jh-article-hero {
  aspect-ratio: 16/9;
  border-radius: var(--jh-r-lg);
  overflow: hidden;
  margin: 0 0 40px;
}
.jh-article-hero .jh-ph { width:100%; height:100%; border-radius: var(--jh-r-lg); }

/* TOC */
.jh-toc {
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--jh-r-md);
  padding: 20px 24px;
  margin: 0 0 40px;
}
.jh-toc-title {
  font-size: var(--jh-fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--jh-text-muted);
  font-weight: var(--jh-fw-bold);
  margin: 0 0 12px;
}
.jh-toc ol { margin: 0; padding-left: 20px; }
.jh-toc li { font-size: var(--jh-fs-sm); line-height: 2; color: var(--jh-text-body); }
.jh-toc li ol { padding-left: 18px; }
.jh-toc li ol li { font-size: var(--jh-fs-xs); color: var(--jh-text-muted); }
.jh-toc a { color: inherit; }

/* Body typography */
.jh-body {
  font-size: var(--jh-fs-md);
  line-height: var(--jh-lh-body);
  color: var(--jh-text-body);
}
.jh-body > h2 {
  font-size: var(--jh-fs-2xl);
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--jh-navy-800);
  line-height: 1.5;
}
.jh-body > h3 {
  font-size: var(--jh-fs-xl);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--jh-accent-500);
  line-height: 1.5;
}
.jh-body > p { margin: 0 0 1.6em; }
.jh-body strong { color: var(--jh-text); font-weight: var(--jh-fw-bold); background: linear-gradient(transparent 65%, var(--jh-accent-100) 65%); padding: 0 2px; }
.jh-body a { color: var(--jh-navy-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.jh-body ul, .jh-body ol {
  padding-left: 1.4em;
  margin: 0 0 1.6em;
}
.jh-body ul li, .jh-body ol li {
  padding-left: 6px;
  margin-bottom: .5em;
}
.jh-body ul li::marker { color: var(--jh-accent-500); }

.jh-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--jh-bg);
  border-left: 3px solid var(--jh-navy-600);
  color: var(--jh-text-body);
  font-size: var(--jh-fs-base);
  line-height: 1.9;
}
.jh-body blockquote p:last-child { margin: 0; }
.jh-body blockquote cite { display: block; margin-top: 10px; font-size: var(--jh-fs-xs); color: var(--jh-text-muted); font-style: normal; }

.jh-body figure { margin: 32px 0; }
.jh-body figure figcaption { margin-top: 10px; font-size: var(--jh-fs-xs); color: var(--jh-text-muted); text-align: center; }

/* Share */
.jh-share {
  display: flex; gap: 8px; align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--jh-line);
  border-bottom: 1px solid var(--jh-line);
  margin: 40px 0;
  font-size: var(--jh-fs-xs);
}
.jh-share-label { color: var(--jh-text-muted); margin-right: 8px; }
.jh-share a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--jh-line); border-radius: 50%;
  color: var(--jh-text-body);
  font-size: 13px;
}
.jh-share a:hover { background: var(--jh-navy-050); color: var(--jh-navy-900); border-color: var(--jh-navy-400); }

/* Related */
.jh-related { margin-top: 56px; }

/* Sidebar */
.jh-sidebar { position: sticky; top: 96px; align-self: start; }
.jh-sidebar-block { margin-bottom: 40px; }
.jh-sidebar-block h4 {
  font-size: var(--jh-fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--jh-text-muted);
  font-weight: var(--jh-fw-bold);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--jh-line);
}
.jh-sidebar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.jh-sidebar-item {
  display: flex; gap: 12px; align-items: flex-start;
  text-decoration: none !important;
  color: inherit;
}
.jh-sidebar-item-num {
  font-family: var(--jh-font-mono); font-size: 13px;
  color: var(--jh-accent-600); font-weight: var(--jh-fw-bold);
  min-width: 22px;
}
.jh-sidebar-item-title {
  font-size: var(--jh-fs-sm); line-height: 1.6;
  color: var(--jh-text); font-weight: var(--jh-fw-medium);
  margin: 0;
}
.jh-sidebar-item:hover .jh-sidebar-item-title { color: var(--jh-navy-800); }
