話が脇道にそれてしまいましたが、本題に戻りましょう。
We've gotten sidetracked, so let's get back to the main topic.
先生の授業はよく脇道にそれるが、それが面白い。
The teacher's lessons often go off on tangents, but that's what makes them interesting.
若い頃は少し脇道にそれたこともあった。
When I was young, I strayed from the straight and narrow for a while.