/* スタッフ募集 (/recruit): built on the ganesh.css tokens. The cards on the home and shop pages are in ganesh.css. */

/* ---------- Hero ---------- */
.rc-hero{ display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; }
.rc-hero__title{ font:var(--weight-black) clamp(28px,6vw,44px)/1.25 var(--font-display); color:var(--text-heading); letter-spacing:-0.01em; text-wrap:balance; }
.rc-hero__lead{ max-width:640px; font:var(--type-lead); color:var(--ganesh-brown-700); text-wrap:pretty; }

.rc-page{ padding-top:clamp(20px,3vw,36px); }
.rc-testbar{ margin-bottom:16px; padding:8px 14px; border-radius:var(--radius-md); background:var(--ganesh-pink-200); border:2px dashed var(--ganesh-red-500); color:var(--ganesh-red-600); font:var(--weight-bold) var(--text-sm)/1.6 var(--font-display); }
.rc-testbar a{ color:inherit; margin-left:8px; }
.rc-block{ margin-top:clamp(28px,5vw,48px); }
.rc-h2{ font:var(--type-h2); color:var(--text-heading); margin-bottom:14px; }
.rc-h3{ font:var(--weight-bold) var(--text-md)/1.4 var(--font-display); color:var(--text-heading); margin:4px 0 8px; }

/* ---------- Perks ---------- */
.rc-perks{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0; padding:0; list-style:none; }
.rc-perk{ padding:8px 16px; border-radius:var(--radius-pill); border:2px solid var(--ganesh-orange-300); background:var(--ganesh-orange-050); color:var(--ganesh-orange-800); font:var(--weight-bold) var(--text-sm)/1.2 var(--font-display); }
.rc-perk:first-child{ background:var(--action-primary-bg); border-color:var(--action-primary-bg); color:var(--ganesh-paper); }

/* ---------- Why work here ---------- */
.rc-appeals{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:12px; }
.rc-appeal{ display:grid; grid-template-columns:44px 1fr; gap:12px; align-items:start; padding:16px; border-radius:var(--radius-lg); background:var(--surface-card); border:2px solid var(--border-subtle); }
.rc-appeal__icon{ display:grid; place-items:center; width:44px; height:44px; border-radius:var(--radius-circle); background:var(--ganesh-green-050); color:var(--ganesh-green-700); }
.rc-appeal__icon .g-icon{ width:22px; height:22px; }
.rc-appeal__title{ font:var(--weight-heavy) var(--text-base)/1.4 var(--font-display); color:var(--text-heading); margin-bottom:4px; }
.rc-appeal p{ font:var(--type-small); color:var(--text-body); }

/* ---------- Form ---------- */
.rc-apply-head{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 16px; }
.rc-jump{ font:var(--weight-bold) var(--text-sm)/1.4 var(--font-display); color:var(--ganesh-green-700); }
.rc-form{ display:grid; gap:24px; padding:clamp(18px,4vw,32px); }
.rc-field{ display:flex; flex-direction:column; gap:8px; scroll-margin-top:96px; }
.rc-label{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font:var(--weight-bold) var(--text-base)/1.3 var(--font-display); color:var(--text-heading); }
.rc-req, .rc-opt-tag{ padding:2px 8px; border-radius:var(--radius-pill); font:var(--weight-bold) var(--text-2xs)/1.4 var(--font-display); }
.rc-req{ background:var(--ganesh-red-600); color:var(--ganesh-paper); }
.rc-opt-tag{ background:var(--surface-sunken); color:var(--text-muted); }
.rc-help{ font:var(--type-small); color:var(--text-muted); }
.rc-error{ font:var(--weight-bold) var(--text-sm)/1.4 var(--font-display); color:var(--ganesh-red-600); }
.rc-error:empty{ display:none; }
.rc-error--box{ padding:12px 16px; border-radius:var(--radius-md); background:var(--ganesh-orange-050); border:2px solid var(--ganesh-red-500); }
.rc-field.has-error .rc-input, .rc-field.has-error .rc-opt__face, .rc-field.has-error .rc-chip__face{ border-color:var(--ganesh-red-500); }

