v3.26.1
Revenue Recognition - Schedule of Disaggregated Revenue (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Disaggregation of Revenue [Line Items]      
Revenue $ 11,264,761 $ 10,340,181 $ 9,596,615
Uniform Rental and Facility Services      
Disaggregation of Revenue [Line Items]      
Revenue 8,621,624 7,976,073 7,465,199
First Aid and Safety Services      
Disaggregation of Revenue [Line Items]      
Revenue 1,391,853 1,218,090 1,067,334
Fire Protection Services      
Disaggregation of Revenue [Line Items]      
Revenue 929,142 817,463 728,610
Uniform Direct Sales      
Disaggregation of Revenue [Line Items]      
Revenue $ 322,142 $ 328,555 $ 335,472
Product concentration risk | Revenue from Contract with Customer Benchmark      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 100.00% 100.00% 100.00%
Product concentration risk | Revenue from Contract with Customer Benchmark | Uniform Rental and Facility Services      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 76.50% 77.10% 77.80%
Product concentration risk | Revenue from Contract with Customer Benchmark | First Aid and Safety Services      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 12.40% 11.80% 11.10%
Product concentration risk | Revenue from Contract with Customer Benchmark | Fire Protection Services      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 8.20% 7.90% 7.60%
Product concentration risk | Revenue from Contract with Customer Benchmark | Uniform Direct Sales      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 2.90% 3.20% 3.50%