To obtain a foam having excellent hardness, dimensional stability, thermal moldability, and mechanical strength the foam being suitable for the midsole, inner sole, or outer sole of a shoe. Provided is a foam that has a specific gravity of 0.1-0.98 g/cc and is obtained by crosslinking a foaming composition containing: (a) a block copolymer containing 65-95 mass% of a vinyl aromatic hydrocarbon and 5-35 mass% of a conjugated diene, the block ratio of the vinyl aromatic hydrocarbon polymer being 40-98 mass%, the storage modulus (E) at 30 DEG C in dynamic viscoelastic measurement being 3 108 to 2.35 109 Pa, and one or more peak temperatures existing in the range of 85 to 125 DEG C for the tand function of a dynamic viscoelastic measurement (b) isoprene rubber and/or diene rubber (c) a filler and (d) a blowing agent the mass ratio of component (a)/component (b) being 1-30/70-99, and the content of components (c) and (d) being 1-100 mass parts and 0.1-30 mass parts, respectively, relative to a total of 100 mass parts of components (a) and (b).