/* CSS Document */
body{
	 margin: 0;
	font-family:Meiryo, "Hiragino Kaku Gothic ProN";
  	-webkit-text-size-adjust: 100%;
	background-color: #e6e6e6;
}
a:hover{
	color: #ff9900;
}
img{
	max-width: 100%;
	height: auto;
}

.forPC{
	display: block;
}
.forSP{
	display: none;
}

.bg-orange{
	background-color: #ff9900;
}
.bg-blue{
	background-color: #6066ac;
}
.text-color{
	color: #3c3c3c;
}
.color-orange{
	color: #ff9900;
}
.color-purple{
	color: #481048;
}
.active{
	background-color: #ff9900!important;
}

.contents-main-wrap{
	margin-left: 260px;
	padding: 12px;
	padding-right: 0;
}
.contents-main{
	margin: 12px;
	margin-left: 0;
}
.search-hit-count{
	text-align: center;
	font-size: 1.2em;
}

/***** 形式選択 *****/
.book-types{
	margin-left: 0.8em;
	display: flex;
	flex-wrap: wrap;
	width: 94%;
	margin: 0 auto;
	padding-bottom: 0.25em;
}
.book-types>span{
	background-color: #f0f0f0;
	padding: 0.6em 2em;
	margin-right: 4px;
	border-radius: 18px 0 0 0;
}
.type-checkbox{
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	border-radius: 0 18px 0 0;
	flex-wrap: wrap;
	flex: 1;
	padding-left: 1em;
}
.book-types label{
	margin: 0.2em;
	border: 1px solid #bebebe;
	width: 120px;
	text-align: center;
	padding: 0.1em 0;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
.book-types .btn-outline-secondary:hover{
	background-color: #ff9900 !important;
	border-color: #ff9900 !important;
}
.book-types .btn-check:checked + .btn-outline-secondary{
	background-color: #ff9900 !important;
	border-color: #ff9900 !important;
}
/***** ジャンルの絞り込み *****/
.book-genre{
	margin-left: 0.8em;
	display: flex;
	flex-wrap: wrap;
	width: 94%;
	margin: 0 auto;
	padding-bottom: 1em;
}
.book-genre>span{
	background-color: #f0f0f0;
	padding: 0.6em 1em;
	margin-right: 4px;
	border-radius: 18px 0 0 18px;
}
.genre-checkbox{
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	border-radius: 0 18px 18px 0;
	flex-wrap: wrap;
	flex: 1;
	padding-left: 1em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
.book-genre label{
	margin: 0.2em;
	border: 1px solid #bebebe;
	min-width: 120px;
	text-align: center;
	padding: 0.1em;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
.book-genre .btn-outline-secondary:hover{
	background-color: #ff9900 !important;
	border-color: #ff9900 !important;
}
.book-genre .btn-check:checked + .btn-outline-secondary{
	background-color: #ff9900 !important;
	border-color: #ff9900 !important;
}
/***** 検索結果 *****/
.search-result-list{
	padding: 0;
	width: 93%;
	margin: 0 auto;
	border-top: solid 1px #bebebe;
}
.search-result-item{
	display: flex;
	border-bottom: solid 1px #bebebe;
	padding: 0.4em 0;
}
.item-left{
	display: flex;
	align-items: center;
}
.item-right{
	display: flex;
	width: 100%;
}
/* 本表示 */
.item-img{
	width: 80px;
	height: 80px;
	background-color: #e6e6e6;
	display: block;
	margin: auto;
	position: relative;
}
.item-img img{
	max-width: 100%;
	height: auto;
	max-height: 80px;
	vertical-align: bottom;
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}
/* 本名前・著者など */
.item-data{
	flex: 76%;
	padding-left: 1em;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
.item-data p{
	margin:0;
	color: #3c3c3c;
}
.item-data a{
	text-decoration: none;
}
.item-data a p:hover{
	color: #FF9900;
}
.data-book-title{
	font-size: 1.25em;
	line-height: 1.1;
}
.data-book-subtitle{
	font-size: 0.9em;
	line-height: 1.2;
	padding: .25em 0;
}
.data-book-author{
	font-size: 0.9em;
	line-height: 1.2;
}
/* 本形式情報 */
.item-type{
	display: flex;
	align-items: center;
	width: auto;
}
.item-type .container .row{
	justify-content: flex-end;
}
.item-type .container .row .col{
	border: solid 1px #d2d2d2;
	color: #bebebe;
	text-align: center;
	font-size: .875rem;
	padding: 0.3em;
}
.type-preview{
	width: 16%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 1px;
}
.type-preview.isCheck{
	background-color: #b24444;
	color: #fff !important;
}
.type-check{
	width: 84%;
}
.type-check div{
	width: 49.7%;
}
.type-check div:nth-child(1),
.type-check div:nth-child(2){
	margin-bottom: 1px;
}
.type-check div:nth-child(1),
.type-check div:nth-child(3){
	margin-right: 1px;
}
.type-check div.isCheck{
	background-color: #6066ac;
	color: #fff !important;
}
/* ページネーション */
.pagination-wrap{
	display: flex;
	justify-content: center;
}
.pagination-wrap ul{
	margin:2em 0;
}
.pagination-wrap ul li .page-link{
	color: #3c3c3c;
	border-color: #bebebe;
}
.pagination-wrap .page-link:hover{
	color: #3c3c3c;
	background-color: #FF9900;
}
.pagination-wrap .page-link.active{
	background-color: #FF9900;
}

@media screen and (max-width: 960px){
	.forPC{
		display: none !important;
	}
	.forSP{
		display: block;
	}
}

@media screen and (max-width: 640px){
	.forPC{
		display: none !important;
	}
	.forSP{
		display: block;
	}
	.contents-main-wrap{
		margin-bottom: 12px;
	}
	/***** 形式絞り込み *****/
	.book-types{
		display: block;
	}
	.book-types>span{
		border-radius: 18px 18px 0 0;
		justify-content: center;
		margin-right: 0;
	}
	.type-checkbox{
		border-radius: 0 0 18px 18px;
		padding: 0.5em 1em;
		margin-top: 0.2em;
		justify-content: space-between;
		align-items: stretch;
	}
	.book-types label{ width: 47.5%; }
	/***** ジャンル絞り込み *****/
	.book-genre{
		display: block;
	}
	.book-genre>span{
		border-radius: 18px 18px 0 0;
		justify-content: center;
		margin-right: 0;
	}
	.genre-checkbox{
		border-radius: 0 0 18px 18px;
		padding: 0.5em 1em;
		margin-top: 0.2em;
		align-items: stretch;
	}
	.book-genre label{
		min-width: unset;
		width: 47.5%;
	}
	/***** 検索結果 *****/
	.item-right{
		flex-direction: column;
	}
	.item-img{
		width: 90px;
		height: 90px;
	}
	.item-img img{
		max-height: 90px;
	}
	.data-book-title{
		font-size: 1.1em;
	}
	.data-book-author{
		font-size: 0.8em;
	}
	.item-type .container .row .col{
		font-size: 0.6em;
	}
	.type-check{
		width: 87%;
	}
}