The present invention provides an effector memory T cell inducer or MHC class I inducer that is to be used in combination with an immune checkpoint inhibitor, includes a TLR7 agonist, and is for treating or preventing cancer. The present invention also provides a cancer treatment agent or prevention agent that is to be used in combination with an immune checkpoint inhibitor and includes a TLR7 agonist.