v3.26.1
Fair Value Measurements - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
May 31, 2026
May 31, 2025
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Settlements of contingent consideration obligations   $ 2.2
Increase in accrual related to fair value adjustments   $ 17.3
The Star Brands Group    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Increase in accrual related to fair value adjustments $ 14.4