v3.25.2
Pension Plans - Changes in Benefits Obligations and Plan Assets, Pension (Detail) - Pension Benefits - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
U.S. Plans      
Defined Benefit Plan Disclosure [Line Items]      
Benefit obligation at beginning of year $ 719,663 $ 697,173  
Service cost 43,217 43,652 $ 43,558
Interest cost 39,180 35,967 28,692
Benefits paid (45,237) (40,540)  
Actuarial (gains) losses (7,137) (16,589)  
Benefit Obligation at End of Year 749,686 719,663 697,173
Balance at Beginning of Period 720,079 631,486  
Actual gain (loss) on plan assets 50,324 87,205  
Employer contributions 45,537 41,928  
Benefits paid (45,237) (40,540)  
Balance at End of Period 770,703 720,079 631,486
Surplus of plan assets versus benefit obligations at end of year 21,017 416  
Net Amount Recognized 21,017 416  
Accumulated Benefit Obligation 650,986 618,413  
Non-U.S. Plans      
Defined Benefit Plan Disclosure [Line Items]      
Benefit obligation at beginning of year 166,060 158,812  
Service cost 4,427 3,534 3,633
Interest cost 7,836 7,667 6,619
Benefits paid (9,162) (8,102)  
Participant contributions 1,414 1,149  
Plan amendments 299 (2)  
Plan settlements/curtailments (256) (1,090)  
Plan combination 10,550    
Actuarial (gains) losses 3,323 3,461  
Premiums paid (90) (83)  
Currency exchange rate changes 2,216 714  
Benefit Obligation at End of Year 186,617 166,060 158,812
Balance at Beginning of Period 174,260 166,120  
Actual gain (loss) on plan assets 9,365 9,973  
Employer contributions 4,537 5,449  
Participant contributions 1,414 1,149  
Benefits paid (9,162) (8,102)  
Assets related to plan combinations 6,630    
Premiums paid (90) (83)  
Plan settlements/curtailments (256) (1,090)  
Currency exchange rate changes 2,286 844  
Balance at End of Period 188,984 174,260 $ 166,120
Surplus of plan assets versus benefit obligations at end of year 2,367 8,200  
Net Amount Recognized 2,367 8,200  
Accumulated Benefit Obligation $ 175,236 $ 156,571