Retirement-Related Benefit Plans' Impact on Income Before Income Taxes (Detail) - Pension Benefits - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
May 31, 2024 |
May 31, 2023 |
May 31, 2022 |
|
| U.S. Plans | |||
| Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items] | |||
| Service cost | $ 43,652 | $ 43,558 | $ 47,655 |
| Interest cost | 35,967 | 28,692 | 15,366 |
| Expected return on plan assets | (42,072) | (38,144) | (41,544) |
| Prior service cost (credit) | 2 | 1 | 5 |
| Net actuarial losses recognized | 16,822 | 17,948 | 16,900 |
| Curtailment/settlement (gains) losses | (3) | 16 | |
| Net Pension Cost | 54,371 | 52,052 | 38,398 |
| Non-U.S. Plans | |||
| Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items] | |||
| Service cost | 3,534 | 3,633 | 5,023 |
| Interest cost | 7,667 | 6,619 | 4,948 |
| Expected return on plan assets | (9,588) | (6,581) | (7,691) |
| Prior service cost (credit) | (127) | (116) | (139) |
| Net actuarial losses recognized | 833 | 473 | 465 |
| Curtailment/settlement (gains) losses | (50) | 188 | 7 |
| Net Pension Cost | $ 2,269 | $ 4,216 | $ 2,613 |
| X | ||||||||||
- Definition Amount of gain (loss) recognized in net periodic benefit (cost) credit of defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of prior service cost (credit) recognized in net periodic benefit cost (credit) of defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of expected return (loss) recognized in net periodic benefit (cost) credit, calculated based on expected long-term rate of return and market-related value of plan assets of defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of cost recognized for passage of time related to defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of net periodic benefit cost (credit) for defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of gain (loss) recognized in net periodic benefit (cost) credit from settlement and curtailment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of cost for actuarial present value of benefits attributed to service rendered by employee for defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|