/* PC edition: fixed 1024px presentation with the mobile edition's content preserved. */
:root { background: #d9e3e6; }
html { min-width: 1024px; }
body { min-width: 1024px; }
.site-frame { width: 1024px; max-width: none; overflow: visible; box-shadow: 0 28px 90px rgba(14,49,73,.2); }

/* Header and chapter navigation */
.site-header { height: 88px; padding: 12px 48px; }
.x-tools-brand { gap: 3.25px; }
.x-tools-brand img { width: 58px; height: 58px; }
.x-tools-brand b { font-size: 15px; }
.x-tools-brand small { margin-top: 4.2px; font-size: 8px; letter-spacing: .05em; }
.menu-button { width: auto; height: 42px; grid-template-columns: 22px 42px; grid-template-rows: repeat(3,4px); gap: 3px 10px; padding: 8px 14px; border-radius: 24px; }
.menu-button span { grid-column: 1; width: 22px; }
.menu-button b { position: static; grid-column: 2; grid-row: 1 / 4; width: auto; height: auto; align-self: center; overflow: visible; clip-path: none; font-size: 10px; letter-spacing: .12em; }
.site-menu { top: 88px; left: 50%; bottom: 0; width: 1024px; height: calc(100dvh - 88px); padding: 38px 56px 90px; grid-template-columns: 1fr 1fr; column-gap: 52px; align-content: start; background: rgba(244,253,253,.985); }
.site-menu.is-open { display: grid; }
.site-menu a { padding: 13px 5px; font-size: 14px; }
.site-menu .menu-cta { grid-column: 1 / -1; width: 330px; margin: 28px auto 0; }
.site-header.is-compact { height: 64px; padding: 6px 48px; }
.site-header.is-compact .x-tools-brand img { width: 46px; height: 46px; }
.site-header.is-compact .x-tools-brand b { font-size: 13px; }
.site-header.is-compact .x-tools-brand small { display: block; font-size: 7px; }
.site-header.is-compact .menu-button { width: auto; height: 40px; }
.site-header.is-compact .site-menu { top: 64px; height: calc(100dvh - 64px); }
.reading-progress { width: 1024px; }
.back-to-top { right: max(8px, calc((100vw - 1024px) / 2 + 8px)); bottom: 96px; width: 54px; height: 54px; }
.bottom-cta { left: auto; right: max(24px, calc((100vw - 1024px) / 2 + 28px)); width: 300px; padding: 0; transform: translateY(130%); background: transparent; box-shadow: none; }
.bottom-cta.is-visible { transform: translateY(-22px); }
.bottom-cta a { padding: 15px 22px; box-shadow: 0 10px 30px rgba(14,49,73,.24); }

/* Keep the desktop hamburger and close mark geometrically centered. */
.menu-button { position: relative; display: flex; align-items: center; padding-left: 47px; }
.menu-button span { position: absolute; left: 14px; top: 50%; width: 22px; height: 1px; margin: 0; transform-origin: center; }
.menu-button span:nth-child(1) { transform: translateY(-6px); }
.menu-button span:nth-child(2) { transform: translateY(0); }
.menu-button span:nth-child(3) { transform: translateY(6px); }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(0) rotate(-45deg); }
.menu-button b { display: block; }

