An earthquake registering a preliminary magnitude of 7.1 has shaken Kumamoto on Japan’s southern main island of Kyushu.