/* Recruit page tweaks (builds on services.css) */

/* Typography guardrail: keep Recruit page fonts consistent with Services/Company,
   even when Elementor kits or other global CSS set different fonts/weights. */
body.page-template-page-recruit-php,
body.page-template-page-recruit{
  font-family: var(--ycc-font, system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Arial, sans-serif) !important;
  font-size:16px !important;
  font-weight:400;
  line-height:1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

body.page-template-page-recruit-php .yccRecruitContent,
body.page-template-page-recruit .yccRecruitContent{
  font-family: var(--ycc-font, system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Arial, sans-serif) !important;
  font-size:16px !important;
  font-weight:400;
  line-height:1.75;
  font-synthesis: none;
}

body.page-template-page-recruit-php .yccRecruitContent :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,figcaption,button,input,textarea,select,label,a,span,strong,em),
body.page-template-page-recruit .yccRecruitContent :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,figcaption,button,input,textarea,select,label,a,span,strong,em){
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Arial, sans-serif !important;
}

body.page-template-page-recruit-php .yccRecruitContent :is(p,li,dt,dd,blockquote,figcaption,label),
body.page-template-page-recruit .yccRecruitContent :is(p,li,dt,dd,blockquote,figcaption,label){
  font-weight:400 !important;
  font-size:inherit;
  line-height:1.75;
}

.page-template-page-recruit-php .recruitWrap{padding: 24px 0 10px}

/* Title "～技術者採用～" (h3.bizTitle in the first card) should be pure black. */
body.page-template-page-recruit-php #engineer > .bizHead > .bizTitle,
body.page-template-page-recruit #engineer > .bizHead > .bizTitle{
  color:#000 !important;
}

/* Recruit: all section titles (.bizTitle) should be pure black. */
body.page-template-page-recruit-php .yccRecruitContent .bizTitle,
body.page-template-page-recruit .yccRecruitContent .bizTitle,
body.page-template-page-recruit-php .yccRecruitContent .bizTitle *,
body.page-template-page-recruit .yccRecruitContent .bizTitle *{
  color:#000 !important;
}

/* Recruit: make section headings more prominent. */
body.page-template-page-recruit-php .yccRecruitContent .bizTitle,
body.page-template-page-recruit .yccRecruitContent .bizTitle{
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.32;
  letter-spacing: .012em;
  font-weight: 900;
}

body.page-template-page-recruit-php #engineer > .bizHead > .bizTitle,
body.page-template-page-recruit #engineer > .bizHead > .bizTitle{
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.28;
}

body.page-template-page-recruit-php .recruitChildren .bizTitle,
body.page-template-page-recruit .recruitChildren .bizTitle{
  font-size: clamp(21px, 2vw, 28px);
}

/* CTA button typography ("カジュアル面談"): keep it smooth on Windows JP font stacks. */
.page-template-page-recruit-php .bizHead .btn{
  font-synthesis: none;
  font-weight: 800;
  letter-spacing: .02em;
}

.page-template-page-recruit-php .recruitChildren{
  margin-top: 16px;
  display: block;
}

.page-template-page-recruit-php .recruitChildren .bizCard{
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.page-template-page-recruit-php .recruitChildren .bizCard + .bizCard{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,27,45,.10);
}

.page-template-page-recruit-php .recruitChildren .bizHead{
  padding: 0 0 10px;
  background: transparent;
  border-bottom: 0;
}

.page-template-page-recruit-php .recruitChildren .bizBody{
  padding: 0;
}

.page-template-page-recruit-php .recruitKicker{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #234B6A;
  letter-spacing: .01em;
}

.page-template-page-recruit-php .recruitProse p{
  margin: 0 0 12px;
  color: rgba(15,27,45,.85);
  font-weight: 400;
  line-height: 1.9;
  font-size: inherit;
  white-space: pre-line;
}

.page-template-page-recruit-php .recruitProse p:last-child{margin-bottom:0}

.page-template-page-recruit-php .recruitSign{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(15,27,45,.14);
  font-weight: 800;
  color: #234B6A;
}

/* Shared-values diagram block */
body.page-template-page-recruit-php .sharedVision,
body.page-template-page-recruit .sharedVision{
  margin-top: 12px;
  padding: 22px;
  border: 1px solid rgba(15,27,45,.10);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,252,.98));
  box-shadow: 0 16px 36px rgba(15,27,45,.08);
}

body.page-template-page-recruit-php .sharedVisionLayout,
body.page-template-page-recruit .sharedVisionLayout{
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

body.page-template-page-recruit-php .sharedVisionFigure,
body.page-template-page-recruit .sharedVisionFigure{
  margin: 0 0 18px;
  text-align: center;
}

body.page-template-page-recruit-php .sharedVisionText,
body.page-template-page-recruit .sharedVisionText{
  min-width: 0;
}

body.page-template-page-recruit-php .sharedVisionSvg,
body.page-template-page-recruit .sharedVisionSvg{
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto;
}

body.page-template-page-recruit-php .sharedVisionFigure img,
body.page-template-page-recruit .sharedVisionFigure img{
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
}

body.page-template-page-recruit-php .sharedVisionCaption,
body.page-template-page-recruit .sharedVisionCaption{
  margin-top: 10px;
  color: rgba(15,27,45,.60);
  font-size: 13px;
  font-weight: 700;
}

body.page-template-page-recruit-php .sharedVisionLead,
body.page-template-page-recruit .sharedVisionLead{
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 800;
  color: rgba(15,27,45,.88);
  white-space: pre-line;
}

body.page-template-page-recruit-php .sharedVisionList,
body.page-template-page-recruit .sharedVisionList{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

body.page-template-page-recruit-php .sharedVisionList li,
body.page-template-page-recruit .sharedVisionList li{
  position: relative;
  padding-left: 22px;
  color: rgba(15,27,45,.88);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
}

body.page-template-page-recruit-php .sharedVisionList li::before,
body.page-template-page-recruit .sharedVisionList li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #f0a63f, #d9822b);
  box-shadow: 0 4px 10px rgba(217,130,43,.25);
}

body.page-template-page-recruit-php .sharedVisionList strong,
body.page-template-page-recruit .sharedVisionList strong{
  color: #0f1b2d;
  font-weight: 900;
}

body.page-template-page-recruit-php .sharedVisionBottom,
body.page-template-page-recruit .sharedVisionBottom{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(15,27,45,.12);
}

body.page-template-page-recruit-php .sharedVisionBottom p,
body.page-template-page-recruit .sharedVisionBottom p{
  margin: 0 0 12px;
  color: rgba(15,27,45,.82);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
  white-space: pre-line;
}

body.page-template-page-recruit-php .sharedVisionBottom p:last-child,
body.page-template-page-recruit .sharedVisionBottom p:last-child{
  margin-bottom: 0;
}

@media (max-width: 640px){
  body.page-template-page-recruit-php .sharedVisionLayout,
  body.page-template-page-recruit .sharedVisionLayout{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.page-template-page-recruit-php .sharedVision,
  body.page-template-page-recruit .sharedVision{padding: 18px 16px}

  body.page-template-page-recruit-php .sharedVisionLead,
  body.page-template-page-recruit .sharedVisionLead{font-size: 16px}

  body.page-template-page-recruit-php .sharedVisionList li,
  body.page-template-page-recruit .sharedVisionList li{font-size: 15px}
}
