/* https://us.unitedworld.jp/about/ — 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);
}

#pg{font-family:'Inter',system-ui,sans-serif;color:#0F172A;line-height:1.6;-webkit-font-smoothing:antialiased}
#pg[data-lang="en"] .jp{display:none!important}
#pg[data-lang="jp"] .en{display:none!important}

/* The language resolved in <head>, for this page's container.
 *
 * Every other page carries its language in a class, and the site-wide rule in
 * uw-us-core.css handles them. It cannot reach this one: that rule scores three
 * classes, this file scores an id, and no number of classes outranks an id — so
 * the site-wide rule hid the English and this file kept hiding the Japanese,
 * and /about/ rendered with both halves gone.
 *
 * The override belongs here rather than there, with the selector it has to
 * beat. `html[data-uw-lang="jp"] #pg[data-lang="en"]` scores (1,2,1) against
 * (1,1,0). It applies only in the moment before the footer script sets the
 * container's own data-lang, which is the moment this whole mechanism exists
 * for. */
html[data-uw-lang="jp"] #pg[data-lang="en"] .jp{display:inline!important}
html[data-uw-lang="jp"] #pg[data-lang="en"] .en{display:none!important}
#pg a{text-decoration:none;color:inherit}
.pn{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:16px 24px}
.pn-logo{font-size:17px;font-weight:700;letter-spacing:-.3px}.pn-logo b{color:#2563EB}
.pn-links{display:flex;gap:16px;align-items:center}
.pn-links a{font-size:13px;color:#64748B;font-weight:500}.pn-links a:hover{color:#0F172A}
.pn-cta{background:#2563EB;color:#fff!important;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600}.pn-cta span{color:#fff!important}
.pn-lt{display:flex;border:1px solid #E2E8F0;border-radius:6px;overflow:hidden}
.pn-lt button{padding:4px 10px;border:none;background:#fff;cursor:pointer;color:#64748B;font-size:12px;font-weight:600}
.pn-lt button.on{background:#0F172A;color:#fff}
.ah{text-align:center;padding:64px 32px;max-width:800px;margin:0 auto}
.ah-tag{display:inline-block;background:#F0F4FF;color:#2563EB;padding:5px 14px;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:20px}
.ah h1{font-size:40px;font-weight:800;letter-spacing:-1.2px;margin-bottom:16px;line-height:1.15}
.ah>p{font-size:17px;color:#64748B;max-width:560px;margin:0 auto;line-height:1.7}
.as{display:flex;justify-content:center;gap:48px;padding:40px 32px;border-top:1px solid #E2E8F0;border-bottom:1px solid #E2E8F0;max-width:1200px;margin:0 auto;flex-wrap:wrap}
.as-i{text-align:center}.as-n{font-size:40px;font-weight:800;color:#2563EB;letter-spacing:-1.5px}.as-l{font-size:13px;color:#94A3B8;margin-top:4px}
/* The line under the figures. Same treatment as the home page, so the two
   pages read as one site rather than as two decisions. */
.uw-trust-note{text-align:center;font-size:13px;color:#64748B;line-height:1.9;max-width:640px;margin:24px auto 0;padding:0 32px}
.aw{max-width:1200px;margin:0 auto;padding:64px 32px}
.aw-gray{background:#F8FAFC;padding:64px 0}
.aw-gray-inner{max-width:1200px;margin:0 auto;padding:0 32px}
.aw-lbl{font-size:12px;font-weight:600;color:#2563EB;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.aw-h2{font-size:32px;font-weight:800;letter-spacing:-.8px;margin-bottom:24px}
.aw-tl{margin:32px 0;border-left:2px solid #E2E8F0;padding-left:28px}
.aw-tl-i{margin-bottom:28px;position:relative}
.aw-tl-i::before{content:'';position:absolute;left:-34px;top:6px;width:12px;height:12px;background:#2563EB;border-radius:50%}
.aw-tl-y{font-size:13px;font-weight:700;color:#2563EB;margin-bottom:4px}
.aw-tl-i h3{font-size:16px;font-weight:700;margin-bottom:4px}
.aw-tl-i p{font-size:14px;color:#64748B;line-height:1.7}
.aw-tl-i ul{margin:8px 0 0 18px;padding:0;list-style:disc}
.aw-tl-i ul li{font-size:14px;color:#64748B;margin-bottom:4px;line-height:1.6}
.aw-g2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.aw-cd{background:#fff;border:1px solid #E2E8F0;border-radius:10px;padding:24px}
.aw-cd h3{font-size:15px;font-weight:700;margin-bottom:6px}
.aw-cd p{font-size:14px;color:#64748B;line-height:1.7}
.aw-sv{border:1px solid #E2E8F0;border-radius:10px;padding:24px;background:#fff}
.aw-sv:hover{border-color:#2563EB}
.aw-sv-ic{font-size:24px;margin-bottom:12px}
.aw-sv h3{font-size:15px;font-weight:700;margin-bottom:4px}
.aw-sv p{font-size:13px;color:#64748B;margin-bottom:8px}
.aw-sv a{font-size:13px;color:#2563EB;font-weight:600}
.aw-info{border:1px solid #E2E8F0;border-radius:10px;overflow:hidden;margin-top:24px}
.aw-info-r{display:flex;border-bottom:1px solid #F1F5F9;padding:14px 24px}
.aw-info-r:last-child{border:none}
.aw-info-lb{width:180px;font-size:13px;color:#94A3B8;font-weight:500;flex-shrink:0}
.aw-info-v{font-size:14px;font-weight:500}
.aw-cta{background:#0F172A;border-radius:14px;padding:56px 40px;text-align:center;max-width:900px;margin:0 auto}
.aw-cta h2{font-size:28px;font-weight:800;color:#fff;margin-bottom:12px}
.aw-cta p{color:#94A3B8;font-size:15px;margin-bottom:24px}
.aw-cta a{display:inline-block;background:#2563EB;color:#fff!important;padding:14px 32px;border-radius:10px;font-weight:600}
.aw-ft{text-align:center;padding:32px;font-size:12px;color:#94A3B8}
.aw-ft a{color:#2563EB}
@media(max-width:768px){.ah h1{font-size:28px}.uw-trust-note{font-size:12px;line-height:1.8;padding:0 20px}.as{gap:24px}.aw-g2{grid-template-columns:1fr}.aw-info-r{flex-direction:column;gap:4px}.aw-info-lb{width:auto}.pn-links>a{display:none}.aw-cta{padding:40px 24px}.aw,.aw-gray-inner{padding-left:20px;padding-right:20px}}

/* Promoted from <div> to <h2>. This sheet has no universal margin reset and
 * carries bare h2 rules, so both the top margin and the letter-spacing those
 * rules set have to be pinned back to what the label always looked like. */
.aw-lbl{margin-top:0;letter-spacing:1px;font-size:12px;font-weight:600}
