Heirin-ji Temple makes most sense as a short place of worship while you are already near Takarazuka. Keep the visit quiet and respectful.