@charset "UTF-8";
/*--------------------------------
求人一覧・詳細ページ CSS
WordPress CMS化対応版
--------------------------------*/

/* ========================================
   共通スタイル
======================================== */
/* 既存CSSのラップ調整 */
.page-sec {
  padding: 60px 0;
}

/* タイトルエリア */
.txt-wrap {
  margin: 50px 0 60px;
  text-align: center;
}

.txt-wrap h2 {
  font-size: 150%;
  font-weight: bold;
  color: #2a609d;
  margin-bottom: 20px;
}

.txt-wrap h3 {
  font-size: 130%;
  color: #333;
  font-weight: bold;
}

/* アイコン */
.fa {
  margin-right: 5px;
}

/* ユーティリティ */
.mt-2 {
  margin-top: 1em;
}
.mb-2 {
  margin-bottom: 1em;
}

/* ========================================
   絞り込み検索エリア
======================================== */
.job-filter {
  margin: 0 auto 50px;
}

.job-filter__inner {
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.job-filter__header {
  background: #2a609d;
  color: #fff;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.job-filter__body {
  padding: 25px;
  background: #fcfcfc;
}

.job-filter__group {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.job-filter__group:last-child {
  margin-bottom: 0;
}

.job-filter__label {
  width: 100px;
  font-weight: bold;
  color: #333;
  padding-top: 6px;
  flex-shrink: 0;
  position: relative;
}

.job-filter__label::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: #2a609d;
  margin-top: 5px;
}

.job-filter__options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-filter__checkbox {
  display: none;
}

.job-filter__tag {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  color: #555;
}

.job-filter__tag:hover {
  border-color: #2a609d;
  color: #2a609d;
  background: #f0f7ff;
}

.job-filter__checkbox:checked + .job-filter__tag {
  background: #2a609d;
  border-color: #2a609d;
  color: #fff;
}

.job-filter__footer {
  padding: 15px 20px;
  background: #f0f0f0;
  text-align: right;
  border-top: 1px solid #e0e0e0;
}

.job-filter__reset {
  background: transparent;
  border: 1px solid #999;
  color: #666;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.job-filter__reset:hover {
  background: #666;
  color: #fff;
  border-color: #666;
}

/* ========================================
   フリーワード検索
======================================== */
.job-filter__search {
  padding: 20px 24px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e5e5e5;
}

.job-filter__search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.job-filter__search-input {
  flex: 1;
  padding: 12px 16px;
  padding-right: 44px;
  font-size: 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
  background-color: #fff;
  font-family: inherit;
}

.job-filter__search-input:focus {
  border-color: #2a609d;
  box-shadow: 0 0 0 3px rgba(42, 96, 157, 0.1);
}

.job-filter__search-input::placeholder {
  color: #999;
  font-size: 14px;
}

.job-filter__search-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #2a609d 0%, #1e4a7a 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(42, 96, 157, 0.2);
}

.job-filter__search-btn:hover {
  background: linear-gradient(135deg, #1e4a7a 0%, #0f2a4a 100%);
  box-shadow: 0 4px 8px rgba(42, 96, 157, 0.3);
  transform: translateY(-1px);
}

.job-filter__search-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(42, 96, 157, 0.2);
}

.job-filter__search-btn i {
  font-size: 14px;
}

.job-filter__search-clear {
  position: absolute;
  right: 130px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  background-color: #999;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.job-filter__search-clear:hover {
  background-color: #666;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.job-filter__search-clear i {
  font-size: 12px;
}

