v3.25.2
Stock-Based Compensation - Assumptions To Value Stock Options (Detail) - Non-Qualified Stock Options
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Dividend yield 1.34% 2.34% 2.33%
Expected volatility 36.90% 42.62% 41.63%
Risk-free interest rate 3.97% 4.04% 3.19%
Expected life (years) 6 years 6 years 6 years