/* All subpages inherit the approved TALENTLAND top-page design tokens. */
body.tl-subpage-brand{--talentland-font:"LINE Seed JP",sans-serif;--tl-pink:#f55b96;--tl-blue:#00aae2;--tl-green:#2bb063;--tl-yellow:#ffcf19;--tl-orange:#fb9b00;--tl-purple:#8d70db;--tl-mint:#4bd8ba;--tl-ink:#000;--theme-color:#f55b96;--base-text-color:#000;--base-color-blue:#4bc3e5;--base-color-blue02:#00aae2;--base-color-green:#2bb063;--base-color-perple:#8d70db;--base-color-orange:#fb9b00;--base-color-yellow:#ffcf19;--base-color-beige:#fffefa;--tl-paper-color:#fff;--tl-paper-image:linear-gradient(#ffffff80,#ffffff80),url('/assets/theme/talentland-grain.svg');--accent:#2bb063!important;color:#000;background-color:var(--tl-paper-color);background-image:var(--tl-paper-image);background-size:auto,160px 160px;font-family:var(--talentland-font)}
body.tl-subpage-brand :where(main,.of_wrap) :is(h1,h2,h3,p,li,dt,dd){color:#000}
body.tl-subpage-brand .tl-page-title{font-family:var(--talentland-font)!important;font-weight:700!important;font-size:clamp(32px,4.5vw,64px)!important;line-height:1.5!important;letter-spacing:-.025em!important;color:#000!important;text-align:left;margin:0 0 25px!important;max-width:100%;width:auto;height:auto}
body.tl-subpage-brand .tl-page-title-area{padding-top:160px!important;padding-bottom:65px!important;min-height:310px;height:auto!important;background-color:var(--tl-paper-color);background-image:var(--tl-paper-image);background-size:auto,160px 160px}
body.tl-subpage-brand .tl-page-title-area>.inr{max-width:1100px;width:calc(100% - 96px);margin-inline:auto;position:relative}
body.tl-subpage-brand .tl-page-title-area .read_txt{position:static;display:block;font-size:13px;line-height:1.5;font-weight:800;letter-spacing:.06em;margin-bottom:18px;color:#000;transform:none}
body.tl-subpage-brand .tl-page-title-area .fv-pan{position:static;display:flex;align-items:center;gap:12px;margin:22px 0 0;font-size:11px;color:#000}
body.tl-subpage-brand .tl-page-title-area .fv-pan p{margin:0}
body.tl-subpage-brand .tl-page-title-area .fv-pan a{color:#000}
body.tl-subpage-brand .tl-article-title{font-size:clamp(28px,3.5vw,46px)!important;line-height:1.6!important}
body.tl-subpage-brand .special-label,body.tl-subpage-brand main>.label{color:#000;font-weight:800;letter-spacing:.06em}
body.tl-subpage-brand :is(.special-panel,.step){border-color:var(--tl-green)}
body.tl-subpage-brand :is(input,textarea,select,button){font-family:var(--talentland-font)!important}
@media(max-width:700px){body.tl-subpage-brand .tl-page-title{font-size:clamp(29px,7.7vw,40px)!important;line-height:1.6!important;margin-bottom:20px!important}body.tl-subpage-brand .tl-page-title-area{padding-top:115px!important;padding-bottom:45px!important;min-height:240px}body.tl-subpage-brand .tl-page-title-area>.inr{width:calc(100% - 44px)}body.tl-subpage-brand .tl-page-title-area .read_txt{font-size:11px;margin-bottom:13px}body.tl-subpage-brand .tl-page-title-area .fv-pan{font-size:10px;margin-top:20px}body.tl-subpage-brand .tl-article-title{font-size:27px!important}}

/* Header wordmark colour is managed globally by logo-theme.js. */


/* The shared header has absolutely positioned children: never clip its zero-height host. */
body.tl-has-shared-shell>.tl-shared-header{position:absolute;top:0;left:0;overflow:visible;background:none;z-index:100}
body.tl-has-shared-shell>.tl-shared-header .head{top:0;left:0}
/* Keep the breadcrumb compact, with room for the original introductory illustration. */
body.tl-about-white-logo .about-fv .fv-pan{display:flex;width:fit-content;max-width:100%;flex-wrap:wrap;margin:22px 0 110px;padding:10px 17px;gap:8px;border-radius:14px}
@media(max-width:700px){body.tl-about-white-logo .about-fv .fv-pan{margin-bottom:160px;padding:8px 14px;gap:6px}}

/* Service page breadcrumb: text only, without the imported white pill. */
body.tl-services-page .tl-page-title-area .fv-pan{background:transparent}

/* Subpage mastheads use white type; logo-theme handles the fixed brand mark. */
body.tl-has-shared-shell>.tl-shared-header{position:fixed;top:0;left:0;overflow:visible}
body.tl-subpage-brand .tl-shared-header .head{--color:#fff;color:#fff}

body.tl-subpage-brand .tl-page-title-area .tl-page-title,
body.tl-subpage-brand .tl-page-title-area .tl-page-title *,
body.tl-subpage-brand .tl-page-title-area .read_txt,
body.tl-subpage-brand .tl-page-title-area .fv-pan,
body.tl-subpage-brand .tl-page-title-area .fv-pan *{color:#fff!important}
body.tl-subpage-brand .tl-page-title-area .fv-pan{background:transparent}
body.tl-subpage-brand .tl-page-title-area .fv-pan p{opacity:1}
body.tl-subpage-brand .tl-page-title-area .fv-pan a:after{color:#fff;opacity:1}
body.tl-subpage-brand .tl-page-title-area .fv-pan a:before{background:#fff}

/* Service names replace imported image wordmarks without changing section composition. */
body.tl-services-page main .tl-service-name{display:block;font-size:clamp(26px,3.2vw,48px);line-height:1.35;font-weight:800;letter-spacing:-.035em;width:auto;height:auto}
body.tl-services-page .p-box h4{font-size:clamp(20px,2vw,28px);line-height:1.5;font-weight:700;margin:12px 0}
body.tl-services-page #h_fv .bg-img img{object-position:center 58%}

/* Carry the approved grain across every plain service-content surface. */
body.tl-services-page>.of_wrap{background-color:var(--tl-paper-color);background-image:var(--tl-paper-image);background-size:auto,160px 160px;background-repeat:repeat}
body.tl-services-page>.of_wrap>main,
body.tl-services-page main :is(.intro,.service-con,.al_wrap,.al_wrap>.box,.text_area,.p-box,.img-slide,.d-btm_pan){background:transparent}
body.tl-services-page main :is(.-talentdrive,.-talentacademy,.-carequest)::before{display:none}
body.tl-services-page .intro .inr{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center}
body.tl-services-page .intro .tit{display:block;width:100%;min-width:0;text-align:left}
body.tl-services-page .intro h2{font-size:clamp(24px,2.8vw,40px);line-height:1.6;letter-spacing:0;margin:0}
body.tl-services-page .intro h2 span{margin:0!important}
body.tl-services-page .intro h2 .tl-service-word-row{display:flex;flex-wrap:nowrap;gap:.16em;white-space:nowrap}
body.tl-services-page .intro .tl-service-tagline{font-size:clamp(16px,1.65vw,23px);font-weight:700;line-height:1.65;margin-top:16px}
body.tl-services-page .intro .inr>p{width:100%;max-width:none;margin:0}
@media(max-width:1000px){body.tl-services-page .intro .inr{grid-template-columns:1fr;gap:28px}body.tl-services-page .intro .tit{text-align:center}body.tl-services-page .intro h2 .tl-service-word-row{justify-content:center}body.tl-services-page .intro h2{font-size:clamp(19px,4.8vw,34px)}body.tl-services-page .intro .inr.-w1290{width:87.5%}}

body.tl-services-page main h2.tl-service-wordmark{width:100%;max-width:540px;line-height:1;height:auto}
body.tl-services-page main h2.tl-service-wordmark img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}

/* Service image sizing is controlled by the content grid below. */
body.tl-services-page .service-con h3{white-space:normal}
@media(max-width:1000px){body.tl-services-page main h2.tl-service-wordmark{width:82.5%;max-width:500px}body.tl-services-page .service-con .img_area{z-index:2}}

/* Service01 preview uses the published pickup PV in a clean 16:9 player. */
body.tl-services-page #talentdrive>.tl-service-pv-preview{aspect-ratio:16/9;overflow:hidden;border:2px solid #111;border-radius:24px;background:#000;box-sizing:border-box}
body.tl-services-page #talentdrive>.tl-service-pv-preview:before,body.tl-services-page #talentdrive>.tl-service-pv-preview:after{display:none}
body.tl-services-page #talentdrive>.tl-service-pv-preview video{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:contain;background:#000}
@media(max-width:1000px){body.tl-services-page #talentdrive>.tl-service-pv-preview{border-radius:18px}}
/* Service overview: content-driven columns and consistent section rhythm. */
body.tl-services-page main .service-con{width:87.5%;max-width:1600px;margin:72px auto 0;padding:0;min-height:0}
body.tl-services-page #talentdrive .p-box{width:100%;margin-left:0;padding:14px 0;display:grid;grid-template-columns:minmax(70px,28%) minmax(0,1fr);gap:20px;align-items:start}
body.tl-services-page #talentdrive .p-box .img{width:100%;max-width:none}
body.tl-services-page #talentdrive .p-box .box-text{display:block;min-width:0;margin:0}
body.tl-services-page #talentdrive .p-box .box-text h4{width:auto;max-width:none;margin:8px 0 12px;white-space:nowrap;font-size:clamp(16px,1.55vw,24px);line-height:1.4;letter-spacing:-.025em}
body.tl-services-page #talentdrive .pc-r{width:100%;max-width:none;margin:0}
body.tl-services-page #talentdrive .pc-r .c_txt{margin:0;font-size:clamp(16px,1.4vw,20px);line-height:1.8;letter-spacing:0;text-align:left}
body.tl-services-page #talentdrive .pc-r .c_txt::before,body.tl-services-page #talentdrive .pc-r .c_txt::after{display:none}
body.tl-services-page main .service-con .tl-subpage-cta{margin:56px auto 0;max-width:100%}
@media(min-width:1051px){
 body.tl-services-page main .service-con{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6%;align-items:center;margin-top:88px}
 body.tl-services-page main .service-con>.img_area{position:relative;top:auto;bottom:auto;left:auto;width:100%;max-width:none;margin:0;transform:none}
 body.tl-services-page main .service-con>.text_area{width:100%;margin:0}
 body.tl-services-page #talentdrive{grid-template-rows:auto 1fr;row-gap:28px;align-items:start}
 body.tl-services-page #talentdrive>.text_area{display:contents}
 body.tl-services-page #talentdrive .pc-l{grid-column:1;grid-row:1 / 3;width:100%;min-width:0}
 body.tl-services-page #talentdrive>.img_area{grid-column:2;grid-row:1}
 body.tl-services-page #talentdrive .pc-r{grid-column:2;grid-row:2;align-self:start}
 body.tl-services-page #talentacademy>.img_area{grid-column:1;grid-row:1}
 body.tl-services-page #talentacademy>.text_area{grid-column:2;grid-row:1}
 body.tl-services-page #carequest>.img_area{grid-column:2;grid-row:1}
 body.tl-services-page #carequest>.text_area{grid-column:1;grid-row:1}
}
@media(max-width:1050px){
 body.tl-services-page main .service-con{margin-top:64px;padding-bottom:0}
 body.tl-services-page main .service-con>.img_area{position:relative;top:auto;bottom:auto;left:auto;width:100%;max-width:700px;margin:0 auto 32px;transform:none}
 body.tl-services-page main .service-con>.text_area{display:block;width:100%;margin:0}
 body.tl-services-page #talentdrive .pc-l{width:100%}
 body.tl-services-page #talentdrive .pc-r{margin-top:24px}
 body.tl-services-page #talentdrive .p-box .box-text h4{font-size:clamp(16px,3vw,24px)}
 body.tl-services-page main .service-con h3,body.tl-services-page main .service-con h3+.n_txt{width:100%}
}
@media(max-width:600px){
 body.tl-services-page #talentdrive .p-box{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px 0}
 body.tl-services-page #talentdrive .p-box .box-text h4{font-size:clamp(13px,3.65vw,20px)}
 body.tl-services-page #talentdrive .p-box .box-text .s_txt{font-size:11px;margin-bottom:6px}
 body.tl-services-page #talentdrive .p-box .box-text .n_txt{font-size:13px;line-height:1.8}
 body.tl-services-page main .service-con .tl-subpage-cta{margin-top:48px}
}

/* Keep the gallery at the tallest existing (3:2) photo height, cropping wider frames. */
body.tl-services-page main .img-slide .slide-wrapper{align-items:stretch}
body.tl-services-page main .img-slide .slide-wrapper .img{aspect-ratio:3/2;overflow:hidden;border-radius:40px;flex-shrink:0}
body.tl-services-page main .img-slide .slide-wrapper .img img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:800px){body.tl-services-page main .img-slide .slide-wrapper .img{border-radius:19px}}
/* SVG geometry is retained by the shared reset; give footer arrows explicit sizing. */
body.tl-subpage-brand .tl-restored-footer .only-arrow{flex-shrink:0}
body.tl-subpage-brand .tl-restored-footer .only-arrow svg{display:block;width:100%;height:auto;aspect-ratio:9.62/8.23;overflow:visible}
body.tl-subpage-brand .tl-restored-footer .arrow svg{display:block;height:auto;overflow:visible}

/* Small paper gap between service gallery and the shared movie/footer region. */
body.tl-services-page main .img-slide{margin-bottom:48px}
@media(max-width:800px){body.tl-services-page main .img-slide{margin-bottom:32px}}

/* Explicit gallery geometry avoids collapsed flex tracks on mobile Safari. */
body.tl-services-page main .img-slide{--tl-gallery-width:515px;--tl-gallery-height:343.333px;align-items:center}
body.tl-services-page main .img-slide .slide-wrapper{flex:0 0 auto;width:max-content;min-height:var(--tl-gallery-height);align-items:stretch}
body.tl-services-page main .img-slide .slide-wrapper .img{flex:0 0 var(--tl-gallery-width);width:var(--tl-gallery-width);height:var(--tl-gallery-height);min-height:var(--tl-gallery-height);aspect-ratio:3/2}
body.tl-services-page main .img-slide .slide-wrapper .img img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:800px){
 body.tl-services-page main .img-slide{--tl-gallery-width:min(82vw,320px);--tl-gallery-height:min(54.6667vw,213.333px)}
}
@media(max-width:1050px){
 body.tl-services-page main #carequest h2.tl-service-name{width:100%;margin-inline:auto;text-align:center}
}
