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