1. Take the shaded area shown in the figure, detach tab A while pulling the liftgate upper trim in the direction of the arrow (1) shown in the figure, then detach clips B, clip C and pin D while pulling in the direction of the arrow (2).

2. Take the shaded area shown in the figure, detach tab E while pulling the liftgate upper trim in the direction of the arrow (3) shown in the figure, then detach the clip F, clip G while pulling in the direction of the arrow (4).
3. Install in the reverse order of removal.
Liftgate Side Trim Removal/Installation
Meter Hood Removal/InstallationRain Sensor
Outline
The rain sensor detects the amount of rainfall and calculates the wiper operation
speed, and outputs a windshield wiper control signal to the front body control
module (FBCM) to perform automatic wiper operation (auto wiper system) according
to the amount of rainfall.
...
Seat Belt Extender
If your seat belt is not long enough, even when fully extended, a seat belt extender
may be available to you at no charge from your Authorized Mazda Dealer.
This extender will be only for you and for the particular vehicle and seat. Even
if it plugs into other seat belts, it may not hold in the ...
Camshaft Position (CMP) Sensor Removal/Installation
CAUTION:
When replacing the CMP sensor, make sure there is no foreign material on
it such as metal shavings. If it is installed with foreign material, the sensor
output signal will malfunction resulting from fluctuation in magnetic flux and
cause a deterioration in engine control.
...