Early July is often (not always) tolerable. It's getting toward the end of rainy season, but my experience (Seattle boy living in Kansai area) is that the searing summer heat doesn't really hit until about July 20. On the other hand, there's never a bad time to go to a nice onsen!