Postretirement Benefits - Amounts Recognized in Consolidated Balance Sheets, Postretirement (Detail) - Postretirement Benefits - USD ($) $ in Thousands |
May 31, 2024 |
May 31, 2023 |
|---|---|---|
| Domestic | ||
| Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items] | ||
| Current liabilities | $ (194) | $ (207) |
| Noncurrent liabilities | (1,427) | (1,561) |
| Net Amount Recognized | (1,621) | (1,768) |
| Non-U.S. Plans | ||
| Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items] | ||
| Current liabilities | (895) | (989) |
| Noncurrent liabilities | (25,163) | (30,048) |
| Net Amount Recognized | $ (26,058) | $ (31,037) |