#search-wrap{
	padding: 1.4em 0.25em;
	display: flex;
}
.search-form{
	width: 77%;
	border-right: solid 1px #bebebe;
	padding-right: 2.5%;
}

/***** 検索フォーム1段目 *****/
#search-area1{
	width: 100%;
	flex-wrap: wrap;
}
.book-search-txt{
	display: flex;
	align-items: center;
}
.book-search-txt>img{
	width: 100%;
	max-width: 17px;
	max-height: 24px;
}
.book-search-txt>p{
	font-size: 1.4em;
	margin: 0.1em;
	margin-left: 0.3em;
	font-weight: bold;
}

/***** 検索フォーム2段目 *****/
#search-area2{
	width: 100%;
	flex-wrap: wrap;
	margin-top: 0.5em;
}
.search-textbox-wrap{
	position: relative;
	width: 89%;
	white-space: nowrap;
	display: flex;
	flex: 1;
}
.search-textbox{
	outline: 0;
	width: 88%;
	height: 40px;
	border: solid 2px #bebebe;
	border-right: none;
	border-radius: 6px 0 0 6px;
	background-color: #fff;
}
.search-textbox-submit{
	width: 100px;
	height: 40px;
	border: solid 2px #bebebe;
	border-left: none;
	border-radius: 0 6px 6px 0;
	background-color: #ff9900;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.search-detail-btn{
	text-align: right;
}
.search-detail-btn button{
	position: relative;
	background-color: #fff;
	border:none;
	font-size: 0.85em;
	padding: 1px 6px;
}
.search-detail-btn button:before{
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	right: -11px;
	width: 0;
	height: 0;
	margin-top: -5px;
	border: 7px solid transparent;
	border-top: 10px solid #000;
}

.search-detail-btn .detail-isOpen:before{
	border-top: none;
	border-bottom: 10px solid #000;
}

/********** 検索詳細 **********/
#search-detail-wrap label{
	display: block;
}
#search-detail-wrap>hr{
	opacity: 1;
	background-color: #bebebe;
}
/***** 詳細1段目 *****/
#detail-area1{
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
	margin-top: 0.8em;
}
.detail-bookname{
	width: 67%;
}
.detail-isbn{
	width: 32%;
}
/***** 詳細2段目 *****/
#detail-area2{
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
	margin-top: 0.8em;
}
#detail-area2>div{
	width: 32.6%;
}
/***** 詳細3段目 *****/
#detail-area3{
	margin-top: 0.8em;
}
.detail-date>p{
	margin: 0;
}
.date-wrap{
	display: flex;
	align-items: flex-end;
}
.date-wrap>input{
	width: 74px;
	padding: .375em;
	text-align: center;
}
.date-wrap>span{
	margin: 0 .3em;
}
/***** 詳細4段目 *****/
#detail-area4{
	margin-top: 0.8em;
	text-align: center;
}
.search-detail-submit{
	border:none;
	color: #fff;
	font-weight: bold;
	border-radius: 6px;
	width: 160px;
	height: 44px;
	font-size: 1.3em;
	margin-right: .2em;
}
.search-detail-reset{
	border: solid 1px #bebebe;
	border-radius: 6px;
	width: 160px;
	height: 44px;
	font-size: 1.2em;
}

/***** 出版社を探す *****/
.search-publisher{
	width: 23%;
	
	text-align: center;
}
.search-publisher a{
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
	display: inline-block;
	width: 55%;
	padding: 0.25em 0;
	margin-top: 1em;
}
@media screen and (max-width: 960px){
	.contents-main-wrap{
		padding: 0;
		padding: 74px 0 0;
		margin-left: 10px;
	}
}

@media screen and (max-width: 640px){
	
	#search-wrap{
		padding: 0.8em 0.25em;
		display: block;
	}
	.search-form{
		width: 98%;
		border-right: none;
		margin: 0 auto;
		border-bottom: solid 1px #bebebe;
		padding-right: 0;
	}
	.search-form .container{
		max-width: 640px !important;
	}
	#search-area2{
		justify-content: center;
	}
	.search-textbox-wrap{
		width: 100%;
		flex: auto;
	}
	.search-detail-btn{
		margin-top: 0.8em;
	}
	.search-detail-btn button{
		font-size: 1.1em;
	}
	#detail-area1>div,#detail-area2>div{
		width: 100%;
	}
	.date-wrap>span{
		font-size: 0.7em;
	}
	.date-wrap>input{
		width: 58px;
		font-size: 0.8em;
	}
	#detail-area4{
		margin-bottom: 0.8em;
	}
	#detail-area4 input{
		margin-top: .5em;
		margin-bottom: .5em;
	}
	.search-detail-submit{
		width: 140px;
	}
	.search-publisher{
		width: 100%;
	}
	.search-publisher a{
		margin: .8em 0;
		width: 165px;
		padding: 0.4em 0;		
	}
	
}
