v3.26.3
Lease - Summary of Supplemental Cash Flow Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
Disclosure Of Supplemental Cash Flow Information Of The Leases [Line Items]    
Cash payments for the operating leases $ 327,309 $ 281,410
Right-of-use assets obtained in exchange for the new operating lease liabilities $ 381,031 $ 423,895