Composition that hardens with visible light and use thereof