@charset "UTF-8";
.contract,
.necessary,
.cost,
.payment{
	margin-bottom: 80px;
}
.lightblue_box{
	padding: 38px 0;
	background: #CCEDFF;
}
.lightblue_box ol{
	width: 80%;
}
.lightblue_box + .lightblue_box{
	margin-top: 20px;
}

.cost ol{
	display: inline-flex; 
}
.cost ol li{
	width: 7em;
	padding-left: 1em;
	margin-right: 1em;
	margin-bottom: 40px;
	line-height: 1;
}
.cost ol li:before{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 1em;
	height: 1em;
	margin: auto;
}
.cost ol li:nth-child(3){
	width: 15em;
}
.cost p{
	font-size: 1.6rem;
	line-height: 1.8;
}
.cost p.mb2em{
	margin-bottom: 2em;
}
.cost table{
	margin-top: 34px;
	border: 1px solid #333;
}
.cost table thead th{
	padding: 10px;
	font-size: 1.6rem;
	color: #FFF;
	background: #00A5FF;
	border-bottom: 1px solid #333;
}
.cost table tbody td{
	padding: 10px;
	font-size: 1.6rem;
	border-bottom: 1px solid #333;
}
.cost table tbody td:nth-child(2){
	width: 12em;
}
.cost table tbody td:last-child{
	width: 12em;
	text-align: right;
}
.cost table tr.red{
	background: rgba(220, 70, 70, 0.1);
}

.payment table tbody td,
.change table tbody td{
	padding: 20px;
	font-size: 1.6rem;
	line-height: 1.8;
	border: 1px solid #333;
}
.change ol li{
	font-weight: normal;
	padding-left: 1.2em;
}
.change ol li:first-child:before{
	background: url(../img/contract/icon_number01_02.png) no-repeat center center;
	-webkit-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
.change ol li:nth-child(2):before{
	background: url(../img/contract/icon_number02_02.png) no-repeat center center;
	-webkit-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
.change ol li:nth-child(3):before{
	background: url(../img/contract/icon_number03_02.png) no-repeat center center;
	-webkit-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
.change a{
	color: #0064FF;
}

ol li{
	position: relative;
	padding-left: 1.5em;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.8;
	letter-spacing: -1px;
}
ol li span{
	font-weight: normal;
}
ol li:before{
	position: absolute;
	top: 0.5em;
	left: 0;
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.2em;
	font-size: 1.4rem;
	color: #CCEDFF;
	line-height: 1.3;
	text-align: center;
	vertical-align: middle;
	text-indent: 0;
	-webkit-border-radius: 50%;
	        border-radius: 50%;
}
ol li:first-child:before{
	background: url(../img/contract/icon_number01.png) no-repeat center center;
	-webkit-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
ol li:nth-child(2):before{
	background: url(../img/contract/icon_number02.png) no-repeat center center;
	-webkit-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
ol li:nth-child(3):before{
	background: url(../img/contract/icon_number03.png) no-repeat center center;
	-webkit-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
ol li:nth-child(4):before{
	background: url(../img/contract/icon_number04.png) no-repeat center center;
	-webkit-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}

table{
	width: 100%;
	border-collapse: collapse;
}
table tbody th{
	width: 265px;
	padding: 10px;
	font-size: 1.8rem;
	font-weight: bold;
	vertical-align: middle;
	border: 1px solid #333;
	background: #CCEDFF;
}
table tbody td{
	padding: 10px;
	font-size: 1.6rem;
	line-height: 1.8;
}
table tbody td span.red{
	color: #F00;
}

@media screen and (max-width: 760px){
	.contract,
	.necessary,
	.cost,
	.payment{
		margin-bottom: 5%;
	}
	.contract h2{
		width: 265px;
		margin: 0 auto 2%;
	}
	.lightblue_box{
		width: 95%;
		margin: auto;
		padding: 4%;
	}
	.lightblue_box .wrap{
		display: block;
		width: 100%;
	}
	.lightblue_box p{
		width: 207px;
		margin: 0 auto 2%;
	}
	.lightblue_box ol{
		width: 100%;
	}
	.lightblue_box + .lightblue_box{
		margin-top: 2%;
	}

	.cost ol{
		-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	    margin-bottom: 3%;
	}
	.cost ol li{
		margin-bottom: 0;
		line-height: 1.8;
	}
	.cost ol li:before{
		font-size: 1.2rem;
	}
	.cost p{
		font-size: 1.4rem;
	}
	.cost table{
		margin-top: 3%;
	}
	.cost table thead th{
		padding: 2%;
		font-size: 1.4rem;
		line-height: 1.8;
	}
	.cost table tbody td{
		padding: 2%;
		font-size: 1rem;;
	}
	.cost table tbody td:nth-child(2){
		width: 12em;
	}
	.cost table tbody td:last-child{
		width: 10em;
	}

	.payment table tbody td,
	.change table tbody td{
		display: block;
		padding: 2%;
		font-size: 1.4rem;
		border: none;
		border-left: 1px solid #333;
		border-right: 1px solid #333;
		border-bottom: 1px solid #333;
	}
	.change ol li{
		font-weight: normal;
	}
	.cost ol li:before{
		top: 0.5em;
		bottom: inherit;
	}

	ol li{
		font-size: 1.4rem;
	}
	ol li:before{
		padding: 0 0.3% 0.5%;
		font-size: 1.2rem;
	}
	table tbody th{
		display: block;
		width: 100%;
		padding: 4%;
		font-size: 1.4rem;
		border: none;
		border-top: 1px solid #333;
		border-left: 1px solid #333;
		border-right: 1px solid #333;
	}
	table tbody tr + tr th{
		border-top: none;
	}
	table tbody td{
		padding: 4%;
		font-size: 1.4rem;
		border-top: none;
	}
	table tbody td a.ilb{
		display: inline-block;
	}
}