u may have either intertrigo
or fungal infection
as antifungal is not effective ,high chance of intertrigo is there.
u need to apply clotrimazole
powder in morning and combination cream at night
it occur due to friction ,heat and perspiration over that area.
keep it dry and clean
wear loose and cotton cloths
better to consult dermatologist