*,
*:before,
*:after{
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
	    -ms-box-sizing:border-box;
	        box-sizing:border-box;
	outline:none;
	transition-duration:.1s;
}

body{
	margin:auto;
	background-color:#fff;
	color:#000;
	font-family:'Roboto Condensed', sans-serif;
	font-size:16px;
	-webkit-text-size-adjust:100%;
	        text-size-adjust:100%;
}
a{
	color:#d22;
	text-decoration:none;
}
a:hover{
	text-decoration:none;
}
img{
	border:none;
}
h1,h2,h3,h4,h5,h6{
	margin:0;
	padding:0;
	font-size:100%;
	letter-spacing:-.03em;
}
p{
	margin:0;
	padding:0;
}
ul,
ol,
dl{
	margin:0;
	padding:0;
	list-style-type:none;
}
select,
input{
	background:#fff;
	height:32px;
	line-height:32px;
}
.w100p{
	max-width:960px;
	margin:auto;
}
.ctxt{
	text-align:center;
}
.clear:after{
	content:"";
	display:block;
	clear:both;
}
.material-icons{
	vertical-align:middle;
}

.btn-nb{
	background:transparent;
	border:none;
	color:#222;
	cursor:pointer;
}
@keyframes spin{
	  0%{transform:rotate(0deg);}
	100%{transform:rotate(360deg);}
}
@-webkit-keyframes spin{
	  0%{-webkit-transform:rotate(0deg);}
	100%{-webkit-transform:rotate(360deg);}
}
.loading{
	display:block;
	width: 4em;
	height:4em;
	margin:5em auto;
	border:.4em solid;
	border-color:#ddd #eee #eee;
	border-radius:2em;
	-webkit-animation:spin linear 2s infinite;
	animation:spin linear 2s infinite;
}


#sidebar{
	position:absolute;
	top:0;
	left:0;
	min-height:100%;
	background:#eee;
}
header{
	width:100%;
	text-align:center;
}
header>p{
	display:none;
}
#logo{
	display:block;
	width:240px;
	height:76px;
}
#logo img{
	margin-top:27px;
	width:210px;
	height:23px;
}

#sidebar nav{
	width:100%;
	padding:5px 0 0;
	font-size:14px;
}
#frm{
	min-width:210px;
	margin:auto;
}
#frm th{
	padding-right:4px;
	text-align:left;
}
#frm input{
	width:3.5em;
	height:32px;
	padding-left:4px;
	margin:2px;
	color:#d22;
	border:none;
	font-size:15px;
	font-weight:700;
}
#frm input:focus{
	border-color:#d22;
}
#sbmt{
	display:block;
	position:relative;
	margin:20px auto 10px;
	width:87.5%;
	max-width:400px;
	height:48px;
	border:none;
	background:#d22;
	color:#fff;
	cursor:pointer;
	font-size:18px;
	font-weight:400;
}
#sbmt:hover{
	background:#f22;
}
#sbmt .material-icons{
	position:absolute;
	top:8px;
	right:0;
	font-size:32px;
}
#frm input#q{
	width:9em;
	height:32px;
	font-size:14px;
}
#example{
	padding:40px 15px 10px;
	line-height:2;
	font-size:14px;
}
#example h1{
	font-weight:400;
}




#main{
	margin-left:250px;
}
#main nav{
	padding:18px 10px;
	font-size:14px;
	line-height:40px;
}
#main nav>div{
	display:inline-block;
	margin:0 20px 0 5px;
	vertical-align:top;
}

.condition{
	display:none;
}
#main nav>div.count{
	width:6em;
	font-size:125%;
	text-align:right;
}
#main nav>div.count strong{
	font-family:Roboto;
	font-size:150%;
	font-weight:400;
}
#sort{
	height:40px;
	background:#eee;
	color:#000;
	border:none;
}
.view-sw li{
	display:inline-block;
}
.view-sw button{
	height:40px;
	opacity:.5;
}
.view-sw button:hover,
.view-sw button.slct{
	opacity:1;
}
.view-sw button.slct{
	cursor:default;
}

