Borrowings - Description of Long Term Debt (Detail) - USD ($) $ in Thousands |
May 31, 2024 |
May 31, 2023 |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Debt Instrument [Line Items] | ||||||||||||||||||
| Long-term debt including finance lease | $ 2,127,148 | $ 2,683,809 | ||||||||||||||||
| Less: current portion | 136,213 | 178,588 | ||||||||||||||||
| Long-term debt, less current maturities | 1,990,935 | 2,505,221 | ||||||||||||||||
| Revolving Credit Facility | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [1] | 342,630 | 610,947 | |||||||||||||||
| Accounts Receivable Securitization Program with Two Banks, through May 19, 2025 | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [2] | 129,813 | 174,885 | |||||||||||||||
| Unsecured Term Loan due August 1, 2025 | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [3] | 249,772 | ||||||||||||||||
| Unsecured 3.75% notes due March 15, 2027 | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [4] | 398,728 | 398,292 | |||||||||||||||
| Unsecured 4.55% senior notes due March 1, 2029 | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [5] | 348,082 | 347,686 | |||||||||||||||
| Unsecured 2.95% notes due January 15, 2032 | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [6] | 297,176 | 296,815 | |||||||||||||||
| Unsecured 5.25% notes due June 1, 2045 | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [7] | 298,987 | 298,913 | |||||||||||||||
| Unsecured 4.25% notes due January 15, 2048 | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Debt | [8] | 297,080 | 296,962 | |||||||||||||||
| Other Borrowings | ||||||||||||||||||
| Debt Instrument [Line Items] | ||||||||||||||||||
| Long-term debt including finance lease | $ 14,652 | $ 9,537 | ||||||||||||||||
| ||||||||||||||||||