#main_content {
  padding-top: 32px;
}

.job-list-container {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--color_text, #333);
}

.job-list-section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color_main, #0056b3);
}

/* Summary Boxes */
.job-list-summary-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.job-list-summary-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.job-list-summary-box .summary-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.job-list-summary-box .summary-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--color_main, #0056b3);
}

/* Filter Buttons */
.job-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.job-filter-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.job-filter-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.job-filter-btn.active {
  background: var(--color_main, #0056b3);
  color: #fff;
  border-color: var(--color_main, #0056b3);
}

/* Charts Area */
.job-list-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media screen and (max-width: 1023px) {
  .job-list-charts {
    grid-template-columns: calc(50% - 14px) calc(50% - 14px);
  }
}

.job-list-chart-wrapper {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.job-list-chart-title {
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #334155;
}

.canvas-container {
  position: relative;
  width: 100%;
  /* Create a square-ish aspect ratio to accommodate both bar and pie nicely */
  aspect-ratio: 4 / 3;
  min-height: 250px;
}

/* Job Items List - レイアウトのみ（カードスタイルは jobs-archive.css + common.css から継承） */
.job-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
}

.job-col-wrapper {
  width: calc(100% / 2 - 16px);
  max-width: calc(100% / 2 - 16px);
  position: relative;
  display: flex;
}

.job-list-container .job-col-wrapper .job-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* モジュールラベルの ul リセット */
.job-list-container .job-col-status ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* .post_content からのフォント継承をリセットし /jobs/ と統一 */
.job-list-container .job-col-wrapper,
.job-list-container .job-col-wrapper * {
  font-family: var(--swl-font_family) !important;
}

.job-list-container .job-col-wrapper .job-col-income,
.job-list-container .job-col-wrapper .job-col-module {
  font-family: "D-DIN" !important;
  margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
  .job-col-wrapper {
    width: 100%;
    max-width: initial;
  }

  .job-list-summary-boxes {
    grid-template-columns: 1fr;
  }

  .job-list-charts {
    display: block;
  }

  .job-list-charts .job-list-chart-wrapper:first-child {
    margin-bottom: 20px;
  }
}

/* SWELLテーマの .post_content h3 スタイルをオーバーライド */
.job-list-container .job-col-title h3 {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #f89600 !important;
  font-size: var(--text-lg) !important;
  line-height: var(--height-lg) !important;
  text-align: left !important;
  width: 100%;
}

.job-list-container .job-col-title h3:before,
.job-list-container .job-col-title h3:after {
  display: none !important;
}

.job-list-container .job-col:hover .job-col-title h3 {
  color: #fff !important;
}

.job-list-container .btn_main .btn_inner {
  background-color: var(--color_cta);
}

.job-list-container .btn_inner {
  border: 1px solid var(--color_cta);
}

.job-list-container .btn_inner:hover {
  color: var(--color_cta);
}
