
.job-detail {
  padding: 40px 0;
}

.job-detail__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}


.job-detail__company {
  font-size: 12px;
  color: #666;
  margin: 0 0 6px;
}

.job-detail__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
}

.job-detail__intro {
  padding-top: 14px;
  line-height: 1.9;
}

.job-spec {
  margin-top: 22px;
}

.job-spec__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 2px solid #F3F3F3;
}

.job-spec__table th,
.job-spec__table td {
  border: 2px solid #F3F3F3;
  padding: 1.5rem 1rem;
  vertical-align: middle;
  line-height: 1.8;
  word-break: break-word;
}

.job-spec__table th {
  width: 30%;
  background: #2E9568;
  font-weight: 400;
  text-align: center;
  color: #fff;
  border-radius: 8px 0 0 8px; 
}

.job-spec__table td {
  background: #fff;
   border-radius: 0 8px 8px 0; 
}

.job-detail__cta {
  text-align: center;
  margin: 4rem 0 2rem;
}

.job-detail__btn {
  position: relative;
  display: inline-block;
  background: #3c3c3c;
  color: #fff;
  border: none;
  padding: 1rem 4.5rem 1rem 4.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ホバー時 */
.job-detail__btn:hover {
  background: #222!important;
  opacity: 1;
}

/* → 矢印 */
.job-detail__btn::after {
  content: "›";
  position: absolute;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #fff;
  transition: right 0.3s ease;
}

/* ホバー時の矢印アニメーション */
.job-detail__btn:hover::after {
  right: 1.2rem;
}

.job-detail__note {
  margin-top: 10px;
  font-size: 12px;
  color: #c00;
}

/* SP調整 */
@media (max-width: 767px) {
  .job-spec__table th {
    width: 30%;
    padding: 0.5rem 0.4rem;
    font-size: 0.85rem;
  }

  .job-spec__table td {
    padding: 0.5rem 0.4rem;
    font-size: 0.85rem;
  }
  .job-detail__btn {
  padding: 1rem 2.5rem 1rem 2.5rem;
  font-size: 1rem;
}
.job-detail__btn::after {
  content: "›";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #fff;
  transition: right 0.3s ease;
}
/* ホバー時の矢印アニメーション */
.job-detail__btn:hover::after {
  right: 1rem;
}
}


/* ====== 全体 ====== */
.jobs-archive .inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ====== 一覧（カード） ====== */
.jobs-list {
}

.job-card {
background: #FFFFFF;
    display: block;
    padding: 16px 40px;
    border-radius: 8px;
    border-bottom: 4px solid #ddd;
    margin-bottom: 1rem;
}

.job-card__link {
  display: block;
  padding: 18px 18px 16px;
  color: inherit;
  text-decoration: none;
}

.job-card__company {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 6px;
}

.job-card__title {
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  font-weight: 700;
  margin: 0 0 10px;
}

/* メタは「雇用形態/給与/休日」を横並び風に */
.job-card__meta {
  font-size: 0.9rem;
  color: #111;
}

.job-card__dl {
  margin: 0;
}

.job-card__row {
  display: inline-flex;
  align-items: baseline;
  margin-right: 18px;
  white-space: nowrap;
  	color: #2E9568;
	padding: 5px 16px;
	border: 1px solid #2E9568;
	border-radius: 12px;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.1em;
	line-height: 1em;
}

.job-card__row dt {
  font-weight: 700;
}

.job-card__row dd {
  margin: 0 0 0 4px;
}

/* hover */
.job-card:hover {
  background: #fafafa;
  opacity: 1;
}

/* ====== ページネーション ====== */
.jobs-pagination-container{
    width: 100%;
    text-align: center;
}
.jobs-pagination {
    display: inline-block;
  text-align: center;
  padding: 18px 0 6px;
}

.jobs-pagination .page-numbers {
  display: inline-block;
  min-width: 28px;
  padding: 6px 8px;
  margin: 0 4px;
  border: 1px solid #2E9568;
  text-decoration: none;
  color: #2E9568;
  font-size: 13px;
  transition: 0.3s ease;
}

.jobs-pagination .page-numbers.current {
  background: #2E9568;
  color: #fff;
  border-color: #2E9568;
}

 nav.jobs-pagination {
    gap:1rem!important;
}

.jobs-pagination .page-numbers:hover{
     background: #2E9568;
  color: #fff;
  border-color: #2E9568;
  opacity: 1;
}
/* ====== SP ====== */
@media (max-width: 767px) {
  .jobs-archive .inner {
    max-width: 92%;
  }
  .job-card__row {
    display: flex;
    margin: 4px 0 0;
    white-space: normal;
  }
}

/* フォーム外枠 */
.jobs-search {
  background: #ffffff;
  padding: 2rem 3rem;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

/* 見出し（任意） */
.jobs-search__ttl{
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: #333;
}

/* 各ブロック（キーワード/休日/雇用形態/職種…） */
.jobs-search form[id^="feas-searchform-"] > div{
  margin-bottom: 1rem;
  text-align: left;
}

/* 各項目タイトル（HTMLでは p が見出し役になってる） */
.jobs-search form[id^="feas-searchform-"] > div > p{
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: #333;
}

/* テキスト入力 */
.jobs-search input[type="text"].feas_archive_freeword{
  width: 100%;
  padding: 0.4rem 1rem;
  border: 1px solid #EBEBEB;
  border-radius: 3px;
  background: #EBEBEB;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.jobs-search input[type="text"].feas_archive_freeword:focus{
  border-color: #0077cc;
  outline: none;
}

/* セレクト（職種） */
.jobs-search select.feas_meta_dropdown{
  width: 100%;
  padding: 0.4rem 1rem;
  border: 1px solid #EBEBEB;
  border-radius: 3px;
  background: #EBEBEB;
  margin-top: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.jobs-search select.feas_meta_dropdown:focus{
  border-color: #0077cc;
  outline: none;
}

/* チェックボックス群（label が横並びなのでflex化） */
.jobs-search label.feas_clevel_01{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 1rem 0.25rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #333;
  cursor: pointer;
}

/* 標準チェックを少し整える（カスタム化したい場合は下のコメント参照） */
.jobs-search label.feas_clevel_01 input[type="checkbox"]{
  transform: translateY(1px);
}

/* label内の span の余計なズレ対策 */
.jobs-search label.feas_clevel_01 span{
  line-height: 1.3;
}

/* 送信ボタン（input[type=submit] を contact-form のボタン風へ） */
.jobs-search input.feas-submit-button{
  position: relative;
  display: inline-block;
  background: #3c3c3c;
  color: #fff;
  border: none;
  padding: 1rem 4.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 1rem;
}

/* ボタン中央寄せ */
.jobs-search form[id^="feas-searchform-"]{
  text-align: center;
}

/* hover */
.jobs-search input.feas-submit-button:hover{
  background: #222;
}



/* SP */
@media (max-width: 767px){
  .jobs-search{
    padding: 2rem 1.25rem;
  }
  .jobs-search label.feas_clevel_01{
    margin-right: 0.75rem;
  }
  .jobs-search input.feas-submit-button{
    width: 100%;
    max-width: 360px;
  }
}

.job-mask{
  display:inline-block;
  padding: .4em .8em;
  background:#f3f3f3;
  border:1px dashed #ccc;
  border-radius:6px;
  color:#666;
  font-size:.95em;
}