7.1-magnitude earthquake hits Japan