/* Shared desktop spacing and type */
.section-label { font-size: 10px; }
.button { width: auto; min-width: 260px; display: inline-block; padding-inline: 28px; }
.content-section, .page-links, .page-hero, .section, .simple-cta { padding-left: 92px; padding-right: 92px; }
.content-section, .section { padding-top: 72px; padding-bottom: 72px; }
.content-section h2, .section h2, .page-hero h1, .simple-cta h2 { font-size: 34px; line-height: 1.5; }
.content-section h3 { font-size: 21px; }
.content-section p, .content-section li, .section > p:not(.section-label):not(.small-note):not(.legal-note) { font-size: 17px; line-height: 1.9; }
.lead-copy { font-size: 20px !important; }
.emphasis-box { max-width: 760px; padding: 26px 30px; }
.emphasis-box strong { font-size: 20px; }
.emphasis-box p { font-size: 15px; }
.detail-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }
.detail-card { min-height: 150px; padding: 24px; }
.detail-card h3 { font-size: 19px; }
.detail-card p { font-size: 15px; line-height: 1.82; }
.pc-line { display: block; }
.pc-two-line-card .pc-line { white-space: nowrap; }
.detail-card.compact-copy { padding-left: 18px; padding-right: 18px; }
.detail-card .pc-one-line-card { font-size: 14px !important; white-space: nowrap; }
.pc-two-lines-wide { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; font-size: 16px !important; line-height: 2 !important; }
.pc-two-lines-wide .pc-line { white-space: nowrap; }
.pc-two-lines-wide.pc-fit-box { font-size: 15px !important; }
.pc-one-line-wide { display: block; width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; font-size: 16px !important; white-space: nowrap; }
.pc-align-heading { margin-left: 0; margin-right: -40px; }
.metric-grid { grid-template-columns: repeat(4,1fr); gap: 16px; }
.metric { min-height: 142px; padding: 22px; }
.metric b { font-size: 27px; }
.metric b.metric-long { font-size: 17px; }
.metric span { font-size: 14px; }
.compare-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }
.compare-card { padding: 28px; }
.compare-card h3 { font-size: 22px; }
.compare-card p { font-size: 15px; }
.process-diagram { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; }
.process-diagram:has(div:nth-of-type(5)) { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; }
.process-diagram div { min-height: 110px; display: grid; place-items: center; padding: 18px; font-size: 14px; line-height: 1.65; }
.process-diagram i { display: grid; place-items: center; }
.number-list { grid-template-columns: repeat(2,1fr); column-gap: 42px; }
.number-list article { min-height: 132px; }
.cycle { max-width: 800px; }
.content-table, .tax-table { font-size: 14px; }
.content-table th, .content-table td, .tax-table th, .tax-table td { padding: 15px 16px; font-size: 14px; }
.content-table th { width: 28%; }
.company-table th, .company-table td { padding: 16px 12px; font-size: 14px; }
.company-table th { width: 24%; }
.tax-hero-number { font-size: 96px; }
.tax-hero-number small { font-size: 22px; }

/* Home */
.top-hero { min-height: 680px; display: grid; grid-template-columns: 1fr 420px; grid-template-rows: auto auto auto auto 1fr; column-gap: 58px; align-content: center; padding: 68px 64px; }
.top-hero .hub-logo { grid-column: 1; grid-row: 1; width: 88px; height: 88px; margin-bottom: 22px; }
.formal-program-name { grid-column: 1; grid-row: 2; margin-bottom: 24px; }
.formal-program-name span { font-size: 11px; }
.formal-program-name strong { font-size: 16px; }
.top-hero .section-label { grid-column: 1; grid-row: 3; }
.top-hero h1 { grid-column: 1; grid-row: 4; font-size: 45px; line-height: 1.35; }
.top-hero .hero-lead { grid-column: 1; grid-row: 5; max-width: 440px; font-size: 17px; line-height: 1.9; }
.hero-photo, .top-hero .hero-lead + .hero-photo { grid-column: 2; grid-row: 1 / 6; align-self: stretch; height: auto; min-height: 552px; margin: -22px 0 -22px; border-radius: 6px; }
.hero-photo::after { background: linear-gradient(180deg,transparent 45%,rgba(14,49,73,.35)); }
.audience-section, .scheme-overview { padding: 76px 64px; }
.audience-section h2, .scheme-overview h2 { font-size: 36px; }
.audience-grid { grid-template-columns: repeat(4,1fr); gap: 16px; }
.audience-grid article { min-height: 220px; padding: 24px 20px; }
.audience-grid h3 { margin-top: 28px; font-size: 18px; }
.audience-grid p { font-size: 14px; line-height: 1.82; }
.scheme-flow { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: stretch; padding: 24px; }
.scheme-party { display: flex; flex-direction: column; justify-content: center; min-height: 230px; padding: 28px; }
.scheme-party h3 { font-size: 22px; }
.scheme-party p { font-size: 14px; line-height: 1.82; }
.scheme-arrow { display: grid; place-items: center; font-size: 20px; font-weight: 800; line-height: 1.35; }
.scheme-arrow.split { grid-column: 1 / -1; padding-top: 20px; font-size: 20px; }
.benefit-grid { grid-template-columns: repeat(3,1fr); gap: 16px; }
.benefit-grid article { min-height: 190px; padding: 26px 24px 24px 60px; }
.benefit-grid h3 { font-size: 19px; }
.benefit-grid p { font-size: 14px; line-height: 1.82; }
.top-manifesto { padding: 80px 92px; }
.top-manifesto h2 { font-size: 37px; }
.top-manifesto > p:not(.section-label) { max-width: 760px; font-size: 17px; }
.path-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { min-height: 300px; padding: 34px; }
.path-card h3 { font-size: 28px; }
.path-card p { font-size: 15px; }
.top-index { padding: 72px 92px; display: grid; grid-template-columns: repeat(2,1fr); column-gap: 42px; }
.top-index > .section-label, .top-index > h2 { grid-column: 1 / -1; }
.top-index h2 { font-size: 34px; }
.index-link { padding: 20px 0; }
.index-link b { font-size: 16px; }

