Why did you pick Kobe? Hiroshima/Miyajima is a more common destination and well worth it. On the other hand, Kobe is a little off the typical tourist itinerary so it would be something different.
One day in Himeji should be plenty. In fact, I'd probably make it a day trip if you've got a rail pass.