v3.25.2
Summary of Significant Accounting Policies - Additional Information (Detail)
3 Months Ended 9 Months Ended 12 Months Ended
Jan. 20, 2023
USD ($)
Aug. 31, 2023
USD ($)
Feb. 28, 2023
Feb. 28, 2023
USD ($)
May 31, 2025
USD ($)
Entity
ReportingUnit
Segment
May 31, 2024
USD ($)
Entity
Segment
May 31, 2023
USD ($)
Significant Of Accounting Policies [Line Items]              
Percentage of controlled subsidiary's earnings           100.00%  
Number of business acquisition | Entity         6 2  
Number of reportable segments | Segment         4 4  
Net transactional foreign exchange losses gains         $ (200,000) $ (6,600,000) $ (8,900,000)
Depreciation         146,300,000 129,800,000 108,400,000
Bad debt expense         16,411,000 18,375,000 13,557,000
Divestiture of businesses $ 49,200,000            
Gain on divestiture             24,700,000
Impairment loss of goodwill on annual impairment test           0 0
Goodwill         1,617,626,000 1,308,911,000 1,293,588,000
Goodwill impairments       $ 36,700,000 11,352,000 0 36,745,000
Advertising cost         57,000,000 64,700,000 62,000,000
Research and development cost         $ 94,700,000 92,200,000 86,600,000
Supplier financing program, termination notice         30 days    
Supplier finance program, obligation         $ 38,987,000 32,899,000  
Supplier Finance Program, Obligation, Statement of Financial Position [Extensible Enumeration]         Accounts Payable, Current    
ASU 2023-07              
Significant Of Accounting Policies [Line Items]              
Change in accounting principle, accounting standards update, adopted [true false]         true    
Change in accounting principle, accounting standards update, immaterial effect [true false]         true    
Change in accounting principle, accounting standards update, adoption date         May 31, 2025    
ASU 2022-04              
Significant Of Accounting Policies [Line Items]              
Change in accounting principle, accounting standards update, adopted [true false]         true    
Change in accounting principle, accounting standards update, immaterial effect [true false]         true    
Change in accounting principle, accounting standards update, adoption date         Jun. 01, 2023    
CPG Segment              
Significant Of Accounting Policies [Line Items]              
Goodwill         $ 484,955,000 451,467,000 450,555,000
SPG Segments              
Significant Of Accounting Policies [Line Items]              
Number of new reporting units | ReportingUnit         2    
Goodwill         $ 140,919,000 150,650,000 150,074,000
Goodwill impairments         11,352,000    
PCG Segment              
Significant Of Accounting Policies [Line Items]              
Goodwill         223,673,000 173,816,000 161,732,000
Consumer Segment              
Significant Of Accounting Policies [Line Items]              
Goodwill         $ 768,079,000 532,978,000 531,227,000
Consumer Segment | Ready Seal Inc.              
Significant Of Accounting Policies [Line Items]              
Net sales           $ 45,000,000  
Other Restructuring Costs | Trade names | PCG Segment              
Significant Of Accounting Policies [Line Items]              
Impairment charge of indefinite lived intangible assets   $ 3,300,000          
Impairment, Intangible Asset, Indefinite-Lived (Excluding Goodwill), Statement of Income or Comprehensive Income [Extensible Enumeration]   Restructuring charges          
Universal Sealants              
Significant Of Accounting Policies [Line Items]              
Goodwill             1,100,000
Goodwill impairments             36,700,000
Universal Sealants | PCG Segment              
Significant Of Accounting Policies [Line Items]              
Percentage of annual revenue     30.00%        
Universal Sealants | Trade names              
Significant Of Accounting Policies [Line Items]              
Impairment charge of indefinite lived intangible assets       $ 2,500,000     $ 2,500,000
Impairment, Intangible Asset, Indefinite-Lived (Excluding Goodwill), Statement of Income or Comprehensive Income [Extensible Enumeration]       Restructuring charges     Restructuring charges
DayGlo and Kirker Reporting Units | SPG Segments              
Significant Of Accounting Policies [Line Items]              
Number of reporting units | ReportingUnit         1    
The Industrial Coatings Group Reporting Unit | SPG Segments              
Significant Of Accounting Policies [Line Items]              
Number of reporting units | ReportingUnit         1    
Color Group Reporting Unit              
Significant Of Accounting Policies [Line Items]              
Goodwill         $ 0    
Color Group Reporting Unit | SPG Segments              
Significant Of Accounting Policies [Line Items]              
Goodwill impairments         $ 11,400,000