/* Article pages */
main:has(> .article-hero) { display: grid; grid-template-columns: 59% 41%; }
main:has(> .article-hero) > * { grid-column: 1 / -1; }
main:has(> .article-hero) > .article-hero { grid-column: 1; grid-row: 1; min-height: 440px; display: flex; flex-direction: column; justify-content: center; padding: 70px 70px 70px 82px; }
main:has(> .article-hero) > .article-image { grid-column: 2; grid-row: 1; height: auto; min-height: 440px; align-self: stretch; }
main:has(> .article-hero) > .chapter-status { grid-row: 2; }
.article-hero h1 { font-size: 43px; line-height: 1.42; }
.article-hero p:last-child { max-width: 540px; font-size: 17px; }

/* Entry-desk copy stays visually centered beside its restrained Japan image. */
html[data-page="entry-desk"] .article-hero h1 { margin: 0; }
html[data-page="entry-desk"] .emphasis-box strong { margin-bottom: 0; }

/* The office photograph is shown at its full aspect ratio without cropping. */
html[data-page="office"] main:has(> .article-hero) { display: block; }
html[data-page="office"] .article-hero { min-height: 0; padding: 68px 92px; }
html[data-page="office"] .article-hero p:last-child { max-width: 680px; }
html[data-page="office"] .article-image { width: 100%; height: auto; background: #e8f2f3; }
html[data-page="office"] .article-image img { width: 100%; height: auto; object-fit: contain; }
.chapter-status { padding: 14px 92px; }
.chapter-status a { font-size: 10px; }
.chapter-status span { font-size: 9px; }
.page-hero { padding-top: 80px; padding-bottom: 70px; }
.page-hero > p:last-child { max-width: 760px; font-size: 17px; }
main:has(> .page-hero + .article-image) { display: grid; grid-template-columns: 59% 41%; }
main:has(> .page-hero + .article-image) > * { grid-column: 1 / -1; }
main:has(> .page-hero + .article-image) > .page-hero { grid-column: 1; grid-row: 1; min-height: 440px; display: flex; flex-direction: column; justify-content: center; padding: 70px 70px 70px 82px; }
main:has(> .page-hero + .article-image) > .article-image { grid-column: 2; grid-row: 1; height: auto; min-height: 440px; align-self: stretch; }
main:has(> .page-hero + .article-image) > .chapter-status { grid-row: 2; }
.page-links { padding-top: 54px; padding-bottom: 70px; }
.page-links h2 { font-size: 27px; }
.page-links a { padding: 18px 0; font-size: 15px; }
.reading-route { padding: 62px 92px 90px; }
.reading-route > p { font-size: 27px; }
.reading-route > div { gap: 18px; }
.reading-route > div a { min-height: 150px; padding: 24px; }
.reading-route b { font-size: 17px; }
.reading-index { width: 330px; margin: 18px auto 0; padding: 15px; font-size: 15px; }

/* Editorial images added only to the PC edition. */
.pc-photo-band { position: relative; height: 360px; margin: 0; overflow: hidden; background: var(--navy); }
.pc-photo-band img { width: 100%; height: 100%; object-fit: cover; }
.pc-photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(14,49,73,.15),transparent 50%,rgba(14,49,73,.08)); }
.pc-photo-band.tall { height: 430px; }
.pc-photo-pair { display: grid; grid-template-columns: 1fr 1fr; height: 390px; margin: 0; overflow: hidden; }
.pc-photo-pair img { width: 100%; height: 100%; object-fit: cover; }
.pc-photo-inset { float: right; width: 42%; height: 310px; margin: 4px 0 28px 42px; overflow: hidden; border-radius: 4px; }
.pc-photo-inset img { width: 100%; height: 100%; object-fit: cover; }
.content-section:has(.pc-photo-inset)::after { content: ""; display: block; clear: both; }

