At the nearest points, Okinawa is about 640 km south of the main island of Kyushu and the rest of Japan while it's only 500 km north of Taiwan.