<div class="form-group row">
            <label class="col-sm-2 col-form-label" for="image">写真</label>
            <div class="col-sm-10">
              <input type="file" class="form-control-file" id="image" name="image" accept="image/*" />
              <img id="imagePreview" src="#" alt="画像のプレビュー" style="display: none; max-width: 100%; max-height: 200px; margin-top: 10px;" />
              <div id="fileSizeError" class="alert alert-danger" style="display: none; margin-top: 10px;">
                ファイルサイズが100MBを超えています。別のファイルを選択してください。
              </div>
            </div>
          </div>