.paging,
.paging li,
.paging a{
	display:inline-block;
	vertical-align:top;
}
.paging li{
	padding:0;
	font-size:20px;
}
.paging a{
	display:inline-block;
	min-width:28px;
	padding:0 4px;
	margin-right:1px;
	color:#000;
	line-height:40px;
	text-align:center;
	opacity:.4;
	letter-spacing:-.04em;
}
.paging a:hover,
.paging li.cur a{
	opacity:1;
}
.paging li.cur a{
	font-weight:700;
	cursor:default;
}
/* .paging li.firstpage:after,
.paging li.lastpage:before{
	content:"..";
	margin:0 4px;
} */
.paging li.prevpage .material-icons,
.paging li.nextpage .material-icons{
	margin-top:-4px;
	font-size:36px;
	vertical-align:middle;
}




main{
	display:block;
}
main>h1{
	display:none;
}
#tbl{
	margin:0 10px;
	border-collapse:collapse;
	color:#333;
	line-height:1;
	white-space:nowrap;
}
#tbl th,
#tbl td{
	padding:0 4px;
}
#tbl th{
	text-align:left;
}
#tbl thead,
#tbl tfoot{
	background:#fff;
	color:#000;
}
#tbl thead th,
#tbl tfoot th{
	font-size:65%;
	font-weight:400;
	line-height:32px;
}
#tbl tbody td{
	height:48px;
	background:#fff;
	border:1px solid #eee;
	font-size:16px;
	border-width:1px 0;
}
#tbl tbody td h2{
	white-space:nowrap;
	font-weight:700;
}
#tbl tbody td h2 rt{
	font-size:63%;
}
#tbl tbody td.image{
	padding:0;
}
#tbl tbody td.image img{
	display:block;
	height:48px;
}
#tbl tbody td.birthday,
#tbl tbody td.blood_type,
#tbl tbody td.prefectures,
#tbl tbody td.hobby{
	max-width:15em;
	font-size:75%;
	line-height:1.2;
}
#tbl tbody td.hobby{
	white-space:normal;
}
#tbl tbody td.outlink a{
	display:block;
	padding:0 0 0 .5em;
	border:1px solid #d22;
	color:#d22;
	font-size:12px;
	line-height:30px;
}
#tbl tbody td.outlink a:hover{
	text-decoration:none;
	background:#d22;
	color:#fff;
}
#tbl tbody td.outlink .material-icons{
	margin-top:-2px;
	margin-right:-2px;
}


#tbl.card,
#tbl.card tbody,
#tbl.card tr,
#tbl.card td{
	display:block;
	height:auto;
}
#tbl.card{
	max-width:3840px;
}
#tbl.card tr{
	float:left;
	position:relative;
	width:320px;
	height:125px;
	margin:8px;
	padding-left:125px;
	overflow:hidden;
	background:#fff;
}
#tbl.card tbody td{
	float:left;
	height:22px;
	padding:0;
	font-size:14px;
	border:none;
}
#tbl.card tbody td.ec{/*ecクラスは空欄でない<td>に付与*/
	padding-left:10px;
}
#tbl.card tbody td.name{
	height:38px;
	margin-top:12px;
	font-size:16px;
}
#tbl.card tbody td.prefectures{
	font-size:13px;
}
#tbl.card thead,
#tbl.card tfoot,
#tbl.card tbody td.birthday,
#tbl.card tbody td.hobby{
	display:none;
}
#tbl.card tbody td.age,
#tbl.card tbody td.bust,
#tbl.card tbody td.blood_type{
	clear:left;
}
#tbl.card tbody td.image{
	position:absolute;
	top:0;
	left:0;
}
#tbl.card tbody td.image img{
	height:125px;
}
#tbl.card tbody td.outlink{
	position:absolute;
	top:0;
	left:0;
	padding:0;
	width:100%;
	height:100%;
	background:transparent;
}
#tbl.card tbody td.outlink a{
	position:absolute;
	top:0;
	left:0;
	padding:90px 0 0;
	width:100%;
	height:100%;
	background:transparent;
	color:transparent;
	border-color:transparent;
	text-align:right;
	line-height:1;
	opacity:.6;
}
#tbl.card tbody td.outlink a .material-icons{
	margin-right:-4px;
	font-size:32px;
}
.mes{
	padding:4em 0;
	font-size:150%;
	line-height:1.5;
	opacity:.6;
}