.job-filter__search-note {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-filter__search-note i {
  color: #2a609d;
  font-size: 14px;
}

/* 検索中のローディング状態 */
.job-filter__search-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.job-filter__search-btn.loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .job-filter__search {
    padding: 16px;
  }

  .job-filter__search-inner {
    flex-direction: column;
    gap: 12px;
  }

  .job-filter__search-input {
    width: 100%;
    font-size: 16px;
  }

  .job-filter__search-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .job-filter__search-clear {
    right: 16px;
    top: 14px;
    transform: translateY(0);
  }

  .job-filter__search-clear:hover {
    transform: scale(1.1);
  }

  .job-filter__search-note {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .job-filter__search-input::placeholder {
    font-size: 13px;
  }

  .job-filter__search-btn span {
    font-size: 14px;
  }
}

/* ========================================
   検索結果表示
======================================== */
.job-result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.job-result-count {
  font-size: 1rem;
  color: #666;
}

.job-result-count strong {
  color: #2a609d;
  font-size: 1.5rem;
  margin: 0 5px;
}

/* ========================================
   求人カード一覧 (画像付き1列レイアウト)
   ======================================== */
/* ========================================
   求人カード一覧 (2列レイアウト)
   ======================================== */
.job-list {
  display: grid;
  gap: 20px; /* カード間の間隔 */
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .job-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* カード本体 */
.job-card {
  background: #fff;
  border: 1px solid #e1e4e8;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: row; /* PCは横並び */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  min-height: 280px;
}

@media screen and (max-width: 768px) {
  .job-card {
    flex-direction: column; /* スマホは縦並び */
    min-height: auto;
  }
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-color: #d0d7de;
}

/* 画像エリア */
.job-card__image-area {
  width: 35%;
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  min-width: 300px;
}

@media screen and (max-width: 768px) {
  .job-card__image-area {
    width: 100%;
    height: 200px;
    min-width: auto;
  }
}

.job-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.job-card:hover .job-card__image {
  transform: scale(1.05);
}

/* 情報エリア */
.job-card__content {
  width: 65%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.job-card__subtitle {
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.job-card__subtitle::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  margin-right: 8px;
  border-radius: 2px;
  background: #666; /* Default */
}

.job-card__subtitle--daigo {
  color: #1565c0;
}
.job-card__subtitle--daigo::before {
  background: #1565c0;
}

.job-card__subtitle--logi {
  color: #1e7a5e;
}
.job-card__subtitle--logi::before {
  background: #1e7a5e;
}

.job-card__subtitle--holding {
  color: #7b1fa2;
}
.job-card__subtitle--holding::before {
  background: #7b1fa2;
}

.job-card__desc {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .job-card__content {
    width: 100%;
    padding: 20px;
  }
}

/* ラベル群 */
.job-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.job-card__label {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ラベルカラー定義 */
.job-card__label--daigo {
  background-color: #e3f2fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
}

.job-card__label--logi {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.job-card__label--recruit {
  background-color: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}

.job-card__label--type {
  background-color: #f3e5f5;
  color: #7b1fa2;
  border: 1px solid #e1bee7;
}

/* 強調ラベル（水色） */
.job-card__label--highlight {
  background-color: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}


/* タイトル */
.job-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

@media screen and (max-width: 768px) {
  .job-card__title {
    font-size: 1.2rem;
  }
}

/* 詳細情報リスト */
.job-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

@media screen and (max-width: 580px) {
  /* 縦積みのままなので変更なし */
}

.job-card__info-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding-bottom: 5px;
  border-bottom: 1px dashed #eee;
}

.job-card__info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.job-card__info-label {
  font-size: 0.8rem;
  color: #888;
  font-weight: 600;
  min-width: 60px; /* Label width fixed */
}

.job-card__info-value {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
}

.job-card__info-value--salary {
  color: #e53935;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ボタンエリア */
.job-card__actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.job-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: #2a609d;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  min-width: 200px;
}

@media screen and (max-width: 580px) {
  .job-card__btn {
    width: 100%;
  }
}

.job-card__btn:hover {
  background: #1e4a7a;
  box-shadow: 0 4px 12px rgba(42, 96, 157, 0.3);
  transform: translateY(-1px);
}

.job-card__btn i {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.job-card__btn:hover i {
  transform: translateX(4px);
}

/* 大五ロジスティクス用のボタンカラー */
.job-card__btn--logi {
  background: #1e7a5e;
}

.job-card__btn--logi:hover {
  background: #145a46;
  box-shadow: 0 4px 12px rgba(30, 122, 94, 0.3);
}

/* 大五ホールディングス用のボタンカラー */
.job-card__btn--holding {
  background: #7b1fa2;
}

.job-card__btn--holding:hover {
  background: #6a1b9a;
  box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

/* ========================================
   求人詳細ページ
======================================== */
.job-detail {
  background: #fff;
  overflow: hidden;
  margin-bottom: 40px;
}

.job-detail__header {
  padding: 50px 0;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.job-detail__labels {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.job-detail__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.job-detail__subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.job-detail__subtitle::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: #aaa; /* Default */
  margin-right: 12px;
  border-radius: 4px;
}

.job-detail__subtitle--daigo {
  color: #1565c0;
}
.job-detail__subtitle--daigo::before {
  background: linear-gradient(to bottom, #1565c0, #42a5f5);
}

.job-detail__subtitle--logi {
  color: #1e7a5e;
}
.job-detail__subtitle--logi::before {
  background: linear-gradient(to bottom, #1e7a5e, #66bb6a);
}

.job-detail__description {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
  background: #f8fbff;
  border-left: 4px solid #dcebf7;
  padding: 20px 25px;
  border-radius: 0 8px 8px 0;
}

.job-detail__meta {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  flex-wrap: wrap; /* Ensure it wraps on very small screens if not caught by media query */
}

.job-detail__meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 25px;
  border-right: 1px solid #eee;
  min-width: 150px;
}

.job-detail__meta-item:last-child {
  border-right: none;
}

.job-detail__meta-label {
  background: transparent;
  color: #888;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-detail__meta-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: #333;
}

.job-detail__meta-value--salary {
  font-size: 1.2rem;
  font-weight: 800;
  color: #e53935;
}

.job-detail__main-image {
  width: 100%;
  aspect-ratio: 16/9;
  /* max-height: 500px; */
  background: #f5f5f5;
}

.job-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-detail__body {
  padding: 50px 0;
}

.job-detail__section {
  margin-bottom: 60px;
}

.job-detail__section:last-child {
  margin-bottom: 0;
}

.job-detail__sub-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2a609d;
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 5px solid #2a609d;
  line-height: 1.2;
  text-align: left;
}

.job-detail__content p {
  line-height: 1.8;
  color: #444;
  font-size: 1rem;
}

/* 募集要項テーブル */
.job-detail__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 2px solid #2a609d;
}

.job-detail__table th,
.job-detail__table td {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.job-detail__table th {
  width: 25%;
  background: #f9fcff;
  color: #333;
  font-weight: 700;
}

.job-detail__table td {
  color: #444;
  line-height: 1.6;
}

.job-detail__table .note {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-top: 5px;
}

.job-detail__table ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.job-detail__table li {
  margin-bottom: 5px;
}

.job-detail__table .map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #2a609d;
  text-decoration: underline;
}

/* エントリーエリア */
.job-detail__entry-box {
  background: #f4f8fc;
  border: 1px solid #dcebf7;
  border-radius: 12px;
  padding: 50px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.job-detail__entry-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2a609d;
  margin-bottom: 15px;
}

.job-detail__entry-text {
  margin-bottom: 30px;
  line-height: 1.6;
  color: #555;
}

.job-detail__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.job-detail__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 18px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.job-detail__cta-btn--entry {
  background: linear-gradient(135deg, #2a609d 0%, #1e4a7a 100%);
  color: #fff;
}

.job-detail__cta-btn--entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 96, 157, 0.3);
  filter: brightness(110%);
}

.job-detail__cta-btn--tel {
  background: #fff;
  border: 2px solid #2a609d;
  color: #2a609d;
}

.job-detail__cta-btn--tel:hover {
  background: #f0f7ff;
}

.job-detail__cta-btn i {
  margin-right: 10px;
  font-size: 1.2em;
}

.tel-note {
  font-size: 0.8rem;
  font-weight: normal;
  margin-left: 8px;
  color: #666;
}

/* パンくずリスト */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
  content: "\f105"; /* FontAwesome angle-right */
  font-family: FontAwesome;
  margin: 0 10px;
  color: #ccc;
  font-size: 0.9rem;
}

.breadcrumb__link {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: #2a609d;
  text-decoration: underline;
}

.breadcrumb__current {
  color: #333;
  font-weight: bold;
}

/* 戻るリンク */
.back-link a {
  display: inline-flex;
  align-items: center;
  color: #2a609d;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

.back-link a:hover {
  opacity: 0.7;
}

.back-link a i {
  margin-right: 5px;
}

/* ========================================
   レスポンシブ
======================================== */
@media screen and (max-width: 768px) {
  .txt-wrap h2 {
    font-size: 130%;
  }

  .job-filter__group {
    flex-direction: column;
  }

  .job-filter__label {
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
  }
  .job-filter__label::after {
    display: none;
  }

  .job-list {
    grid-template-columns: 1fr;
  }

  .job-detail__header {
    padding: 25px 0;
  }

  .job-detail__meta {
    flex-direction: column;
    border-radius: 8px;
  }

  .job-detail__meta-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px dashed #eee;
    padding: 15px 20px;
  }

  .job-detail__meta-item:last-child {
    border-bottom: none;
  }

  .job-detail__title {
    font-size: 1.5rem;
  }

  .job-detail__body {
    padding: 20px 0;
  }

  .job-detail__table th,
  .job-detail__table td {
    display: block;
    width: 100%;
    padding: 15px;
  }

  .job-detail__table th {
    background: #f0f7ff;
    border-bottom: none;
  }

  .job-detail__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .job-detail__cta-btn {
    width: 100%;
    box-sizing: border-box;
  }
}
