﻿/* ============================================================
   採用情報ページ — recruit page styles (rp-)
   reuses tokens & shared components from styles.css
   ============================================================ */

/* ---------- Hero ---------- */
.rp-hero { position: relative; overflow: hidden; }
.rp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 12% -10%, var(--primary-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}
.rp-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in oklab, var(--primary) 22%, transparent) 1px, transparent 1.4px);
  background-size: 28px 28px; opacity: 0.3;
  mask-image: radial-gradient(120% 80% at 12% 0%, #000 0%, transparent 60%);
}
.rp-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(52px, 6vw, 100px);
}
.rp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--primary-deep);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  padding: 7px 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  white-space: nowrap;
}
.rp-hero-title {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.26; letter-spacing: 0.03em; margin-top: 22px; color: var(--ink);
}
.rp-hero-title mark {
  background: linear-gradient(transparent 60%, color-mix(in oklab, var(--primary) 38%, transparent) 0);
  color: var(--primary-press); padding: 0 2px;
}
.rp-hero-lead {
  margin-top: 22px; font-size: clamp(18px, 1.6vw, 19px);
  color: var(--ink-soft); line-height: 1.6; max-width: 38ch;
}
.rp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.rp-hero-media { position: relative; }
.rp-hero-photo {
  aspect-ratio: 4 / 3.4; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); border: 6px solid var(--surface);
}
.rp-hero-chip {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.rp-hero-chip span {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-sm); background: var(--primary-soft); color: var(--primary-deep);
}
.rp-hero-chip strong { display: block; font-size: 15px; color: var(--ink); letter-spacing: 0.02em; }
.rp-hero-chip small { font-size: 18px; color: var(--ink-soft); }

/* ---------- Perks ---------- */
.rp-perks { padding-block: var(--pad-section); }
.rp-head { text-align: center; margin-bottom: 46px; }
.rp-head .eyebrow { justify-content: center; }
.rp-head .section-lead { margin-inline: auto; }
.rp-perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rp-perk {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-sm);
  text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.rp-perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rp-perk-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-deep);
}
.rp-perk-big { font-size: clamp(28px, 3vw, 38px); font-weight: 900; color: var(--primary-deep); letter-spacing: 0.02em; line-height: 1.1; }
.rp-perk-big small { font-size: 0.5em; font-weight: 700; }
.rp-perk-label { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink); }
.rp-perk-note { margin-top: 6px; font-size: 18.5px; color: var(--ink-soft); }

/* ---------- Jobs ---------- */
.rp-jobs { padding-block: var(--pad-section); background: var(--surface-2); }
.rp-jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.rp-job {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.rp-job-top { padding: 28px clamp(24px, 3vw, 34px); border-bottom: 1px solid var(--line); }
.rp-job-titles { display: flex; align-items: center; gap: 14px; }
.rp-job-icon {
  width: 56px; height: 56px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary-deep); color: #fff;
}
.rp-job-titles h3 { font-size: 17px; letter-spacing: 0.03em; }
.rp-job-emp { font-size: 18.5px; font-weight: 700; color: var(--primary-deep); }
.rp-salary {
  margin-top: 22px; background: var(--primary-tint);
  border: 1px solid color-mix(in oklab, var(--primary) 22%, var(--line));
  border-radius: var(--r-md); padding: 18px 22px;
}
.rp-salary-label { font-size: 18px; font-weight: 700; letter-spacing: 0.08em; color: var(--primary-deep); }
.rp-salary-amount {
  font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; color: var(--ink);
  letter-spacing: 0.01em; line-height: 1.2; margin-top: 4px;
}
.rp-salary-amount span { font-size: 0.5em; font-weight: 700; color: var(--ink-soft); margin: 0 6px; }
.rp-salary-note { font-size: 18px; color: var(--ink-soft); margin-top: 6px; }
.rp-allow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rp-allow em {
  font-style: normal; font-size: 18.5px; font-weight: 700;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent);
}
.rp-job-body { padding: 24px clamp(24px, 3vw, 34px) 30px; }
.rp-job-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rp-job-row:last-child { border-bottom: none; }
.rp-job-row > .rp-job-key {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 18px; font-weight: 700; letter-spacing: 0.06em; color: var(--primary-deep);
  margin-bottom: 10px; white-space: nowrap;
}
.rp-shifts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-shifts li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink);
}
.rp-shift-no {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface-2); color: var(--primary-deep);
  font-size: 18.5px; font-weight: 700; font-family: ui-monospace, monospace;
}
.rp-shift-time { font-family: ui-monospace, monospace; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.rp-shift-tag { font-size: 18px; color: var(--ink-soft); }
.rp-job-text { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.rp-job-text strong { color: var(--ink); }

/* ---------- Benefits ---------- */
.rp-benefits { padding-block: var(--pad-section); }
.rp-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rp-bcol {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
.rp-bcol-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--primary-soft); }
.rp-bcol-icon {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-sm); background: var(--primary-soft); color: var(--primary-deep);
}
.rp-bcol-head h3 { font-size: 15px; letter-spacing: 0.04em; }
.rp-blist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rp-blist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.rp-blist li svg { color: var(--primary); flex: none; margin-top: 3px; }
.rp-blist strong { color: var(--ink); }
.rp-highlight { background: var(--primary-tint) !important; border-radius: var(--r-sm); padding: 8px 10px !important; }
.rp-highlight strong { color: var(--primary-press); }

