v3.26.1
Pension Plans - Relationship between Plans Benefit Obligations and Assets (Detail) - Pension Benefits - USD ($)
$ in Thousands
May 31, 2026
May 31, 2025
U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
Plans with projected benefit obligations in excess of plan assets, benefit obligation $ 4,688 $ 4,756
Plans with accumulated benefit obligations in excess of plan assets, benefit obligation 37 40
Plans with assets in excess of projected benefit obligations 796,764 744,930
Plans with assets in excess of accumulated benefit obligations 696,870 650,946
Plans with projected benefit obligations in excess of plan assets, plan asset 4,235 4,136
Plans with assets in excess of projected benefit obligations, plan asset 886,061 766,567
Plans with assets in excess of accumulated benefit obligations, plan asset 890,296 770,703
Non-U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
Plans with projected benefit obligations in excess of plan assets, benefit obligation 51,654 35,864
Plans with accumulated benefit obligations in excess of plan assets, benefit obligation 45,245 31,513
Plans with assets in excess of projected benefit obligations 148,324 150,753
Plans with assets in excess of accumulated benefit obligations 145,236 143,723
Plans with projected benefit obligations in excess of plan assets, plan asset 26,937 22,399
Plans with accumulated benefit obligations in excess of plan assets, plan asset 22,591 20,117
Plans with assets in excess of projected benefit obligations, plan asset 171,827 166,585
Plans with assets in excess of accumulated benefit obligations, plan asset $ 176,173 $ 168,867