TOKYO - An earthquake with a magnitude of 7.1 hit southwestern Japan on Thursday and tsunami advisories were issued for the Pacific coast extending to the western part of the country, sparking concerns that a megaquake may occur in the near future.