The present invention provides a 1,4-disubstituted imidazole derivative of formula (1') wherein ring Q 1 is optionally-substituted C 6-10 aryl group, etc.; R 1 and R 2 are independently hydrogen atom, etc.; W 1 is optionally-substituted C 1-4 alkylene group; W 2 is -NR 3a C(O)- wherein R 3a is hydrogen atom or C 1-6 alkyl group, etc.; ring Q 2 is 5- to 10-membered heteroaryl group, etc.; W 3 is optionally-substituted C 1-4 alkylene group, etc.; n is 1, 2, 3, 4, or 5; R 4 is independently halogen atom, optionally-substituted C 1-6 alkyl group, etc.; R 5 is hydroxy group, etc.; and a pharmacologically acceptable salt thereof, which have a potent inhibitory effect on the sphere-forming capacity of cancer cells and are useful as an orally-available anti-tumor agent.