1. Disconnect the negative battery cable.
2. Jack up the vehicle.
3. Remove in the order indicated in the table.


4. Install in the reverse order of removal.
5. Adjust the headlight zeroset. (See HEADLIGHT ZEROSET)
Front auto leveling sensor removal/installation
Parking light bulb removal/installationMazda 6 Service Manual: Liftgate adjustment
1. Measure the gap and height between the liftgate and the body.
2. If not as specified, loosen the liftgate hinge installation bolts or the
liftgate striker installation screws, and reposition the liftgate.
Clearance
a: 3.0-7.0 mm {0.12-0.28 in}
b: -1.0-3.4 mm {-0.04-013 in}
c: 2.8-5.2 mm ...
Mazda 6 Service Manual: Locking, Unlocking the Doors
NOTE
The system may not operate if you are too close to the windows or door
handles.
If the key is left in the following areas and you leave the vehicle,
the doors may be locked depending on the radio wave conditions even if the key
is left in the vehicle.
Around the dashboard
...