Comprehensive Income (Loss) - Summary of Tax Effects on Each Component of Other Comprehensive Income (Loss) (Detail) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Components Of Other Comprehensive Income Loss [Abstract] | |||
| Foreign currency translation, net, before tax | $ 7,400,000 | $ 1,200,000 | $ (1,300,000) |
| Foreign currency translation, net, tax | 0 | 0 | 0 |
| Foreign currency translation, net, net of tax | 7,400,000 | 1,200,000 | (1,300,000) |
| Net investment hedge, before tax | (1,800,000) | 0 | 0 |
| Net investment hedge, tax | 500,000 | 0 | 0 |
| Net investment hedge, net of tax | (1,300,000) | 0 | 0 |
| Pension liability adjustment, before tax | 3,800,000 | (1,400,000) | 3,100,000 |
| Pension liability adjustment, tax | 200,000 | 300,000 | (700,000) |
| Pension liability adjustment, net of tax | 4,000,000 | (1,100,000) | 2,400,000 |
| Cash flow hedges, before tax | 4,000,000 | 2,600,000 | (6,700,000) |
| Cash flow hedges, tax | (1,000,000) | (600,000) | 1,600,000 |
| Cash flow hedges, net of tax | 3,000,000 | 2,000,000 | (5,100,000) |
| Other comprehensive income (loss), before tax | 13,400,000 | 2,400,000 | (4,900,000) |
| Other comprehensive income (loss), tax | (300,000) | (300,000) | 900,000 |
| Other comprehensive income (loss) | $ 13,100,000 | $ 2,100,000 | $ (4,000,000) |
| X | ||||||||||
- Definition Amount before tax, after reclassification adjustments of other comprehensive income (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after tax and reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness, attributable to parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, before tax and after reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness, attributable to parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) for reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before tax, after reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit), after reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount after tax and reclassification adjustments of other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before tax, after reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after reclassification adjustment, of tax (expense) benefit for (increase) decrease in accumulated other comprehensive income of defined benefit plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Components of other comprehensive income (loss). No definition available.
|
| X | ||||||||||
- Definition Other comprehensive income loss net investment hedge gain loss before tax. No definition available.
|
| X | ||||||||||
- Definition Other comprehensive income loss net investment hedge gain loss net of tax No definition available.
|
| X | ||||||||||
- Definition Other comprehensive income loss net investment hedge gain loss tax. No definition available.
|