Bronwen James, 30, became 'flirtatious' with the teenage pupil and invited him to her home for sex up to four times, jurors were told.