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