@charset "UTF-8";

html,body{
  height:100%;
}

body {
	background-color: white;
  color: #181818;
}

*{
  margin: 0;
  padding: 0;
  outline:none;
  box-sizing: border-box;
  text-decoration:none;
}

#main-content-wrapper {
  width: 100%;
  margin-top: 50px;
  background-color: #fff;
  min-height: 750px;
}

#main-content {
  margin: 0 auto;
  max-width: 1300px;
}

#library-space {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	margin: 50px auto 30px;
	padding-top: 30px;
}

.shelf-list {
	width: 250px;
	max-height: 600px;
	overflow-y: scroll;
	padding: 10px 10px;
	margin: 0 25px 0 15px;
	list-style: none;
}

@media (max-width: 767.98px) {
	.shelf-list {
		display: none;
	}
}

.shelf-list--unique, .shelf-list--normal {
	width: 100%;
	margin: 0;
  padding: 7px 0;
}

.shelf-list--unique {
	border-bottom: 1px solid #dbdbdb;
}

.shelf-list--normal {
	min-height: 40px;
}

.shelf-list-each {
	position: relative;
	width: 100%;
	height: 45px;
	padding: 0 15px;
	font-size: 17px;
	margin: 10px 0;
	color: #404040;
	border-radius: 5px;
	line-height: 45px;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	cursor: pointer;
	transition: .2s;
}

.shelf-list-each:hover {
  background-color: #f2f2f2;
}

.shelf-list-each.is-selected {
	background-color: var(--main-color);
	color: #fff;
}

.shelf-list-each::before {
	content: "#";
	margin-right: 12px;
  font-size: 16px;
}

/* .shelf-list-each.is-unique::after {
	content: "U";
	padding: 1px 4.5px;
	margin-left: 7px;
  color: #fff;
  font-size: 14px;
  background-color: #dbdbdb;
  border-radius: 4px;
} */

.shelf-list-each.is-public::after {
	font: var(--fa-font-solid);
	content: "\f3c1";
	margin-left: 7px;
  color: #dbdbdb;
  font-size: 13px;
}


.shelf-select {
	display: none;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

@media (max-width: 767.98px) {
	.shelf-select {
		display: inline-block;
	}
}

@media (max-width: 575.98px) {
	.shelf-select {
		margin-bottom: 20px;
	}
}

.selectize-input.focus {
	border-color: var(--main-color);
	box-shadow: 0 0 0 0.25rem rgb(175 203 126 / 30%);
}

.selectize-dropdown .create, .selectize-dropdown .no-results, .selectize-dropdown .optgroup-header, .selectize-dropdown .option {
  padding: 6px 0.75rem;
}

.selectize-dropdown .optgroup .optgroup-header {
	display: none;
}

.selectize-dropdown .optgroup:before {
	border-top: 1px solid #e9ecef;
}


.book-list {
	/* display: flex;
	flex-wrap: wrap;
	justify-content: left; */
  width: calc(100% - 300px);
  display: grid;
  grid-template-columns: repeat(auto-fill, 150px);
  gap: 50px 40px;
  justify-content: left;
  /* padding-right: 5%; */
  padding-top: 25px;
  margin-bottom: 60px;
  margin-right: 10px;
  /* min-height: 600px; */
}

@media (max-width: 829.98px) {
	.book-list {
		gap: 50px 70px;
		padding-left: 40px;
	}
}

@media (max-width: 767.98px) {
	.book-list {
		width: 90%;
		margin: 0 auto 15px;
		gap: 50px 35px;
		justify-content: center;
		padding-left: 0;
	}
}

@media (max-width: 575.98px) {
	.book-list {
	  grid-template-columns: repeat(auto-fill, calc(150px * 0.7));
	  gap: 25px 0;
	  justify-content: space-between;
	  padding-top: 10px;
	}
}

.book-list .book-each {
  /* display: inline-block; */
  /* position: relative; */
  /* margin: 25px 20px; */
  padding: 0;
  /* text-align: center; */
  transition: .3s;
}

.book-list .book-each .book-fc {
  display: flex;
  justify-content: center;
  align-items: center;  /* flex-end */
  margin: 0 auto;
  /* overflow: hidden; */   /*これで中のimgが拡大された時に同じサイズに保つようにする*/
  transition: .3s;
}

@media (max-width: 575.98px) {
	.book-list .book-each .book-fc {
		zoom: 0.7;
	}
}

.book-list .book-each .book-fc .book-fc-img-wrapper {
	position: relative;
	display: block;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 4px 1px rgb(0,0,0,0.1);
}

.book-list .book-each .book-fc .book-fc-img {
	display: block;
	width: 100%;
  height: 100%;
  transition: .3s;
}

.book-list .book-each .book-fc .book-fc-img:hover{
  transform: scale(1.1);
}

.book-list .book-each .book-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	text-align: center;
  font-size: 15px;
  line-height: 19px;
  margin-top: 10px;
  /* padding-right: 10px; */
  color: #404040;
  cursor: pointer;
  transition: .3s;
}

@media (max-width: 575.98px) {
	.book-list .book-each .book-title {
	  font-size: 14px;
  	line-height: 18px;
  	margin-top: 8px;
	}
}

.book-list .book-each .book-author {
  margin-top: 2px;
  /* padding-right: 10px; */
  font-size: 13px;
  line-height: 17px;
  color: #b3b3b3;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  width: 100%;
  text-align: center;
}

@media (max-width: 575.98px) {
	.book-list .book-each .book-author {
	  font-size: 11.5px;
  	line-height: 15px;
	}
}

.book-list .book-each .book-author em {
  font-weight: 500;  /* 300 */
  font-style: normal;
  transition: 0.3s;
}

.book-list .book-avatar {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	box-shadow: 0 0 5px rgba(0,0,0,0.25);
	border: 1px solid #f6f6f6;
}

#no-book-on-shelf {
	margin-top: 20px;
	font-size: 16px;
	color: #404040;
	padding-left: 30px;
	grid-column: 1 / -1;
}

@media (max-width: 767.98px) {
	#no-book-on-shelf {
		padding-left: 0;
		text-align: center;
	}
}

@media (max-width: 575.98px) {
	#no-book-on-shelf {
		margin-top: 10px;
		font-size: 15px;
	}
}