/* ---------- Apply ---------- */
.rp-apply { padding-block: var(--pad-section); background: var(--surface-2); }
.rp-apply-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.rp-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.rp-step { display: flex; gap: 18px; }
.rp-step-no {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary); color: #fff;
  font-size: 15px; font-weight: 900; font-family: ui-monospace, monospace;
  box-shadow: 0 8px 16px -8px color-mix(in oklab, var(--primary) 80%, black);
}
.rp-step-text strong { display: block; font-size: 15px; color: var(--ink); }
.rp-step-text span { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.rp-warn {
  display: flex; gap: 12px; align-items: flex-start;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 32%, var(--line));
  border-radius: var(--r-md); padding: 18px 20px; margin-top: 28px;
}
.rp-warn svg { color: var(--accent); flex: none; margin-top: 2px; }
.rp-warn p { font-size: 20px; color: var(--ink); line-height: 1.55; }
.rp-apply-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-md); }
.rp-apply-side h3 { font-size: 16px; letter-spacing: 0.03em; }
.rp-apply-doc { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.rp-apply-doc li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.rp-apply-doc li svg { color: var(--primary); flex: none; margin-top: 3px; }

/* ---------- Contact CTA ---------- */
.rp-contact { padding-block: clamp(56px, 7vw, 96px); }
.rp-contact-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep), color-mix(in oklab, var(--primary) 86%, black));
  border-radius: var(--r-lg); padding: clamp(40px, 5vw, 68px);
  text-align: center; box-shadow: var(--shadow-lg);
}
.rp-contact-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 70%);
}
.rp-contact-eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; letter-spacing: 0.1em; color: #fff;
  background: rgba(255,255,255,0.16); padding: 7px 16px; border-radius: var(--r-pill);
}
.rp-contact-band h2 { position: relative; color: #fff; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: 0.04em; margin-top: 20px; }
.rp-contact-band p { position: relative; color: rgba(255,255,255,0.88); margin-top: 14px; font-size: 15px; line-height: 1.55; }
.rp-contact-actions { position: relative; display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.rp-contact-tel { background: #fff; color: var(--primary-press); }
.rp-contact-tel:hover { background: var(--primary-tint); transform: translateY(-2px); }
.rp-contact-mail { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.rp-contact-mail:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.rp-contact-foot { position: relative; margin-top: 22px; font-size: 20px; color: rgba(255,255,255,0.8); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .rp-hero-inner { grid-template-columns: 1fr; }
  .rp-hero-media { max-width: 560px; }
  .rp-perks-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-jobs-grid { grid-template-columns: 1fr; }
  .rp-benefits-grid { grid-template-columns: 1fr; }
  .rp-apply-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rp-perks-grid { grid-template-columns: 1fr; }
  .rp-hero-chip { left: 0; }
  .rp-shifts li { flex-wrap: wrap; }
}
