Japan 's foreign minister is in Afghanistan on an unannounced visit to meet with President Hamid Karzai and Foreign Minister Rangin Dadfar Spanta .