/* WordPress content screens and admin toolbar offsets. */
.wp-content-container{width:min(1080px,calc(100% - 40px));margin:80px auto;min-height:40vh;line-height:1.9}
.wp-content-container h1{font-size:clamp(28px,4vw,48px);margin-bottom:36px}
.wp-content-container h2,.wp-content-container h3{margin:32px 0 16px}
.wp-content-container p,.wp-content-container ul,.wp-content-container ol{margin-bottom:24px}
.wp-content-container img{max-width:100%;height:auto}
.wp-content-container ul,.wp-content-container ol{padding-left:1.5em}
.wp-content-container a{color:#355c84;text-decoration:underline;text-underline-offset:.2em}
.wp-content-container .wp-post{padding:28px 0;border-bottom:1px solid #d9e4e8}
body.admin-bar .site-header,body.admin-bar .recruit-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header,body.admin-bar .recruit-header{top:46px}}
@media(max-width:600px){body.admin-bar .site-header,body.admin-bar .recruit-header{top:0}}

/* Keep arrow glyphs (↗) as text, not color emoji. */
body.alphatec-theme { font-variant-emoji: text; }

/* 2026-10 photo replacements (Canva placement board). Single photos replace the old collage crops. */
img.is-photo{width:100%!important;max-width:100%!important;margin:0!important;object-fit:cover!important;object-position:var(--photo-pos,center)!important;transform:none!important}
.faq-intro figure img.is-photo,.contact-photo img.is-photo,.service-card__media img.is-photo,.case-card__media img.is-photo{height:100%!important}
/* 2026-11-11 FV (Canva「FV修正、11/11日分」): 人材紹介・登録支援機関・人材派遣・業務請負・在留資格は各ページCSSの元画像に戻す。
   導入事例・会社情報は専用写真。個人情報保護方針などの法務ページは共通写真のまま。 */
/* 2026-11-12 コラム・スタッフインタビューのFVは元画像（staff-interviews.css の staffing-support-banner-real.png）に戻す */
.legal-hero{/* background-image:url("../photos/fv-common.webp")!important; */background-position:center 35%!important}
.company-page .company-hero{background-image:url("../photos/fv-company.webp")!important;background-position:center 12%!important}
.cases-page .interviews-mv{background-image:url("../photos/fv-cases.webp")!important;background-position:center 38%!important}
/* 2026-11 人材派遣FVは人材紹介と同じ重ね方（下方向の暗いグラデーションなし）。写真は元のエンジニア写真 */
.staffing-hero{background:linear-gradient(90deg,rgba(8,29,52,.9) 0%,rgba(10,34,58,.72) 38%,rgba(10,34,58,.12) 72%,rgba(10,34,58,.08) 100%),url("../staffing-hero-engineer.png") center 24%/cover no-repeat!important}
.staffing-hero h1,.staffing-hero__lead{text-shadow:none}
@media(max-width:767px){.staffing-hero{background:linear-gradient(90deg,rgba(8,29,52,.92),rgba(8,29,52,.6) 76%,rgba(8,29,52,.3)),url("../staffing-hero-engineer.png") 62% 22%/cover no-repeat!important}}
.cases{background:linear-gradient(180deg,rgba(52,73,104,.3),rgba(52,73,104,.66)),url("../photos/team-laptop.webp") center 40%/cover fixed!important}
.culture-backdrop::before{background:linear-gradient(rgba(25,69,101,.84),rgba(32,74,108,.86)),url("../photos/dispatch-team-03.webp") center/cover no-repeat!important}
/* Staffing cases heading sits directly on the photo: darken the photo and switch the heading to light text. */
.page-template-page-staffing-php .cases{background:linear-gradient(180deg,rgba(13,35,62,.78),rgba(13,35,62,.6) 45%,rgba(52,73,104,.66)),url("../photos/team-laptop.webp") center 40%/cover fixed!important}
.page-template-page-staffing-php .cases .section-heading h2{color:#fff}
.page-template-page-staffing-php .cases .section-kicker{color:var(--cyan)}
.page-template-page-staffing-php .cases .section-heading>div>p:last-child{color:rgba(255,255,255,.82)}
/* Staffing support cards: room between the frame, photo and heading (client feedback 2026-10-30). */
.support-card{padding:16px 16px 28px!important}
.support-card img.is-photo.support-card__visual{margin:0 0 24px!important;border-radius:14px}
.support-card h3,.support-card p{padding-inline:8px}
/* Careers MVP: a narrower photo column so the portrait photo is not blown up on wide screens. */
@media(min-width:1101px){.culture-mvp{grid-template-columns:minmax(0,46%) 1fr}}
@media(min-width:1600px){.culture-mvp{grid-template-columns:minmax(0,640px) 1fr}.mvp-copy p{max-width:640px}}
.mvp-photo img.is-photo{height:100%!important;object-position:center 25%!important}
/* Public info (margin rate) page */
.public-info-year{color:var(--navy-dark,#123a5d);font-size:clamp(17px,1.6vw,20px);font-weight:700}
.public-info-formula{padding:18px 22px;border-radius:14px;background:var(--canvas,#f7fafc);line-height:1.9}
.public-info-formula small,.public-info-table small{color:var(--muted,#66737f);font-size:.86em}
.public-info-nav{display:flex;flex-wrap:wrap;gap:10px;margin:1.6em 0 0}
.public-info-nav a{padding:6px 18px;border:1px solid var(--line,#dde6ee);border-radius:999px;text-decoration:none!important}
.public-info-table{margin:0 0 1em;overflow-x:auto}
.public-info-table table{width:100%;border-collapse:collapse;line-height:1.7}
.public-info-table th,.public-info-table td{padding:12px 16px;border:1px solid var(--line,#dde6ee);text-align:left;vertical-align:middle}
.public-info-table th{width:44%;background:var(--canvas,#f7fafc);font-weight:600}
.public-info-table strong{color:var(--navy-dark,#123a5d);font-size:1.15em}
.public-info-table--wide table{min-width:560px}
.public-info-table--wide th{width:auto;white-space:nowrap}
.public-info-note{color:var(--muted,#66737f);font-size:.9em;line-height:1.8}
.public-info-pdf{margin-top:1.4em}
/* Lower-page FV on phones: shift the common photo right so the staff are in frame instead of the shutter.
   Pages back on their original images keep the phone positions of their own CSS. */
@media(max-width:767px){
  .legal-hero{background-position:74% 35%!important}
  .company-page .company-hero{background-position:64% 12%!important}
  .cases-page .interviews-mv{background-position:42% 38%!important}
}
/* Headings break only between phrases (<wbr> marks them), not mid-word; long phrases still wrap rather than overflow. */
h1,h2,h3,h4{word-break:keep-all;overflow-wrap:anywhere;line-break:strict}

/* Cross talk card title: 14 characters per line on iPhone SE so a sentence ends before the line break */
@media (max-width: 430px) {
  .talk-feature-caption h3 { font-size: 22px; }
}

/* Careers MVP row: same layout as 昇給, with the large MVP watermark behind the copy */
.culture-row--mvp{position:relative}
.culture-row--mvp .mvp-watermark{right:-20px;bottom:-70px;z-index:0;line-height:1}
.culture-row--mvp .culture-photo,.culture-row--mvp .culture-copy{position:relative;z-index:1}
@media(max-width:767px){.culture-row--mvp .mvp-watermark{font-size:110px;right:-10px;bottom:-40px}}
