Earthquake-proof construction