/* https://us.unitedworld.jp/for-candidates/ — moved verbatim out of the page body.
   The rules are unchanged; only their location is. */

/* Spacing the removed element used to provide.
 *
 * The inline <style> block was the first child of the post content. It renders
 * nothing, but it still counted as a sibling, so the page wrapper after it
 * received the theme's block gap (--wp--style--block-gap, 1.2rem = 19.2px).
 * Taking the element out made the wrapper the first child, and the page moved
 * up by that much.
 *
 * This puts it back, so the migration changed where the code lives and nothing
 * else. The gap was an artefact of an invisible element being in the flow —
 * worth removing, but as its own deliberate change, not as a side effect of
 * this one. Delete this rule then.
 */
.wp-block-post-content > *:first-child,
.entry-content > *:first-child {
  margin-block-start: var(--wp--style--block-gap, 1.2rem);
}

.wp-block-post-title,.entry-title{display:none!important;height:0!important;margin:0!important;padding:0!important;font-size:0!important}.wp-site-blocks>main{margin-top:0!important;padding-top:0!important}.wp-site-blocks>header,.wp-site-blocks>footer,.skip-link{display:none!important}.wp-block-post-content{max-width:none!important;padding:0!important}.has-global-padding{padding:0!important}.is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:none!important}
.uw-pg{font-family:"Inter",system-ui,sans-serif;color:#0F172A;line-height:1.6;-webkit-font-smoothing:antialiased}.uw-pg *{box-sizing:border-box;margin:0;padding:0}.uw-pg a{text-decoration:none;color:inherit}.uw-pg.lang-en .jp{display:none!important}.uw-pg.lang-jp .en{display:none!important}.uw-pg-n{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:16px 24px}.uw-pg-n-logo{font-size:17px;font-weight:700;letter-spacing:-.3px}.uw-pg-n-logo b{color:#2563EB}.uw-pg-n-links{display:flex;gap:16px;align-items:center}.uw-pg-n-links a{font-size:13px;color:#64748B;font-weight:500;transition:.15s}.uw-pg-n-links a:hover{color:#0F172A}.uw-pg-n-cta{background:#2563EB;color:#fff!important;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600}.uw-pg-n-cta span{color:#fff!important}.uw-pg-lt{display:flex;border:1px solid #E2E8F0;border-radius:6px;overflow:hidden}.uw-pg-lt button{padding:4px 10px;border:none;background:#fff;cursor:pointer;color:#64748B;font-size:12px;font-weight:600}.uw-pg-lt button.on{background:#0F172A;color:#fff}
.uwc-hero{background:#0F172A;color:#fff;padding:80px 32px;text-align:center}
.uwc-hero-inner{max-width:700px;margin:0 auto}
.uwc-hero-tag{display:inline-block;background:rgba(37,99,235,.2);color:#60A5FA;padding:5px 14px;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:20px}
.uwc-hero h1{font-size:40px;font-weight:800;letter-spacing:-1.2px;margin-bottom:16px;line-height:1.15}
.uwc-hero p{font-size:16px;color:#94A3B8;line-height:1.7;margin-bottom:28px}
.uwc-hero-btns{display:flex;gap:12px;justify-content:center}
.uwc-btn{background:#2563EB;color:#fff!important;padding:14px 28px;border-radius:10px;font-size:15px;font-weight:600}
.uwc-btn-o{border:1px solid #475569;color:#CBD5E1!important;padding:14px 28px;border-radius:10px;font-size:15px;font-weight:600}
.uwc-s{max-width:1200px;margin:0 auto;padding:64px 32px}
.uwc-sg{background:#F8FAFC;padding:64px 32px}
.uwc-sg-inner{max-width:1200px;margin:0 auto}
.uwc-label{font-size:12px;font-weight:600;color:#2563EB;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.uwc-h2{font-size:32px;font-weight:800;letter-spacing:-.8px;margin-bottom:16px}
.uwc-desc{font-size:15px;color:#64748B;max-width:560px;margin-bottom:40px;line-height:1.7}
.uwc-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.uwc-g2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.uwc-card{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:28px;transition:.15s}
.uwc-card:hover{border-color:#CBD5E1;box-shadow:0 4px 16px rgba(0,0,0,.04)}
.uwc-card-icon{font-size:28px;margin-bottom:14px}
.uwc-card h3{font-size:16px;font-weight:700;margin-bottom:8px}
.uwc-card p{font-size:14px;color:#64748B;line-height:1.7}
.uwc-roles{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}
.uwc-role{background:#fff;border:1px solid #E2E8F0;padding:10px 18px;border-radius:8px;font-size:14px;font-weight:500;color:#334155;transition:.15s}
.uwc-role:hover{border-color:#2563EB;color:#2563EB}
.uwc-g4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:28px 0}
.uwc-step{text-align:center}
.uwc-step-n{width:36px;height:36px;background:#F0F4FF;color:#2563EB;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;margin:0 auto 14px}
.uwc-step h3{font-size:15px;font-weight:700;margin-bottom:6px}
.uwc-step p{font-size:13px;color:#64748B}
.uwc-test{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:28px;position:relative}
.uwc-test::before{content:'"';position:absolute;top:16px;left:20px;font-size:48px;color:#E2E8F0;font-family:Georgia,serif;line-height:1}
.uwc-test p{font-size:15px;color:#334155;line-height:1.8;padding-left:32px;font-style:italic}
.uwc-test-author{margin-top:16px;padding-left:32px;font-size:13px;color:#64748B}
.uwc-test-author strong{color:#0F172A;font-style:normal}
.uwc-cta{background:#0F172A;border-radius:14px;padding:56px 40px;text-align:center;max-width:900px;margin:0 auto}
.uwc-cta h2{font-size:28px;font-weight:800;color:#fff;margin-bottom:12px}
.uwc-cta p{color:#94A3B8;font-size:15px;margin-bottom:24px}
.uwc-cta a{display:inline-block;background:#2563EB;color:#fff!important;padding:14px 32px;border-radius:10px;font-weight:600}
@media(max-width:768px){.uwc-g3,.uwc-g4{grid-template-columns:1fr}.uwc-g2{grid-template-columns:1fr}.uwc-hero h1{font-size:28px}.uwc-hero-btns{flex-direction:column;align-items:center}.uw-pg-n-links>a{display:none}}

/* Promoted from <div> to <h2>; see services.css for why margin-top is pinned. */
.uwc-label{margin-top:0}

/* ---------------------------------------------------------------------------
 * Candidate Visual Plan — data/visual-plans.json, /for-candidates/
 *
 * The four step cards became a stage table because they said what happens
 * without ever saying whose part each step is, which is the one thing a
 * candidate who has not used a recruiter needs to know before registering.
 * Same scroll-inside-itself treatment as /employers/: three columns of
 * bilingual text do not fit 390px at a legible size, and the alternative is
 * either a sideways-scrolling page or type below the floor.
 * ------------------------------------------------------------------------- */
.uwc-table{width:100%;border-collapse:collapse;margin:20px 0 8px;font-size:14.5px;line-height:1.65}
.uwc-table th,.uwc-table td{border:1px solid #E2E8F0;padding:12px 14px;text-align:left;vertical-align:top;color:#0F172A}
.uwc-table thead th{background:#F8FAFC;font-weight:600;font-size:13.5px;white-space:nowrap}
.uwc-table tbody td:first-child{font-weight:600;white-space:nowrap;color:#1D4ED8}

.uwc-note{margin:22px 0 0;font-size:15px;font-weight:600;color:#0F172A}
.uwc-check{margin:10px 0 4px;padding-left:0;list-style:none}
.uwc-check li{position:relative;padding:7px 0 7px 26px;font-size:15px;line-height:1.6;color:#0F172A}
.uwc-check li::before{content:"✓";position:absolute;left:0;top:7px;color:#1D4ED8;font-weight:700}

@media(max-width:768px){
  .uwc-table{display:block;overflow-x:auto}
  .uwc-table thead th,.uwc-table tbody td:first-child{white-space:normal}
  .uwc-table th,.uwc-table td{min-width:150px}
}
