/* 採用バナー（2026-11 採用改善 優先1・優先5）／ common/recruit-banner.php で読み込む */

/* ---------- 本文用の大きいバナー ---------- */
.rk-recruit-bn {
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}
.rk-recruit-bn *,
.rk-recruit-bn *::before,
.rk-recruit-bn *::after { box-sizing: border-box; }

.rk-recruit-bn__link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #385AAA;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(56, 90, 170, .18);
  transition: transform .2s, box-shadow .2s;
}
.rk-recruit-bn__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 90, 170, .28);
  color: #fff;
  opacity: 1;
}
.rk-recruit-bn__photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.rk-recruit-bn__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform .4s; }
.rk-recruit-bn__link:hover .rk-recruit-bn__photo img { transform: scale(1.05); }

.rk-recruit-bn__body { display: block; padding: 20px 20px 22px; }
.rk-recruit-bn__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .85;
}
.rk-recruit-bn__main {
  display: block;
  margin: 6px 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}
.rk-recruit-bn__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rk-recruit-bn__chips > span {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  background: #fff;
  color: #385AAA;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.rk-recruit-bn__chip-pc { display: none !important; }
/* 募集要項の要点（給与・休日・応募資格） */
.rk-recruit-bn__req {
  display: block;
  margin-bottom: 18px;
  padding: 4px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}
.rk-recruit-bn__req-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.rk-recruit-bn__req-row:last-child { border-bottom: none; }
.rk-recruit-bn__nw { display: inline-block; }
.rk-recruit-bn__req-dt {
  flex: 0 0 5em;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.rk-recruit-bn__req-dd {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
}
.rk-recruit-bn__btn {
  display: block;
  padding: 11px 20px;
  border: 2px solid #F69C00;
  border-radius: 999px;
  background: #F69C00;
  color: #fff;
  transition: background .2s, color .2s;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.rk-recruit-bn__link:hover .rk-recruit-bn__btn { background: #fff; color: #F69C00; }

@media (min-width: 768px) {
  .rk-recruit-bn { margin: 80px auto; }
  .rk-recruit-bn__link { flex-direction: row; min-height: 280px; }
  .rk-recruit-bn__photo { flex: 0 0 52%; aspect-ratio: auto; }
  .rk-recruit-bn__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 32px 36px; }
  .rk-recruit-bn__br { display: none; }
  .rk-recruit-bn__main { font-size: 30px; }
  .rk-recruit-bn__chip-pc { display: inline-block !important; }
  .rk-recruit-bn__req { margin-bottom: 20px; padding: 6px 18px; }
  .rk-recruit-bn__req-dt,
  .rk-recruit-bn__req-dd { font-size: 14px; }
  .rk-recruit-bn__btn { align-self: flex-start; padding: 11px 34px; }
}

/* ---------- スマホのヘッダーの「採用」ボタン（common/header-tmp.php） ---------- */
.rk-header-recruit {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin: 0 10px 0 auto;
  padding: 5px 24px;
  border: 2px solid #F69C00;
  border-radius: 4px;
  background: #F69C00;
  color: #fff !important;
  transition: background .2s, color .2s;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.rk-header-recruit:hover { background: #fff; color: #F69C00 !important; opacity: 1; }
@media (max-width: 374px) {
  .rk-header-recruit { padding: 5px 14px; }
}
@media (max-width: 359px) {
  .rk-header-recruit { margin-right: 6px; padding: 4px 7px; font-size: 11px; }
}
@media (min-width: 1400px) {
  .rk-header-recruit { display: none; }
}

/* ---------- MENU（ハンバーガーメニュー）内の採用カード（common/header-tmp.php） ---------- */
.header-section .header-inner .header-nav .rk-menu-recruit {
  display: flex;
  align-items: stretch;
  max-width: 500px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  text-decoration: none;
  box-sizing: border-box;
}
.header-section .header-inner .header-nav .rk-menu-recruit * { box-sizing: border-box; }
.rk-menu-recruit__photo { flex: 0 0 38%; overflow: hidden; }
.rk-menu-recruit__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rk-menu-recruit__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 12px 12px 12px 14px; }
.rk-menu-recruit__kicker { color: #F69C00; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; }
.rk-menu-recruit__main { margin: 3px 0 9px; color: #385AAA; font-size: 15px; font-weight: 700; line-height: 1.45; }
.rk-menu-recruit__btn {
  display: block;
  padding: 6px 10px;
  border: 2px solid #F69C00;
  border-radius: 999px;
  background: #F69C00;
  color: #fff;
  transition: background .2s, color .2s;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.rk-menu-recruit:hover .rk-menu-recruit__btn { background: #fff; color: #F69C00; }

/* 1201px以上はMENUの項目が横に並ぶ（script.js）。カードは列に入れず、MENU上部の横長の帯にする */
@media (min-width: 1201px) {
  .header-section .header-inner .header-nav { padding-top: 200px; }
  .header-section .header-inner .header-nav .rk-menu-recruit {
    position: absolute;
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1100px;
    height: 92px;
    margin: 0;
  }
  .rk-menu-recruit__photo { flex: 0 0 170px; }
  .rk-menu-recruit__body { flex-direction: row; align-items: center; gap: 24px; padding: 0 28px; }
  .rk-menu-recruit__kicker { font-size: 13px; }
  .rk-menu-recruit__main { margin: 0; font-size: 22px; }
  .rk-menu-recruit__main br { display: none; }
  .rk-menu-recruit__btn { margin-left: auto; padding: 10px 32px; font-size: 15px; white-space: nowrap; }
}
