v3.26.1
Pension Plans - Changes in Benefits Obligations and Plan Assets, Pension (Detail) - Pension Benefits - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
U.S. Plans      
Defined Benefit Plan Disclosure [Line Items]      
Benefit obligation at beginning of year $ 749,686 $ 719,663  
Service cost 43,453 43,217 $ 43,652
Interest cost 37,937 39,180 35,967
Benefits paid (56,912) (45,237)  
Plan amendments 1    
Actuarial losses (gains) 27,287 (7,137)  
Benefit Obligation at End of Year 801,452 749,686 719,663
Balance at Beginning of Period 770,703 720,079  
Actual gain (loss) on plan assets 125,496 50,324  
Employer contributions 51,009 45,537  
Benefits paid (56,912) (45,237)  
Balance at End of Period 890,296 770,703 720,079
Surplus of plan assets versus benefit obligations at end of year 88,844 21,017  
Net Amount Recognized 88,844 21,017  
Accumulated Benefit Obligation 696,907 650,986  
Non-U.S. Plans      
Defined Benefit Plan Disclosure [Line Items]      
Benefit obligation at beginning of year 186,617 166,060  
Service cost 5,911 4,427 3,534
Interest cost 8,387 7,836 7,667
Benefits paid (9,748) (9,162)  
Participant contributions 1,562 1,414  
Plan amendments   299  
Plan settlements/curtailments (666) (256)  
Plan combination 10,789 10,550  
Actuarial losses (gains) (3,407) 3,323  
Premiums paid (139) (90)  
Currency exchange rate changes 672 2,216  
Benefit Obligation at End of Year 199,978 186,617 166,060
Balance at Beginning of Period 188,984 174,260  
Actual gain (loss) on plan assets 12,601 9,365  
Employer contributions 5,797 4,537  
Participant contributions 1,562 1,414  
Benefits paid (9,748) (9,162)  
Assets related to plan combinations   6,630  
Premiums paid (139) (90)  
Plan settlements/curtailments (674) (256)  
Currency exchange rate changes 381 2,286  
Balance at End of Period 198,764 188,984 $ 174,260
Surplus of plan assets versus benefit obligations at end of year (1,214) 2,367  
Net Amount Recognized (1,214) 2,367  
Accumulated Benefit Obligation $ 190,481 $ 175,236