7.8-magnitude earthquake hits off the coast of Japan