Once a quiet fishing village, Yokohama became Japan’s primary port after the country opened to foreign trade in the 19th century, acting as a gateway to the Western world and prospering as a result.