Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Statement of Comprehensive Income [Abstract] | |||
| Change in fair value of interest rate lock agreements, tax expense | $ 1,767 | $ 1,969 | $ 6,217 |
| Amortization of interest rate lock agreement, tax benefit | (2,052) | (2,052) | (2,014) |
| Other, tax expense | 1,244 | 332 | 867 |
| Other comprehensive income (loss), tax expense | $ 959 | $ 249 | $ 5,070 |