[Problem] To provide: a medicinal composition for treating an AXL-related cancer; in another embodiment, a medicinal composition for treating a cancer with high expression of AXL; and, in still another embodiment, a medicinal composition for treating a cancer that has acquired resistance through activation of AXL against anticancer agent therapy. [Solution] As the results of an examination on compounds having AXL inhibitory effect, the present inventors confirmed that specific diamino heterocyclic carboxamide compounds have AXL inhibitory effect and medicinal compositions comprising such a compound as an active ingredient have therapeutic effect on an AXL-related cancer, on a cancer with high expression of AXL in another embodiment, and on a cancer that has acquired resistance through activation of AXL against anticancer agent therapy in still another embodiment, thereby completing the present invention.