v3.25.2
Pension Plans - Weighted-Average Assumptions used to Determine Benefit Obligations and Net Periodic Pension Cost (Detail) - Pension Benefits
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Domestic      
Defined Benefit Plan Disclosure [Line Items]      
Year-End Benefit Obligations, Discount rate 5.65% 5.58%  
Year-End Benefit Obligations, Rate of compensation increase 3.38% 3.39%  
Net Periodic Pension Cost, Discount rate 5.59% 5.26% 4.43%
Net Periodic Pension Cost, Expected return on plan assets 7.00% 7.00% 6.50%
Net Periodic Pension Cost, Rate of compensation increase 3.39% 3.39% 3.21%
Non-U.S. Plans      
Defined Benefit Plan Disclosure [Line Items]      
Year-End Benefit Obligations, Discount rate 4.78% 4.81%  
Year-End Benefit Obligations, Rate of compensation increase 3.03% 2.98%  
Net Periodic Pension Cost, Discount rate 4.81% 4.88% 4.02%
Net Periodic Pension Cost, Expected return on plan assets 5.49% 5.79% 3.58%
Net Periodic Pension Cost, Rate of compensation increase 2.98% 2.97% 2.94%