Yes, very safe indeed. It can be quite fun when you are in your 20s, if you live in big urban centers (night life, etc.) - but it's also an impenetrable society. Not being Japanese will place barriers around you in many aspects of the society, sooner or later (even if you are fluent in the language). It's important to be aware of this.