Postretirement Benefits - Amounts Recognized in Consolidated Balance Sheets, Postretirement (Detail) - Postretirement Benefits - USD ($) $ in Thousands |
May 31, 2026 |
May 31, 2025 |
|---|---|---|
| Domestic | ||
| Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items] | ||
| Current liabilities | $ (137) | $ (733) |
| Noncurrent liabilities | (807) | (930) |
| Net Amount Recognized | (944) | (1,663) |
| Non-U.S. Plans | ||
| Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items] | ||
| Current liabilities | (1,050) | (949) |
| Noncurrent liabilities | (24,075) | (23,608) |
| Net Amount Recognized | $ (25,125) | $ (24,557) |