v3.25.2
Pension Plans - Relationship between Plans Benefit Obligations and Assets (Detail) - Pension Benefits - USD ($)
$ in Thousands
May 31, 2025
May 31, 2024
U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
Plans with projected benefit obligations in excess of plan assets, benefit obligation $ 4,756 $ 712,123
Plans with accumulated benefit obligations in excess of plan assets, benefit obligation 40 41
Plans with assets in excess of projected benefit obligations 744,930 7,540
Plans with assets in excess of accumulated benefit obligations 650,946 618,372
Plans with projected benefit obligations in excess of plan assets, plan asset 4,136 711,245
Plans with assets in excess of projected benefit obligations, plan asset 766,567 8,834
Plans with assets in excess of accumulated benefit obligations, plan asset 770,703 720,079
Non-U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
Plans with projected benefit obligations in excess of plan assets, benefit obligation 35,864 28,469
Plans with accumulated benefit obligations in excess of plan assets, benefit obligation 31,513 25,001
Plans with assets in excess of projected benefit obligations 150,753 137,591
Plans with assets in excess of accumulated benefit obligations 143,723 131,570
Plans with projected benefit obligations in excess of plan assets, plan asset 22,399 19,988
Plans with accumulated benefit obligations in excess of plan assets, plan asset 20,117 17,730
Plans with assets in excess of projected benefit obligations, plan asset 166,585 154,272
Plans with assets in excess of accumulated benefit obligations, plan asset $ 168,867 $ 156,530