The countermeasures against coastal hazards in Japan