
/*----------------------------------------------------------
 画像ファイルドラッグ＆ドロップアップロード用    
----------------------------------------------------------*/

.inputFileArea {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
}

.dropArea {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  padding: 100px 0 0;
  border: 2px dashed #494949;
  background: rgba(22, 165, 191, 0);
  transition: all 0.25s cubic-bezier(0.21, 0.51, 0.51, 1);
}

.dropArea.dragover {
  border: 2px solid #16a5bf;
  background: rgba(22, 165, 191, 0.6);
}

.uploadFile {
  position: absolute;
  top: 0;
  left: 0; 
  z-index: 10;
  display: block;
  width: 300px;
  height: 80px;
  opacity: 0;
}

.inputFileWrap {
  position: relative;
  display: inline-block;
}

.btnInputFile,
.btnChangeFile {
  display: table;
  width: 300px;
}

.btnChangeFile {
  display: none;
}


.btnInputFile span,
.btnChangeFile span {
  position: relative;
  z-index: 2;
  display: table-cell;
  width: 300px;
  height: 80px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #333;
  text-decoration: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: bold;
  vertical-align: middle;
}

.upFileWrap.selected .btnInputFile {
  display: none;
}

.upFileWrap.selected .btnChangeFile {
  display: table;
}
/*----------------------------------------------------------
 動画ファイルドラッグ＆ドロップアップロード用    
----------------------------------------------------------*/

#inputMovieFileArea {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
}

#dropMovieArea {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  padding: 100px 0 0;
  border: 2px dashed #494949;
  background: rgba(22, 165, 191, 0);
  transition: all 0.25s cubic-bezier(0.21, 0.51, 0.51, 1);
}

#dropMovieArea.dragover {
  border: 2px solid #16a5bf;
  background: rgba(22, 165, 191, 0.6);
}

#uploadMovieFile {
  position: absolute;
  top: 0;
  left: 0; 
  z-index: 10;
  display: block;
  width: 300px;
  height: 80px;
  opacity: 0;
}

#inputMovieFileWrap {
  position: relative;
  display: inline-block;
}

#btnInputMovieFile,
#btnChangeMovieFile {
  display: table;
  width: 300px;
}

#btnChangeMovieFile {
  display: none;
}


#btnInputMovieFile span,
#btnChangeMovieFile span {
  position: relative;
  z-index: 2;
  display: table-cell;
  width: 300px;
  height: 80px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #333;
  text-decoration: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: bold;
  vertical-align: middle;
}

#upMovieFileWrap.selected #btnInputFile {
  display: none;
}

#upMovieFileWrap.selected #btnChangeFile {
  display: table;
}
