just before
その記者は新聞が印刷される直前に記事を送った。
The reporter sent the article just before the newspaper went to press.
直前に何があったのか?
What happened just before that?
— 帰ってきたヒトラー (2015)
私が家を出る直前に、小雨が降り始めた。
It started drizzling just before I left the house.
直前にベビーシッターを呼んだけどそれが遅れて-二人で通りを横断した時
I had just called a babysitter, but they were late—when the two of us crossed the street.
— 落下の解剖学 (2023)