JavaScriptを利用したコンポーネント:折り畳み

複数の要素の表示と非表示とを切り替える

ID「content-01」、クラス「contents」
ID「content-02」、クラス「contents」