/* Forms, FAQ and footer */
.form-section { max-width: 820px; margin: 0 auto; }
.form-field { margin: 24px 0; }
.form-field > span, form legend { font-size: 15px; }
.form-field input, .form-field select, .form-field textarea { min-height: 54px; padding: 14px; }
.meeting-schedule { padding: 26px 28px; }
.meeting-schedule-heading h2 { font-size: 20px; }
.meeting-schedule-heading p { font-size: 15px; }
.meeting-candidate-title { font-size: 16px; }
.meeting-fields { grid-template-columns: 1.35fr 1fr; gap: 20px; }
.form-assurance { font-size: 14px !important; }
.direct-contact p { font-size: 15px; }
.faq-list summary { padding: 25px 48px 25px 0; font-size: 17px; }
.faq-list details p { font-size: 17px; }
.policy-content { max-width: 840px; margin: 0 auto; }
.site-footer { display: grid; grid-template-columns: 150px 1fr 1fr; column-gap: 42px; padding: 58px 72px 66px; border-top: 4px solid var(--aqua); border-left: 0 !important; border-right: 0 !important; }
.footer-logos { grid-column: 1; grid-row: 1 / 5; align-content: start; flex-wrap: wrap; gap: 14px; padding-top: 2px; }
.footer-logos img { width: 76px; height: 76px; }
.site-footer > p { margin: 0; font-size: 14px; line-height: 1.8; }
.site-footer > p:nth-of-type(1) { grid-column: 2 / 4; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.22); }
.site-footer > p:nth-of-type(1) b { font-size: 17px; letter-spacing: .01em; }
.site-footer > p:nth-of-type(2), .site-footer > p:nth-of-type(3) { padding-top: 18px; }
.site-footer > p:nth-of-type(4) { grid-column: 2 / 4; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.site-footer > p:nth-of-type(4) a { color: #a6edf0; font-size: 15px; font-weight: 800; }
.site-footer p small { font-size: 9px; letter-spacing: .16em; }
.site-footer nav { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(7,auto); gap: 0; margin: 36px 0 26px; border-top: 1px solid rgba(255,255,255,.22); border-left: 0 !important; border-right: 0 !important; }
.site-footer nav a { min-width: 0; min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 10px 4px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); font-size: 13px; line-height: 1.45; text-align: center; white-space: nowrap; }
.site-footer nav a:first-child { border-left: 0 !important; }
.site-footer nav a:last-child { border-right: 0; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: white; background: rgba(255,255,255,.08); }
.site-footer > small { grid-column: 1 / -1; font-size: 10px; letter-spacing: .08em; }
.home-reading-route { padding-top: 48px; padding-bottom: 64px; }
.home-reading-route .reading-next { width: 100%; min-height: 118px; margin-left: 0; }

/* This edition intentionally stays fixed at 1024px. */
@media (max-width: 1023px) {
  .site-frame { margin-left: 0; margin-right: 0; }
}
