XML 121 R101.htm IDEA: XBRL DOCUMENT v3.24.2
Pension Plans - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2024
May 31, 2023
May 31, 2022
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Estimated benefits payable in the first year $ 67,000    
Estimated benefits payable in the second year 73,400    
Estimated benefits payable in the third year 76,300    
Estimated benefits payable in the fourth year 80,000    
Estimated benefits payable in the fifth year 86,500    
Estimated benefits payable in the years thereafter 432,500    
Matching contribution charged to income $ 29,800 $ 27,600 $ 24,700
Pension Benefits      
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Average compensation with accrued benefits vesting period 5 years    
U.S. Plans | Pension Benefits      
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Contribution to pension plan in the current $ 41,928 63,561  
Required contribution to pension plans in the current fiscal year 700    
Non-U.S. Plans | Pension Benefits      
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Contribution to retirement plans in the next fiscal year 5,700    
Contribution to pension plan in the current $ 5,449 $ 6,647