1. A non-transitory recording medium storing an extraction program that causes a computer to execute a process, the process comprising: from captured images obtained by capturing a sports game having a match style of attack toward a goal provided in territory of an opposing team, identifying a portion of captured images in which the captured images change over time toward a direction of one or other goal; and extracting a scene in which one or other team is attacking based on the portion of the captured images.