Inverse magnetic catalysis for the chiral transition induced by thermo-magnetic effects on the coupling constant