.rc-input{ width:100%; padding:14px 16px; font:var(--type-body); font-size:16px; color:var(--text-body); background:var(--ganesh-cream); border:2px solid var(--border-subtle); border-radius:var(--radius-md); }
.rc-input:focus{ outline:none; border-color:var(--ganesh-orange-500); box-shadow:0 0 0 3px var(--ganesh-orange-100); background:var(--surface-card); }
textarea.rc-input{ resize:vertical; min-height:96px; }

/* Radio cards and chips: real inputs, visually replaced */
.rc-opt__input{ position:absolute; opacity:0; width:1px; height:1px; margin:0; }
.rc-opts{ display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr)); gap:10px; }
.rc-opt{ position:relative; display:block; cursor:pointer; }
.rc-opt__face{ position:relative; display:flex; flex-direction:column; justify-content:center; gap:2px; min-height:60px; padding:12px 44px 12px 16px; border-radius:var(--radius-md); border:2px solid var(--border-subtle); background:var(--surface-card); transition:border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.rc-opt__main{ font:var(--weight-bold) var(--text-base)/1.35 var(--font-display); color:var(--text-heading); }
.rc-opt__sub{ font:var(--type-small); color:var(--text-muted); }
.rc-opt__badge{ display:inline-block; margin-left:8px; padding:1px 8px; border-radius:var(--radius-pill); background:var(--ganesh-green-050); border:1px solid var(--ganesh-green-100); color:var(--ganesh-green-700); font:var(--weight-bold) var(--text-xs)/1.5 var(--font-display); vertical-align:2px; white-space:nowrap; }
.rc-shops__other{ margin-top:10px; }
.rc-opt:hover .rc-opt__face{ border-color:var(--ganesh-orange-300); }
.rc-opt__face::after{ content:""; position:absolute; right:14px; top:50%; width:22px; height:22px; margin-top:-11px; border-radius:var(--radius-circle); border:2px solid var(--border-strong); background:var(--surface-card); }
.rc-opt__input:checked + .rc-opt__face{ border-color:var(--ganesh-orange-500); background:var(--ganesh-orange-050); box-shadow:0 0 0 1px var(--ganesh-orange-500); }
.rc-opt__input:checked + .rc-opt__face::after{ content:"✓"; display:grid; place-items:center; border-color:var(--ganesh-orange-500); background:var(--ganesh-orange-500); color:var(--ganesh-paper); font:900 13px/1 var(--font-display); }
.rc-opt__input:focus-visible + .rc-opt__face, .rc-opt__input:focus-visible + .rc-chip__face{ outline:3px solid var(--ganesh-orange-300); outline-offset:2px; }

.rc-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.rc-chip{ position:relative; cursor:pointer; }
.rc-chip__face, .rc-chip--all{ display:inline-flex; align-items:center; justify-content:center; gap:4px; min-width:48px; min-height:48px; padding:0 14px; border-radius:var(--radius-pill); border:2px solid var(--border-subtle); background:var(--surface-card); color:var(--text-heading); font:var(--weight-bold) var(--text-base)/1 var(--font-display); }
.rc-opt__input:checked + .rc-chip__face{ border-color:var(--ganesh-orange-500); background:var(--ganesh-orange-500); color:var(--ganesh-paper); }
.rc-opt__input:checked + .rc-chip__face::before{ content:"✓"; font-size:13px; }
.rc-chip--all{ cursor:pointer; border-style:dashed; color:var(--ganesh-green-700); background:transparent; }

.rc-picked{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; padding:12px 16px; border-radius:var(--radius-md); border:2px solid var(--ganesh-orange-500); background:var(--ganesh-orange-050); font:var(--weight-bold) var(--text-base)/1.4 var(--font-display); color:var(--text-heading); }
.rc-change{ min-height:44px; padding:0 14px; border-radius:var(--radius-pill); border:2px solid var(--ganesh-green-500); background:var(--surface-card); color:var(--ganesh-green-700); font:var(--weight-bold) var(--text-sm)/1 var(--font-display); cursor:pointer; }
.rc-note{ padding:12px 16px; border-radius:var(--radius-md); background:var(--ganesh-green-050); border:2px solid var(--ganesh-green-100); color:var(--ganesh-green-800); font:var(--type-small); line-height:1.7; }

.rc-consent{ display:grid; grid-template-columns:28px 1fr; gap:10px; align-items:start; padding:14px 16px; border-radius:var(--radius-md); border:2px solid var(--border-subtle); background:var(--ganesh-cream); cursor:pointer; font:var(--type-body); }
.rc-consent__box{ width:22px; height:22px; margin-top:2px; accent-color:var(--ganesh-orange-500); }
.rc-consent a{ font-weight:var(--weight-bold); color:var(--ganesh-green-700); }
.rc-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.rc-submit{ width:100%; }
.rc-submit[disabled]{ opacity:.65; cursor:progress; }
.rc-other{ display:grid; gap:8px; padding-top:16px; border-top:1px dashed var(--border-strong); }
.rc-line{ background:#06C755; border-color:#06C755; color:#fff; }
.rc-line:hover{ background:#05a647; border-color:#05a647; color:#fff; }

/* ---------- Thank-you ---------- */
.rc-thanks{ display:grid; justify-items:center; gap:12px; padding:clamp(24px,5vw,40px); text-align:center; }
.rc-thanks__icon{ display:grid; place-items:center; width:64px; height:64px; border-radius:var(--radius-circle); background:var(--ganesh-green-500); color:var(--ganesh-paper); font:900 32px/1 var(--font-display); }
.rc-thanks__title{ font:var(--type-h2); color:var(--text-heading); }
.rc-thanks p{ font:var(--type-body); max-width:520px; }

/* ---------- Job details ---------- */
.rc-details details{ background:var(--surface-card); }
.rc-details__body{ padding:0 20px 20px; }
.rc-dl{ display:grid; margin:0; }
.rc-dl__row{ display:grid; grid-template-columns:150px 1fr; gap:4px 16px; padding:10px 0; border-bottom:1px dashed var(--border-subtle); }
.rc-dl__row dt{ font:var(--weight-bold) var(--text-sm)/1.6 var(--font-display); color:var(--ganesh-brown-700); }
.rc-dl__row dd{ margin:0; font:var(--type-small); line-height:1.7; color:var(--text-body); }
@media (max-width:560px){ .rc-dl__row{ grid-template-columns:1fr; } }
.rc-flow{ counter-reset:step; display:grid; gap:8px; margin:0 0 16px; padding:0; list-style:none; }
.rc-flow li{ counter-increment:step; display:grid; grid-template-columns:32px 1fr; gap:10px; align-items:start; font:var(--type-small); line-height:1.6; }
.rc-flow li::before{ content:counter(step); display:grid; place-items:center; width:28px; height:28px; border-radius:var(--radius-circle); background:var(--ganesh-orange-500); color:var(--ganesh-paper); font:900 14px/1 var(--font-display); }

/* ---------- Staff voices ---------- */
.rc-voices{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:12px; }
.rc-voice{ display:grid; gap:8px; padding:16px; margin:0; }
.rc-voice__photo{ width:72px; height:72px; border-radius:var(--radius-circle); object-fit:cover; }
.rc-voice blockquote{ margin:0; font:var(--type-small); line-height:1.7; }

.rc-closed{ display:grid; justify-items:center; gap:16px; padding:32px; text-align:center; font:var(--type-body); }

/* ---------- Sticky bottom button (phones, while the form is off screen) ---------- */
.rc-sticky{ display:none; }
@media (max-width:767px){
  .rc-sticky{ display:block; position:fixed; left:0; right:0; bottom:0; z-index:40; padding:10px var(--gutter-page) calc(10px + env(safe-area-inset-bottom,0px)); background:var(--surface-dark); border-top:3px solid var(--ganesh-orange-500); box-shadow:0 -4px 14px rgba(74,36,18,.2); transform:translateY(110%); transition:transform var(--dur-base) var(--ease-out); }
  .rc-sticky.is-visible{ transform:translateY(0); }
  .rc-sticky__btn{ width:100%; }
}
