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