とお
tōrigake

Noun

1. passing (along the way)

とうりがけに本屋 ほんやによった。
tōrigakeni hon'yani yotta.
I entered the bookstore on the way.