There is a vending machine in front of the pharmacy.
The post office is on the opposite side of the street from the pharmacy.
ーMy school is across from the hospital.
「私の学校は病院の向かい側にある。」
*通常 across を使う時は、道路などを横切った向かい側のことを言います。
ーThere is a vending machine in front of the pharmacy.
「薬局の前に自動販売機があります。」
*in front of「〜の前に」 は通常目の前(近く)にあることを言うので、あまり距離が離れていません。
ーThe post office is on the opposite side of the street.
「郵便局は道の反対側にあります。」
*opposite は「反対側の・向こう側の」という意味で、正反対であることに焦点が置かれています。
ご参考まで!