Employee Retirement Plans - Additional Information (Detail) - USD ($) |
12 Months Ended | |||
---|---|---|---|---|
May 31, 2025 |
May 31, 2024 |
May 31, 2023 |
Aug. 31, 2022 |
|
Defined Benefit Plan Disclosure [Line Items] | ||||
Defined contribution retirement plans | $ 9,289,000 | $ 9,678,000 | $ 9,644,000 | |
Remaining projected benefit obligation, plan assets or net unfunded liability | 0 | 0 | ||
Gerstenslager Company | ||||
Defined Benefit Plan Disclosure [Line Items] | ||||
Defined benefit plan, funded percentage | 31.00% | |||
Defined benefit plan, benefit obligation, non-cash settlement charge | $ 8,010,000 | $ 4,774,000 | ||
Net periodic benefit costs | $ 0 |
X | ||||||||||
- Definition Amount of payment, which decreases benefit obligation of defined benefit plan, for irrevocable action relieving primary responsibility for benefit obligation and eliminating risk for obligation and assets used to effect settlement. Transaction constituting settlement includes, but is not limited to, making lump-sum cash payment to participant in exchange for their rights to receive specified benefits and purchasing nonparticipating annuity contract. Excludes decreases to benefit obligation for remeasurement due to settlement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
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 | ||||||||||
- Definition Percentage of plan assets to benefit obligation of defined benefit plan. No definition available.
|
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 projected benefit obligation for defined benefit pension plan with projected benefit obligation in excess of plan assets. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
X | ||||||||||
- Definition Amount of cost for defined contribution plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Details
|