/*=================================================
 * CSS for PC
 * ================================================= */

/** ALL **/
body{	background: #fff;}
header{	height: 120px; margin-bottom: 0;}
.pan{
	position: relative;
	margin-top: -24px;
	z-index: 1;
}


/** result **/

#result{
	padding: 80px 0;
}
.count_num{
	font-size: 25px;
	line-height: 38px;
	text-align: center;
	margin: 0 0 20px 0;
}
.count_num em{
	display: inline-block;
	vertical-align: baseline;
	width: 110px;
	font-size: 38px;
	color: #ff3e90;
	text-align: right;
}
#sel{
	width: 500px;
	margin: 0 auto 80px auto;
	padding: 10px 10px;
	border-radius: 5px;
	-webkit-background-size: 3px 3px;
	-moz-background-size: 3px 3px;
	background-size: 3px 3px;
	background-color: #ffffff;
	background-image: -webkit-gradient(linear, 0 0, 100% 100%,
		    color-stop(.25, #dcdcdc), color-stop(.25, transparent),
		    color-stop(.5, transparent), color-stop(.5, #dcdcdc),
		    color-stop(.75, #dcdcdc), color-stop(.75, transparent),
		    to(transparent));
	background-image: -webkit-linear-gradient(-45deg, #dcdcdc 25%, transparent 25%,
		  transparent 50%, #dcdcdc 50%, #dcdcdc 75%,
		  transparent 75%, transparent);
	background-image: -moz-linear-gradient(-45deg, #dcdcdc 25%, transparent 25%,
		  transparent 50%, #dcdcdc 50%, #dcdcdc 75%,
		  transparent 75%, transparent);
	background-image: -ms-linear-gradient(-45deg, #dcdcdc 25%, transparent 25%,
		  transparent 50%, #dcdcdc 50%, #dcdcdc 75%,
		  transparent 75%, transparent);
	background-image: -o-linear-gradient(-45deg, #dcdcdc 25%, transparent 25%,
		  transparent 50%, #dcdcdc 50%, #dcdcdc 75%,
		  transparent 75%, transparent);
	background-image: linear-gradient(-45deg, #dcdcdc 25%, transparent 25%,
		  transparent 50%, #dcdcdc 50%, #dcdcdc 75%,
		  transparent 75%, transparent);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#sel div{
	position: relative;
	display: inline-block;
	vertical-align: top;
	padding: 0 0 0 46px;
}
#sel div:before{
	content: "";
	width: 46px;
	height: 46px;
	position: absolute;
	top: 0;
	left: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-radius: 3px 0 0 3px;
	background: url(./img/select_l.png) center center no-repeat #fff;
	-webkit-background-size: 30px auto;
	background-size: 30px auto;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#sel select{
	width: 320px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 16px;
	line-height: 24px;
	border: 1px solid #ccc;
	border-radius: 0 3px 3px 0;
	padding			: 10px 45px 10px 10px;
	font-family		: Meiryo,"MS PGothic",Osaka,sans-serif;
	background: url(./img/select.png) right 50% no-repeat;
	-webkit-background-size: 45px 90px;
	background-size: 45px 90px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}


.toptxt{
	font-size: 18px;
	line-height: 25px;
	padding: 0 0 30px 0;
}

#select{
	display: table;
	width: 1000px;
	font-size: 0;
	line-height: 0;
	background: #ff3e90;
	margin: 0 auto 80px auto;
	border-radius: 40px;
}

#select div,
#select p{
	display: table-cell;
	vertical-align: middle;
	height: 80px;
}

#select div:nth-of-type(1){
	width: 270px;
	font-family: "Rounded Mplus 1c";
	font-size: 27px;
	line-height: 40px;
	color: #fff;
	text-align: center;
}

#select div:nth-of-type(2){
	width: 530px;
	text-align: left;
}

#select div:nth-of-type(2) select{
	width: 520px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 18px;
	line-height: 24px;
	border			: 1px solid #ccc;
	border-radius	: 3px;
	-moz-border-radius	: 3px;
	-webkit-border-radius	: 3px;
	padding			: 10px;
	font-family		: Meiryo,"MS PGothic",Osaka,sans-serif;
	background: url(./img/select.png) right 50% no-repeat;
	-webkit-background-size: 45px 90px;
	background-size: 45px 90px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#select p{}

#select p span{
	position: relative;
	z-index: 1;
	display: inline-block;
}

#select p input{
	display: inline-block;
	vertical-align: top;
	width: 170px;
	font-size: 20px;
	font-weight: normal;
	text-align: center;
	line-height: 41px;
	color: #fff;
	border: 2px solid #fff;
	background: none;
	border-radius: 5px;
	text-transform: uppercase;
	-webkit-transition	: 0.3s ease-in-out;
	-moz-transition	: 0.3s ease-in-out;
	-o-transition	: 0.3s ease-in-out;
	transition		: 0.3s ease-in-out;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#select p input:hover{
	text-decoration: none;
	color: #ff3e90;
}

#select p span:before,
#select p span:after {
	content: '';
	background: #fff;
	border-radius: 5px;
	position: absolute;
	z-index: -1;
	-webkit-transition	: 0.3s ease-in-out;
	-moz-transition	: 0.3s ease-in-out;
	-o-transition	: 0.3s ease-in-out;
	transition		: 0.3s ease-in-out;
}

