XML 113 R98.htm IDEA: XBRL DOCUMENT v3.23.2
Pension Plans - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
May 31, 2024
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]        
Estimated benefits payable in the first year $ 64,200      
Estimated benefits payable in the second year 69,500      
Estimated benefits payable in the third year 74,600      
Estimated benefits payable in the fourth year 76,700      
Estimated benefits payable in the fifth year 81,800      
Estimated benefits payable in the years thereafter 416,700      
Matching contribution charged to income $ 27,600 $ 24,700 $ 21,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 retirement plans in the next fiscal year $ 700      
Contribution to retirement plan in the current 63,561 65,604    
Required contribution to retirement plans in the current fiscal year 1,300      
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 retirement plan in the current $ 6,647 $ 4,626