[contenteditable=true] {
	font-size: calc(calc(calc(100/1300)*10)*1vw);
	outline: none;
}

.modal {
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

.modal canvas{
	cursor:auto;
}

.modal__bg {
	background: rgba(0, 0, 0, 0.8);
	height: 100vh;
	position: absolute;
	width: 100%;
}

.modal__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #fff;
	left: 50%;
	padding: 40px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 70%;
	max-height: 100vh;
	overflow-y: scroll;
	overflow-x: hidden;
}

.modal__content label{
	font-size: calc(calc(calc(100/1300)*15)*1vw);	
	margin-right: 0.5%;
}

.modal__content select{
	margin-right: 2%;
	font-size: calc(calc(calc(100/1300)*15)*1vw);	
}

.modal__content .flex__item{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal__content canvas, svg {
	width: 100% !important;
	margin-left: 0%!important;
}

.modal__close__wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    right: -50px;
    top: -80px;
	transform: translateX(70px);
	color: #fff;
}

.modal__close, .outputImage__btn{
	margin: 0 auto;
	text-align: center;
	font-size: calc(calc(calc(100/1300)*13)*1vw);	
	color: #fff;
	padding: 1.2% 0%;
	border-radius: 0.3vw;
	transition: all .3s;
	letter-spacing: 0.2em;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal__close{
	color: #fff;
	font-size: 60px;	
}

.outputImage__btn i{
	font-size: 130%;
	margin-right: 3%;
}

.modal__close:hover, .outputImage__btn:hover{
	opacity: .8;
}

#modalImage .modal__close__wrap{
	margin-top: 1%;
	margin-bottom: 1%;
}

.modal_attention{
	margin-top: 1%;
	font-size: calc(calc(calc(100/1300)*14)*1vw);	
}

/* 画像アップロード, 画像化ボタンエリア */
.upload__area{
	margin: 1.5% 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.upload__box{
	display: flex;
	flex-direction: column;
	margin: 0% 1.5%;
	margin-bottom: auto;
	width: 100%;
}

.upload__box p{
	font-size: calc(calc(calc(100/1300)*11)*1vw);
	margin-bottom: 3%;
}

.upload__box label{
	display: inline-block;
	text-align: center;
	background: rgb(209, 106, 38);
	/* background: #fff; */
	color: #fff;
	border-radius: 0.3vw;
	cursor: pointer;
	padding: 4% 0%;
	width: 70%;
	margin: 0 auto;
	transition: all .2s;
	font-weight: bold;
}

.upload__box label i{
	font-size: 120%;
	margin-right: 2.5%;;
}

.upload__box label:hover{
	opacity: .8;
}

.upload__box.abs{
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.upload__box.abs.right_top{
	width: auto;
	top: 0%;
	left: auto;
	right: 0%;
	transform: translate(0px,0px);
}

.uploadImage{
	opacity: 0;
	display: none;
}

.bottom__menu{
	flex-direction: column;
}

.file__information{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 2%;
}

.cancel__wrap{
	width: 10%;
	margin-left: auto;
}

.cancel__wrap input[type="image"]{
	width: 100%;
}

.cancel{
	display: none;
	font-size: calc(calc(calc(100/1300)*20)*1vw);
	cursor: pointer;
	background-color: transparent;
	color: #fff;
	background: transparent;
}

.cancel:hover{
	opacity: .8;
}

.imgName{
	display: none;
}

/* アップロードした画像 */
.uploaded__img{
	position: absolute;
	border: 1px solid;
	width: 17vw;
	height: 11vw;
	left: 50%;
	z-index: 5;
	overflow: hidden;
	text-align: center;
}

.uploaded__img img{
	height: 100%;
	width: auto;
}

.uploaded__img .r-container{
	transform: translateY(-100%);
	height: 100%;
}

.uploaded__img-1, .uploaded__img-2{
	top: 6.6%;
}

.uploaded__img-1{
	left: 26.5%;
}

.uploaded__img-2{
	left: 44.5%;
}

.uploaded__img-3, .uploaded__img-4{
	top: 1%;
	left: auto;
}

.uploaded__img-3{
	right: 20.5%;
}

.uploaded__img-4{
	right: 2.5%;
}

.border__none{
	border: none!important;
}

.item-2,
.item-3 {
	z-index: 10;
}

.uploaded__img {
	z-index: 15;
}
