Pension Plans - Pretax Net Actuarial Loss and Prior Service (Cost) Credits Recognized in Accumulated Other Comprehensive Income (Loss) not Affecting Retained Earnings, Pension (Detail) - Pension Benefits - USD ($) $ in Thousands |
May 31, 2026 |
May 31, 2025 |
|---|---|---|
| U.S. Plans | ||
| Schedule of Net Periodic Benefit Costs and Assumptions for Defined Benefit Postretirement Plans [Line Items] | ||
| Net actuarial loss | $ (57,777) | $ (108,475) |
| Prior service (costs) credit | (5) | (6) |
| Total recognized in accumulated other comprehensive income not affecting retained earnings | (57,782) | (108,481) |
| Non-U.S. Plans | ||
| Schedule of Net Periodic Benefit Costs and Assumptions for Defined Benefit Postretirement Plans [Line Items] | ||
| Net actuarial loss | (29,513) | (37,298) |
| Prior service (costs) credit | 246 | 330 |
| Total recognized in accumulated other comprehensive income not affecting retained earnings | $ (29,267) | $ (36,968) |