/*==============================================================*/
/*
著書 パーツ css
セミナー詳細ページ、代表プロフィールページ
共通パーツ
*/
/*==============================================================*/

.book-wrap .books{
	overflow:hidden;
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex !important;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	font-weight:bold;
}

.book-wrap .books li{
	display:table;
	float:left;
	margin-left:2%;
	margin-bottom: 20px;
}
.book-wrap .books li:first-child,
.book-wrap .books li:nth-child(6n){
	margin-left:0;
}

.book-wrap .books a{
	float:left;
    display: block;
	margin-right:10px;
}

.book-wrap .books li div{
	display:table-cell;
	vertical-align:middle;
}

.book-wrap .notes{
	margin:50px auto 0;
	width:580px;
	padding:10px;
	background:#d8eaf0;
	text-align:center;
}
/* 著者 2020410追加 */
.book-wrap .bookinfo{
  margin: 50px auto 40px;
  position: relative;
}
.book-wrap .bookinfo:before{
  position: absolute;
  top:50%;
  left:65px;
  transform: translateY(-50%);
  display: block;
  content: "";
  width: 50px;
  height: 30px;
  background: url(../../img/oukan.png) no-repeat center;
  background-size: contain;
}

.book-wrap .books a{
  padding-top: 40px;
  position: relative;
}
.book-wrap .crown:before{
  position: absolute;
  top:0;
  left:50%;
  transform: translateX(-50%);
  display: block;
  content: "";
  width: 50px;
  height: 30px;
  background: url(../../img/oukan.png) no-repeat center;
  background-size: contain;
}


@media screen and (min-width:768px) {
  .book-wrap .books li{
    /*width: 23%;*/
    width: 18% !important;
  }
  .book-wrap .books a{ display: block; width: 100%; text-align: center; margin-right: 0; float: inherit; margin-bottom: 15px;}
  .book-wrap .books li div{ display: block; text-align: center;}
}

@media screen and (max-width:767px) {
.book-wrap .books li {
  margin-bottom: 20px;
  margin-left: 0;
  padding-right: 4%;
  width: 46%;
}
.book-wrap .books li img {
  width: 125px;
  height: auto;
  max-width: inherit;
}
.book-wrap .notes {
  margin: 20px 4%;
  width: auto;
}
.book-wrap .notes br {
  display: none;
}
  
/* 著者 2020410追加 */
.book-wrap .bookinfo{
  padding: 10px 10px 10px 55px !important;
}
.book-wrap .bookinfo:before{
  left: 5px;
}

}


@media screen and (max-width:670px) {
.book-wrap .books li {
  margin-left: 0;
  padding: 4%;
  width: 96%;
  border-bottom: 1px solid #ccc;
  margin-bottom: 0px;
}
.book-wrap .books li:last-child {
  border-bottom: none;
}
.book-wrap .books li div {
  display: block;
  padding: 40px 0 0 135px;
}
.book-wrap .books li img {
  width: 110px;
  height: auto;
  max-width: inherit;
}
}
