方違 かたたが
katata gai

Noun

1. setting off the night before one normally would have departed, travelling in a different direction, spending the night there, and leaving for one's destination in the morning (done to avoid travelling in an unlucky direction; a common practice during the Heian period)

Archaic
Related to 方塞がり