The present invention provides a compound represented by the following formula [1] or a pharmaceutically acceptable salt thereof which has an excellent NHE3 inhibitory effect: [Formula 15] A-Y [1]whereinA represents a structure represented by the following formula [2]:whereinR11 and R12 each represent a halogen atom or the like,R2 represents C1-6 alkyl or the like,ring E represents triazole, tetrazole, pyrimidine, or the like,R31 and R32 each represent a hydrogen atom, C1-6 alkyl, C1-6 alkoxy, or the like, andW represents a single bond, the formula -NH-, the formula -O-, or the formula -CONH-, andY represents a hydrogen atom or a structure represented by the following formula [3']: