body {
  background-color: #fcfcfc;
}

/* 求人詳細セクション */
.job-detail {
  width: 100%;
  /* height: 700px;
  margin: 50px auto; */
  padding: 40px;
  border-radius: 8px;
}

/* 求人タイトルと会社名 */
.incover {
  position: relative;
  width: 100%;
  height: 100vh; /* 画面の高さに合わせる */
  background-image: url(../img/recruitment_cover.jpg); /* 背景画像を指定 */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}
.incover:before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 黒色の半透明レイヤー */
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .incover {
    height: 250px;
  }
}
@media screen and (max-width: 1024px) {
  .incover {
    height: 30vh;
  }
}

.incoverBox {
  display: block;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.incoverTit {
  color: #fff;
  font-size: 60px;
}

.incoverSub {
  color: #fff;
  font-size: 30px;
}

@media screen and (max-width: 768px) {
  .incoverTit {
    color: #fff;
    font-size: 30px;
  }

  .incoverSub {
    color: #fff;
    font-size: 10px;
  }
}

/* 求人カードのリスト */
.job-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  justify-content: center;
  width: MIN(100%, 1400px);
  margin: 30px auto 0;
}

/* 求人カード */
.job-card {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 求人カードのタイトル */
.job-card .job-title {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

/* 求人情報 */
.job-info {
  color: #666;
  font-size: 1em;
  margin-bottom: 20px;
}

.job-info p {
  margin: 8px 0;
}

.job-info strong {
  color: #333;
  font-weight: 700;
}

/* 応募ボタン */
.apply-section {
  text-align: center;
}

.apply-btn {
  background-color: #ff2c4b;
  color: white;
  font-size: 1em;
  padding: 5px 24px; /* ボタン内の余白 */
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.apply-btn:hover {
  background-color: #ff2c4ca4;
}

.inner {
  max-width: 1400px;
}

/* @media (min-width: 1025px) {
  .job-list {
    height: 369px;
  }
} */

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .job-title {
    font-size: 2.2em;
  }

  .company-name {
    font-size: 1.4em;
  }

  .job-info {
    font-size: 1.1em;
  }

  .apply-btn {
    font-size: 1.2em;
    padding: 5px 24px; /* ボタン内の余白 */
  }

  .job-card {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .job-title {
    font-size: 1.8em;
  }

  .company-name {
    font-size: 1.2em;
  }

  .job-info {
    font-size: 1em;
  }

  .apply-btn {
    font-size: 1em;
    padding: 5px 24px; /* ボタン内の余白 */
  }
}

.recruit {
  text-align: right;
}
.recruit .attention {
  display: inline;
  border-bottom: 1px solid;
}

/* 親コンテナ */
.recruit_info {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px; /* コンテナの最大幅を1400pxに設定 */
  box-sizing: border-box;
  text-align: left;
}

.recruit-title {
  text-align: left;

  background: #ff836e;
  color: #fff;
  padding: 20px;
  font-size: 30px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 少し影を付けて浮かせる */
  margin: 40px 0 10px 0; /* テーブルとつなげる */
  width: 900px;
}

@media screen and (max-width: 768px) {
  .recruit-title {
    font-size: 20px;
    width: 100%;
  }
}

/* テーブル */
.recruit_info table {
  width: 100%;
  max-width: 1400px; /* テーブルも1400pxまで広がる */
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を少し強めに */
}

.last td:last-child {
  border-bottom: solid 1px #ccc;
  width: 100%;
}

/* テーブル見出し */
.recruit_info th {
  background: #ff836e;
  border: solid 1px #ccc;
  color: #fff;
  padding: 12px;
  font-weight: bold;
  text-align: left;
  width: 20%;
}

/* テーブルデータ */
.recruit_info td {
  width: 800px;
  border: solid 1px #ccc;
  padding: 12px;
  background: #fdfdfd; /* 背景色をやや明るく */
}

/* リンクのスタイル */
.recruit_info td a,
.recruit_info tr td a {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid;
}

.company-attention {
  text-align: left;
}

/* 小さい画面用レスポンシブデザイン */
@media (max-width: 768px) {
  .recruit_info th,
  .recruit_info td {
    width: 30%;
    padding: 8px;
    font-size: 14px; /* 小さい画面ではフォントサイズを調整 */
  }

  .recruit_info table {
    border-radius: 5px;
  }
}

.payroll_detail {
  margin: 0;
  padding: 10px 0 0 0;
}
.payroll_detail dt {
  margin: 0;
  padding: 6px 0 6px 8px;
  background: #efefef;
  font-weight: bold;
}
.payroll_detail dd {
  margin: 7px 0 0 0;
  padding: 0 0 10px 10px;
}
.payroll_detail-sub2 dd a {
  border-bottom: 1px solid;
}
.payroll_detail-sub {
  margin: 0;
  padding: 0 10px;
}
.payroll_detail-sub dt {
  margin: 0;
  padding: 0;
  background: none;
  font-weight: normal;
}
.payroll_detail-sub dt::before {
  content: "▼";
}
.payroll_detail-sub2 dt::before {
  content: "▼";
}
.payroll_detail-sub dd {
  padding: 0 0 0 10px;
}

.header-title {
  margin: 50px 0 0 0;
  padding: 20px;
  width: 100%;
  height: 100px;
  background: #ff6347;
  text-align: center;
}

.header-title h1,
.header-title p {
  font-size: 20px;
  color: #fff;
}
