v3.25.2
Accumulated Other Comprehensive Income (loss) (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning Balance $ 2,512,225 $ 2,143,000 $ 1,983,828
Ending Balance 2,886,782 2,512,225 2,143,000
Foreign Currency Translation Adjustments      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning Balance (461,847) (465,375) (395,473)
Current period comprehensive (loss) income (5,505) 3,276 (71,772)
Income taxes associated with current period comprehensive income (loss) (1,260) 252 1,870
Income taxes reclassified into earnings (2,239)    
Ending Balance (470,851) (461,847) (465,375)
Pension And Other Postretirement Benefit Liability Adjustments, Net of Tax      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning Balance (84,647) (148,764) (153,383)
Current period comprehensive (loss) income 6,872 66,592 (12,242)
Income taxes associated with current period comprehensive income (loss) (2,004) (15,769) 2,785
Amounts reclassified from accumulated other comprehensive income (loss) 9,394 17,416 18,363
Income taxes reclassified into earnings (2,276) (4,122) (4,287)
Ending Balance (72,661) (84,647) (148,764)
Unrealized Gain (Loss) On Derivatives, Net of Tax      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning Balance 11,405 11,405 13,171
Amounts reclassified from accumulated other comprehensive income (loss)     (1,766)
Ending Balance 11,405 11,405 11,405
Unrealized Gain (Loss) On Securities, Net of Tax      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning Balance (2,201) (2,201) (1,652)
Current period comprehensive (loss) income 1,086 205 (482)
Income taxes associated with current period comprehensive income (loss) (116) (56) 4
Amounts reclassified from accumulated other comprehensive income (loss) (332) (165) (67)
Income taxes reclassified into earnings 39 16 (4)
Ending Balance (1,524) (2,201) (2,201)
Accumulated Other Comprehensive Income (Loss)      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning Balance (537,290) (604,935) (537,337)
Current period comprehensive (loss) income 2,453 70,073 (84,496)
Income taxes associated with current period comprehensive income (loss) (3,380) (15,573) 4,659
Amounts reclassified from accumulated other comprehensive income (loss) 9,062 17,251 16,530
Income taxes reclassified into earnings (4,476) (4,106) (4,291)
Ending Balance $ (533,631) $ (537,290) $ (604,935)