7.7-magnitude quake hits off Japan, advisory issued for coastal areas