Japan's Sara Takanashi kept her hopes of retaining her FIS Ski Jumping World Cup title alive after winning the ladies' event in Ljubno, Slovenia.