The restoring force depends on the displacement. It is a function of the position of the mass only.
The amplitude is the maximum displacement from the zero value during one period of cycle.
If we use amplitude instead of displacement it will only give the restoring force for the maximum
displacement of the body from equilibrium position.
Therefore, restoring force does not depend on amplitude instead by being on displacement
Regards.