Japans geography was a concern for American military planners.
There was only a very small portion of their coastline that was suitable for military conditions. Since this was the case, the US only had a very specific spots where they could invade.
Japan knew this and were equipped and prepared to deal with any invasions by the US