Japanese words of Portuguese origin
I think it's safe to assume that the Portuguese "pão" (bread) was pronounced much closer to "pan" around the time they made contact with Japan, and that's what stuck in Japan while the Portuguese pronunciation kept evolving. I find it strange otherwise that the Japanese word is closer in pronunciation to the Spanish "pan", or even the French "pain", than the modern day Portuguese word.