/*
Theme Name: United World Executive (child)
Theme URI: https://executive.unitedworld.jp/
Description: Child theme for executive.unitedworld.jp. Adds the language, measurement, structured data and contact handling the site is missing, and carries the CSS that was duplicated into every page body. Purely additive - deactivate to roll back.
Author: United World Inc
Template: twentytwentyfive
Version: 0.2.0
Text Domain: uw-exec-child
*/

/* ---------------------------------------------------------------------------
 * Everything below was lifted verbatim out of the page bodies by
 * scripts/extract_page_css.py. Do not hand-edit: regenerate it.
 *
 * The fonts are enqueued in functions.php rather than <link>ed from a page.
 * ------------------------------------------------------------------------- */

/* ---- resets, hoisted: they must precede every component rule ---- */
*{margin:0;padding:0;box-sizing:border-box}
body,html{margin:0!important;padding:0!important;overflow-x:hidden!important}
:root{
--ax-navy:#0B1120;--ax-navy2:#131C31;--ax-gold:#C9A84C;--ax-gold-light:#E8D5A3;--ax-white:#fff;--ax-slate:#94A3B8;--ax-text:#E2E8F0;--ax-border:rgba(201,168,76,.15);--ax-bg-light:#F8FAFC;
}
:root{--ax-navy:#0B1120;--ax-navy2:#131C31;--ax-gold:#C9A84C;--ax-gold-light:#E8D5A3;--ax-white:#fff;--ax-slate:#94A3B8;--ax-border:rgba(201,168,76,.15);--ax-bg-light:#F8FAFC}
.ax *{box-sizing:border-box;margin:0;padding:0}
/* ---- from // ---- */
body .wp-site-blocks{padding:0!important;margin:0!important}
body .wp-site-blocks>*{margin:0!important;padding:0!important;max-width:none!important}
body .wp-block-post-content{max-width:none!important;padding:0!important;margin:0!important;width:100%!important}
body .is-layout-constrained>*{max-width:none!important;margin-left:0!important;margin-right:0!important}
body .has-global-padding{padding:0!important}
body .wp-block-html{max-width:none!important;margin:0!important;padding:0!important}
.wp-block-post-title,.entry-title,.wp-site-blocks>header,.wp-site-blocks>footer,.skip-link{display:none!important}
.ax{font-family:'Inter','Noto Sans JP',sans-serif;color:var(--ax-navy);line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden;width:100vw;position:relative;left:50%;transform:translateX(-50%)}
.page-id-9 .ax-hero-panel{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:80px 60px;overflow:hidden;transition:all .4s}
.ax-nav{background:var(--ax-navy);border-bottom:1px solid var(--ax-border)}
.ax-nav-inner{max-width:1200px;margin:0 auto;padding:16px 32px;display:flex;justify-content:space-between;align-items:center}
.ax-logo{font-size:20px;font-weight:800;color:var(--ax-white);letter-spacing:1px}
.ax-logo span{color:var(--ax-gold)}
.ax-nav-links{display:flex;gap:24px;align-items:center}
.ax-nav-links a{font-size:13px;color:var(--ax-slate);font-weight:500;transition:.2s;letter-spacing:.5px}
.ax-nav-links a:hover{color:var(--ax-gold)}
.page-id-9 .ax-nav-cta{background:var(--ax-gold)!important;color:var(--ax-navy)!important;padding:10px 24px;border-radius:4px;font-weight:700;font-size:13px;letter-spacing:.5px}
.ax-nav-cta:hover{background:var(--ax-gold-light)!important}
.ax-hero{display:grid;grid-template-columns:1fr 1fr;min-height:560px}
.page-id-9 .ax-hero-panel{position:relative;display:flex;flex-direction:column;justify-content:center;padding:80px 60px;overflow:hidden;transition:all .4s}
.ax-hero-panel:hover{flex-grow:1.05}
.ax-hero-l{background:linear-gradient(135deg,rgba(11,17,32,.7),rgba(26,39,68,.75)),url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1200&q=80') center/cover}
.ax-hero-r{background:linear-gradient(135deg,rgba(248,250,252,.75),rgba(239,243,248,.7)),url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?w=1200&q=80') center/cover}
.ax-hero-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--ax-gold);border:1px solid var(--ax-gold);padding:6px 16px;margin-bottom:24px;width:fit-content}
.ax-hero h2{font-size:32px;font-weight:800;color:var(--ax-white);line-height:1.3;margin-bottom:16px;letter-spacing:-.5px}
.ax-hero p{font-size:15px;color:var(--ax-slate);line-height:1.8;margin-bottom:32px;max-width:420px}
.ax-hero-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;font-size:14px;font-weight:700;border-radius:4px;transition:.2s;width:fit-content}
.ax-hero-btn-gold{background:var(--ax-gold);color:var(--ax-navy)}
.ax-hero-btn-gold:hover{background:var(--ax-gold-light)}
.ax-hero-btn-outline{border:1px solid var(--ax-gold);color:var(--ax-gold)}
.ax-hero-btn-outline:hover{background:var(--ax-gold);color:var(--ax-navy)}
.ax-hero-line{position:absolute;right:0;top:0;bottom:0;width:1px;background:var(--ax-border)}
.ax-stats{background:var(--ax-navy);border-top:1px solid var(--ax-border);border-bottom:1px solid var(--ax-border)}
.ax-stats-inner{max-width:1200px;margin:0 auto;padding:48px 32px;display:grid;grid-template-columns:repeat(4,1fr);gap:32px;text-align:center}
.ax-stat-num{font-size:42px;font-weight:900;color:var(--ax-gold);letter-spacing:-1px}
.ax-stat-label{font-size:13px;color:var(--ax-slate);margin-top:8px;letter-spacing:.5px}
.ax-section{padding:80px 32px}
.ax-section-inner{max-width:1200px;margin:0 auto}
.ax-section-label{font-size:11px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:var(--ax-gold);margin-bottom:12px}
.ax-section-title{font-size:32px;font-weight:800;letter-spacing:-.5px;margin-bottom:16px}
.ax-section-desc{font-size:15px;color:#64748B;max-width:560px;line-height:1.8;margin-bottom:48px}
.ax-dark{background:var(--ax-navy);color:var(--ax-white)}
.ax-dark .ax-section-desc{color:var(--ax-slate)}
.ax-light{background:var(--ax-bg-light)}
.ax-svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ax-svc-card{background:var(--ax-white);border:1px solid #E2E8F0;padding:36px;border-radius:2px;transition:.3s;position:relative;overflow:hidden}
.ax-svc-card:hover{border-color:var(--ax-gold);transform:translateY(-4px)}
.ax-svc-icon{font-size:28px;margin-bottom:16px;transition:.3s}
.ax-svc-card h3{font-size:17px;font-weight:700;color:var(--ax-navy);margin-bottom:10px}
.ax-svc-card p{font-size:14px;color:#64748B;line-height:1.7}
.ax-svc-card-line{position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--ax-gold);transform:scaleX(0);transition:.3s;transform-origin:left}
.ax-svc-card:hover .ax-svc-card-line{transform:scaleX(1)}
.ax-why-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.ax-why-list{display:flex;flex-direction:column;gap:24px}
.ax-why-item{display:flex;gap:16px;align-items:flex-start}
.ax-why-num{width:40px;height:40px;background:var(--ax-gold);color:var(--ax-navy);border-radius:2px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:16px;flex-shrink:0}
.ax-why-item h3{font-size:16px;font-weight:700;margin-bottom:4px}
.ax-why-item p{font-size:14px;color:#64748B;line-height:1.7}
.ax-why-visual{background:var(--ax-navy);border-radius:2px;padding:48px;text-align:center;border:1px solid var(--ax-border)}
.ax-why-visual-num{font-size:64px;font-weight:900;color:var(--ax-gold)}
.ax-why-visual-label{font-size:15px;color:var(--ax-slate);margin-top:8px}
.ax-pos-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.ax-pos-card{background:var(--ax-white);border:1px solid #E2E8F0;padding:28px;border-radius:2px;display:flex;justify-content:space-between;align-items:center;transition:.2s}
.ax-pos-card:hover{border-color:var(--ax-gold);box-shadow:0 4px 20px rgba(201,168,76,.1)}
.ax-pos-title{font-size:16px;font-weight:700;margin-bottom:4px}
.ax-pos-meta{font-size:13px;color:#64748B}
.ax-pos-salary{font-size:15px;font-weight:700;color:var(--ax-gold);white-space:nowrap}
.ax-process{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ax-process-step{text-align:center;position:relative}
.ax-process-num{width:56px;height:56px;background:var(--ax-gold);color:var(--ax-navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;margin:0 auto 20px}
.ax-process-step h3{font-size:15px;font-weight:700;color:var(--ax-white);margin-bottom:8px}
.ax-process-step p{font-size:13px;color:var(--ax-slate);line-height:1.7}
.ax-process-step:not(:last-child):after{content:"";position:absolute;top:28px;left:calc(50% + 36px);width:calc(100% - 72px);height:1px;background:var(--ax-border)}
.ax-cta{background:linear-gradient(135deg,var(--ax-navy),#1a2744);text-align:center;padding:80px 32px}
.ax-cta h2{font-size:32px;font-weight:800;color:var(--ax-white);margin-bottom:16px}
.ax-cta p{font-size:15px;color:var(--ax-slate);margin-bottom:32px;max-width:500px;margin-left:auto;margin-right:auto}
.page-id-9 .ax-cta-btn{display:inline-block;background:var(--ax-gold);color:var(--ax-navy);padding:16px 40px;font-weight:700;font-size:15px;border-radius:4px;letter-spacing:.5px}
.ax-cta-btn:hover{background:var(--ax-gold-light)}
.ax-footer{background:var(--ax-navy);border-top:1px solid var(--ax-border);padding:48px 32px}
.ax-footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.ax-footer-brand{font-size:18px;font-weight:800;color:var(--ax-white);margin-bottom:12px;letter-spacing:1px}
.ax-footer-brand span{color:var(--ax-gold)}
.ax-footer-desc{font-size:13px;color:var(--ax-slate);line-height:1.7}
.ax-footer h4{font-size:12px;font-weight:700;color:var(--ax-gold);letter-spacing:2px;text-transform:uppercase;margin-bottom:16px}
.ax-footer ul{list-style:none}
.ax-footer li{margin-bottom:10px}
.ax-footer li a{font-size:13px;color:var(--ax-slate);transition:.2s}
.ax-footer li a:hover{color:var(--ax-gold)}
.ax-footer-bottom{max-width:1200px;margin:24px auto 0;padding-top:24px;border-top:1px solid var(--ax-border);text-align:center;font-size:12px;color:var(--ax-slate)}
@media(max-width:768px){.page-id-9 .ax-hero{grid-template-columns:1fr}.page-id-9 .ax-hero-panel{padding:48px 24px;min-height:auto}.page-id-9 .ax-stats-inner{grid-template-columns:repeat(2,1fr);gap:24px}.page-id-9 .ax-svc-grid{grid-template-columns:1fr}.page-id-9 .ax-why-grid{grid-template-columns:1fr}.page-id-9 .ax-pos-grid{grid-template-columns:1fr}.page-id-9 .ax-process{grid-template-columns:repeat(2,1fr)}.page-id-9 .ax-process-step:after{display:none}.page-id-9 .ax-footer-inner{grid-template-columns:1fr}.page-id-9 .ax-nav-links{display:none}
}
/* ---- from /services/ ---- */
.ax a{text-decoration:none;color:inherit}
.ax-nav-links a.active{color:var(--ax-gold)}
.page-id-24 .ax-nav-cta{background:var(--ax-gold)!important;color:var(--ax-navy)!important;padding:10px 24px;border-radius:4px;font-weight:700;font-size:13px}
.ax-page-hero{background:linear-gradient(135deg,#0B1120,#1a2744);padding:80px 32px;text-align:center}
.ax-page-hero-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:var(--ax-gold);border:1px solid var(--ax-gold);padding:6px 16px;margin-bottom:20px}
.ax-page-hero h1{font-size:36px;font-weight:800;color:var(--ax-white);margin-bottom:16px;letter-spacing:-.5px}
.ax-page-hero p{font-size:15px;color:var(--ax-slate);max-width:600px;margin:0 auto;line-height:1.8}
.ax-cta-section{background:linear-gradient(135deg,var(--ax-navy),#1a2744);text-align:center;padding:80px 32px}
.ax-cta-section h2{font-size:32px;font-weight:800;color:var(--ax-white);margin-bottom:16px}
.ax-cta-section p{font-size:15px;color:var(--ax-slate);margin-bottom:32px;max-width:500px;margin-left:auto;margin-right:auto}
.page-id-24 .ax-cta-btn{display:inline-block;background:var(--ax-gold);color:var(--ax-navy);padding:16px 40px;font-weight:700;font-size:15px;border-radius:4px}
@media(max-width:768px){.page-id-24 .ax-nav-links{display:none}.page-id-24 .ax-footer-inner{grid-template-columns:1fr}}
.ax-svc-detail{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:64px;padding-bottom:64px;border-bottom:1px solid #E2E8F0}
.ax-svc-detail:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.ax-svc-detail:nth-child(even){direction:rtl}
.ax-svc-detail:nth-child(even)>*{direction:ltr}
.ax-svc-detail-icon{width:80px;height:80px;background:var(--ax-navy);border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:36px;margin-bottom:20px}
.ax-svc-detail h3{font-size:24px;font-weight:800;margin-bottom:12px}
.ax-svc-detail p{font-size:15px;color:#64748B;line-height:1.8;margin-bottom:16px}
.ax-svc-detail ul{list-style:none;margin-bottom:20px}
.ax-svc-detail li{padding:8px 0;font-size:14px;color:#64748B;border-bottom:1px solid #F1F5F9;display:flex;align-items:center;gap:8px}
.ax-svc-detail li:before{content:"✓";color:var(--ax-gold);font-weight:700}
.ax-svc-visual{background:var(--ax-navy);border-radius:4px;padding:48px;text-align:center;border:1px solid var(--ax-border);min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.ax-svc-visual-num{font-size:56px;font-weight:900;color:var(--ax-gold)}
.ax-svc-visual-label{font-size:14px;color:var(--ax-slate);margin-top:8px}
.ax-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.page-id-24 .ax-flow-step{text-align:center;position:relative}
.ax-flow-num{width:56px;height:56px;background:var(--ax-gold);color:var(--ax-navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;margin:0 auto 20px}
.ax-flow-step h3{font-size:15px;font-weight:700;margin-bottom:8px}
.ax-flow-step p{font-size:13px;color:#64748B;line-height:1.7}
@media(max-width:768px){.page-id-24 .ax-svc-detail{grid-template-columns:1fr}.page-id-24 .ax-svc-detail:nth-child(even){direction:ltr}.page-id-24 .ax-flow{grid-template-columns:1fr}}
/* ---- from /for-candidates/ ---- */
.page-id-26 .ax-nav-cta{background:var(--ax-gold)!important;color:var(--ax-navy)!important;padding:10px 24px;border-radius:4px;font-weight:700;font-size:13px}
.page-id-26 .ax-cta-btn{display:inline-block;background:var(--ax-gold);color:var(--ax-navy);padding:16px 40px;font-weight:700;font-size:15px;border-radius:4px}
@media(max-width:768px){.page-id-26 .ax-nav-links{display:none}.page-id-26 .ax-footer-inner{grid-template-columns:1fr}}
.ax-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ax-benefit-card{background:var(--ax-navy2);border:1px solid var(--ax-border);padding:32px;border-radius:4px;text-align:center}
.ax-benefit-icon{font-size:32px;margin-bottom:16px}
.ax-benefit-card h3{font-size:16px;font-weight:700;color:var(--ax-white);margin-bottom:8px}
.ax-benefit-card p{font-size:14px;color:var(--ax-slate);line-height:1.7}
.page-id-26 .ax-flow-step{text-align:center}
.ax-faq{max-width:800px;margin:0 auto}
.ax-faq-item{border-bottom:1px solid #E2E8F0;padding:24px 0}
.ax-faq-q{font-size:16px;font-weight:700;margin-bottom:8px;display:flex;gap:12px}
.ax-faq-q:before{content:"Q";color:var(--ax-gold);font-weight:900;flex-shrink:0}
.ax-faq-a{font-size:14px;color:#64748B;line-height:1.8;padding-left:28px}
@media(max-width:768px){.page-id-26 .ax-benefit-grid{grid-template-columns:1fr}.page-id-26 .ax-pos-grid{grid-template-columns:1fr}.page-id-26 .ax-flow{grid-template-columns:repeat(2,1fr)}}
/* ---- from /contact/ ---- */
.page-id-28 .ax-nav-cta{background:var(--ax-gold)!important;color:var(--ax-navy)!important;padding:10px 24px;border-radius:4px;font-weight:700;font-size:13px}
.page-id-28 .ax-cta-btn{display:inline-block;background:var(--ax-gold);color:var(--ax-navy);padding:16px 40px;font-weight:700;font-size:15px;border-radius:4px}
@media(max-width:768px){.page-id-28 .ax-nav-links{display:none}.page-id-28 .ax-footer-inner{grid-template-columns:1fr}}
.ax-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.ax-contact-info h3{font-size:24px;font-weight:800;margin-bottom:16px}
.ax-contact-info p{font-size:15px;color:#64748B;line-height:1.8;margin-bottom:32px}
.ax-contact-item{display:flex;gap:16px;align-items:flex-start;margin-bottom:24px}
.ax-contact-icon{width:48px;height:48px;background:var(--ax-navy);border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.ax-contact-item h4{font-size:14px;font-weight:700;margin-bottom:4px}
.ax-contact-item p{font-size:14px;color:#64748B;margin:0}
.ax-form{background:var(--ax-white);border:1px solid #E2E8F0;border-radius:8px;padding:40px}
.ax-form-group{margin-bottom:20px}
.ax-form-label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--ax-navy)}
.ax-form-label .req{color:#DC2626;margin-left:4px}
.ax-form-input,.ax-form-select,.ax-form-textarea{width:100%;padding:12px 16px;border:1px solid #E2E8F0;border-radius:4px;font-size:14px;font-family:inherit;transition:.2s;background:#fff;color:var(--ax-navy)}
.ax-form-input:focus,.ax-form-select:focus,.ax-form-textarea:focus{outline:none;border-color:var(--ax-gold)}
.ax-form-textarea{min-height:120px;resize:vertical}
.ax-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ax-form-submit{width:100%;padding:16px;background:var(--ax-gold);color:var(--ax-navy);border:none;border-radius:4px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;letter-spacing:.5px;transition:.2s}
.ax-form-submit:hover{background:var(--ax-gold-light)}
.ax-form-note{font-size:12px;color:#94A3B8;margin-top:16px;text-align:center}
@media(max-width:768px){.page-id-28 .ax-contact-grid{grid-template-columns:1fr}.page-id-28 .ax-form-row{grid-template-columns:1fr}}
/* ---- from /about/ ---- */
.page-id-30 .ax-nav-cta{background:var(--ax-gold)!important;color:var(--ax-navy)!important;padding:10px 24px;border-radius:4px;font-weight:700;font-size:13px}
.page-id-30 .ax-cta-btn{display:inline-block;background:var(--ax-gold);color:var(--ax-navy);padding:16px 40px;font-weight:700;font-size:15px;border-radius:4px}
@media(max-width:768px){.page-id-30 .ax-nav-links{display:none}.page-id-30 .ax-footer-inner{grid-template-columns:1fr}}
.ax-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.ax-about-text h3{font-size:24px;font-weight:800;margin-bottom:16px}
.ax-about-text p{font-size:15px;color:#64748B;line-height:1.8;margin-bottom:16px}
.ax-about-visual{background:var(--ax-navy);border:1px solid var(--ax-border);border-radius:4px;padding:48px;text-align:center}
.ax-about-visual-num{font-size:64px;font-weight:900;color:var(--ax-gold)}
.ax-about-visual-label{font-size:14px;color:var(--ax-slate);margin-top:8px}
.ax-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin:40px 0}
.ax-stat-card{background:var(--ax-navy2);border:1px solid var(--ax-border);border-radius:4px;padding:32px;text-align:center}
.ax-stat-card-num{font-size:36px;font-weight:900;color:var(--ax-gold)}
.ax-stat-card-label{font-size:13px;color:var(--ax-slate);margin-top:8px}
.ax-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ax-value-card{padding:32px;border:1px solid #E2E8F0;border-radius:4px;text-align:center}
.ax-value-icon{font-size:32px;margin-bottom:16px}
.ax-value-card h3{font-size:17px;font-weight:700;margin-bottom:8px}
.ax-value-card p{font-size:14px;color:#64748B;line-height:1.7}
.ax-team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ax-team-card{text-align:center;padding:32px;background:var(--ax-navy2);border:1px solid var(--ax-border);border-radius:4px}
.ax-team-avatar{width:80px;height:80px;background:var(--ax-gold);border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;font-size:32px;color:var(--ax-navy);font-weight:900}
.ax-team-card h3{font-size:16px;font-weight:700;color:var(--ax-white);margin-bottom:4px}
.ax-team-role{font-size:13px;color:var(--ax-gold);margin-bottom:12px}
.ax-team-card p{font-size:13px;color:var(--ax-slate);line-height:1.7}
.ax-info-table{width:100%;max-width:800px;margin:0 auto;border-collapse:separate;border-spacing:0;border:1px solid #E2E8F0;border-radius:4px;overflow:hidden}
.ax-info-table th{background:#F8FAFC;padding:16px 24px;text-align:left;font-size:14px;font-weight:600;width:200px;border-bottom:1px solid #E2E8F0}
.ax-info-table td{padding:16px 24px;font-size:14px;color:#64748B;border-bottom:1px solid #E2E8F0}
.ax-info-table tr:last-child th,.ax-info-table tr:last-child td{border-bottom:none}
@media(max-width:768px){.page-id-30 .ax-about-grid{grid-template-columns:1fr}.page-id-30 .ax-stats-grid{grid-template-columns:repeat(2,1fr)}.page-id-30 .ax-value-grid,.ax-team-grid{grid-template-columns:1fr}}


/* ---------------------------------------------------------------------------
 * Site chrome, hand-written and deliberately NOT page-scoped.
 *
 * The nav and footer are identical on every page, so their responsive rules
 * belong to the site, not to any one page. The extractor scopes rules whose
 * enclosing @media block differs between pages, and that swept these up with
 * the rest — which left /privacy/, a page created later and therefore absent
 * from the snapshots, with a nav that never collapsed on a phone.
 *
 * Anything added here applies to every page, including ones that do not exist
 * yet. That is the point: a new page should not need a CSS migration.
 * ------------------------------------------------------------------------- */
@media(max-width:768px){
.ax-nav-links{display:none}
.ax-footer-inner{grid-template-columns:1fr}
.ax-page-hero{padding:56px 20px}
.ax-page-hero h1{font-size:28px}
.ax-section{padding:56px 20px}
.ax-section-title{font-size:24px}
.ax-cta-section{padding:56px 20px}
.ax-cta-section h2{font-size:24px}
}

/* ---------------------------------------------------------------------------
 * Two holes in the layout, both measured 2026-09-02 at 1440px, both filled
 * without adding a photograph, a claim, or a word of copy.
 *
 * 1. The service blocks on /services/.
 *
 * `.ax-svc-detail` is a two-column grid, and every one of the four now has a
 * single child: Track A removed the statistic tile that used to sit in the
 * right column, because 500+ / 96% / 150+ / 80+ were not sourced. Removing them
 * was right; what it left behind was 576x450px of nothing, four times down the
 * page. Letting the prose span both columns turns a hole into a margin. The
 * measure is capped because a 1,200px line of Japanese body text is unreadable.
 *
 * 2. The section lead on /, /services/cross-border/,
 *    /services/country-manager/ and /services/foreign-director/.
 *
 * Ten sections put a full-width title above a 560px description, leaving 640px
 * of empty space to its right on every one. Setting the lead as two columns —
 * title left, description right — uses that space with content that is already
 * on the page. Below 1100px it falls back to the stacked original.
 *
 * Both are `@media` and structural-selector only: no page body changes, so
 * nothing goes near the WAF, and no page needs to be rewritten.
 * ------------------------------------------------------------------------- */
.ax-svc-detail > :only-child,
.ax-why-grid > :only-child{grid-column:1 / -1;max-width:780px}

/* The left/right alternation is done with `direction:rtl` on even blocks. With
   two children that reads as rhythm; with one it just pushes the prose to the
   right edge and leaves the hole on the left instead. Alternating a single
   column alternates nothing, so switch it off until there is something to
   alternate — a photograph in the second cell restores it automatically. */
.ax-svc-detail:has(> :only-child){direction:ltr}

/* A three-column grid holding two cards is the same hole in a different shape:
   /services/cross-border/ shows the 日本 / 米国 pair in a 3-up grid, so a third
   of the row is empty and the two cards are narrower than they should be.
   Matching on the child count rather than on the page means a third card can be
   added later and the layout follows it. */
.ax-svc-grid:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}

/* ---------------------------------------------------------------------------
 * Imagery. docs/15-IMAGERY.md
 *
 * The photographs are AI-generated stock produced for this site. They are
 * illustrative: no one in them is a United World employee, candidate or client,
 * and `.ax-media figcaption` prints ※イメージ画像 next to every one so that is
 * never in doubt. Text visible inside a frame — a slide, a chart — is generated
 * decoration and is not a claim the site is making.
 *
 * Self-hosted in the theme. The hero previously pulled two 267KB and 133KB
 * JPEGs straight off Unsplash's CDN on every view, with no licence recorded
 * anywhere; one 98KB WebP replaces both.
 * ------------------------------------------------------------------------- */
.ax-hero{background:url('img/hero-boardroom.webp') center 38% / cover no-repeat}
.ax-hero-l{background:linear-gradient(135deg,rgba(11,17,32,.93),rgba(26,39,68,.86))}
.ax-hero-r{background:linear-gradient(135deg,rgba(248,250,252,.94),rgba(239,243,248,.89))}

/* The employers panel's heading has been navy-on-navy since Track A.
 *
 * The front page had two <h2>s and no <h1>, so `home-hero-h1` promoted the
 * left one. `.ax-hero h2{color:var(--ax-white)}` then stopped matching it, and
 * nothing else set a colour, so the 48px heading inherited `.ax{color:navy}`
 * and rendered dark text on a dark panel. It was invisible against the old
 * background too — putting a photograph behind it is only what made it obvious.
 * Measured 2026-09-02: computed colour rgb(11,17,32) on rgba(11,17,32,.86).
 * `tests/test_css_cascade.py` pins the fix. */
.ax-hero h1{font-size:48px;font-weight:800;color:var(--ax-white);line-height:1.3;margin-bottom:16px;letter-spacing:-.5px}

/* The executives panel is light, and the outline button was gold-on-near-white
   — about 2.3:1, which fails WCAG AA for a call to action. Navy on the light
   panel; the gold treatment stays on the dark side where it does contrast. */
.ax-hero-r .ax-hero-btn-outline{color:var(--ax-navy);border-color:var(--ax-navy)}
.ax-hero-r .ax-hero-btn-outline:hover{background:var(--ax-navy);color:var(--ax-white)}

/* An image dropped into a grid cell. `aspect-ratio` holds the box before the
   file arrives, so these cost nothing in CLS even on a cold cache. */
.ax-media{margin:0;position:relative}
.ax-media img{display:block;width:100%;height:auto;aspect-ratio:3 / 2;object-fit:cover;border-radius:2px}
.ax-media figcaption{margin-top:8px;font-size:11px;line-height:1.6;color:#94A3B8;letter-spacing:.5px}
.ax-dark .ax-media figcaption{color:var(--ax-slate)}
/* A cell holding an image is no longer a lone child, so the span rules above
   stop applying to it and the two-column composition returns by itself. */
.ax-svc-detail > .ax-media{align-self:center}

/* ---------------------------------------------------------------------------
 * Service icons, local.
 *
 * These were emoji. WordPress rewrites emoji into <img> tags pointing at
 * s.w.org, so six third-party requests were made on every view of the front
 * page, and two of the cards on /services/cross-border/ were literal 🇯🇵 and 🇺🇸
 * flags — the cheapest possible way to say "global", and the wrong signal for a
 * firm whose subject is executives rather than nationalities.
 *
 * The glyph stays in the markup as the accessible label and is hidden
 * visually; the icon is a background image, so no page body had to be rewritten
 * to place it. `functions.php` dequeues the emoji script, which is what removes
 * the s.w.org requests site-wide, including on pages still using emoji.
 * ------------------------------------------------------------------------- */
.ax-svc-icon{font-size:0;line-height:0;color:transparent;width:34px;height:34px;
background-repeat:no-repeat;background-position:left center;background-size:34px 34px}
.page-id-9  .ax-svc-grid > .ax-svc-card:nth-child(1) .ax-svc-icon{background-image:url('img/icon-search.svg')}
.page-id-9  .ax-svc-grid > .ax-svc-card:nth-child(2) .ax-svc-icon{background-image:url('img/icon-organisation.svg')}
.page-id-9  .ax-svc-grid > .ax-svc-card:nth-child(3) .ax-svc-icon{background-image:url('img/icon-structure.svg')}
.page-id-9  .ax-svc-grid > .ax-svc-card:nth-child(4) .ax-svc-icon{background-image:url('img/icon-board.svg')}
.page-id-9  .ax-svc-grid > .ax-svc-card:nth-child(5) .ax-svc-icon{background-image:url('img/icon-market.svg')}
.page-id-9  .ax-svc-grid > .ax-svc-card:nth-child(6) .ax-svc-icon{background-image:url('img/icon-retained.svg')}
.page-id-67 .ax-svc-grid > .ax-svc-card:nth-child(1) .ax-svc-icon{background-image:url('img/icon-inbound.svg')}
.page-id-67 .ax-svc-grid > .ax-svc-card:nth-child(2) .ax-svc-icon{background-image:url('img/icon-outbound.svg')}

/* /services/ uses a larger tile, `.ax-svc-detail-icon`, for the same four
   services. `background-image` only — the navy tile comes from the shorthand
   already on the element, and the icons are gold, which is the pairing the
   cards use everywhere else. */
.page-id-24 .ax-svc-detail-icon{font-size:0;line-height:0;color:transparent;
background-repeat:no-repeat;background-position:center;background-size:40px 40px}
.page-id-24 .ax-svc-detail:nth-child(1) .ax-svc-detail-icon{background-image:url('img/icon-search.svg')}
.page-id-24 .ax-svc-detail:nth-child(2) .ax-svc-detail-icon{background-image:url('img/icon-organisation.svg')}
.page-id-24 .ax-svc-detail:nth-child(3) .ax-svc-detail-icon{background-image:url('img/icon-structure.svg')}
.page-id-24 .ax-svc-detail:nth-child(4) .ax-svc-detail-icon{background-image:url('img/icon-board.svg')}

/* ---------------------------------------------------------------------------
 * The header has been half invisible on eight of the nine pages.
 *
 * `.ax-nav-links a{color:var(--ax-slate)}` is (0,1,1) and sits at rule 41.
 * `.ax a{color:inherit}` is also (0,1,1) and sits at rule 119. Equal
 * specificity, so the later one wins, and every navigation link has been
 * inheriting `.ax{color:var(--ax-navy)}` — navy text on the navy bar. Only the
 * front page escaped, and only because a `.page-id-9` rule added later today
 * happened to outrank it. The gold <span> in the wordmark survived because
 * `.ax a` cannot match a <span>, which is why the header read as the single
 * word "World" on a dark strip.
 *
 * The CTA had the same shape of problem from the other direction: it is styled
 * per page (`.page-id-9`, `24`, `26`, `28`, `30`) and those five pages were the
 * template's originals. /privacy/, /services/cross-border/,
 * /services/country-manager/ and /services/foreign-director/ were created
 * later, never got a rule, and have been rendering 無料相談 as invisible text
 * with no button behind it.
 *
 * Both are fixed here rather than page by page, so a page created tomorrow is
 * covered too. Measured by a contrast pass over every text node at 1440, 1280
 * and 390 — the check that found it, after the same specificity trap had
 * already cost the hero H1, the hero's secondary link and the wordmark.
 * ------------------------------------------------------------------------- */
.ax .ax-nav-links a{color:var(--ax-slate)}
.ax .ax-nav-links a:hover{color:var(--ax-gold)}
.ax .ax-nav-cta{background:var(--ax-gold);color:var(--ax-navy);padding:10px 24px;
border-radius:4px;font-weight:700;font-size:13px;letter-spacing:.5px}
.ax .ax-nav-cta:hover{background:var(--ax-gold-light)}
/* The CTA is also a `.ax-nav-links a`, and that selector is (0,2,1) to this
   one's (0,2,0) — so restoring the link colour above left 無料相談 as slate
   text on a gold button, about 1.1:1. Matching on the class as well settles it
   without reaching for !important. */
.ax .ax-nav-links a.ax-nav-cta{color:var(--ax-navy)}

/* --- process steps outside a dark section ---------------------------------
 * `.ax-process-step h3{color:var(--ax-white)}` was written for the front page's
 * PROCESS band, which sits on `.ax-dark`. The P1 pages reuse the component in a
 * plain `.ax-section` — no `ax-dark`, no `ax-light`, so the background is the
 * page's white — and the step headings have been rendering white on white.
 * Measured 1.00:1 on /services/cross-border/ and 1.05:1 on
 * /services/foreign-director/: not low contrast, absent.
 *
 * Scoping it to `.ax-light` was the first attempt and missed exactly these,
 * because the sections carry neither modifier. So the default is the dark text
 * every other light section uses, and white is what `.ax-dark` opts into. */
.ax .ax-process-step h3{color:var(--ax-navy)}
.ax .ax-process-step p{color:#64748B}
.ax .ax-dark .ax-process-step h3{color:var(--ax-white)}
.ax .ax-dark .ax-process-step p{color:var(--ax-slate)}

/* ===========================================================================
 * Front page hero, v2 — 2026-09-02. docs/18-HERO-V2.md
 *
 * The 50/50 split is gone. It gave employers and executives equal weight on the
 * page whose job is employer enquiries, and it halved the width available to
 * both. One photograph, one column of copy on the left, one primary action.
 *
 * The executives route is not deleted, it is demoted: it stays in the header
 * nav and returns as a quiet line under the CTAs.
 * ========================================================================= */
.ax-hero-v2{position:relative;min-height:640px;display:flex;align-items:center;overflow:hidden;background:var(--ax-navy);isolation:isolate}
/* The z-indexes are explicit, and they have to be. `::before` is generated as
   the element's *first* child, so with everything on `z-index:auto` the
   photograph — a positioned sibling that comes after it in tree order — paints
   straight over the gradient. The first deploy of this hero did exactly that:
   the picture rendered at full brightness with no overlay at all and the
   headline sat on a sunlit window at roughly 1.4:1. Stacking here is load
   bearing, not tidiness. */
.ax-hero-v2-bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center 38%}

/* The overlay runs left-to-right and stops. The previous hero laid a flat 86%
   navy over the whole frame, which is why the photograph read as a dark
   texture rather than a room. This keeps the copy side legible and lets the
   right-hand two-thirds of the picture actually be seen. */
.ax-hero-v2:before{content:"";position:absolute;inset:0;z-index:1;
background:linear-gradient(90deg,rgba(11,17,32,.95) 0%,rgba(11,17,32,.90) 34%,rgba(11,17,32,.62) 62%,rgba(11,17,32,.20) 100%)}
.ax-hero-v2:after{content:"";position:absolute;inset:0;z-index:1;
background:linear-gradient(180deg,rgba(11,17,32,.60) 0%,rgba(11,17,32,0) 28%)}

.ax-hero-v2-inner{position:relative;z-index:2;width:100%;max-width:1200px;margin:0 auto;padding:120px 32px 88px}
.ax-hero-v2-copy{max-width:640px}
.ax-hero-v2-eyebrow{font-size:14px;font-weight:700;line-height:1.7;color:var(--ax-gold);letter-spacing:.4px;margin-bottom:20px}
.ax-hero-v2 h1{font-size:56px;font-weight:900;line-height:1.22;letter-spacing:-1px;color:var(--ax-white);margin-bottom:24px}
.ax-hero-v2-lead{font-size:17px;line-height:1.9;color:#CBD5E1;margin-bottom:36px;max-width:560px}
.ax-hero-v2-actions{display:flex;flex-wrap:wrap;align-items:center;gap:28px}
.ax .ax-hero-v2-primary{display:inline-flex;align-items:center;gap:8px;padding:17px 40px;font-size:16px;font-weight:700;
border-radius:4px;background:var(--ax-gold);color:var(--ax-navy);transition:.2s}
.ax .ax-hero-v2-primary:hover{background:var(--ax-gold-light)}
.ax .ax-hero-v2-secondary{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--ax-white);
padding-bottom:4px;border-bottom:1px solid rgba(255,255,255,.45);transition:.2s}
.ax .ax-hero-v2-secondary:hover{color:var(--ax-gold);border-bottom-color:var(--ax-gold)}
/* The executives route: present, findable, and clearly not the main action. */
.ax-hero-v2-alt{margin-top:28px;font-size:14px;color:var(--ax-slate)}
.ax .ax-hero-v2-alt a{color:var(--ax-slate);border-bottom:1px solid rgba(148,163,184,.4);padding-bottom:2px}
.ax .ax-hero-v2-alt a:hover{color:var(--ax-white);border-bottom-color:var(--ax-white)}
/* The photograph is generated. Said once, quietly, in the corner. */
/* The wordmark is an <a>, and `.ax a{color:inherit}` (0,1,1) outranks
   `.ax-logo` (0,1,0) — so "United" and "Executive" have been rendering navy on
   a navy bar since the CSS migration, leaving a header that read as just the
   gold word "World". Only the <span> survived, because `.ax a` cannot match it.
   Third instance of this same specificity trap today, after the hero H1 and the
   hero's secondary link. */
.ax .ax-logo{color:var(--ax-white)}

.ax-hero-v2-note{position:absolute;right:16px;bottom:12px;z-index:2;font-size:10px;color:rgba(255,255,255,.5);letter-spacing:.5px}

/* --- the USP band, directly under the hero ------------------------------- */
.ax-usp{background:var(--ax-navy2);border-top:1px solid var(--ax-border);border-bottom:1px solid var(--ax-border)}
.ax-usp-inner{max-width:1200px;margin:0 auto;padding:36px 32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.ax-usp-item{display:flex;gap:16px;align-items:flex-start}
.ax-usp-icon{flex-shrink:0;width:34px;height:34px;background-repeat:no-repeat;background-position:center;background-size:34px 34px}
.ax-usp-item:nth-child(1) .ax-usp-icon{background-image:url('img/icon-search.svg')}
.ax-usp-item:nth-child(2) .ax-usp-icon{background-image:url('img/icon-market.svg')}
.ax-usp-item:nth-child(3) .ax-usp-icon{background-image:url('img/icon-organisation.svg')}
.ax-usp-item h3{font-size:15px;font-weight:700;color:var(--ax-white);margin-bottom:4px}
.ax-usp-item p{font-size:13px;line-height:1.7;color:var(--ax-slate)}

/* --- the header, lifted onto the hero ------------------------------------ */
/* Front page only: it is the only page with a photograph behind it. Elsewhere
   the nav keeps its solid navy bar, which already contrasts. */
.page-id-9 .ax-nav{position:absolute;top:0;left:0;right:0;z-index:10;background:rgba(11,17,32,.34);
backdrop-filter:saturate(150%) blur(14px);-webkit-backdrop-filter:saturate(150%) blur(14px);
border-bottom:1px solid rgba(255,255,255,.10)}
.page-id-9 .ax{position:relative}
.page-id-9 .ax-nav-links a{color:#E2E8F0}
.page-id-9 .ax-nav-links a:hover{color:var(--ax-gold)}
.page-id-9 .ax-logo{text-shadow:0 1px 12px rgba(11,17,32,.6)}

/* --- the mobile menu ------------------------------------------------------ */
/* Below 768px `.ax-nav-links` was simply `display:none`, so a phone had a logo
   and no way off the page. js/nav.js adds the button; these are its states. */
.ax-nav-toggle{display:none;width:44px;height:44px;padding:10px;margin:-10px -8px -10px 0;
background:none;border:0;cursor:pointer;flex-direction:column;justify-content:space-between}
.ax-nav-toggle span{display:block;height:2px;width:100%;background:var(--ax-white);border-radius:2px;transition:.25s}
.uw-nav-open .ax-nav-toggle span:nth-child(1){transform:translateY(11px) rotate(45deg)}
.uw-nav-open .ax-nav-toggle span:nth-child(2){opacity:0}
.uw-nav-open .ax-nav-toggle span:nth-child(3){transform:translateY(-11px) rotate(-45deg)}

@media(max-width:768px){
.ax-nav-toggle{display:flex}
.ax-nav-inner{position:relative}
/* `.ax` is on these for specificity, not for scope. The extractor page-scoped
   each page's mobile block, so `.page-id-9 .ax-nav-links{display:none}` and its
   four siblings are (0,2,0) and beat a bare class — the panel opened on the
   four pages that had no page-scoped rule and stayed `display:none` on the five
   that did. Matching that weight and coming later settles it everywhere. */
.ax .ax-nav-links{display:flex;flex-direction:column;align-items:stretch;gap:0;
position:absolute;top:100%;left:0;right:0;background:var(--ax-navy);
border-top:1px solid var(--ax-border);border-bottom:1px solid var(--ax-border);
padding:8px 20px 16px;
opacity:0;visibility:hidden;transform:translateY(-8px);
/* `visibility` is animatable but discrete, and rolling it into a blanket
   `transition:.22s` makes the panel's state depend on a transition completing.
   It is delayed to the end on close and switched instantly on open instead, so
   the open state is never mid-transition. */
transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s}
/* Laid out even while closed — absolutely positioned and out of flow — so
   opening it cannot move the page underneath and CLS stays at 0. */
.uw-nav-open .ax .ax-nav-links{opacity:1;visibility:visible;transform:none;
transition:opacity .22s ease,transform .22s ease,visibility 0s}
.ax .ax-nav-links a{padding:14px 0;font-size:15px;border-bottom:1px solid rgba(255,255,255,.07)}
.ax .ax-nav-links a:last-child{border-bottom:0}
.ax .ax-nav-links br{display:none}
.ax .ax-nav-cta{display:block;margin-top:12px;text-align:center}
}

@media(max-width:1100px){
.ax-hero-v2 h1{font-size:44px}
.ax-hero-v2-inner{padding:110px 28px 72px}
}
@media(max-width:768px){
.ax-hero-v2{min-height:0}
.ax-hero-v2-inner{padding:104px 20px 56px}
.ax-hero-v2-copy{max-width:none}
.ax-hero-v2 h1{font-size:32px;letter-spacing:-.5px}
.ax-hero-v2-eyebrow{font-size:13px;margin-bottom:16px}
.ax-hero-v2-lead{font-size:15px;margin-bottom:28px}
.ax-hero-v2-actions{gap:18px}
.ax .ax-hero-v2-primary{width:100%;justify-content:center;padding:16px 24px}
/* One column of copy over a photograph needs the picture darker, not lighter,
   because the text now runs the full width of the frame. */
.ax-hero-v2:before{background:linear-gradient(180deg,rgba(11,17,32,.92) 0%,rgba(11,17,32,.86) 60%,rgba(11,17,32,.8) 100%)}
.ax-usp-inner{grid-template-columns:1fr;gap:20px;padding:28px 20px}
}

@media(min-width:1100px){
.ax-section-inner:has(> .ax-section-desc){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:64px;align-items:end}
.ax-section-inner:has(> .ax-section-desc) > .ax-section-label{grid-column:1;grid-row:1;align-self:start}
.ax-section-inner:has(> .ax-section-desc) > .ax-section-title{grid-column:1;grid-row:2;margin-bottom:0}
.ax-section-inner:has(> .ax-section-desc) > .ax-section-desc{grid-column:2;grid-row:2;max-width:none;margin-bottom:0}
.ax-section-inner:has(> .ax-section-desc) > :not(.ax-section-label):not(.ax-section-title):not(.ax-section-desc){grid-column:1 / -1;margin-top:48px}
}

/* ---------------------------------------------------------------------------
 * The primary call to action is a text link on three pages. Measured
 * 2026-09-04 on /services/country-manager/: computed
 * `display:inline; background:rgba(0,0,0,0); padding:0px; font-weight:300`,
 * a 153x19px slate line where a gold button is drawn on the front page.
 *
 * Same shape as the nav CTA above, one component further down the page.
 * `.ax-cta-btn` was only ever written page-scoped — `.page-id-9`, `24`, `26`,
 * `28`, `30` — because those five were the template's originals. /services/
 * /cross-border/ (67), /services/country-manager/ (93) and
 * /services/foreign-director/ (102) were built afterwards, carry the same
 * markup, and never got a rule. `.ax a{color:inherit}` then supplied the only
 * colour they had.
 *
 * These are the three pages written to convert. Their 無料相談 button has been
 * a bare line of text since each was published.
 *
 * Global, and `.ax`-prefixed for the same reason the nav rule is: the
 * page-scoped originals are (0,2,0), so a bare `.ax-cta-btn` would lose to them
 * and the five original pages would keep whatever they had. Matching the weight
 * and coming later settles every page at once, including pages that do not
 * exist yet — which is the whole point, because /column/ adds one a day.
 * ------------------------------------------------------------------------- */
.ax .ax-cta-btn{display:inline-block;background:var(--ax-gold);color:var(--ax-navy);
padding:16px 40px;font-weight:700;font-size:15px;border-radius:4px;letter-spacing:.5px;transition:.2s}
.ax .ax-cta-btn:hover{background:var(--ax-gold-light);color:var(--ax-navy)}
