Fair Value and Derivatives - Schedule of Gain Loss From Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Location (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Not Designated as Hedging Instrument [Member] | Forward Contracts [Member] | Other Net [Member] | |||
| Derivative [Line Items] | |||
| Foreign currency forward contracts | $ (0.8) | $ 0.5 | $ 0.1 |