footer{
	padding:40px 15px;
	color:#999;
	font-size:13px;
	line-height:2;
}
footer a{
	color:#999;
}

@media screen and (min-width: 961px){
	#sidebar{
		width:240px;
	}
	.loading{
		margin-left:5em;
	}
	#tbl.card tbody td.outlink a:hover{
		color:#d22;
		border-color:#d22;
		background:rgba(255,0,0,.04);
	}
	.frmtoggle{
		display:none;
	}
}
@media screen and (min-width: 961px) and (min-height: 640px){
	#sidebar{
		position:fixed;
	}
}
@media screen and (max-width: 960px) and (min-width: 500px){
	#frm tr{
		display: inline-block;
		margin: 5px 0 5px 20px;
	}
}
@media screen and (max-width: 960px){
	body{
		width:100%;
		min-width:320px;
		overflow-x:hidden;
		font-size:100%;
	}
	#sidebar,
	#main{
		position:static;
		float:none;
		width:100%;
		margin:auto;
		padding-bottom:5px;
	}
	#logo{
		height:56px;
	}
	#logo img{
		margin-top:17px;
	}
	#sidebar nav{
		display:none;
		margin-top:0;
	}
	body.frmshow #sidebar nav{
		display:block;
	}
	#sbmt .material-icons{
		display:none;
	}


	#main nav{
		height:auto;
		padding:0;
		background:#eee;
	}
	#main nav>div{
		height:40px;
		margin:0;
		overflow:hidden;
	}
	.condition.show{
		display:block;
		width:100%;
		padding:10px 0;
		line-height:20px;
	}
	.condition li{
		display:inline-block;
		padding:0 5px 0 15px;
		color:#369;
		font-size:14px;
	}
	#main nav>div.count{
		width:auto;
		margin:4px 0 4px 15px;
		font-size:100%;
	}
	#main nav>div.sortw{
		float:right;
		margin:4px;
	}
	#sort{
		height:40px;
	}
	#main nav .paging{
		display:table;
		clear:both;
		margin:auto;
	}
	#main nav .paging a{
		line-height:48px;
	}
	#main nav .paging>li{
		display:table-cell;
	}
	
	.frmtoggle{
		float:right;
		display:block;
		width: 56px;
		height:56px;
		background:transparent;
		color:#d22;
		border:none;
		font-size:12px;
		line-height:1;
	}
	.frmtoggle .material-icons{
		display:block;
		font-size:30px;
		line-height:1;
	}
	#frmclose{
		display:none;
	}
	body.frmshow #frmclose{
		display:block;
	}
	body.frmshow #frmopen{
		display:none;
	}
	#example{
		display:none;
		font-size:14px;
		line-height:32px;
	}
	#example li{
		display:inline-block;
		margin-right:30px;
	}

	main{
		margin:auto;
	}
	#tbl{
		margin:0;
		width:100%;
	}
	#tbl.card tr{
		width:33.33%;
		height:101px;
		margin:0;
		border-width:1px 0 0;
		border-style:solid;
		border-color:#eee;
		padding-left:100px;
	}
	#tbl.card tbody td{
		height:19px;
		font-size:13px;
	}
	#tbl.card tbody td.image img{
		height:100px;
	}
	#tbl.card tbody td.name{
		height:32px;
		margin-top:6px;
		font-size:15px;
	}

	footer{
		text-align:center;
	}
}
@media screen and (max-width: 959px){
	#main nav>div.view{
		display:none;
	}
}
@media screen and (max-width: 749px){
	#tbl.card tr{
		width:50%;
	}
}
@media screen and (max-width: 499px){
	#tbl.card tr{
		width:100%;
	}
}
