This is a weird take. Historically Japan has overinvested in rural infrastructure, because the ruling LDP's support base is rural, rural votes carry disproportionate weight, and when there's nothing going on economically construction is the best way to funnel money in.
In addition, Japan is exceptionally well prepared for disasters, probably better than any other country in the world. Those plans are regularly battle tested because it also has a lot of disasters. Yes, it took a while to get aid out, but that's because the tsunami wiped all coastal roads, railroads, airports etc, and AFAIK hunger was not an actual problem for survivors.
I'm not an expert, so I defer anyone who can present information contrary to my statements. That said, it would seem that "well-prepared" and "the tsunami wiped out all links" are contradictory. IIRC, many buildings and pieces of infrastructure were not up to anti-earthquake/fire/tsunami regulations due in part to their age. A quick check turns up an NHK article claiming that Ishikawa Prefecture's disaster preparedness plans were deemed insufficient by experts. https://web.archive.org/web/20240201140804/https://www3.nhk....
Additionally, I recall several documentaries and news reports that referenced the difficulty of delivering aid, including food, and the lack of preparedness for the extended period of dislocation.
In any case, I think it would actually be scarier to find that the conditions present after the recent earthquake were to be found in a country considered well-prepared for such disasters. Combined with the collective experience following Hurricanes Katrina and Sandy, we as Americans might be, for lack of a better term, f*cked.
Japan is incredibly mountainous, of course the transport links are near the coasts because that's the flat part where people actually live. There are sea walls etc built to guard coastal towns, but the size of the tsunami overwhelmed them and at that point you're screwed.
And yes, many buildings are out of code, because Japanese earthquake standards are continually strengthened and virtually anything built more than 20 years ago will not meet the newest set. This is also a big reason why the Japanese prefer to buy new houses.
Of course the disaster could have been handled better, and eg the design of the Fukushima nuclear reactors was particularly bad, but (IMHO) they still did a better job this time than with the Kobe earthquake, where the Yakuza had to step in to help because the government was caught flat-footed by a disaster happening in the "wrong" place.
In addition, Japan is exceptionally well prepared for disasters, probably better than any other country in the world. Those plans are regularly battle tested because it also has a lot of disasters. Yes, it took a while to get aid out, but that's because the tsunami wiped all coastal roads, railroads, airports etc, and AFAIK hunger was not an actual problem for survivors.