@charset "utf-8";

.errorMsg {
	color: #ff0000;
	font-weight: bold;
}

.usage {
	padding-bottom: 20px;
	border-bottom: 2px dashed #999999;
}

.formArea {
	margin: 0 auto;
	padding: 20px 0 0;
	max-width: 800px;
	text-align: center;
}

.formArea #uploader {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	grid-gap: 30px;
	-webkit-justify-content: center;
			justify-content: center;
	-webkit-align-content: center;
			align-content: center;
}

.formArea .htmlArea,
.formArea .imgArea {
	padding: 20px 20px 10px;
	background-color: #f8f8f8;
	border: 2px solid #dddddd;
	-webkit-border-radius: 5px;
	        border-radius: 5px;
}

.formArea .htmlArea h2,
.formArea .imgArea h2 {
	margin: 0;
	padding-bottom: 15px;
}

.formArea .imgArea #imgList {
	margin-top: 20px;
	font-size: 0.8rem;
	text-align: left;
}

.formArea .btnSubmit {
	margin: 10px 0 0;
	grid-column: 1 / 3;
	grid-row: 2 / 3;
}

.formArea .btnSubmit input {
	padding: 14px 32px;
	-webkit-border-radius: 6px;
	        border-radius: 6px;
	font-size: 1.1rem;
}

.formArea .btnSubmit input:hover {
	cursor: pointer;
}

.codeArea {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: auto auto;
	position: relative;
	border: 2px solid #3C5A99;
}

.codeArea .h2_before,
.codeArea .h2_after {
	margin: 0;
	padding: 6px 10px;
	background-color: #eeeeff;
	border: 2px solid #3c5a99;
	font-size: 1.25rem;
	text-align: center;
}

.codeArea .h2_before {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}

.codeArea .h2_after {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}

.codeArea .beforeWrap {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
	border: 2px solid #3C5A99;
}

.codeArea .afterWrap {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	border: 2px solid #3C5A99;
}

.codeArea pre {
	margin: 0;
	padding: 10px;
	overflow-x: scroll;
}

#btnDl {
	margin: 60px auto 300px;
	padding: 15px 0;
	width: 300px;
	display: block;
	border: 4px solid #ffcc00;
	border-radius: 10px;
	color: #333;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	-webkit-transition: background-color 0.3s;
	   -moz-transition: background-color 0.3s;
	    -ms-transition: background-color 0.3s;
	     -o-transition: background-color 0.3s;
	        transition: background-color 0.3s;
}

#btnDl:hover {
	background-color: #ffffbb;
}

.changed {
	background-color: #ffe300;
}

#htmltmp {
	margin: 0;
	height: 0;
	overflow: hidden;
}

/* 処理中のアニメーション */
#loading {
	box-sizing: border-box;
	padding-top: 260px;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

#loading .ball-spin-fade-loader {
	position: relative;
	top: -10px;
	left: -10px;
}

#loading .ball-spin-fade-loader > div:nth-child(1) {
	top: 25px;
	left: 0;
	-webkit-animation: ball-spin-fade-loader 1s -0.96s infinite linear;
			animation: ball-spin-fade-loader 1s -0.96s infinite linear;
}

#loading .ball-spin-fade-loader > div:nth-child(2) {
	top: 17.04545px;
	left: 17.04545px;
	-webkit-animation: ball-spin-fade-loader 1s -0.84s infinite linear;
			animation: ball-spin-fade-loader 1s -0.84s infinite linear;
}

#loading .ball-spin-fade-loader > div:nth-child(3) {
	top: 0;
	left: 25px;
	-webkit-animation: ball-spin-fade-loader 1s -0.72s infinite linear;
			animation: ball-spin-fade-loader 1s -0.72s infinite linear;
}

#loading .ball-spin-fade-loader > div:nth-child(4) {
	top: -17.04545px;
	left: 17.04545px;
	-webkit-animation: ball-spin-fade-loader 1s -0.6s infinite linear;
			animation: ball-spin-fade-loader 1s -0.6s infinite linear;
}

#loading .ball-spin-fade-loader > div:nth-child(5) {
	top: -25px;
	left: 0;
	-webkit-animation: ball-spin-fade-loader 1s -0.48s infinite linear;
			animation: ball-spin-fade-loader 1s -0.48s infinite linear;
}

#loading .ball-spin-fade-loader > div:nth-child(6) {
	top: -17.04545px;
	left: -17.04545px;
	-webkit-animation: ball-spin-fade-loader 1s -0.36s infinite linear;
			animation: ball-spin-fade-loader 1s -0.36s infinite linear;
}

#loading .ball-spin-fade-loader > div:nth-child(7) {
	top: 0;
	left: -25px;
	-webkit-animation: ball-spin-fade-loader 1s -0.24s infinite linear;
			animation: ball-spin-fade-loader 1s -0.24s infinite linear;
}

#loading .ball-spin-fade-loader > div:nth-child(8) {
	top: 17.04545px;
	left: -17.04545px;
	-webkit-animation: ball-spin-fade-loader 1s -0.12s infinite linear;
			animation: ball-spin-fade-loader 1s -0.12s infinite linear;
}

#loading .ball-spin-fade-loader > div {
	margin: 2px;
	width: 15px;
	height: 15px;
	position: absolute;
	background-color: #fff;
	border-radius: 100%;
	-webkit-animation-fill-mode: both;
			animation-fill-mode: both;
}

@-webkit-keyframes ball-spin-fade-loader {
	50% {
		opacity: 0.3;
		-webkit-transform: scale(0.4);
				transform: scale(0.4);
	}
	100% {
		opacity: 1;
		-webkit-transform: scale(1);
				transform: scale(1);
	}
}

@keyframes ball-spin-fade-loader {
	50% {
		opacity: 0.3;
		-webkit-transform: scale(0.4);
				transform: scale(0.4);
	}
	100% {
		opacity: 1;
		-webkit-transform: scale(1);
				transform: scale(1);
	}
}
