Translation guide
The country Spain is referred to as スペイン in Japanese. This is a straightforward proper noun with no special grammatical considerations.
Referring to the nation of Spain in general contexts.
The standard Japanese name for Spain, used in all contexts.
スペインに行ったことがありますか。
Have you ever been to Spain?
スペイン料理が大好きです。
I love Spanish food.