.career-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--color-bg);
}

.career-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  padding: 0 12px;
  overflow-x: auto;
	height:48px;
}

/* 各タブ（3分割） */
.career-tab {
  flex: 1 0 33.333%;
  display: grid;
  place-items: center;
  height: 46px;
  font-weight: 700;
  color: #dfe3e7;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

/* 選択中タブのスタイル（質問箱と同じ白線＋白文字） */
.career-tab[aria-selected="true"] {
  color: #fff;
}

.career-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: #fff;
}

/* パネル側はシンプルでOK（必要なら調整） */
.career-panel {
  padding: 12px;
}

.career-intro {
  padding: 16px 16px 8px;
}

.career-intro h2 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.career-intro p {
  font-size: 13px;
  color: #aab4be;
  margin: 0;
  line-height: 1.5;
}

.job-list-card {
  display: block;
  background: #121416;
  border: 1px solid #3a3f45;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 10px 12px;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
  word-break: break-word;
  max-width: calc(100% - 24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    transparent
  );
}

/* 左のカラーバー */
.job-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  border-radius: 0 4px 4px 0;
  background: var(--accent, #4fc3f7);
  transition: 0.2s;
}

.job-list-card:hover::before {
  width: 8px;
  box-shadow: 0 0 12px var(--accent);
}

.job-list-card:hover {
  background: #14171a;
  border-color: #46505a;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.icon i {
  font-size: 18px;
  color: var(--accent);
}

.job-list-card:hover .icon i {
  transform: scale(1.1);
}

.job-list-card .title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 8px;
  line-height: 1.35;
}

/* タイトル下に細い区切り線（左右ちょい内側） */
.job-list-card .title::after {
    content: "";
    display: block;
    margin: 6px 2px 0;
    /* ← 左右に“ちょっと”余白を空ける */
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.job-list-card .desc{
  font-size: 14px;
  color: #b7c0c8;
  line-height: 1.6;
  margin: 0;
}






/* ===============================
   select.css | Light mode overrides
=============================== */
:root[data-theme="light"] .career-tabs{
  border-bottom-color: var(--color-border) !important;
}

:root[data-theme="light"] .career-tab{
  color: rgba(2,6,23,.70) !important;
}

:root[data-theme="light"] .career-tab[aria-selected="true"]{
  color: var(--color-text) !important;
}

:root[data-theme="light"] .career-tab[aria-selected="true"]::after{
  background: var(--color-text) !important;
}

:root[data-theme="light"] .career-intro h2 {
  color: var(--color-text);
}

:root[data-theme="light"] .career-intro p {
  color: var(--color-text);
}

:root[data-theme="light"] .job-list-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: none;
}

:root[data-theme="light"] .job-list-card:hover {
  background: rgba(2, 6, 23, .03);
  border-color: var(--color-border);
}

:root[data-theme="light"] .job-list-card .title {
  color: var(--color-text);
}

:root[data-theme="light"] .job-list-card .title::after {
    content: "";
    display: block;
    margin: 6px 2px 0;
    /* ← 左右に“ちょっと”余白を空ける */
    height: 2px;
    background: var(--color-border);
    border-radius: 999px;
}

:root[data-theme="light"] .job-list-card .desc {
  color: var(--color-text);
}
