/* Nagani Japan: shared group identity, with a prominent cross-border recruitment story. */
.jp-hero,.jp-layout,.jp-entry,.jp-page-hero,.jp-breadcrumb{--jp-ink:#202522;--jp-green:#214e46;--jp-yellow:#edbc50;--jp-blue:#57bbca;--jp-pink:#e77ca2;color:var(--jp-ink);font-size:17px;line-height:1.9}
.jp-hero *, .jp-layout *, .jp-entry *{min-width:0}
.jp-eyebrow{font-size:12px!important;letter-spacing:.16em;font-weight:800;line-height:1.6!important;margin:0 0 18px!important}
.jp-hero{position:relative;z-index:1;padding:80px 0 70px;background:#f3efe8;border-bottom:2px solid #212121}
.jp-hero-grid{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:48px}
.jp-hero h2{font-size:clamp(40px,4.7vw,72px);line-height:1.5;font-weight:850;letter-spacing:-.055em;margin:22px 0 26px;transform:none;position:static;width:auto;color:#202522}
.jp-hero h2 em{font-style:normal;background:linear-gradient(transparent 57%,#57bbca 57%,#57bbca 91%,transparent 91%);padding:0 .1em}
.jp-sticker{display:inline-block;transform:rotate(-2deg);padding:7px 20px;background:#edbc50;border:2px solid #212121;border-radius:50px;box-shadow:3px 3px #212121;font-size:14px;font-weight:800;line-height:1.7}
.jp-hero-lead{font-size:18px;line-height:2;margin:0 0 28px;max-width:590px}
.jp-hero-actions{display:flex;align-items:flex-start;gap:20px;flex-direction:column}
.jp-button{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 24px;border:2px solid #212121;border-radius:50px;background:#edbc50;color:#212121;font:800 16px/1.5 var(--sans);box-shadow:5px 5px #212121;text-decoration:none;cursor:pointer;max-width:100%;transition:transform .2s,box-shadow .2s}
.jp-button>span{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;border:1px solid #212121;background:#fff;font-size:25px;line-height:1}
.jp-button:hover{transform:translate(-2px,-2px);box-shadow:7px 7px #212121}
.jp-button:active{transform:translate(3px,3px);box-shadow:2px 2px #212121}
.jp-button:focus-visible,.jp-layout a:focus-visible,.jp-layout summary:focus-visible{outline:3px solid #087a98;outline-offset:6px}
.jp-text-link{font-size:14px;text-underline-offset:5px;font-weight:700}
.jp-hero-visual{margin:0;position:relative;border:2px solid #212121;border-radius:100px 24px 24px 24px;box-shadow:9px 9px #212121;background:#57bbca;transform:rotate(2deg)}
.jp-hero-visual>img{width:100%;height:355px;object-fit:cover;object-position:center;display:block;border-radius:98px 22px 0 0;filter:saturate(.9)}
.jp-hero-visual figcaption{padding:24px 30px 28px;position:relative;min-height:145px}
.jp-hero-visual figcaption>span:first-child{display:block;font-size:11px;letter-spacing:.14em;font-weight:800}
.jp-hero-visual figcaption strong{display:block;font-size:30px;line-height:1.4;margin-top:10px;padding-right:40px}
.jp-hero-arrow{position:absolute;right:24px;bottom:24px;font-size:60px;line-height:1}
.jp-photo-note{position:absolute;right:-17px;top:-22px;display:grid;place-content:center;text-align:center;width:108px;height:108px;line-height:1.5;font-size:12px;font-weight:900;border-radius:50%;border:2px solid #212121;background:#e77ca2;transform:rotate(10deg)}
.jp-hero-bottom{margin-top:55px}
.jp-group-map{display:grid;grid-template-columns:1fr 54px 1fr;gap:12px;align-items:center}
.jp-country{padding:22px 28px;border:2px solid #212121;border-radius:22px;background:#fffdf8;align-self:stretch}
.jp-country:last-child{background:#f6e6eb}
.jp-country h3{font-size:21px;line-height:1.35;margin:0 0 12px}
.jp-country>strong{display:block;font-size:19px;color:#214e46}
.jp-country p{font-size:14px;margin:6px 0 0;line-height:1.65}
.jp-country .jp-eyebrow{margin-bottom:10px!important}
.jp-group-join{font-size:32px;text-align:center;border:2px solid #212121;border-radius:50%;line-height:50px;background:#edbc50}
.jp-audience{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}
.jp-audience .jp-button{background:#fffdf8;border-radius:18px;box-shadow:3px 3px #212121}
.jp-audience .jp-button:first-child{background:#edbc50}
.jp-breadcrumb{padding-top:185px;padding-bottom:22px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px}
.jp-page-hero{padding:58px 0 64px;background:#edbc50;border-block:2px solid #212121}
.jp-page-hero h1{font-size:clamp(30px,3.5vw,54px);font-weight:850;line-height:1.5;letter-spacing:-.035em;margin:8px 0 20px;max-width:1050px}
.jp-page-hero p:last-child{max-width:900px;font-size:19px;line-height:1.9;margin:0}
.jp-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:50px;align-items:start;padding-block:60px 90px}
.jp-nav{position:sticky;top:175px;border:1px solid #8aa59d;border-radius:18px;background:#fffdf8;overflow:hidden;max-height:calc(100vh - 195px);overflow-y:auto}
.jp-nav>summary{padding:18px;font-size:14px;font-weight:800;cursor:pointer;background:#d8e8e2;line-height:1.6}
.jp-nav nav{display:grid;padding:9px}
.jp-nav a{padding:10px 12px;font-size:13px;font-weight:650;line-height:1.5;text-decoration:none;border-radius:8px}
.jp-nav a[aria-current]{background:#214e46;color:#fff}
.jp-nav a:hover{background:#f7e5ac;color:#212121}
.jp-content{min-width:0}
.jp-section{margin:0 0 52px;padding-bottom:45px;border-bottom:1px solid #bcc9c0;scroll-margin-top:180px}
.jp-section>h2{font-size:clamp(24px,2.6vw,35px);line-height:1.55;letter-spacing:-.03em;margin:0 0 26px}
.jp-section p{margin:0 0 20px;line-height:2;font-size:16px;overflow-wrap:anywhere}
.jp-section .jp-items{padding:0;list-style:none;margin:22px 0 0}
.jp-items h3{font-size:19px;line-height:1.6;margin:0 0 12px}
.jp-items li{margin:0 0 22px}
.jp-items li:last-child{margin-bottom:0}
.jp-items li p:last-child{margin-bottom:0}
.jp-cards .jp-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.jp-cards .jp-items li{margin:0;background:#fffdf8;border:1px solid #a0b4ab;border-radius:20px;padding:26px}
.jp-cards .jp-items li:nth-child(3n+2){background:#edf3f0}
.jp-cards .jp-items li:nth-child(3n){background:#f8eed7}
.jp-numbered .jp-items li{display:flex;gap:22px;border-bottom:1px solid #cdd5cd;padding-bottom:22px}
.jp-numbered .jp-items li:last-child{border-bottom:none;padding:0}
.jp-number{flex:0 0 44px;background:#d8e8e2;border-radius:50%;width:44px;height:44px;font-size:17px;font-weight:800;text-align:center;line-height:44px}
.jp-table .jp-items{border:1px solid #a7b6ae;border-radius:16px;overflow:hidden;background:#fffdf8}
.jp-table .jp-items>div{display:grid;grid-template-columns:180px minmax(0,1fr);border-bottom:1px solid #cad4ce}
.jp-table .jp-items>div:last-child{border-bottom:0}
.jp-table dt,.jp-table dd{padding:18px 22px;margin:0;font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.jp-table dt{font-weight:750;background:#e7eee9}
.jp-on-page{display:flex;flex-wrap:wrap;gap:7px 18px;margin-bottom:42px;padding-bottom:22px;border-bottom:1px dashed #8ba49b;font-size:13px}
.jp-on-page a{text-underline-offset:4px}
.jp-faq{padding:0;background:#fffdf8;border:1px solid #a4b5ac;border-radius:14px;margin-bottom:15px}
.jp-faq>summary{cursor:pointer;padding:20px 24px;font-size:17px;font-weight:750;line-height:1.7}
.jp-faq>div{padding:0 24px 8px}
.jp-cta{padding:35px;border:2px solid #212121;border-radius:25px;background:#d8e8e2;box-shadow:5px 5px #212121;margin-top:45px}
.jp-cta h2{font-size:28px;line-height:1.6;margin:0 0 25px}
.jp-sources{font-size:13px;line-height:1.8;padding:25px 0;border-top:1px solid #bac7bf}
.jp-sources h3{font-size:16px;margin:0 0 8px}
.jp-sources ul{display:flex;flex-wrap:wrap;gap:8px 25px;padding:0;list-style:none}
.jp-sources a{text-underline-offset:4px}
.jp-company-logo{width:240px;height:auto;display:block;margin:0 0 30px}
.jp-social{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:14px;padding:15px 0}
.jp-social a{font-weight:750;text-underline-offset:4px}
.jp-news-list{display:grid;gap:22px}
.jp-news-list>a{position:relative;display:block;border:1px solid #9aafa4;border-radius:18px;padding:26px 60px 26px 26px;background:#fffdf8;text-decoration:none}
.jp-news-list time{font-size:13px;letter-spacing:.06em;font-weight:750;color:#426a5e}
.jp-news-list h2{font-size:23px;line-height:1.6;margin:10px 0 0}
.jp-news-list>a>span{position:absolute;right:24px;top:50%;font-size:28px}
.jp-news-list>a:hover{background:#f8eed7}
.jp-date{font-size:13px;color:#52695e}
.jp-links{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.jp-links .jp-button{background:white;font-size:14px;border-radius:16px}
.jp-entry{display:flex;align-items:center;gap:35px;padding-block:32px;background:#f8e6b6;border-block:1px solid #a28f66;margin-block:25px 35px}
.jp-entry>div{flex:1}.jp-entry h2{font-size:27px;line-height:1.5;margin:0 0 12px}.jp-entry p{font-size:15px;margin:0}.jp-entry .jp-eyebrow{margin-bottom:8px!important}
.jp-group-link{display:block;text-decoration:underline;font-weight:700;padding:20px 0}
.jp-form{border:1px solid #a6b5ad;padding:28px;background:#fffdf8;border-radius:20px}
.jp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.jp-form label{display:block;font-size:15px;font-weight:700;line-height:1.6}
.jp-form label small{margin-left:10px;color:#8f2c4c;font-size:11px}
.jp-form :is(input:not([type=checkbox]),select,textarea),.jp-email-review textarea{font:400 16px/1.6 var(--sans);color:#202522;background:#fff;border:1px solid #738e81;border-radius:9px;width:100%;min-height:48px;padding:12px;margin-top:9px;box-sizing:border-box}
.jp-form textarea,.jp-email-review textarea{resize:vertical}
.jp-form :is(input,select,textarea):focus-visible{outline:3px solid #117d8d;outline-offset:2px}
.jp-form .jp-full{grid-column:1/-1}
.jp-form .jp-consent{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:25px 0;font-weight:400;font-size:14px}
.jp-consent input{width:20px;height:20px;flex:0 0 20px}
.jp-email-review{margin-top:30px;padding:26px;background:#e0eee5;border-radius:18px}
.jp-email-review[hidden]{display:none}
.jp-email-review textarea{margin-bottom:25px}
.jp-secondary{background:white;border:1px solid #212121;border-radius:20px;padding:12px 18px;font:700 14px var(--sans);margin:12px;cursor:pointer}
#jp-form-status{font-size:14px;margin-top:16px}
html[lang=en] .jp-hero h2{font-size:clamp(40px,4.2vw,65px);line-height:1.22;letter-spacing:-.045em}
html[lang=en] .jp-hero-lead{font-size:17px;line-height:1.8}
@media(min-width:1500px){.jp-hero-visual>img{height:430px}}
@media(max-width:1100px){.jp-hero-grid{gap:32px;grid-template-columns:1.05fr 1fr}.jp-hero-visual>img{height:300px}.jp-hero h2{font-size:46px}.jp-hero-lead{font-size:16px}.jp-hero-visual figcaption strong{font-size:25px}.jp-layout{grid-template-columns:190px minmax(0,1fr);gap:28px}.jp-country{padding:20px}.jp-country h3{font-size:18px}.jp-cards .jp-items{grid-template-columns:1fr}.jp-entry{flex-direction:column;align-items:flex-start}.jp-group-map .jp-country h3{font-size:17px}}
@media(max-width:767px){
.jp-hero{padding:48px 0 40px}.jp-hero-grid{grid-template-columns:1fr;gap:40px}.jp-hero h2{font-size:clamp(33px,8.8vw,55px);line-height:1.5;margin:22px 0}.jp-hero-lead{font-size:15px;line-height:1.9}.jp-hero-lead br{display:none}.jp-eyebrow{font-size:10px!important}.jp-sticker{font-size:12px}.jp-hero-actions{gap:20px}.jp-button{padding:14px 18px;font-size:14px;gap:15px}.jp-hero-visual{margin:0 6px 0 0;border-radius:65px 20px 20px 20px;transform:rotate(1deg);box-shadow:5px 5px #212121}.jp-hero-visual>img{height:auto;aspect-ratio:1.45;max-height:340px;border-radius:63px 18px 0 0}.jp-photo-note{width:82px;height:82px;font-size:10px;right:-6px;top:-18px}.jp-hero-visual figcaption{min-height:110px;padding:20px}.jp-hero-visual figcaption strong{font-size:26px}.jp-hero-arrow{font-size:44px}.jp-hero-bottom{margin-top:35px}.jp-group-map{grid-template-columns:1fr;gap:10px}.jp-country{padding:20px}.jp-group-join{transform:rotate(90deg);width:42px;line-height:38px;margin:auto;font-size:25px}.jp-audience{grid-template-columns:1fr;gap:15px;margin-top:20px}.jp-audience .jp-button{min-height:64px}.jp-breadcrumb{padding-top:155px;font-size:11px}.jp-page-hero{padding:32px 0 38px}.jp-page-hero h1{font-size:30px;overflow-wrap:anywhere}.jp-page-hero p:last-child{font-size:16px}.jp-layout{display:block;padding-block:25px 50px}.jp-nav{position:static;max-height:none;margin-bottom:30px}.jp-nav nav{grid-template-columns:1fr 1fr}.jp-nav a{font-size:12px;padding:9px}.jp-section{margin-bottom:32px;padding-bottom:30px;scroll-margin-top:150px}.jp-section>h2{font-size:24px}.jp-section p{font-size:15px;line-height:1.95}.jp-items h3{font-size:17px}.jp-cards .jp-items{grid-template-columns:1fr}.jp-cards .jp-items li{padding:20px}.jp-numbered .jp-items li{gap:13px}.jp-number{flex-basis:34px;width:34px;height:34px;line-height:34px;font-size:14px}.jp-table .jp-items>div{grid-template-columns:1fr}.jp-table dt,.jp-table dd{padding:13px 18px;font-size:14px}.jp-table dt{padding-bottom:9px}.jp-faq>summary{font-size:15px;padding:18px}.jp-faq>div{padding:0 18px 6px}.jp-cta{padding:25px 20px}.jp-cta h2{font-size:24px}.jp-links{grid-template-columns:1fr}.jp-entry{padding:25px 20px}.jp-entry h2{font-size:23px}.jp-form{padding:20px 16px}.jp-form-grid{grid-template-columns:1fr;gap:18px}.jp-form label{font-size:14px}.jp-email-review{padding:20px 16px}.jp-news-list h2{font-size:19px}.jp-news-list>a{padding:22px 45px 22px 20px}.jp-news-list>a>span{right:16px}.jp-on-page{gap:8px 14px;font-size:12px}html[lang=en] .jp-hero h2{font-size:clamp(36px,9.5vw,54px)}html[lang=en] .jp-hero-lead{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.jp-button{transition:none}.jp-button:hover{transform:none}}
.motion-paused .jp-button{transition:none}

/* National flags in the home-page Japan business heading. */
#home-japan .jp-home-country-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px;line-height:1.6}
#home-japan .jp-home-country-pair{display:inline-flex;align-items:center;gap:12px}
#home-japan .jp-home-country{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
#home-japan .jp-home-country .jp-home-flag{display:block;flex:0 0 30px;width:30px;height:20px;border-radius:2px;box-shadow:0 0 0 1px #183c3326}
#home-japan .jp-home-group{white-space:nowrap}
@media(max-width:767px){#home-japan .jp-home-country-heading{gap:8px 12px}#home-japan .jp-home-country-pair{gap:10px}#home-japan .jp-home-country{gap:7px}#home-japan .jp-home-country .jp-home-flag{flex-basis:27px;width:27px;height:18px}}

/* Keep the support conversation and practical life guide visible together. */
#home-japan .jp-hero-visual>img{height:auto;aspect-ratio:3/2;max-height:none;object-position:center;filter:none}

@media(max-width:767px){#home-japan .jp-hero-visual figcaption strong{font-size:clamp(18px,5.5vw,26px)}}

/* Make the two-country partnership and audience choices easy to recognise. */
#home-japan .jp-group-map{position:relative;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}
#home-japan .jp-country{position:relative;padding:28px 30px;border:2px solid #212121;border-radius:22px;background:#214b40;color:#fffdf5;box-shadow:4px 5px 0 #212121}
#home-japan .jp-country:last-child{background:#eee5cf;color:#183c33}
#home-japan .jp-country .jp-eyebrow{display:flex;align-items:center;gap:11px;color:inherit;margin:0 0 24px!important;padding-right:42px;font-size:12px!important;letter-spacing:.16em}
#home-japan .jp-country .jp-home-flag{width:33px;height:22px;flex:0 0 33px;border-radius:2px;box-shadow:0 0 0 1px #ffffff45}
#home-japan .jp-role-icon{position:absolute;top:26px;right:27px;color:#ead39d;display:grid;place-items:center;width:38px;height:38px}
#home-japan .jp-role-icon svg{width:30px;height:30px}
#home-japan .jp-country:last-child .jp-role-icon{color:#65765a}
#home-japan .jp-country>strong{font-size:clamp(22px,2.35vw,30px);font-weight:800;line-height:1.5;color:inherit;letter-spacing:-.025em;margin:0 0 12px}
#home-japan .jp-country h3{font-size:16px;font-weight:600;line-height:1.6;margin:0;color:#e0e8dd}
#home-japan .jp-country:last-child h3{color:#4a6250}
#home-japan .jp-country p{font-size:14px;line-height:1.8;margin:22px 0 0;padding-top:17px;border-top:1px solid #ffffff40;color:#e6eddf}
#home-japan .jp-country:last-child p{border-color:#183c3330;color:#4a6250}
#home-japan .jp-group-join{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:64px;height:64px;border:2px solid #212121;line-height:1;background:#edbc50;box-shadow:3px 3px #212121}
#home-japan .jp-group-join b{font-size:29px;font-weight:400;line-height:1}
#home-japan .jp-group-join small{font-size:7px;letter-spacing:.06em;font-weight:800}
#home-japan .jp-audience{gap:28px;margin-top:26px}
#home-japan .jp-audience .jp-button{display:flex;align-items:center;justify-content:flex-start;gap:14px;min-height:88px;padding:18px 21px;border-radius:18px;box-shadow:4px 5px #212121;background:#edbc50}
#home-japan .jp-audience .jp-button:last-child{background:#f3dce3}
#home-japan .jp-audience-symbol{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#ffffff7d;color:#183c33}
#home-japan .jp-audience-symbol svg{width:24px;height:24px}
#home-japan .jp-audience strong{font-size:17px;font-weight:800;line-height:1.6}
#home-japan .jp-audience .jp-button>span{margin-left:auto;flex-shrink:0}
@media(max-width:767px){#home-japan .jp-group-map{grid-template-columns:1fr;gap:32px}#home-japan .jp-country{padding:25px 23px;border-radius:18px}#home-japan .jp-country .jp-eyebrow{font-size:11px!important;margin-bottom:20px!important}#home-japan .jp-country>strong{font-size:24px}#home-japan .jp-country h3{font-size:14px}#home-japan .jp-country p{font-size:13px;margin-top:20px}#home-japan .jp-role-icon{right:22px;top:22px}#home-japan .jp-group-join{margin:0;width:56px;height:56px;transform:translate(-50%,-50%)}#home-japan .jp-group-join b{font-size:25px;transform:rotate(90deg)}#home-japan .jp-group-join small{font-size:6px}#home-japan .jp-audience{gap:16px;margin-top:24px}#home-japan .jp-audience .jp-button{min-height:80px;padding:16px;gap:10px;border-radius:16px}#home-japan .jp-audience strong{font-size:15px}#home-japan .jp-audience-symbol{flex-basis:33px;width:33px;height:33px}#home-japan .jp-audience-symbol svg{width:22px;height:22px}}

@media(max-width:767px){#home-japan .jp-group-map{grid-auto-rows:1fr}}

/* Shared section badge: exact settings from japan.html #group .jv-num.
   Keep this rule specific enough to override page-specific and dark-panel variants. */
body.japan-site #main .jv-section-head > span.jv-num,
body.japan-site #main .jd-section-head > span.jd-section-index {
 display:grid;place-items:center;box-sizing:border-box;
 flex:0 0 42px;width:42px;height:42px;min-width:42px;
 padding:0;margin:0;border:0;border-radius:50%;
 background:#e8d4a4;color:#183c33;
 font-family:var(--sans);font-size:13px;font-weight:700;line-height:1.9;
 align-self:flex-start;
}
@media(max-width:767px){
 body.japan-site #main .jv-section-head > span.jv-num,
 body.japan-site #main .jd-section-head > span.jd-section-index {
  flex-basis:32px;width:32px;height:32px;min-width:32px;font-size:11px;
 }
}

/* Japan business directory: follow the page using the overview's exact settings. */
@media(min-width:768px){
 body.japan-site #main .jv-sidebar,
 body.japan-site #main .jp-layout > .jp-nav {
  position:sticky;top:150px;align-self:start;
  max-height:calc(100vh - 174px);max-height:calc(100dvh - 174px);
  overflow-y:auto;overflow-x:hidden;
  scrollbar-width:thin;scrollbar-color:#9baa94 transparent;scroll-padding-block:14px;
 }
}

/* Leave the guide headline on the quiet side of the preparation photograph. */
#main[data-japan-page="guide"] .jd-top-card > .jd-top-image{width:100%;object-position:right center}

/* Home section flows into the newsletter without a divider. */
#home-japan{border-bottom:0}
