/* メールフォーム（お問い合わせ・オープンスクール予約）と CMS 系ページのフォーム部品
   footer.css の汎用リセット（input / select に appearance:none; border:0）が
   ラジオ・チェックボックス・セレクトの見た目を消してしまうため、フォーム領域だけ標準の見た目に戻す。
   ※ footer.css より後に読み込むこと */

#mform input[type="radio"],
#mform input[type="checkbox"] {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    width: auto;
    height: auto;
    border: initial;
    vertical-align: middle;
}

#mform input[type="radio"] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
}

#mform input[type="checkbox"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
}

/* ラベル内に並べる選択肢（<label class="my-2 mr-4"><input>文字</label>）のときの余白 */
#mform label > input[type="radio"],
#mform label > input[type="checkbox"] {
    margin-right: 0.35rem;
}

/* セレクトボックスの矢印を表示する */
#mform select.form-control {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: auto;
    height: calc(1.5em + 0.75rem + 2px);
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
