@charset "utf-8";

/* =============================================
	style
============================================= */
#book_lineup{
	margin: 10px 0 15px 0;
	overflow: hidden;
	background: #f2f2f2 url(/nikken/guidance/img/book_list_bg.png) repeat left top;
	border: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
#book_lineup li{
	margin: -1px 0 -1px;
	padding: 15px;
	border-right: 1px solid var(--line-light);
	border-top: 1px solid var(--line-light);
	border-bottom: 1px solid var(--line-light);
	background-color: #fff;
	box-sizing: border-box;
  height: auto !important;
  display: flex;
  flex-direction: column;
}

#book_lineup li h3{
	margin: 0 0 15px;
	padding: 0 0 10px;
	text-align: center;
	font-size: 1.8rem;
	border-bottom: 1px solid #ddd;
}
#book_lineup li a{
	color: #333;
  display: flex;
  flex-direction: column;
  height: 100%;
}
#book_lineup li a:hover{
	opacity: 0.7;
	text-decoration: none;
}
.book_ttl{
  height: auto !important;
}
.booklineup_img{
	margin: 0 0 10px;
	text-align: center;
}
.booklineup_img img{
	border: 1px solid #efefef;
	height: 180px;
	width: auto;
}
.book_price{ text-align: center; }
.shop_link{
	margin-top: auto;
	padding: 8px;
	background: -moz-linear-gradient(top, #8bd43f 0%, #6eb823 100%);
	background: linear-gradient(to bottom, #8bd43f 0%,#6eb823 100%);
	color: #fff;
	text-align: center;
	display: block;
	font-weight: bold;
	font-size: 1.5rem;
	border-radius: 5px;
	color: #fff;
}
.shop_link:hover{
	color: #fff;
	text-decoration: none;
	opacity: 0.8;
}

.buy_info{
	margin: 20px 0;
	padding: 15px;
	border: 1px solid #efefef;
}
.booklineup_text{ font-size: 1.2rem; }


/* ===========================================
	MediaQueries
=========================================== */

/* スマホ----------------------------- */
@media screen and (max-width: 767px){
	#book_lineup{
		margin-right: 0;
		background: #f2f2f2;
		box-sizing: border-box;
	}
	#book_lineup li{
		box-sizing: border-box;
	}
	#book_lineup li:nth-child(2n){
		border-right: none;
	}
	.booklineup_img img{
		height: 100px;
		width: auto;
	}
	#book_lineup .book_ttl{
		/* min-height: 4em; */
		display: inline-block;
	}
	
}
/* PC----------------------------- */
@media screen and (min-width: 768px){
  #book_lineup li:nth-child(4n){
		border-right: none;
	}
  #book_lineup{
    grid-template-columns: repeat(4, 1fr);
  }

}