@charset "utf-8";
/*------------------------------------------------------------
	トップページ
------------------------------------------------------------*/
#main .comBox {
	width: 1100px;
}

#main rlist {
	float: left;
}

#main li:nth-child(odd),
#main li:nth-child(even) {
	margin-bottom: 100px;
	position: relative;
}

#main li:nth-child(odd) .textBox,
#main li:nth-child(even) .textBox {
	padding: 50px 40px;
	width: 500px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	box-shadow: 0 0 4px 3px rgba(0,0,0,0.05);
	box-sizing: border-box;
	background-color: #fff;
}

#main li:nth-child(odd) .textBox {
	right: 0;
}

#main li:nth-child(even) .photoBox {
	float: right;
}

#main li:nth-child(even) .textBox {
	left: 0;
}

#main li:nth-child(odd) .textBox p,
#main li:nth-child(even) .textBox p {
	margin-bottom: 8px;
	font-size: 26px;
	line-height: 1.61;
}

#main li:nth-child(odd) .textBox p span,
#main li:nth-child(even) .textBox p span {
	margin-top: 5px;
	display: block;
	font-size: 13px;
}

#main li:nth-child(odd):after,
#main li:nth-child(even):after{
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}

@media screen and (max-width: 767px) {
	#main .comBox {
		width: auto;
	}
	
	#main li:nth-child(odd),
	#main li:nth-child(even) {
		margin-bottom: 30px;
	}
	
	#main li:nth-child(odd) .photoBox {
		float: none;
	}
	
	#main li:nth-child(odd) .photoBox img,
	#main li:nth-child(even) .photoBox img {
		max-width: 100%;
	}
	
	#main li:nth-child(odd) .textBox,
	#main li:nth-child(even) .textBox {
		padding: 20px;
		width: auto;
		position: static;
		top: inherit;
		transform: none;
		-moz-transform: none;
		-ms-transform: none;
		-o-transform: none;
		-webkit-transform: none;
		box-shadow: 0 0 4px 3px rgba(0,0,0,0.05);
	}
	
	#main li:nth-child(even) .photoBox {
		float: none;
	}
	
	#main li:nth-child(even) .textBox p,
	#main li:nth-child(odd) .textBox p{
		margin-bottom: 15px;
		font-size: 14px;
		line-height: 1.5;
	}
	
	#main li:nth-child(even) .textBox p span,
	#main li:nth-child(odd) .textBox p span {
		font-size: 12px;
	}
}

/*ページネーション*/
.pagination{
   margin:40px 0 0;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   display:inline-block;
   margin-right:20px;
   padding:20px 25px;
   color:#333;
   border-radius:3px;
   box-shadow:0 3px 3px #999;
   background:#fff;
}
.pagination .current{
   padding:20px 25px;
   background:#69a4db;
   color:#fff;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#69a4db;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}
.pagination{
   margin:40px 0 0;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   display:inline-block;
   margin-right:20px;
   padding:20px 25px;
   color:#333;
   border-radius:3px;
   box-shadow:0 3px 3px #999;
   background:#fff;
}
.pagination .current{
   padding:20px 25px;
   background:#69a4db;
   color:#fff;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#69a4db;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}