AA 2491 then CI 5141 at O'Hare
Miami → Chicago → Osaka
Timetable, Chicago time
07:47AA 2491 from Miami at the gate
05:40CI 5141 to Osaka leaves the gate
21 h 53 apart on the timetable, overnight
CI 5141 leaves 21 h 53 after AA 2491 arrives on the timetable: more than half a day, so not a connection we count.