Obama is a quaint coastal community today, but a visit grants a look at how it played a crucial role in stocking the pantries of Japan’s ancient capital.