You asked:

how long is a flight to japan

Sorry, I don't yet have an answer to that question.