/* Careerwin Jobs dedicated pages — styles scoped to .hc-jobs */
.hc-jobs{background:#fafafa;color:#333;padding:54px 20px 100px;font-family:"Noto Sans JP",sans-serif}
.hc-jobs *, .hc-jobs *::before, .hc-jobs *::after{box-sizing:border-box}
.hc-jobs__container{max-width:1120px;margin:0 auto}
.hc-jobs__eyebrow{color:#c55c2d;letter-spacing:.2em;font-weight:700;font-size:12px;margin:0 0 12px}
.hc-jobs__intro{margin-bottom:40px}
.hc-jobs__intro h1,.hc-job-hero h1{font-size:clamp(26px,3.6vw,38px);line-height:1.45;margin:0 0 16px;font-weight:700}
.hc-jobs__intro>p:last-child{color:#666;margin:0}
.hc-jobs__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.hc-job-card,.hc-job-panel,.hc-job-apply,.hc-job-hero{background:white;border:1px solid #e7e4e1;border-radius:14px}
.hc-job-card{padding:28px;display:flex;flex-direction:column;gap:16px;box-shadow:0 5px 18px rgba(0,0,0,.025)}
.hc-job-card__top{margin-bottom:-4px}
.hc-job-pill{display:inline-flex;align-items:center;border-radius:100px;background:#fff0e9;color:#a84924;font-size:12px;font-weight:700;padding:6px 13px}
.hc-job-pill--closed{background:#eee;color:#666}
.hc-job-card h2{font-size:20px;line-height:1.5;margin:0}
.hc-job-card h2 a{color:#2d2d2d;text-decoration:none}
.hc-job-card h2 a:hover,.hc-jobs__back a:hover{color:#c55c2d}
.hc-job-card dl{margin:0;flex:1}
.hc-job-card dl>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid #efeeee;font-size:14px;line-height:1.6}
.hc-job-card dt{color:#777}.hc-job-card dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.hc-job-card__link{display:block;text-align:center;background:#a74128;color:#fff!important;border-radius:8px;font-weight:700;padding:13px 15px;text-decoration:none!important;margin-top:6px}
.hc-job-card__link:hover{opacity:.86}
.hc-jobs .pagination{margin-top:40px}.hc-jobs__empty{background:#fff;padding:36px;border-radius:12px;text-align:center}
.hc-jobs__back{margin-bottom:23px;font-size:14px}.hc-jobs__back a{color:#555;text-decoration:none}
.hc-job-hero{padding:34px 40px;margin-bottom:26px}.hc-job-hero h1{margin:0}
.hc-job-hero__employer{margin:0 0 24px;color:#666;font-weight:600}
.hc-job-hero__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;border-top:1px solid #eee;padding-top:22px}
.hc-job-hero__facts>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.hc-job-hero__facts span{font-size:14px;color:#777;line-height:1.5}.hc-job-hero__facts strong{font-size:18px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}
.hc-job-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.hc-job-layout__main{min-width:0}.hc-job-panel{padding:30px 34px;margin-bottom:22px}
.hc-job-panel h2,.hc-job-apply h2{font-size:21px;line-height:1.5;margin:0 0 24px;padding:0 0 13px;border:0;border-bottom:2px solid #c55c2d}
.hc-job-panel__body{font-size:16px;line-height:1.85;overflow-wrap:anywhere}
.hc-job-spec{margin:0}.hc-job-spec>div{display:grid;grid-template-columns:165px minmax(0,1fr);column-gap:20px;border-bottom:1px solid #ececec;line-height:1.8}
.hc-job-spec>div:last-child{border-bottom:0}.hc-job-spec dt{font-weight:700;font-size:15px;padding:18px 10px 18px 0;color:#444}
.hc-job-spec dd{margin:0;font-size:16px;padding:18px 0;overflow-wrap:anywhere}
.hc-job-apply{padding:26px;position:sticky;top:100px}.hc-job-apply h2{font-size:18px;margin-bottom:18px}
.hc-job-apply p{font-size:14px;line-height:1.8}.hc-job-apply__ref{border-radius:8px;background:#faf6f2;padding:15px;overflow-wrap:anywhere}
.hc-job-apply__note{color:#8c543c;font-size:12px!important}.hc-job-apply__closed{font-weight:700;color:#666}
@media(max-width:800px){.hc-jobs__grid{grid-template-columns:1fr}.hc-job-layout{grid-template-columns:1fr}.hc-job-apply{position:static}}
@media(max-width:599px){.hc-jobs{padding:32px 15px 64px}.hc-job-card{padding:22px}.hc-job-hero{padding:23px 21px}.hc-job-hero__facts{grid-template-columns:1fr;gap:12px}.hc-job-panel{padding:23px 20px}.hc-job-spec>div{grid-template-columns:1fr;gap:3px;padding:14px 0}.hc-job-spec dt,.hc-job-spec dd{padding:0}.hc-job-apply{padding:22px}}

/* Dedicated job pages use a full-width SWELL content area, without the blog sidebar. */
#body_wrap.single-hc_job #sidebar,
#body_wrap.post-type-archive-hc_job #sidebar {display:none!important;}
#body_wrap.single-hc_job #content,
#body_wrap.post-type-archive-hc_job #content {display:block!important;width:100%;max-width:1200px;}
#body_wrap.single-hc_job #main_content,
#body_wrap.post-type-archive-hc_job #main_content {width:100%!important;max-width:none!important;float:none!important;margin-left:auto!important;margin-right:auto!important;}

/* Reduce excessive blank space below SWELL breadcrumb on individual job pages only. */
#body_wrap.single-hc_job #content {padding-top:0!important;margin-top:0!important;}
#body_wrap.single-hc_job .hc-jobs {padding-top:28px;}
@media(max-width:599px){#body_wrap.single-hc_job .hc-jobs{padding-top:20px;}}

/* v0.1.37: Match archive spacing to the already-correct single job page. */
#body_wrap.post-type-archive-hc_job #content {padding-top:0!important;margin-top:0!important;}
#body_wrap.post-type-archive-hc_job .hc-jobs {padding-top:28px;}
@media(max-width:599px){#body_wrap.post-type-archive-hc_job .hc-jobs{padding-top:20px;}}

/* Typography: information-oriented sans serif only on job pages. */
.hc-jobs{font-weight:400}
.hc-jobs__intro h1,.hc-job-hero h1,.hc-job-card h2,.hc-job-panel h2,.hc-job-apply h2{font-weight:700}
.hc-job-card dt,.hc-job-hero__facts strong,.hc-job-spec dt,.hc-job-card__link{font-weight:600}
.hc-job-panel__body,.hc-job-spec dd,.hc-job-apply p{font-weight:400}

/* v0.1.7: optional job highlights and flexible sections */
.hc-job-highlights{margin:0 0 24px;padding:23px 30px;border:1px solid #ecd9ce;background:#fffaf6;border-radius:14px}
.hc-job-highlights h2{font-size:18px;font-weight:700;margin:0 0 12px;color:#803a24}
.hc-job-highlights ul{display:flex;flex-wrap:wrap;gap:9px;margin:0;padding:0;list-style:none}
.hc-job-highlights li{background:#fff;color:#733d2a;border:1px solid #e9cbbd;padding:8px 13px;border-radius:6px;font-size:13px;font-weight:600;line-height:1.6}
@media(max-width:599px){.hc-job-highlights{padding:20px}.hc-job-highlights ul{gap:7px}}

/* Careerwin common job application */
.hc-job-apply__button{font-size:16px;display:block;margin-top:20px;padding:14px 16px;border-radius:999px;background:#c55c2d;color:#fff!important;text-align:center;font-weight:700;text-decoration:none!important}
.hc-job-apply__button:hover{opacity:.86}
.hc-job-apply-context{border:1px solid #edd5c8;background:#fff9f5;border-radius:16px;padding:24px;margin:20px 0 28px;font-family:"Noto Sans JP",sans-serif}
.hc-job-apply-context p{margin:0}
.hc-job-apply-context__label{font-size:13px;color:#85563f}
.hc-job-apply-context__name{font-size:21px;font-weight:700;margin:6px 0!important}
.hc-job-apply-context__id{font-size:13px;color:#555}
.hc-job-apply-notice{padding:20px;border:1px solid #dfc8c8;border-radius:12px;background:#fff6f6}

/* v0.1.17: Stick the sidebar grid item, not its equally short child card. */
@media (min-width:801px){
  .hc-job-layout__aside{position:sticky;top:100px;align-self:start;min-width:0}
  .hc-job-layout__aside .hc-job-apply{position:static;top:auto}
}
@media (max-width:800px){.hc-job-layout__aside{position:static}}

/* v0.1.24: Show recruitment status above the job title at all widths. */
.hc-jobs .hc-job-hero__heading{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:12px}
.hc-jobs .hc-job-hero__heading > .hc-job-pill{flex:none;margin:0;order:0}
.hc-jobs .hc-job-hero__heading > h1{width:100%!important;max-width:100%;min-width:0;flex:none;margin:0!important;order:1}

/* v0.1.36: Isolate job archive pagination from SWELL's full-width links. */
.hc-jobs nav.navigation.pagination{margin:40px 0 0;padding:0;background:transparent;box-shadow:none;}
.hc-jobs nav.navigation.pagination .nav-links{display:flex!important;flex-direction:row!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;} 
.hc-jobs nav.navigation.pagination .nav-links .page-numbers{display:inline-flex!important;flex:0 0 auto!important;align-items:center;justify-content:center;min-width:42px;width:auto!important;max-width:none!important;height:42px;min-height:42px;margin:0!important;padding:0 13px!important;border:1px solid #ddd6d2;border-radius:7px;background:#fff;color:#733d2a!important;font-size:14px;font-weight:600;line-height:1.3;text-decoration:none!important;box-shadow:none;}
.hc-jobs nav.navigation.pagination .nav-links .page-numbers.current{background:#b94e29!important;border-color:#b94e29!important;color:#fff!important;cursor:default;}
.hc-jobs nav.navigation.pagination .nav-links a.page-numbers:hover{background:#fff2eb!important;border-color:#b94e29!important;color:#8a3a21!important;}
.hc-jobs nav.navigation.pagination .nav-links a.page-numbers:focus-visible{outline:2px solid #b94e29;outline-offset:3px;}
.hc-jobs nav.navigation.pagination .nav-links .page-numbers.dots{border:0;background:transparent;min-width:20px;padding:0 4px!important;}
@media(max-width:599px){.hc-jobs nav.navigation.pagination .nav-links{gap:6px}.hc-jobs nav.navigation.pagination .nav-links .page-numbers{min-width:38px;height:38px;min-height:38px;padding:0 10px!important;}}
