Horyuji is, in a sense, a showcase of buddhist art and was registered on Unesco's World Heritage List in 1993. It has experienced several times of repairs, and the last one has finished in 1985. The five-storied pagoda has been standing through many earth quakes over 1300 years.
The secret of the ability to resist earthquake is in its structure. This ancient wooden structure employs flexible structure for absorbing the shock of earthquake. This idea has been used in modern high-rise buildings and it is very typical of Japanese culture, I think.