The correct answer is the fourth option.
Claire lost weight thanks to the support and encouragement of her friends. Therefore the factor that helped her lose weight was her social environment. Her social environment refers to the people around her so in this case her friends. They were the main factor in her losing the weight as they gave her the support and encouragement to do so.