/* ============================================================
   saiyou.css
   ------------------------------------------------------------
   【このファイルの役割】

   求人情報ページ（saiyou.html）専用のCSSです。

   このファイルで管理するもの
   ・メインビジュアル
   ・求人情報ページの見出し
   ・導入メッセージ
   ・事業所リスト
   ・主な業務内容
   ・求人サイト案内
   ・仲間の声への導線
   ・お問い合わせへの導線
   ・スマートフォン表示

   【重要】

   サイト全体共通のデザインは common.css で管理します。

   求人ページだけの変更は、この saiyou.css に記述します。
   ============================================================ */

@import url(common.css);

/* ============================================================
   メイン
   ============================================================ */

main {
  padding-top: 0;
}

/* ============================================================
   メインビジュアル
   ============================================================ */

.main-visual {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.main-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   求人ページ全体
   ============================================================ */

.service {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

/* ============================================================
   ページ見出し
   ------------------------------------------------------------
   TOPページと統一
   ============================================================ */

.service > h2 {
  position: relative;

  margin: 0 0 75px;

  text-align: center;

  color: #333;

  font-size: 34px;
  font-weight: 600;

  letter-spacing: 0.12em;

  line-height: 1.5;
}

/* ============================================================
   英字タイトル
   ------------------------------------------------------------
   TOPページと統一
   ============================================================ */

.service > h2::before {
  content: "RECRUIT";

  display: block;

  margin-bottom: 10px;

  color: #eaa317;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 0.2em;
}

/* ============================================================
   オレンジライン
   ------------------------------------------------------------
   TOPページと統一
   ============================================================ */

.service > h2::after {
  content: "";

  display: block;

  width: 48px;
  height: 2px;

  margin: 20px auto 0;

  background: #eaa317;

  border-radius: 10px;
}

/* ============================================================
   求人ページ導入
   ============================================================ */

.recruit-introduction {
  margin-bottom: 80px;

  padding: 55px 30px;

  box-sizing: border-box;

  background: #fffaf2;

  border-radius: 20px;

  text-align: center;
}

.recruit-introduction h3 {
  margin: 0 0 25px;

  color: #333;

  font-size: 30px;

  line-height: 1.5;
}

.recruit-introduction p {
  margin: 0;

  color: #555;

  line-height: 2;
}

/* ============================================================
   事業所リスト
   ============================================================ */

.office-list {
  max-width: 1000px;

  margin: 0 auto 90px;

  padding: 45px 40px;

  box-sizing: border-box;

  background: #fffaf2;

  border: 1px solid #f1d8a8;

  border-radius: 20px;
}

.office-list > h3 {
  margin: 0 0 12px;

  color: #333;

  font-size: 28px;
  font-weight: 700;

  line-height: 1.5;

  text-align: center;
}

.office-list-intro {
  margin: 0 0 30px;

  color: #666;

  font-size: 15px;

  line-height: 1.8;

  text-align: center;
}

.office-list-items {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;

  margin: 0;
  padding: 0;
}

.office-list-item {
  position: relative;

  display: flex;

  align-items: center;

  width: 100%;
  min-height: 68px;

  padding: 18px 55px 18px 25px;

  box-sizing: border-box;

  background: #fff;

  border: 1px solid #eadfce;

  border-radius: 12px;

  color: #555;

  font-size: 15px;
  font-weight: 500;

  line-height: 1.6;

  letter-spacing: 0.04em;

  text-decoration: none;

  box-shadow: 0 5px 18px rgba(80, 60, 40, 0.05);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.office-list-name {
  display: block;
  width: 100%;
}

.sp-only {
  display: none;
}

.office-arrow {
  position: absolute;

  top: 50%;
  right: 22px;

  transform: translateY(-50%);

  color: #eaa317;

  font-size: 18px;

  line-height: 1;

  transition: right 0.3s ease;
}

.office-list-item:hover {
  transform: translateY(-3px);

  border-color: #eaa317;

  box-shadow: 0 10px 25px rgba(80, 60, 40, 0.09);
}

.office-list-item:hover .office-arrow {
  right: 17px;
}

/* ============================================================
   求人情報
   ============================================================ */

.job-section {
  margin-bottom: 90px;
}

.job-section > h3 {
  position: relative;

  margin: 0 0 45px;

  color: #333;

  font-size: 30px;
  font-weight: 700;

  line-height: 1.5;

  text-align: center;
}

.job-section > h3::after {
  content: "";

  display: block;

  width: 60px;
  height: 4px;

  margin: 15px auto 0;

  background: #eaa317;

  border-radius: 999px;
}

.job-list {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.job-item {
  padding: 30px 35px;

  box-sizing: border-box;

  background: #fff;

  border: 1px solid #e5e5e5;

  border-left: 6px solid #eaa317;

  border-radius: 12px;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.job-item:hover {
  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-content {
  position: relative;
}

.job-item h4 {
  margin: 0 0 18px;

  color: #333;

  font-size: 25px;
  font-weight: 700;

  line-height: 1.5;
}

/* ============================================================
   求人タイトル内の共通設定
   ============================================================ */

.job-item h4 span {
  display: inline-block;

  margin-left: 8px;

  color: #eaa317;

  font-size: 18px;
}

/* ============================================================
   ケアマネジャーのタイトル専用設定
   ------------------------------------------------------------
   PCでは

   ケアマネジャー / 居宅ケアマネジャー

   スマートフォンでは

   ケアマネジャー/
   居宅ケアマネジャー

   と表示します。

   「/」と「居宅ケアマネジャー」は
   求人タイトルそのものなので黒色に固定します。
   ============================================================ */

.job-item h4 .sp-job-break,
.job-item h4 .pc-job-space,
.job-item h4 .job-title-second {
  color: #333;
}

/* ============================================================
   PC表示
   ============================================================ */

.sp-job-break {
  display: inline;
}

.pc-job-space {
  display: inline;
}

.job-title-second {
  display: inline;
}

/* ============================================================
   求人説明
   ============================================================ */

.job-description {
  width: 100%;
  max-width: 850px;

  margin: 0 0 25px;

  box-sizing: border-box;

  color: #555;

  line-height: 1.9;
}

.job-description .job-lead {
  margin: 0 0 12px;

  padding: 0;

  color: #555;

  line-height: 1.9;
}

.job-description > p {
  margin: 0 0 18px;

  padding: 0;
}

.job-description ul {
  margin: 0 0 25px;

  padding-left: 1.5em;

  box-sizing: border-box;
}

.job-description li {
  margin-bottom: 8px;

  padding: 0;

  color: #555;

  line-height: 1.8;
}

.job-description li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   求人詳細ボタン
   ============================================================ */

.job-link {
  display: flex;

  align-items: center;
  justify-content: center;

  width: fit-content;

  margin-top: 25px;
  margin-left: auto;

  padding: 12px 25px;

  background: #eaa317;

  border-radius: 999px;

  color: #fff;

  font-weight: bold;

  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.job-link span {
  margin-left: 10px;

  font-size: 18px;
}

.job-link:hover {
  background: #d58f08;

  transform: translateY(-2px);
}

/* ============================================================
   求人サイト案内
   ============================================================ */

.external-recruit {
  margin-bottom: 80px;

  padding: 50px 30px;

  box-sizing: border-box;

  background: #fdf4e3;

  border-radius: 20px;

  text-align: center;
}

.external-recruit h3 {
  margin: 0 0 20px;

  color: #333;

  font-size: 26px;

  line-height: 1.5;
}

.external-recruit p {
  margin: 8px 0;

  color: #555;

  line-height: 1.9;
}

/* ============================================================
   仲間の声
   ============================================================ */

.recruit-message {
  margin-bottom: 70px;

  padding: 60px 30px;

  box-sizing: border-box;

  background: #fffaf2;

  border-radius: 20px;

  text-align: center;
}

.recruit-message h3 {
  margin: 0 0 20px;

  color: #333;

  font-size: 28px;

  line-height: 1.5;
}

.recruit-message p {
  margin-bottom: 30px;

  color: #555;

  line-height: 1.9;
}

/* ============================================================
   詳細ボタン
   ============================================================ */

.detail-btn {
  display: inline-block;

  padding: 12px 30px;

  background: #eaa317;

  border-radius: 999px;

  color: #fff;

  font-weight: bold;

  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.detail-btn:hover {
  background: #d58f08;

  transform: translateY(-2px);
}

/* ============================================================
   お問い合わせ
   ============================================================ */

.recruit-contact {
  padding: 60px 30px;

  box-sizing: border-box;

  background: #fdf4e3;

  border-radius: 20px;

  text-align: center;
}

.recruit-contact h3 {
  margin: 0 0 20px;

  color: #333;

  font-size: 28px;

  line-height: 1.5;
}

.recruit-contact p {
  margin-bottom: 30px;

  color: #555;

  line-height: 1.9;
}

.recruit-contact-btn {
  display: inline-block;

  padding: 15px 40px;

  background: #eaa317;

  border-radius: 999px;

  color: #fff;

  font-weight: bold;

  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.recruit-contact-btn:hover {
  background: #d58f08;

  transform: translateY(-3px);
}

/* ============================================================
   求人の特徴
   ============================================================ */

.job-features {
  display: flex;

  align-items: stretch;

  gap: 12px;

  margin: 10px 0 15px;

  padding: 0;

  list-style: none;
}

.job-features li {
  display: flex;

  align-items: center;

  height: 42px;

  margin: 0;

  padding: 0 18px;

  box-sizing: border-box;

  background: #fff8ed;

  border: 1px solid #f1d8a8;

  border-radius: 8px;

  color: #555;

  font-weight: bold;

  line-height: 1.5;
}

.job-features li::marker {
  content: "";
}

/* ============================================================
   小見出し
   ============================================================ */

.job-description .midasi {
  margin: 30px 0 12px;

  padding: 10px 15px;

  box-sizing: border-box;

  background: #fff8ed;

  border-left: 5px solid #eaa317;

  color: #333;

  font-size: 20px;

  font-weight: bold;

  line-height: 1.5;
}

.job-description .midasi:first-child {
  margin-top: 0;
}

/* ============================================================
   スマートフォン
   ============================================================ */

@media screen and (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    overflow-x: hidden;
  }

  body {
    background: #fffdf9;
  }

  main {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
  }

  /* ==========================================================
     メインビジュアル
     ========================================================== */

  .main-visual {
    width: 100%;

    height: 300px;

    overflow: hidden;
  }

  .main-visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  /* ==========================================================
     求人ページ全体
     ========================================================== */

  .service {
    width: 100%;
    max-width: 100%;

    padding: 55px 15px;

    box-sizing: border-box;
  }

  /* ==========================================================
     ページ見出し
     ----------------------------------------------------------
     TOPページと統一
     ========================================================== */

  .service > h2 {
    width: 100%;

    margin: 0 0 55px;

    font-size: 28px;
    font-weight: 600;

    letter-spacing: 0.08em;

    line-height: 1.5;
  }

  .service > h2::before {
    margin-bottom: 8px;

    font-size: 11px;

    letter-spacing: 0.18em;
  }

  .service > h2::after {
    width: 42px;
    height: 2px;

    margin-top: 17px;
  }

  /* ==========================================================
     導入部分
     ========================================================== */

  .recruit-introduction {
    margin-bottom: 60px;

    padding: 40px 20px;

    text-align: left;
  }

  .recruit-introduction h3 {
    margin-bottom: 20px;

    font-size: 24px;
  }

  .recruit-introduction p {
    font-size: 14px;

    line-height: 1.9;
  }

  /* ==========================================================
     事業所リスト
     ========================================================== */

  .office-list {
    width: 100%;
    max-width: 100%;

    margin-bottom: 60px;

    padding: 30px 15px;

    box-sizing: border-box;

    border-radius: 15px;
  }

  .office-list > h3 {
    font-size: 23px;
  }

  .office-list-intro {
    margin-bottom: 25px;

    font-size: 14px;

    line-height: 1.8;
  }

  .office-list-items {
    display: flex;

    flex-direction: column;

    gap: 12px;

    width: 100%;
  }

  .office-list-item {
    width: 100%;
    min-height: 60px;

    padding: 15px 48px 15px 18px;

    box-sizing: border-box;

    border-radius: 10px;

    font-size: 14px;

    line-height: 1.6;
  }

  .office-list-name {
    display: block;

    width: 100%;
  }

  .sp-only {
    display: inline;
  }

  .office-arrow {
    right: 17px;

    font-size: 17px;
  }

  /* ==========================================================
     求人情報
     ========================================================== */

  .job-section {
    margin-bottom: 60px;
  }

  .job-section > h3 {
    margin-bottom: 35px;

    font-size: 25px;
  }

  .job-list {
    gap: 18px;
  }

  .job-item {
    padding: 25px 20px;

    border-left-width: 5px;
  }

  .job-item h4 {
    margin-bottom: 15px;

    font-size: 21px;
  }

  .job-item h4 span {
    margin-left: 4px;

    font-size: 16px;
  }

  /* ==========================================================
     ケアマネジャーのタイトル
     ========================================================== */

  .job-item h4 .sp-job-break {
    display: inline;

    margin-left: 0;

    color: #333;
  }

  .job-item h4 .sp-job-break::after {
    content: "";

    display: block;
  }

  .job-item h4 .pc-job-space {
    display: none;
  }

  .job-item h4 .job-title-second {
    display: inline;

    margin-left: 0;

    color: #333;

    font-size: 21px;
  }

  /* ==========================================================
     求人説明
     ========================================================== */

  .job-description {
    width: 100%;
    max-width: 100%;

    margin-bottom: 22px;

    font-size: 14px;

    line-height: 1.8;
  }

  .job-description .job-lead {
    margin: 0 0 12px;

    padding-left: 0;

    font-size: 14px;

    line-height: 1.8;
  }

  .job-description > p {
    margin: 0 0 15px;

    padding: 0;
  }

  .job-description ul {
    margin: 0 0 20px;

    padding-left: 1.5em;
  }

  .job-description li {
    margin-bottom: 6px;

    padding-left: 0;

    font-size: 14px;

    line-height: 1.8;
  }

  .job-description .midasi {
    margin: 25px 0 10px;

    padding: 9px 12px;

    font-size: 18px;
  }

  /* ==========================================================
     求人の特徴
     ========================================================== */

  .job-features {
    gap: 8px;

    flex-wrap: wrap;

    margin: 10px 0 20px;

    padding: 0;
  }

  .job-features li {
    height: 42px;

    padding: 0 12px;

    font-size: 13px;
  }

  /* ==========================================================
     求人詳細ボタン
     ========================================================== */

  .job-link {
    width: 100%;

    padding: 13px 20px;

    box-sizing: border-box;
  }

  /* ==========================================================
     求人サイト案内
     ========================================================== */

  .external-recruit {
    margin-bottom: 60px;

    padding: 40px 20px;

    border-radius: 15px;
  }

  .external-recruit h3 {
    font-size: 22px;

    text-align: center;
  }

  .external-recruit p {
    font-size: 14px;

    line-height: 2;

    text-align: left;
  }

  /* ==========================================================
     仲間の声
     ========================================================== */

  .recruit-message {
    margin-bottom: 50px;

    padding: 45px 20px;

    border-radius: 15px;
  }

  .recruit-message h3 {
    font-size: 24px;

    text-align: center;
  }

  .recruit-message p {
    font-size: 14px;

    text-align: left;
  }

  /* ==========================================================
     お問い合わせ
     ========================================================== */

  .recruit-contact {
    padding: 45px 20px;

    border-radius: 15px;
  }

  .recruit-contact h3 {
    font-size: 24px;

    text-align: center;
  }

  .recruit-contact p {
    font-size: 14px;

    line-height: 2;

    text-align: left;
  }

  .recruit-contact-btn {
    width: 100%;

    padding: 14px 20px;

    box-sizing: border-box;
  }
}
