A circuit board that requires electromagnetic shielding is enclosed in a cavity formed between a metal case and a base substrate. A ground plane, which is electrically conductive, is embedded in each of the base substrate and the circuit board. The metal case is electrically connected to the ground planes in both the base substrate and the circuit board.