DOHA - Japan pulled their Qatar World Cup campaign out of the fire with another come-from-behind win over a soccer superpower, beating Spain 2-1 on Thursday to earn a place in the round of 16.