/* COMPANY-based HERO: common spacing and typography, individual photography. */
.rec-hero { position: relative; overflow: hidden; padding: calc(var(--header-height) + 24px) 0 60px; border-bottom: 1px solid #d3dee6; background: linear-gradient(90deg, #f5f8fa, #edf5fa); }
.rec-hero > .sub-container { position: relative; z-index: 1; }
.rec-hero-en { margin: 42px 0 12px; color: #0a304e; font-size: clamp(42px, 8vw, 108px); font-weight: 800; line-height: 1.1; letter-spacing: .055em; }
.rec-hero .sub-eyebrow { margin-bottom: 8px; }
.rec-hero h1 { margin: 0; font-size: clamp(22px, 2.5vw, 30px); letter-spacing: .12em; }
.rec-hero-copy { margin: 36px 0; font-size: clamp(24px, 3vw, 38px); font-weight: 700; line-height: 1.8; letter-spacing: .06em; }
.rec-hero-photo { position: absolute; inset: 0 0 0 40%; margin: 0; pointer-events: none; opacity: 1; mask-image: linear-gradient(90deg, transparent, #000 35%); }
.rec-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 58%; }
.rec-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,248,250,.94), rgba(245,248,250,.12) 75%); }
.rec-hero-grid { width: 60%; min-width: 0; }
.rec-hero .rec-prose { line-height: 2.2; }
@media (max-width: 900px) {
  .rec-hero-photo { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 3; margin: 28px 0 -60px; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); }
  .rec-hero-photo img { object-fit: contain; object-position: center; }
  .rec-hero-photo::after { background: linear-gradient(180deg, rgba(245,248,250,.18), transparent 35%, rgba(245,248,250,.3)); }
  .rec-hero-copy { font-size: clamp(24px, 4.2vw, 38px); }
  .rec-hero-grid { width: 100%; }
  .rec-hero .rec-prose { font-size: 16px; line-height: 2; }
}
@media (max-width: 600px) {
  .rec-hero-en { margin-top: 32px; }
}
/* RECRUIT only. Common header, footer, spacing and CTA use subpage.css. */

