Other Expense (Income), Net (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
May 31, 2024 |
May 31, 2023 |
May 31, 2022 |
|
| Other Income and Expenses [Abstract] | |||
| Pension non-service costs (credits) | $ 11,046 | $ 10,381 | $ (10,581) |
| Other | (882) | (604) | (1,265) |
| Other Expense (Income), Net | $ 10,164 | $ 9,777 | $ (11,846) |