Earthquake resistant design of structure