My knowledge on japanese mythology isn't that good but i think the idea came from Tanuki (The raccoon dog) being good friends with Kitsune (The fox) I'm not sure of this but Pon and Con and Panji and Kanji appear to be based of of it however i'm only guessing so it may not be how it is