/* =============================================
   job-search.css - 求人検索ページ
   ============================================= */

/* main：背景・レイアウト */
.job-search main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  padding: 118px 0 150px 0;
  background: url('../img/orange-bg.jpg') center top / cover;
}

/* =============================================
   ページタイトルエリア
   ============================================= */

.job-search .lower-page-title {
  display: flex;
  padding: 100px 0 70px 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.job-search .lower-page-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.job-search .lower-page-title-container img {
  height: 100px;
  width: 100px;
}

.job-search .lower-page-subtitle {
  color: #9E6A41;
  text-align: center;
  font-family: "Baloo Tamma 2";
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.job-search .lower-page-heading {
  color: #6F380B;
  text-align: center;
  font-family: "Potta One";
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 2px;
}

/* =============================================
   コンテンツエリア
   ============================================= */

.job-search .lower-page-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.job-search .lower-page-inner {
  display: flex;
  width: 1040px;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

/* 白コンテナ */
.job-search .white-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 60px 40px;
  border-radius: 30px;
  background: #fff;
}

/* セクションタイトル（アイコン付き） */
.job-search .container-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-left: -60px;
}

.job-search .container-title img {
  width: 50px;
  height: 80px;
  aspect-ratio: 5 / 8;
}

.job-search .container-title-textbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.job-search .container-title-text {
  color: #754620;
  text-align: center;
  font-family: "M PLUS Rounded 1c";
  font-size: 32px;
  font-weight: 800;
}

.job-search .container-title-underline {
  display: inline-block;
  height: 3px;
  align-self: stretch;
  border-radius: 2px;
  background: #754620;
  margin-top: -2px;
}

/* サブセクション見出し */
.job-search .description-title {
  color: #574B38;
  text-align: center;
  font-family: "M PLUS Rounded 1c";
  font-size: 26px;
  font-weight: 500;
}

/* =============================================
   検索サイトコンテンツ
   ============================================= */

.js-site-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.js-site-heading {
  color: #574B38;
  font-family: "M PLUS Rounded 1c";
  font-size: 26px;
  font-weight: 500;
  text-align: center;
}

.js-site-text {
  color: #6F380B;
  font-family: "M PLUS Rounded 1c";
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
}

/* =============================================
   検索方法：セクション構造
   ============================================= */

/* 大セクション（description-titleを含む） */
.js-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

/* 求人票ステップリスト */
.js-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.js-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.js-step-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #6F380B;
  font-family: "M PLUS Rounded 1c";
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.js-step-list li .js-step-note {
  font-size: 15px;
}

.js-step-note-text {
  color: #5C4635;
  font-family: "M PLUS Rounded 1c";
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  line-height: 1.75;
}

/* サブセクション（見出し＋左ボーダーブロックのセット） */
.js-subsection {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

.js-subsection-title {
  color: #6F380B;
  font-family: "M PLUS Rounded 1c";
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  width: 100%;
}

.js-required {
  font-weight: 500;
}

/* 左ボーダー付きブロック（PC/スマホ別・汎用） */
.js-device-block,
.js-inst-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  border-left: 2px solid #6F380B;
  padding-left: 14px;
}

.js-device-label {
  color: #5C4635;
  font-family: "M PLUS Rounded 1c";
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.js-body-text {
  color: #5C4635;
  font-family: "M PLUS Rounded 1c";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.js-body-strong {
  font-weight: 500;
}

/* =============================================
   操作方法トグル
   ============================================= */

/* トグル付き device-block の上書き */
.js-toggle-block {
  gap: 0;
  padding-left: 0;
  overflow: hidden;
}

/* トグルボタン */
.js-toggle-btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.js-toggle-btn:hover .js-device-label {
  opacity: 0.75;
}

/* 三角矢印 */
.js-toggle-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 7px 0 7px;
  border-color: #6F380B transparent transparent transparent;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.js-toggle-btn[aria-expanded="true"] .js-toggle-arrow {
  transform: rotate(180deg);
}

/* トグルコンテンツ */
.js-toggle-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
  padding-bottom: 0;
}


/* 画像ボックス */
.js-img-box--pc {
  width: 100%;
  max-width: 772px;
}

.js-img-box--pc img {
  display: block;
  width: 100%;
  height: auto;
}
.js-img-box--sp img {
  display: block;
  width: 100%;
  height: auto;
}

.js-img-box--sp {
  width: 100%;
}

/* 画像間セパレーター */
.js-img-sep {
  width: 100%;
  border-top: 1px solid #d4b99a;
}

/* SP画像 横並びレイアウト */
.js-img-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  overflow-x: auto;
}

/* 2ルート目の区切り余白 */
.js-route-sep {
  margin-top: 8px;
}

/* =============================================
   Responsive：タブレット (max-width: 1040px)
   ============================================= */

@media (max-width: 1040px) {
  .job-search .lower-page-inner {
    width: calc(100% - 48px);
  }

  .job-search .white-container-area,
  .job-search .description-separator {
    width: 100%;
  }

}

/* =============================================
   Responsive：SP (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {
  .job-search main {
    padding: 70px 0 80px;
  }

  .job-search .lower-page-title {
    padding: 48px 0 36px;
  }

  .job-search .lower-page-title-container img {
    width: 70px;
    height: 70px;
  }

  .job-search .lower-page-subtitle {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.6px;
  }

  .job-search .lower-page-heading {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .job-search .lower-page-inner {
    width: calc(100% - 32px);
    gap: 40px;
  }

  .job-search .white-container {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .job-search .white-container-area {
    width: 100%;
    gap: 36px;
  }

  .job-search .container-title {
    flex-direction: column;
    margin-left: 0;
  }

  .job-search .container-title img {
    width: 40px;
    height: auto;
  }

  .job-search .container-title-text {
    font-size: 22px;
  }

  .job-search .description-title {
    font-size: 20px;
  }

  .js-site-heading {
    font-size: 20px;
  }

  .js-site-text {
    font-size: 15px;
  }

  .js-subsection-title {
    font-size: 16px;
  }

  .js-body-text {
    font-size: 15px;
  }

  .js-device-label {
    font-size: 16px;
  }

  .js-img-row {
    min-width: 100%;
    max-height: 364px;
  }
}

