/* ==========================================================================
   募集要項（jobs.html／jobs-01〜10.html）
   ========================================================================== */

/* ---------- タグ（要資格・未経験可） ---------- */
.tags { display: flex; gap: 12px; }
.tag {
  display: flex; align-items: center; justify-content: center; height: 36px;
  border: 1px solid; border-radius: 40px; font-size: 17px; line-height: 23.8px; font-weight: 500;
}
.tag--qual { width: 118px; background: #bae6eb; border-color: var(--c-teal-d); }
.tag--new  { width: 148px; background: #ffdcdc; border-color: var(--c-red); }
.tri { color: var(--c-teal); }

/* ---------- 一覧ページ ---------- */
.page-head { position: relative; height: 232px; overflow: hidden; }
.page-head .page-head__title { top: 76px; width: 354px; margin-left: -177px; }
.page-head .sec-head__line { top: 98px; width: 596px; }
.page-head .page-head__line--l { left: calc(50% - 802px); }
.page-head .page-head__line--r { left: calc(50% + 197px); }

.jlist { padding: 0 0 93px; }
.jcards { display: grid; grid-template-columns: repeat(2, minmax(0, 462px)); gap: 30px; justify-content: center; padding: 0 30px; }
.jcard a {
  position: relative; display: block; height: 199px; border-radius: 12px; background: #fff;
  box-shadow: rgba(0,0,0,.18) 0 2px 10px; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.jcard a:hover { transform: translateY(-4px); box-shadow: rgba(0,0,0,.22) 0 14px 30px -8px; }
/* 右上の丸い矢印（乗せると赤く塗られて矢印が流れる） */
.jcard__ar {
  position: absolute; right: 24px; top: 22px; display: grid; place-items: center; overflow: hidden;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-red2); color: var(--c-red2);
  transition: background-color .35s, color .35s;
}
.jcard__ar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jcard a:hover .jcard__ar { background: var(--c-red2); color: #fff; }
.jcard a:hover .jcard__ar svg { animation: k-arrow .6s cubic-bezier(.7,0,.2,1); }
.jcard .tags { position: absolute; left: 29px; top: 24px; gap: 12px; }
.jcard__title { position: absolute; left: 29px; top: 84px; width: 394px; font-size: 30px; line-height: 42px; font-weight: 700; white-space: nowrap; }
.jcard__loc { position: absolute; left: 29px; top: 144px; width: 394px; text-align: right; font-size: 17px; line-height: 23.8px; }

/* ---------- 各職種ページ ---------- */
.job-head, .job-sec { position: relative; overflow: hidden; }
.job-head__inner, .job-sec__inner { position: relative; width: 1141.6px; margin: 0 0 0 calc((89.19% - 1141.6px) / 2); }
.job-head { height: 210.4px; }
.job-head__line { position: absolute; left: -176.2px; top: 132px; width: 310px; height: 7px; border-top: 1px solid var(--c-line); }
.job-head .tags { position: absolute; left: 173.8px; top: 44px; }
.job-head__row { position: absolute; left: 172.8px; top: 111px; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.job-head__title { margin-right: 22px; font-size: 35px; line-height: 49px; font-weight: 700; }
/* 「募集内容について」「お申し込みはこちら」：丸い枠のボタン */
.job-head__link {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 18px; border-radius: 8px;
  border: 1px solid var(--c-red2); color: var(--c-red2); font-size: 14px; font-weight: 500; letter-spacing: .06em;
  transition: background-color .35s, border-color .35s, color .35s;
}
.job-head__ar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; background: var(--c-red2); color: #fff; transition: background-color .35s, color .35s, transform .35s cubic-bezier(.2,.8,.2,1); }
.job-head__ar svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.job-head__link:first-of-type .job-head__ar svg { transform: rotate(90deg); } /* ページ内の下へ移動するので下向き */
.job-head__link:hover { background: var(--c-red2); color: #fff; }
.job-head__link:hover .job-head__ar { background: #fff; color: var(--c-red2); transform: translateX(3px); }
.job-head__link:first-of-type:hover .job-head__ar { transform: translateY(3px); }
.job-head__link--fill { background: var(--c-red2); color: #fff; }
.job-head__link--fill .job-head__ar { background: #fff; color: var(--c-red2); }
.job-head__link--fill:hover { background: var(--c-ink); border-color: var(--c-ink); }
.job-head__link--fill:hover .job-head__ar { color: var(--c-ink); }
/* 本文の最後の「面接のお申し込みはこちら」ボタン */


.job-sec__inner { padding-left: 172.8px; }
.job-sec__head { position: relative; }
.job-sec__title { font-size: 25px; line-height: 35px; font-weight: 700; }
.job-sec__line { position: absolute; left: var(--lx); top: 17px; width: var(--lw); height: 7px; border-top: 1px solid var(--c-line); }
.job-text { width: 888px; margin-top: 40px; }
.job-text p { min-height: 1em; }
.job-text span { line-height: 1; } /* 大きい文字が混ざった行も元サイトと同じ行の高さにする */
.job-text--intro { font-size: 16px; line-height: 1.4; }
.job-text--detail { font-size: 18px; line-height: 1.4; }
.job-text a:hover { text-decoration: underline; }
#boshu { scroll-margin-top: 178px; }
@media (max-width: 699px) { #boshu { scroll-margin-top: 10px; } }

/* ==========================================================================
   スマホ
   ========================================================================== */
@media (max-width: 699px) {
  .tags { gap: 11px; }
  .tag { height: 28px; font-size: 11px; line-height: 15.4px; }
  .tag--qual { width: 74px; }
  .tag--new  { width: 92px; }

  .page-head { height: 94px; }
  .page-head .page-head__title { top: 29px; width: 203px; margin-left: -101.5px; }
  .page-head .sec-head__line { top: 39px; width: 106px; height: 3px; }
  .page-head .page-head__line--l { left: -35px; }
  .page-head .page-head__line--r { left: 249px; }

  .jlist { padding: 4px 0 42px; }
  .jcards { grid-template-columns: 303px; gap: 10px; }
  .jcard a { height: 134px; }
  .jcard .tags { left: 16px; top: 16px; gap: 3px; }
  .jcard .tag { height: 29px; font-size: 14px; }
  .jcard .tag--qual { width: 101px; }
  .jcard .tag--new { width: 120px; }
  .jcard__title { left: 16px; top: 60px; width: 280px; font-size: 19px; line-height: 26.6px; }
  .jcard__loc { left: 16px; top: 96px; width: 280px; text-align: left; font-size: 12px; line-height: 16.8px; }

  .job-head__inner, .job-sec__inner { width: 320px; margin: 0; }

  .job-head__line { left: 20px; top: 97.6px; width: 280px; height: 6px; }
  .job-head .tags { left: 20px; top: 18.6px; }
  .job-head__row { position: static; display: block; }
  .job-head__title { position: absolute; left: 20px; top: 61.6px; width: 286px; font-size: 20px; line-height: 28px; white-space: normal; }
  .job-head__link { position: absolute; top: 120px; left: 20px; height: 30px; gap: 6px; padding: 0 4px 0 11px; font-size: 11px; letter-spacing: .02em; }
  .job-head__link + .job-head__link { left: 160px; }
  .job-head__ar { width: 22px; height: 22px; }
  .job-head__ar svg { width: 10px; height: 10px; }
  .job-head { height: 162px; }


  .job-sec__inner { padding: 17px 0 0 20px; }
  .job-sec--detail .job-sec__inner { padding-top: 0; }
  .job-sec__head { display: block; width: 300px; }
  .job-sec__title { width: 222px; font-size: 18px; line-height: 25.2px; }
  .job-sec--detail .job-sec__title { width: auto; }
  .job-sec__line { position: static; display: block; width: 326px; height: 3px; margin: 10px 0 0; }
  .job-sec--detail .job-sec__line { width: 350px; }
  .job-text { margin-top: 17px; }
  .job-text--intro { width: 280px; font-size: 12px; }
  .job-text--detail { width: 286px; font-size: 15px; }
}
.jcard__loc b { font-weight: 500; }

/* ---------- スマホの文字サイズ（全ページ共通の基準）----------
   本文 11.5px ／ 補足 10〜11px ／ 小見出し・質問 13px ／ 見出し 16.5〜17px ／ ページの題 18px */
@media (max-width: 699px) {
  .jcard .tag { font-size: 12px; }
  .jcard__title { font-size: 17px; }
  .jcard__loc { font-size: 11px; }
  .job-head__title { font-size: 18px; }
  .job-sec__title { font-size: 16.5px; }
  .job-text--intro, .job-text--detail { font-size: 11.5px; line-height: 1.8; }
  .jcards { padding: 0; }
  .jcard__ar { right: 14px; top: 14px; width: 30px; height: 30px; }
  .jcard__ar svg { width: 11px; height: 11px; }
}

/* ---------- 募集内容の表（左に見出し・右に内容） ---------- */
.jtable { width: 888px; margin: 40px 0 0; border-top: 1px solid #cfe7ea; font-size: 16px; line-height: 1.8; }
.jtable__row { display: grid; grid-template-columns: 240px minmax(0, 1fr); border-bottom: 1px solid #cfe7ea; }
.jtable dt { padding: 22px 24px; background: #f1f9fa; font-weight: 700; letter-spacing: .06em; color: #2f3a3c; } /* 見出し：ごく薄い水色＋濃い水色の縦線（要資格のタグと同じ色合い） */
.jtable dt::before { content: ""; display: inline-block; width: 4px; height: 1.1em; margin-right: 10px; vertical-align: -.15em; border-radius: 2px; background: var(--c-teal-d); }
.jtable dd { margin: 0; padding: 22px 28px; }
.jtable dd p.gap { margin-top: .9em; }
.job-apply { display: flex; justify-content: center; padding: 40px 20px 90px; } /* 面接のお申し込みボタン：画面の中央 */

@media (max-width: 699px) {
  .job-sec__title, .job-sec--detail .job-sec__title { width: auto; }
  .jtable { width: 280px; margin-top: 20px; font-size: 11.5px; line-height: 1.8; }
  .jtable__row { grid-template-columns: 82px minmax(0, 1fr); }
  .jtable dt { padding: 12px 8px 12px 10px; font-size: 11px; letter-spacing: .02em; }
  .jtable dt::before { width: 3px; margin-right: 5px; }
  .jtable dd { padding: 12px 0 12px 12px; }
  .job-apply { display: none; }  /* スマホは画面の下に固定したボタンを使う */
}
