Acquisitions and Divestitures - Schedule of Asset Acquired and Liabilities Assumed on Acquisition (Parenthetical) (Details) - USD ($) $ in Millions |
12 Months Ended | |
|---|---|---|
May 31, 2026 |
May 31, 2025 |
|
| Business Combination, Asset Acquisition, Transaction between Entities under Common Control, and Joint Venture Formation [Abstract] | ||
| Business acquisition cash acquired | $ 17.4 | $ 43.8 |