For 10 points, name this sort of structure that in Japan, as in Europe, had barbicans, moats, and ramparts.
Three members of the Nichiren sect were executed for losing a religious debate held in one of these places to representatives of the Pure Land sect. Several buildings of this type were decorated with gold screens painted by Kanō Eitoku. A Dutch warship shelled a shabby structure of this type named Hara during the Shimabara rebellion. Two of these buildings are the namesake of the AzuchiÂ–Momoyama period. One of these buildings was (*) attacked in the Winter and Summer Campaigns during a siege that ended with it being burned down by Tokugawa Ieyasu. That example of this sort of structure was built by the Toyotomi clan in Ōsaka. For 10 points, name this sort of structure that in Japan, as in Europe, had barbicans, moats, and ramparts.
Three members of the Nichiren sect were executed for losing a religious debate held in one of these places to representatives of the Pure Land sect.
Japanese castles [or shiro; prompt on synonyms or related answers]