Japan is on the Median Tectonic Line (MTL) which makes it seismically active throughout the year. The country has a significant history of the earthquakes.
In 1981, Building Standards Law included new amendments for making the building design safe for earthquakes. It was introduced due to the 1978 earthquake devastation.
If we see today, Japan has improved so much in technology that there are new inventions every other day.
With the awareness and initiatives of government and people of Japan, the country has now most earthquake-safe housing and other buildings with the latest technological advancements.
Collapsible ratio of buildings in Japan is less than in other countries of the same or less seismological category.
You will also be fascinated with how the Japanese are now using technology not only in the super-structure (structure above the earth) of the building but also the sub-structure which includes the foundation part. You'd also like to note that many buildings have replaced the traditional rigid foundations with technologies like base isolation, dampers, and others. They make the buildings almost earthquake-proof.
Japanese have a strict Building Code of Conduct which must be followed by everyone while constructing either your home or any commercial building.
Let's take an example of “Tokyo Skytree”, which is the second largest building in the word.
It used oil dampers and tuned mass dampers which eliminate the risk of getting the tower damaged by a high magnitude earthquake. Similarly, the high rise apartment buildings in Tokyo used the technologies to save their people and material from the damage.
If you want to find out what kind of technologies or code of conduct government uses, you can check them online. You can also check a paper by Shunsuke Otani of Chiba University, Japan.
Are you thinking of renting or buying an apartment in Japan or Tokyo but concerned about many untimely earthquakes?
If you are, finding an apartment which is built after 1982 or 1983 maybe can make a piece of mind.