The present invention relates to a compound represented by the formula (I),wherein all symbols are as defined in the description,a salt thereof, a solvate thereof, or a prodrug thereof, which has a leukotriene receptor antagonistic activity which is expected to be more effective than those of the leukotriene receptor antagonists currently used in clinical trials. Therefore, it is useful as an agent for the prevention and / or treatment of a leukotriene-mediated disease such as a respiratory diseases such as bronchial asthma, chronic obstructive pulmonary disease, pulmonary emphysema, chronic bronchitis, pneumonia (e.g. interstitial pneumonia etc.), severe acute respiratory syndrome (SARS), acute respiratory distress syndrome (ARDS), allergic rhinitis, sinusitis (e.g. acute sinusitis, chronic sinusitis, etc.), or the like, or as an expectorant or an antiitussive.