v3.26.1
Equity - Schedule of Changes in Accumulated Other Comprehensive Loss in Shareholders' Equity by Component (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]      
Beginning balance $ 13,691 $ 12,081 $ 10,338
Reclassified from accumulated other comprehensive loss:      
Other comprehensive income (loss), net of tax 80 555 (145)
Ending balance 15,413 13,691 12,081
AOCI Attributable to Parent      
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]      
Beginning balance (883) (1,438) (1,293)
Reclassified from accumulated other comprehensive loss:      
Other comprehensive income (loss), net of tax 80 555 (145)
Ending balance (803) (883) (1,438)
Foreign Currency Translation Adjustment and Other      
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]      
Beginning balance (717) (1,130) (962)
Other comprehensive income (loss) before reclassifications (81) 418 (153)
Income tax 5 (5) (15)
Other comprehensive income (loss), net of tax (76) 413 (168)
Reclassified from accumulated other comprehensive loss:      
Ending balance (793) (717) (1,130)
Retirement Benefit Plans      
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]      
Beginning balance (166) (308) (331)
Other comprehensive income (loss) before reclassifications 190 163 23
Income tax (45) (34) (6)
Reclassified from accumulated other comprehensive loss:      
Amortization of net actuarial loss and other 15 18 8
Tax benefit (4) (5) (2)
Other comprehensive income (loss), net of tax 156 142 23
Ending balance $ (10) $ (166) $ (308)