XML 113 R86.htm IDEA: XBRL DOCUMENT
v3.25.2

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. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(10) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanBenefitObligationPaymentForSettlement
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of plan assets to benefit obligation of defined benefit plan. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanFundedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of net periodic benefit cost (credit) for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-18 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-6 + Details
Name: | us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of projected benefit obligation for defined benefit pension plan with projected benefit obligation in excess of plan assets. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-3 + Details
Name: | us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=wor_GerstenslagerCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |