/* 
css/style-job-list.css
 */

/*
 * 新UI用 求人一覧スタイル（テーブル表示版）
 */

.job-list-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
  background-color: #f5f8fa;
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.archive-main-title {
  font-size: 1.8em;
  font-weight: bold;
  padding: 20px 0 15px;
  margin: 0;
  color: #333;
}

.search-meta-box {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 30px;
}
.summary-line {
  display: flex;
  align-items: baseline;
}
.summary-label {
  font-size: 0.9em;
  color: #666;
}
.summary-count {
  font-size: 2.2em;
  font-weight: bold;
  color: #e53935;
  margin-left: 15px;
}
.btn-change-search {
  display: inline-block;
  margin-top: 15px;
  color: #673ab7;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
}
.btn-change-search:hover {
  text-decoration: underline;
}

.job-list-pro {
  margin: 0;
}

.job-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  margin-bottom: 20px;
  position: relative;
}
.job-card__main {
  padding: 25px;
  width: 100%;
}
.job-card__title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.5;
}
.job-card__title a {
  text-decoration: none;
  color: #0073aa;
}
.job-card__title a:hover {
  text-decoration: underline;
}

/* ★★★ ここからが新しいテーブル用のスタイル ★★★ */
.job-card__summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  border: 1px solid #e9e9e9;
}
.job-card__summary-table th,
.job-card__summary-table td {
  border-bottom: 1px solid #e9e9e9;
  padding: 12px;
  text-align: left;
  vertical-align: middle;
  font-size: 0.9em;
}
.job-card__summary-table tr:last-child th,
.job-card__summary-table tr:last-child td {
  border-bottom: none;
}
.job-card__summary-table th {
  background-color: #f9f9f9;
  width: 120px;
  font-weight: normal;
  color: #666;
}
.job-card__summary-table td {
  color: #333;
  font-weight: bold;
}
.job-card__summary-table td a {
  color: inherit;
  text-decoration: none;
}
.job-card__summary-table td a:hover {
  text-decoration: underline;
}

/* 作業内容用のスタイル */
.job-card__work-content {
  padding-top: 20px;
  border-top: 1px dashed #e0e0e0;
}
.job-card__work-content .work-content-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333;
}
.job-card__work-content .work-content-body {
  font-size: 0.95em;
  line-height: 1.7;
  color: #444;
}
.job-card__work-content .work-content-body p {
  margin: 0 0 1em 0;
}
.job-card__work-content .work-content-body p:last-child {
  margin-bottom: 0;
}

/* ページネーション */
.pagination {
  margin: 40px 0;
  text-align: center;
}
.pagination .page-numbers {
  padding: 8px 12px;
  margin: 0 2px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #0073aa;
  border-radius: 4px;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.no-results {
  padding: 40px;
  text-align: center;
  font-size: 1.1em;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.job-card__cta-area {
  margin-top: 25px;
  text-align: center;
}

.btn-detail {
  display: inline-block;
  background-color: #ff6f00; /* オレンジ色の背景 */
  color: #fff;
  padding: 12px 40px; /* 少し横長に */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* わずかに影をつける */
}

.btn-detail:hover {
  background-color: #e66000; /* ホバー時、少し濃いオレンジに */
}

/* ★ レイアウト順序変更に伴う微調整 */
.job-card__summary-table {
    margin-bottom: 0; /* テーブル下の余白を削除 */
}
.job-card__work-content {
    padding-bottom: 25px; /* 作業内容の下に余白を追加 */
    border-bottom: 1px dashed #e0e0e0;
    margin-bottom: 20px;
}