#select p span:after{
	height: 0;
	left: 50%;
	top: 50%;
	width: 0;
}

#select p span:hover:after{
	height: 100%;
	left: 0;
	top: 0;
	width: 100%;
}


/** list **/

#list{
	font-size: 0;
	line-height: 0;
	text-align: center;
}

#list li{
	position: relative;
	display: inline-block;
	height: 245px;
	vertical-align: top;
	margin: 0 25px;
}

#list li:after{
	content: '';
	width: calc(100% - 80px);
	height: 0;
	box-shadow:0px 0px 20px 1px rgba(0, 0, 0, 0.8);
	border-radius: 50%;
	position: absolute;
	top: 195px;
	left: 40px;
	z-index: 1px
}

#list li a{
	display: inline-block;
	vertical-align: top;
	-webkit-transition	: 0.3s ease-in-out;
	-moz-transition	: 0.3s ease-in-out;
	-o-transition	: 0.3s ease-in-out;
	transition		: 0.3s ease-in-out;
}
#list li a:hover{
	margin-top: 15px;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

#list li img{
	width: 300px;
	height: auto;
}


/** next **/

#next{
	font-size: 0;
	line-height: 0;
	text-align: center;
	padding: 20px 0 0 0;
}

#next p a,
#next p span{
	display: inline-block;
	vertical-align: top;
	width: 44px;
	font-size: 18px;
	line-height: 44px;
	margin: 0 5px;
	border-width: 1px;
	border-style: solid;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#next p a{
	color: #333;
	border-color: #ccc;
}

#next p span{
	font-weight: normal;
	color: #fff;
	background: #ff3e90;
	border-color: #ff3e90;
}
#next p a:hover{
	text-decoration: none;
	border-color: #ff3e90;
}


/** 201116 **/

.list{
	width: 1175px;
	font-size: 0;
	line-height: 0;
	margin: 0 auto;
}

.list .item{
	width: calc(100% / 4 - 10px);
	margin: 0 5px 10px 5px;
}
.list .item img{
	width: 100%;
	height: auto;
}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px) {

	.pan{ margin-top: 0px;}

	/** ALL **/
	body::before,
	body::after{	display: none;}
	header,header.fixed{	height: 0;}
	main{	padding: 78px 0 0 0;}

	/** result **/
	#result{	padding: 20px 0;}
	.count_num{
		font-size: 14px;
		line-height: 26px;
		text-align: center;
		margin: 0 0 10px 0;
	}
	.count_num em{
		width: 75px;
		font-size: 26px;
	}
	#sel{
		display: inline-block;
		width: auto;
		margin: 0 15px 20px 15px;
		padding: 10px 10px;
	}
	#sel select{
		width: 100%;
		max-width: 290px;
	}





	.toptxt{
		font-size: 13px;
		line-height: 20px;
		text-align: left;
		padding: 0 10px 10px 10px;
	}
	#select{
		display: block;
		width: auto;
		margin: 0 10px 20px 10px;
		border-radius: 5px;
	}
	#select div,
	#select p{
		display: block;
		height: auto;
	}
	#select div:nth-of-type(1){
		width: auto;
		font-size: 24px;
		line-height: 50px;
	}
	#select div:nth-of-type(2){
		width: auto;
		text-align: center;
		padding: 0 10px;
	}
	#select div:nth-of-type(2) select{
		width: 100%;
		font-size: 14px;
		line-height: 20px;
		padding	: 9px;
		background: url(./img/select.png) right 50% no-repeat;
		-webkit-background-size: 40px auto;
		background-size: 40px auto;
	}
	#select p{
		padding: 10px 0;
	}
	#select p input{
		width: 170px;
		font-size: 18px;
		line-height: 36px;
	}
	
	#select p input:hover{
		text-decoration: none;
		color: #ffffff;
		background: none;
	}
	
	#select p span:before,
	#select p span:after {
		display: none;
	}


	/** list **/
	#list{
		font-size: 0;
		line-height: 0;
		text-align: center;
		padding: 0 5px;
	}
	#list li{
		position: relative;
		display: inline-block;
		width: calc(100% / 2 - 10px);
		height: auto;
		vertical-align: top;
		margin: 0 5px 40px 5px;
	}
	#list li:after{
		content: '';
		width: calc(100% - 60px);
		box-shadow:0px 0px 15px 1px rgba(0, 0, 0, 0.5);
		position: absolute;
		top: auto;
		bottom: -15px;
		left: 30px;
	}
	#list li img{
		width: 100%;
		height: auto;
	}
	#list li a:hover{	margin: 0;}

	/** next **/
	#next{	padding: 10px 0 0 0;}
	#next p a,
	#next p span{
		width: 38px;
		font-size: 18px;
		line-height: 38px;
		margin: 2px;
	}


	/** 201116 **/
	.list{
		width: auto;
		font-size: 0;
		line-height: 0;
		margin: 0 2.5px;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.list .item{
		width: calc(100% / 2 - 5px);
		margin: 0 2.5px 5px 2.5px;
	}
	.list .item img{
		width: 100%;
		height: auto;
	}
}
