@charset "utf-8";
/* ---------------------------- */
/* CSS Document */
/* ---------------------------- */

/* Croping */
.crop-wrapper {
	position: relative;
}
.crop-wrapper > img.viewImg {
	position: absolute;
	top: 0;
	z-index: 1;
}
.crop-wrapper input[name="img"] {
	opacity: 0;
	position: relative;
	z-index: -1;
}

/* 入力フォームのレイアウト関連 */
#MainForm {
	padding-top:1px;
	display:block;
	width:100%;
	box-sizing:border-box;
}
.modal-header h4.modal-title {
	font-size: 24px;
	text-align:left;
}
.modal-body table{
	border:solid 1px #eaeaea;
	border-collapse:collapse;
	width:100%;
	box-sizing:border-box;
}

.modal-body table th,
.modal-body table td {
	border:solid 1px #eaeaea;
	padding:4px;
}
.modal-body table tr th {
	border-bottom: 1px solid #eaeaea;
	border-left: 1px solid #eaeaea;
	border-right: 1px solid #eaeaea;
	text-align: left;
	font-size: 14px;
	padding: 8px 10px;
	background: #fafafa;
	color: #6a4297;
	font-weight: 700;
	width: 220px;
}
.modal-body table tr th span.required {
	color: #FFFFFF;
	/* background-color: #d61020; */
	display: inline-block;
	padding: 2px;
	margin: 0 0 0 6px;
	float: right;
	clear: both;
}
.modal-body table tr th span.required img { width: 30px; }
.modal-body table tr td {
	border-bottom: 1px solid #eaeaea;
	border-left: 1px solid #eaeaea;
	border-right: 1px solid #eaeaea;
	padding: 12px 10px;
	text-align: left;
	font-size: 13px;
}
.modal-body table td .error {
	color: #F00;
	display: block;
	font-weight: bold;
	line-height: 1;
}
.to-mail-setting span {
	color: #6a4297;
	text-decoration: underline;
}
.modal-footer .btn{
	min-width: 105px;
	line-height:25px;
	border-radius: 0;
}
.btn.btn-default {
	border: 1px solid #6a4297;
	color: #6a4297;
	border-radius: 0;
}
.ctl-send.btn {
	border: none;
	background: #6a4297;
}
.ctl-send.btn:hover {
	color: #FFF;
}
.ctl-close.btn {
	border: 1px solid #6a4297;
	color: #6a4297;
}

.modal .to-mail-setting {
	display: block;
}

.modal-header .close {
	margin-top: -2px;
	position: absolute;
	right: 15px;
	top: 19px;
	padding: 0px;
	background-color: #FFFFFF;
	font-size: 30px;
}

.modal-dialog input[type="text"],
.modal-dialog input[type="email"],
.modal-dialog textarea {
	border: 1px solid #cccccc;
}

.close-btn-wrapper {
	text-align: center;
}

#modal-content .btn {
	display: -webkit-inline-flex;
	display: -inline-flex;
	align-items: -webkit-center;
	align-items: center;
	justify-content: -webkit-center;
	justify-content: center;
}
.not-selected-area {
	text-align: center;
	margin-bottom: 20px;
}

.cropControlRotateRight,
.cropControlRotateLeft,
.cropControlZoomMuchIn,
.cropControlZoomMuchOut {
	display: none !important;
}
#croppicModalObj {
	top: -50px;
}
#form-profile_img+p {
	padding-top: 10px;
}
.modal-content #modal-close {
	display: none;
}
.modal-content .scrollBox > dt {
	display: none;
}
@media screen and (max-width:767px) {
	.modal-body table tr th span.required img { width: 18px }
}
@media screen and (max-width:991px) {
	.modal-body table tbody,
	.modal-body table tr,
	.modal-body table tr th,
	.modal-body table tr td {
		display:block;
	}
	.modal-body table{
		border:none;
		display: block;
	}
	.modal-body table tr th,
	.modal-body table tr td {
		margin-top:-1px;
	}
	.modal-body table tr th {
		width: 100%;
	}
	.modal-footer {
		padding: 15px;
		text-align: right;
		border-top: 1px solid #e5e5e5;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
	.modal-footer .btn{
		width:100%;
		line-height:20px;
		display:inline-block;
	}

	#cropContainerModal {
		margin: 15px auto 36px;
	}
}



/* 入力フォームのinputタグ関連 */
.modal-body input,
.modal-body select,
.modal-body textarea,
.modal-body input,
.modal-body input {
	max-width:100%;
	box-sizing:border-box;
	padding:4px;
}

.modal-body select:not(:first-child),
.modal-body input:not(:first-child) {
	margin-top: 10px;
}

@media screen and (max-width:991px) {
	.modal-body input,
	.modal-body select,
	.modal-body textarea,
	.modal-body input,
	.modal-body input {
		border:solid 1px #e5e5e5;
	}

}




.row-datas {

}
.row-datas ul li {
	list-style: none;
	margin-top:-1px;
	border: solid 1px #d5d5d5;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 0 0 15px 0;
}
.row-datas  ul li table {
	width:80%;
	margin:-1px 0 -1px -1px;
}
.row-datas  ul li table tbody tr th {
	width: 230px;
}
.row-datas ul li div.row-data-btns{
	width:20%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	-o-justify-content: center;
	justify-content: center;
	-webkit-align-items:center;
	-moz-align-items: center;
	-ms-align-items: center;
	-o-align-items: center;
	align-items:center;
}

.row-datas ul li div.row-data-btns i{
	text-decoration: none;
	font-style: normal;
	line-height: 20px;
}

.row-datas.row-sort-none ul li table{
	width: 94%;
}
.row-datas.row-sort-none ul li .row-data-btns{
	width: 51px;
	min-width:51px;
}

@media screen and (max-width:991px) {
	.row-datas  ul li table {
		width:75%;
		margin:0px 0 -1px -1px;
	}
	.row-datas  ul li table tbody tr th {
		width:100%;
	}
	.row-datas ul li div.row-data-btns{
		width:25%;
		position:relative;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.row-datas .btn {
		line-height: 20px;
		padding: 8px 8px;
		height:auto;
	}
	i.row-up,
	i.row-down {
		width:40%;
	}
	i.delete-row {
		position:absolute;
		width: 40px;
		height: 40px;
		right:5px;
		top:5px;
	}
	.crop-wrapper > img.viewImg {
		left: 50%;
		-webkit-transform: translate(-50%, 0);
		-moz-transform: translate(-50%, 0);
		-ms-transform: translate(-50%, 0);
		-o-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
		backface-visibility: hidden;
		-webkit-backface-visibility: hidden;
	}
	#form-profile_img+p {
		line-height: 1.5;
		margin-top: 0;
	}


}
