A 23-year-old JR Hokkaido worker was caught using his smartphone while driving a limited express train, the railway company says.