@charset "UTF-8";
/* ==========================================================================
   採用情報：求人一覧カード（recruit.html）／求人詳細（recruit-*.html）／応募の窓
   ========================================================================== */

/* --------------------------------------------------------------------------
   recruit.html：動画を外したぶん「理想的な環境」の高さを詰める
   -------------------------------------------------------------------------- */
.page-recruit .rc-env { height: 1021px; }

/* --------------------------------------------------------------------------
   募集中の求人（カード一覧）
   -------------------------------------------------------------------------- */
.jobs { background: rgba(255, 255, 255, .9); padding: 72px 0 90px; }
.jobs__sub { margin-top: 10px; }
.jobs__lead { margin-top: 26px; font-size: 14px; line-height: 25.2px; letter-spacing: .05em; color: var(--c-text2); text-align: center; }

.job-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px;
  width: clamp(940px, calc(100% - 120px), 1280px); margin: 48px auto 0;
}
.job-card { position: relative; min-width: 0; }
/* 「この求人に応募する」ボタン（押すと電話／LINE を選ぶ窓が開く）
   PC：「求人を見る」の右に並べる／スマホ：「求人を見る」の下に置く */
.job-card__apply {
  display: flex; align-items: center; justify-content: center;
  position: absolute; right: 30px; bottom: 30px; width: calc(50% - 35px); height: 48px;
  border-radius: 50px; background: var(--c-title); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: .05em;
  box-shadow: 0 4px 0 #d94b4b;
  transition: transform .4s ease, box-shadow .2s ease, background-color .3s ease;
}
.job-card:hover .job-card__apply { transform: translateY(-4px); }
.job-card__apply:hover { background: #ff7272; }
.job-card__apply:active { transform: translateY(-1px); box-shadow: 0 1px 0 #d94b4b; }
.job-card__link {
  display: flex; flex-direction: column; height: 100%;
  padding: 28px 30px 30px;
  background: #fff; border-radius: 15px;
  border-top: 8px solid var(--c-title);
  box-shadow: 0 1px 9px rgba(0, 0, 0, .18);
  transition: transform .4s ease, box-shadow .4s ease;
}
.job-card:hover .job-card__link { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }

/* カード上部の横長写真（いまは仮の写真） */
.job-card__img { margin: -28px -30px 22px; aspect-ratio: 21 / 9; overflow: hidden; background: #f4f2f2; }
.job-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.job-card__link:hover .job-card__img img { transform: scale(1.04); }
.job-card__link { overflow: hidden; }
.job-card__badges { display: flex; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .05em;
}
.badge--new { background: var(--c-title); color: #fff; }
.badge--type { border: 1px solid var(--c-text2); color: var(--c-text2); background: #fff; }

.job-card__title { margin-top: 16px; font-size: 24px; line-height: 1.4; font-weight: 700; color: var(--c-text2); }
.job-card__catch { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--c-text); }

.job-card__info { margin: 18px 0 0; border-top: 1px solid #e8e6e6; }
.job-card__info > div { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e8e6e6; }
.job-card__info dt {
  flex: none; width: 72px; font-size: 13px; line-height: 1.6; font-weight: 700; color: var(--c-title);
}
.job-card__info dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--c-text2); }
.job-card__info dd strong { font-size: 17px; }

.job-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.job-chips li {
  padding: 4px 10px; border-radius: 30px;
  background: #fff4f0; border: 1px solid var(--c-pill-border);
  font-size: 12px; line-height: 1.4; color: #c4443a;
}

.job-card__btn {
  display: flex; align-items: center; justify-content: center;
  width: calc(50% - 5px); height: 48px; margin-top: auto;
  border: 3px solid var(--c-pill-border); border-radius: 50px;
  background: #fff; color: var(--c-title); font-size: 15px; font-weight: 700;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
.job-card__link .job-chips { margin-bottom: 24px; }
.job-card__link:hover .job-card__btn { background: var(--c-title); border-color: var(--c-title); color: #fff; }

/* --------------------------------------------------------------------------
   求人詳細ページ
   -------------------------------------------------------------------------- */
.job-detail { position: relative; background: rgba(255, 255, 255, .9); padding: 24px 0 100px; }
.job-crumb { width: clamp(940px, calc(100% - 120px), 1280px); margin: 0 auto; font-size: 12px; color: var(--c-text2); }
.job-crumb a { text-decoration: underline; }
.job-crumb span { margin: 0 8px; }
.job-crumb span[aria-current] { margin: 0; }
.job-detail__inner { width: clamp(940px, calc(100% - 120px), 1280px); margin: 18px auto 0; }

/* 写真 */
.job-gallery { position: relative; border-radius: 15px; overflow: hidden; background: #f4f2f2; }
.job-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.job-gallery__track::-webkit-scrollbar { display: none; }
.job-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 9; max-height: 540px; }
.job-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.job-gallery__nav {
  position: absolute; top: calc(50% - 24px); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
  transition: background-color .3s;
}
.job-gallery__nav:hover { background: #fff; }
.job-gallery__nav::before {
  content: ""; position: absolute; top: 18px; width: 12px; height: 12px;
  border-top: 3px solid var(--c-title); border-right: 3px solid var(--c-title);
}
.job-gallery__nav--prev { left: 16px; }
.job-gallery__nav--prev::before { left: 20px; transform: rotate(-135deg); }
.job-gallery__nav--next { right: 16px; }
.job-gallery__nav--next::before { left: 15px; transform: rotate(45deg); }
.job-gallery__count {
  position: absolute; right: 16px; bottom: 14px; padding: 4px 12px; border-radius: 20px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px;
}

/* 見出し・概要 */
.job-head { margin-top: 32px; }
.job-head__title { margin-top: 14px; font-size: 28px; line-height: 1.4; font-weight: 700; color: var(--c-text2); }
.job-head__catch { margin-top: 12px; font-size: 18px; line-height: 1.6; font-weight: 700; color: var(--c-title); }
.job-head__summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 24px; border: 1px solid #e8e6e6; border-radius: 12px; overflow: hidden; background: #e8e6e6;
}
.job-head__summary > div { padding: 16px 18px; background: #fff; }
.job-head__summary span { display: block; font-size: 12px; font-weight: 700; color: var(--c-title); }
.job-head__summary strong { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--c-text2); }
.job-head__pay strong { font-size: 21px; line-height: 1.4; }

.job-apply {
  display: flex; align-items: center; justify-content: center;
  width: 360px; height: 60px; margin: 28px auto 0;
  border-radius: 50px; background: var(--c-title); color: #fff;
  font-size: 18px; font-weight: 700; letter-spacing: .05em;
  box-shadow: 0 4px 0 #d94b4b;
  transition: transform .2s ease, box-shadow .2s ease, background-color .3s ease;
}
.job-apply:hover { background: #ff7272; }
.job-apply:active { transform: translateY(3px); box-shadow: 0 1px 0 #d94b4b; }

/* 本文の各ブロック */
.job-sec { margin-top: 56px; }
.job-intro { padding: 26px 30px; border-radius: 12px; background: #fff7f3; }
.job-intro p { font-size: 15px; line-height: 1.9; color: var(--c-text); }
.job-intro p + p { margin-top: 12px; }
.job-sec__title {
  position: relative; padding-left: 18px;
  font-size: 22px; line-height: 1.4; font-weight: 700; color: var(--c-text2);
}
.job-sec__title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 6px; border-radius: 3px; background: var(--c-title); }

.job-table { margin: 18px 0 0; border-top: 1px solid #e8e6e6; }
.job-table__row { display: flex; border-bottom: 1px solid #e8e6e6; }
.job-table dt {
  flex: none; width: 200px; padding: 20px 22px;
  background: #fff4f0; font-size: 15px; line-height: 1.7; font-weight: 700; color: var(--c-text2);
}
.job-table dd { flex: 1; margin: 0; padding: 20px 24px; background: #fff; font-size: 15px; line-height: 1.8; color: var(--c-text); }
.job-table dd strong { font-size: 20px; color: var(--c-text2); }
.job-table dd a { color: #54a7d1; text-decoration: underline; }
.job-list li { position: relative; padding-left: 1.1em; }
.job-list li::before { content: "・"; position: absolute; left: 0; }

.job-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.job-steps li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px; border-radius: 12px; background: #fff; border: 2px solid var(--c-pill-border);
  font-size: 14px; line-height: 1.6; color: var(--c-text2); text-align: center;
}
.job-steps li + li::before {
  content: ""; position: absolute; left: -11px; top: calc(50% - 6px);
  border: 6px solid transparent; border-left: 8px solid var(--c-title);
}
.job-steps__num {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--c-title); color: #fff; font-weight: 700;
}
.job-note { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--c-text2); }

.job-bottom { margin-top: 64px; text-align: center; }
.job-back { display: inline-block; margin-top: 26px; font-size: 14px; color: var(--c-text2); text-decoration: underline; }
.job-sticky { display: none; }

/* --------------------------------------------------------------------------
   応募の窓（電話 / LINE を選ぶ）
   -------------------------------------------------------------------------- */
.apply-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; }
.apply-modal.is-open { visibility: visible; }
.apply-modal__overlay { position: absolute; inset: 0; background: rgba(59, 59, 59, .6); opacity: 0; transition: opacity .3s ease; }
.apply-modal.is-open .apply-modal__overlay { opacity: 1; }
.apply-modal__panel {
  position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 40px 36px 32px; border-radius: 18px; background: #fff; text-align: center;
  opacity: 0; transform: translateY(24px) scale(.97);
  transition: opacity .3s ease, transform .3s ease;
}
.apply-modal.is-open .apply-modal__panel { opacity: 1; transform: none; }
.apply-modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; }
.apply-modal__close:hover { background: #f4f2f2; }
.apply-modal__close::before, .apply-modal__close::after {
  content: ""; position: absolute; left: 9px; top: 17px; width: 18px; height: 2px; background: var(--c-text2);
}
.apply-modal__close::before { transform: rotate(45deg); }
.apply-modal__close::after { transform: rotate(-45deg); }
.apply-modal__job { font-size: 13px; font-weight: 700; color: var(--c-title); }
.apply-modal__job:empty { display: none; }
.apply-modal__title { margin-top: 6px; font-size: 22px; line-height: 1.5; font-weight: 700; color: var(--c-text2); }
.apply-modal__note { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--c-text); }
.apply-modal__btns { display: grid; gap: 14px; margin-top: 24px; }
.apply-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 16px 20px; border-radius: 14px; color: #fff;
  transition: filter .2s ease, transform .2s ease;
}
.apply-btn:hover { filter: brightness(1.06); transform: translateY(-2px); }
.apply-btn--tel { background: var(--c-title); }
.apply-btn--line { background: #06c755; }
.apply-btn__label { font-size: 13px; font-weight: 700; }
.apply-btn__main { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: .03em; }
.apply-btn--line .apply-btn__main { font-size: 21px; }
.apply-btn__sub { font-size: 12px; line-height: 1.5; opacity: .95; }
.apply-modal__qr { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 14px; border-radius: 12px; background: #f6f6f6; text-align: left; }
.apply-modal__qr img { flex: none; width: 96px; height: 96px; }
.apply-modal__qr p { font-size: 12px; line-height: 1.7; color: var(--c-text2); }
body.is-modal-open { overflow: hidden; }

/* ==========================================================================
   スマホ（750px以下）
   ========================================================================== */
@media (max-width: 750px) {
  .page-recruit .rc-env { height: 1489px; }

  /* スマホ：見出し下の写真2枚と「求人 / - JOB -」を外し、説明文を見出しのすぐ下へ */
  .page-recruit .rc-hero { padding-bottom: 0; }
  .page-recruit .rc-hero__col--3,
  .page-recruit .rc-hero__col--1 { display: none; }
  .jobs__title, .jobs__sub { display: none; }

  .jobs { padding: 4px 0 50px; }
  .jobs__sub { margin-top: 8px; }
  .jobs__lead { margin: 0 20px 0; font-size: 12px; line-height: 20px; text-align: left; }
  .jobs__lead br { display: none; }
  .job-grid { grid-template-columns: 1fr; gap: 18px; width: auto; margin: 28px 16px 0; }
  .job-card__link { padding: 22px 20px 76px; }
  .job-card__img { margin: -22px -20px 18px; }
  .job-card__title { margin-top: 12px; font-size: 20px; }
  .job-card__catch { font-size: 13px; }
  .job-card__info dt { width: 64px; font-size: 12px; }
  .job-card__info dd { font-size: 13px; }
  .job-card__info dd strong { font-size: 16px; }
  .job-chips li { font-size: 11px; }
  .job-card__btn { width: auto; height: 44px; font-size: 14px; }
  .job-card__apply {
    left: 20px; right: 20px; bottom: 22px; width: auto; height: 44px;
    font-size: 14px; box-shadow: none;
  }
  .job-card:hover .job-card__apply, .job-card__apply:active { transform: none; box-shadow: none; }
  .job-card:hover .job-card__link { transform: none; }

  .job-detail { padding: 16px 0 110px; }
  .job-crumb, .job-detail__inner { width: auto; margin-left: 16px; margin-right: 16px; }
  .job-crumb { font-size: 11px; }
  .job-gallery { border-radius: 10px; }
  .job-gallery__nav { display: none; }
  .job-head { margin-top: 22px; }
  .job-head__title { font-size: 21px; }
  .job-head__catch { font-size: 15px; }
  .job-head__summary { grid-template-columns: 1fr; }
  .job-head__summary > div { padding: 12px 14px; }
  .job-head__summary strong { font-size: 14px; }
  .job-head__pay strong { font-size: 18px; }
  .job-head .job-apply { width: 100%; height: 54px; font-size: 16px; }
  .job-sec { margin-top: 40px; }
  .job-intro { padding: 18px 16px; }
  .job-intro p { font-size: 13px; line-height: 1.85; }
  .job-sec__title { font-size: 18px; padding-left: 14px; }
  .job-sec__title::before { width: 5px; }
  .job-table__row { display: block; }
  .job-table dt { width: auto; padding: 10px 14px; font-size: 13px; }
  .job-table dd { padding: 12px 14px 16px; font-size: 13px; line-height: 1.75; }
  .job-table dd strong { font-size: 17px; }
  .job-steps { grid-template-columns: 1fr; gap: 14px; }
  .job-steps li { flex-direction: row; text-align: left; padding: 12px 14px; font-size: 13px; }
  .job-steps li + li::before { left: 22px; top: -13px; border: 6px solid transparent; border-top: 8px solid var(--c-title); }
  .job-steps__num { flex: none; width: 28px; height: 28px; font-size: 13px; }
  .job-note { font-size: 12px; }
  .job-bottom .job-apply { width: 100%; height: 54px; font-size: 16px; }

  /* 画面下に固定の応募ボタン */
  .job-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px; background: rgba(255, 255, 255, .95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
  }
  .job-sticky .job-apply { width: 100%; height: 48px; margin: 0; font-size: 15px; box-shadow: none; }
  .page-job .to-top { bottom: 72px; }

  .apply-modal { align-items: flex-end; padding: 0; }
  .apply-modal__panel { width: 100%; max-height: 92vh; padding: 34px 18px 26px; border-radius: 18px 18px 0 0; transform: translateY(40px); }
  .apply-modal__title { font-size: 18px; }
  .apply-btn__main { font-size: 24px; }
  .apply-modal__qr { display: none; }
}
