body {
	font-size: 1.1rem;
	font-family: 'Meiryo',-apple-system,BlinkMacSystemFont,'.SFNSDisplay-Regular','Hiragino Kaku Gothic Pro','Yu Gothic','MS PGothic','Segoe UI','Verdana','Helvetica','Arial',sans-serif;
}
a{
	margin: 20px;
}

.explanation{
	margin: 20px;
	line-height: 1.3;
}
.flex{
	display: flex;
}
textarea:focus,
select:focus,
input:focus {
	border-color: #00a1f2;
	outline: none;
}

/* 範囲選択*/
#inputNumberBox{
	margin: 20px;
	border-right: dashed 1px #cccccc;
	padding-right: 40px;
}
#inputNumberBox #type1Btn{
	vertical-align: initial;
}
#inputNumberBoxStart,
#inputNumberBoxEnd{
	width: 60px;
	padding: 5px;
}
#inputNumberBoxStart{
	margin-left: 10px;
}
/* リスト選択 */
#inputNumberList{
	margin: 20px 0;
}
#numberList{
	padding: 10px;
}
#inputNumberList #type2{
	display: flex;
}
#inputNumberList #type2 input{
	height: 25px;
}
#inputNumberList #type2 span{
	line-height: 35px;
	margin-right: 10px;
}
#inputNumberList #type2 textarea#numberList{
	width: 400px;
	height: 100px;
}
/* 待ち時間 */
#sleepTime{
	margin: 20px;
}
#sleepTime #sleepTimeBox{
	width: 60px;
	padding: 5px;
	margin-right: 8px;

}
.btnArea{
	margin: 20px;
}
/* 抽選ボタン */
#ranBtn{
	width: 150px;
	height: 40px;
	padding: 5px 0;
	background: #12c74b;
	color: #ffffff;
	border: none;
	border-bottom: 5px solid #00662d;
	border-radius: 100vh;
	font-weight: bold;
	font-size: 1.0rem;
}
#ranBtn:active{
	height: 37px;
	margin-top: 3px;
	border-bottom: 2px solid #00662d;
}
/* リセットボタン */
#resetBtn{
	width: 150px;
	height: 40px;
	padding: 5px 0;
	background: #d20010;
	color: #ffffff;
	border: none;
	border-bottom: 5px solid #9f000c;
	border-radius: 100vh;
	font-weight: bold;
	margin-left: 10px;
	font-size: 1.0rem;
}
#resetBtn:active{
	height: 37px;
	margin-top: 3px;
	border-bottom: 2px solid #9f000c;
}
/* 抽選結果テーブル */
#resultArea table,
#resultArea table tr,
#resultArea table th,
#resultArea table td{
	border: solid 1px #cccccc;
	border-collapse: collapse;
	background: #ffffff;
}
/* 抽選結果 */
#resultArea table tr:nth-of-type(1) th{
	background: #bf1240;
	color: #ffffff;
}
#resultArea table tr:nth-of-type(1) td{
	background: #ffecf5;
}
#resultArea table tr:nth-of-type(2) th{
	background: #0f3980;
	color: #ffffff;
}
#resultArea table tr:nth-of-type(3) th{
	background: #59a021;
	color: #ffffff;
}
#resultArea table tr:nth-of-type(3) td{
	background: #f7f9e8;
}
#resultArea{
	margin: 20px;
}
#resultArea table th,
#resultArea table td{
	padding: 15px;
	text-align: left;
	vertical-align: middle;
}
#resultArea table td{
	/*width: 400px;*/
	min-width: 160px;
	max-width: 650px;
	line-height: 1.4;
}
#resultNumber{
	font-size: 1.3rem;
}
#resultNumber,
#oldResult{
	color: #ff0000;
	font-weight: bold;
}

/* スマホ用 */
@media screen and (max-width: 480px) {
	.flex{
		display: block;
	}
	#inputNumberBox{
		padding-bottom: 7%;
		border-right: none;
		border-bottom: dashed 1px #cccccc;
	}
	#inputNumberList #type2{
		display: inline-block;
		width: 95%;
	}
	#inputNumberList #type2{
		margin-left: 5%;
	}
	#inputNumberList #type2 textarea#numberList{
		width: 88%;
		height: 100px;
		resize: vertical;
	}
	.btnArea{
		margin: 9%;
	}
	#resultArea{
		margin: 3%;
	}
	#resultArea table{
		width: 100%;
		border: none;
	}
	#resultArea table th,
	#resultArea table td{
		display: block;
		width: 100%;
		border-bottom:none;
		padding: 0;
		min-height: 40px;
		line-height: 40px;
		text-align: center;
	}

	#resultArea table td{
		width: 96%;
		padding: 2% 2%;
	}
	#resultNumber{
		font-size: 1.4rem;
	}
}