Aligning door

The post that the door latches to has a captured nut in the quarter panel and play in the system to adjust. since the door is aligned top to bottom, mark the post and the quarter so you don't let it drift up or down when adjusting. Loosen (do not remove) the post with the requisite star bit and then move it toward the inside of the car so that the door closes where you want it in the back and then check the front edge to be sure you didn't throw it out of alignment there...

I'm assuming that the door sticks out at the top and bottom in the back. If it just sticks out at the bottom then the door hinge at the bottom of the door IN THE DOOR, not the body frame, need to be loosened and the bottom of the door moved in.

In both cases don't over loosen things, so that you have to exert pressure to move the post or door, get it too loose and it will be even more difficult to get in the right place. Move, check, move, check. One thing to watch for is getting the door too close to the front fender and peeling the paint off the edge when making your checks.