1. A non-transitory computer-readable recording medium having stored therein a program that causes a computer to execute a process comprising: receiving a question containing a character string; extracting a keyword for specifying a question object and a keyword for specifying a question type from the character string contained in the question; determining a display mode of an output of a response to the received question in accordance with the keyword for specifying the question type; and outputting a search result based on the keyword for specifying the question object, in the display mode of the output.