v3.25.2
Derivative Instruments and Hedging Activities - Pre-tax Effects of Derivative Instruments on Consolidated Statements of Income (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Derivative [Line Items]      
Amount of (loss) gain recognized in other comprehensive income $ (5,490) $ 20,197 $ 39,002
Amount of gain reclassified from accumulated other comprehensive income to interest expense 189,533 186,274 117,859
Interest rate contracts | Reclassification out of Accumulated Other Comprehensive Income | Accumulated Gain (Loss), Cash Flow Hedge, Including Noncontrolling Interest      
Derivative [Line Items]      
Amount of gain reclassified from accumulated other comprehensive income to interest expense 26,470 37,186 20,393
Amount of loss reclassified from accumulated other comprehensive income to interest income (57) $ (248) $ 0
Interest Expense      
Derivative [Line Items]      
Amount of (loss) gain recognized in other comprehensive income $ 26,500