.rec-prose { color: #344d60; font-size: 15px; line-height: 2.2; }
.rec-prose p { margin: 0 0 22px; }
.rec-prose p:last-child { margin-bottom: 0; }
.rec-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 100%; min-height: 48px; margin-top: 28px; padding-block: 12px; border-bottom: 1px solid #087fe5; color: #075f9e; font-size: 14px; font-weight: 700; }
.rec-text-link:hover { color: #071b30; }
.rec-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.rec-signal { display: block; width: 96px; height: 2px; margin-top: 32px; background: linear-gradient(90deg, #087fe5, #80d5f5); transform-origin: left; animation: rec-signal-in 1s ease-out both; }
@keyframes rec-signal-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rec-photo { min-width: 0; margin: 0; background: #eaf3f8; border: 1px solid #cbdfe9; }
.rec-work-diagram { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px 20px; text-align: center; color: #345b73; background: linear-gradient(135deg, #f4f9fc, #dfedf5); }
.rec-work-diagram::before, .rec-work-diagram::after { content: ""; position: absolute; width: 48px; height: 32px; border: solid #8fbcd5; }
.rec-work-diagram::before { top: 24px; left: 24px; border-width: 1px 0 0 1px; }
.rec-work-diagram::after { bottom: 24px; right: 24px; border-width: 0 1px 1px 0; }
.rec-work-diagram strong, .rec-work-photo-caption strong { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.8; font-weight: 500; }
.rec-photo-en { font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.8; }
.rec-photo figcaption { padding: 18px 24px; color: #345b73; font-size: 12px; line-height: 1.8; background: #fff; }
.rec-photo figcaption .rec-photo-en, .rec-photo figcaption strong { display: block; margin-bottom: 8px; }
.rec-photo figcaption strong { font-size: 18px; font-weight: 500; }
.rec-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.rec-work { background: #f3f7f9; }
.rec-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rec-work-card { background: #fff; border: 1px solid #dce6ec; }
.rec-work-card .rec-photo { border: 0; border-bottom: 1px solid #dce6ec; aspect-ratio: 4 / 3; }
.rec-work-photo { position: relative; }
.rec-work-card .rec-photo img { height: 100%; aspect-ratio: 4 / 3; object-position: center; }
.rec-work-card .rec-work-photo-wiring img { object-position: 50% 55%; }
.rec-work-photo-caption { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 4px; padding: 32px 24px 18px; color: #fff; background: linear-gradient(transparent, #102c42e6); }
.rec-work-body { padding: 28px 32px; }
.rec-label { margin: 0 0 8px; color: #0870be; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.8; }
.rec-work-body > p:last-child { margin: 14px 0 0; font-size: 15px; color: #344d60; line-height: 2; }
.rec-section-copy { margin: 24px 0 0; color: #344d60; font-size: 15px; line-height: 2; }
.rec-style { color: #fff; background: #102c42; }
.rec-style .sub-eyebrow { color: #83dfff; }
.rec-style .rec-section-copy { color: #d0dfe9; }
.rec-workflow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.rec-workflow li { position: relative; padding: 0 16px 0 0; }
.rec-workflow li::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: #529bc0; }
.rec-workflow li:last-child::before { display: none; }
.rec-flow-number { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; color: #8adfff; border: 1px solid #529bc0; background: #102c42; border-radius: 50%; font-size: 13px; }
.rec-workflow h3 { font-size: 18px; }
.rec-workflow p { font-size: 14px; line-height: 2; color: #d0dfe9; margin: 12px 0 0; }
.rec-flow-note { color: #bed0dc; font-size: 12px; line-height: 1.9; margin: 32px 0 0; }
.rec-environment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.rec-photo-factory img { aspect-ratio: 4 / 3; }
.rec-environment-list section { border-top: 1px solid #ccdde7; padding: 24px 0; }
.rec-environment-list section:first-child { border-top: 2px solid #087fe5; }
.rec-environment-list section:last-child { padding-bottom: 0; }
.rec-environment-list ul { padding-left: 1.2em; margin: 16px 0 0; color: #344d60; font-size: 14px; line-height: 2; }
.rec-environment-list li::marker { color: #087fe5; }
.rec-person { background: #edf6fb; }
.rec-person-list { list-style: none; padding: 0; margin: 0; }
.rec-person-list li { position: relative; padding: 23px 0 23px 28px; border-bottom: 1px solid #c6dfeD; font-size: 17px; line-height: 1.8; }
.rec-person-list li::before { content: ""; position: absolute; left: 0; top: 34px; width: 8px; height: 8px; border: 1px solid #087fe5; border-radius: 50%; }
.rec-person-list li:first-child { border-top: 1px solid #c6dfed; }
.rec-jobs { max-width: 960px; }
.rec-job-status { padding: 20px 24px; margin: 28px 0 0; border-left: 3px solid #087fe5; background: #f0f6fa; font-size: 15px; line-height: 2; }
.rec-job + .rec-job { margin-top: 48px; }
.rec-job-table { overflow-wrap: anywhere; width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.9; }
.rec-job-table caption { padding: 0 0 16px; text-align: left; font-weight: 700; }
.rec-job-table th, .rec-job-table td { text-align: left; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid #d7e3eb; }
.rec-job-table th { width: 30%; background: #f4f7f9; font-weight: 700; }
.rec-job-table td { color: #516779; }
.rec-job-table tr:first-child > * { border-top: 2px solid #163e5c; }
.rec-entry-copy { color: #d0dfe9; font-size: 15px; line-height: 2; margin: 24px 0 0; }
.rec-entry-button { gap: 24px; }

@media (max-width: 1199px) {
  .rec-split, .rec-environment-grid { gap: 36px; }
}
@media (max-width: 900px) {
  .rec-split, .rec-environment-grid, .rec-work-grid { grid-template-columns: 1fr; }
  .rec-workflow { grid-template-columns: 1fr; }
  .rec-workflow li { padding: 0 0 32px 68px; min-height: 104px; }
  .rec-workflow li:last-child { padding-bottom: 0; }
  .rec-workflow li::before { top: 0; bottom: 0; left: 22px; width: 1px; height: auto; }
  .rec-flow-number { position: absolute; top: 0; left: 0; margin: 0; }
  .rec-workflow p br { display: none; }
}
@media (max-width: 768px) {
  .rec-prose, .rec-photo figcaption, .rec-work-body > p:last-child, .rec-section-copy, .rec-workflow p, .rec-flow-note, .rec-environment-list ul, .rec-job-status, .rec-job-table, .rec-entry-copy { font-size: 16px; }
  .rec-prose { line-height: 2; }
}
@media (max-width: 600px) {
  .rec-work-body { padding: 24px; }
  .rec-person-list li { font-size: 16px; }
  .rec-job-table th, .rec-job-table td { padding: 16px 12px; }
  .rec-job-table th { width: 38%; }
  .rec-entry-button { padding: 20px 16px; gap: 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rec-signal { animation: none; transform: none; }
}
