@charset "utf-8";

main section {
	border: 2px solid #555;
	margin: 20px 20px;
	background: #fff;
	margin-bottom: 50px;
	padding: 45px 45px;
}

main section h4 {
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 10px;
}

main section h5 {
	font-size: 1.25rem;
	font-weight: 900;
	margin-bottom: 20px;
}

main section p+p {
	margin-top: 20px;
}

/*olには数字をつける*/
section ol {
	counter-reset: list;
}

section ol li{
	position: relative;
	padding: 2px 5px 2px 30px;
	margin: 2px 0 2px 0;
}

section ol li:before{
	counter-increment: list;
	content: counter(list);
	position: absolute;
	left: 0px;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	color: #fff;
	background: #555;
	border-radius: 50%;
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/*dtには丸をつける*/
section ul {
	margin: 10px 0;
}

section ul li{
	margin-top: 20px;
	position: relative;
	padding: 2px 5px 2px 25px;
	margin: 2px 0 2px 0;
}

section ul li:before{
	content: "";
	position: absolute;
	left: 0px;
	width: 15px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	color: #fff;
	background: #555;
	border-radius: 50%;
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/*dtには数字をつける*/
section dl {
	counter-reset: list;
}

section dl dt {
	position: relative;
	padding: 2px 5px 2px 30px;
	margin: 20px 0 2px 0;
}

section dl dt:before{
	counter-increment: list;
	content: counter(list);
	position: absolute;
	left: 0px;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	color: #fff;
	background: #555;
	border-radius: 50%;
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

section dl dd:last-child {
	margin-bottom: 20px;
}

/*-----SP版の設定-------*/

@media screen and (max-width: 767px){

	
	section {
		box-sizing: border-box;
		width: 100%;
		padding: 30px 15px;
	}
	
	main section {
		margin: 0;
		margin-bottom: 40px;
		padding: 30px 15px;
	}

}
