v3.26.1
Changes in Carrying Amount of Goodwill, by Reportable Segment (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Goodwill [Line Items]      
Goodwill beginning balance $ 1,617,626 $ 1,308,911  
Acquisitions and purchase price allocation adjustments 57,450 306,025  
Impairments 0 (11,352) $ 0
Translation adjustments & other 13,088 14,042  
Goodwill ending balance 1,688,164 1,617,626 1,308,911
CPG Segment      
Goodwill [Line Items]      
Goodwill beginning balance 518,623 485,135  
Acquisitions and purchase price allocation adjustments 8,553 28,925  
Impairments   0  
Translation adjustments & other 7,420 4,563  
Goodwill ending balance 534,596 518,623 485,135
PCG Segment      
Goodwill [Line Items]      
Goodwill beginning balance 330,924 279,810  
Acquisitions and purchase price allocation adjustments 18,752 47,313  
Impairments   0  
Translation adjustments & other 4,511 3,801  
Goodwill ending balance 354,187 330,924 279,810
Consumer Segment      
Goodwill [Line Items]      
Goodwill beginning balance 768,079 543,966  
Acquisitions and purchase price allocation adjustments 30,145 229,787  
Impairments   (11,352)  
Translation adjustments & other 1,157 5,678  
Goodwill ending balance $ 799,381 $ 768,079 $ 543,966