/* ==== slick ==== */

.sliderArea {
  max-width: 750px;
  margin: 0 auto 1.5rem auto;
  padding: 0 25px 30px;
  overflow: hidden;
}
.sliderArea .slider .slick-list {
    padding: 0;
}
.sliderArea .slider .slick-list img {
  width: 100%;
  max-width: 650px;    
  height: auto;
  border: none;
  box-shadow: none;
}
.slick-prev, .slick-next {
  z-index: 1;
}
.slick-prev:before, .slick-next:before {
  color: #000;
}
.slick-slide {
  margin: 0;
  transition: all ease-in-out .3s;
  opacity: .2;
}
.slick-active {
  opacity: 1;
}
.slick-current {
  opacity: 1;
}

.sliderArea .slick-dots {
    display: block !important; 
    bottom: -30px;
}

.sliderArea .slick-dots li {
    display: inline-block !important; 
    margin: 0 5px; 
}

.sliderArea .slick-dots li button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%; 
    background: #ccc;
    text-indent: -9999px; 
    cursor: pointer;
    transition: all ease-in-out .3s;
}

.slick-dots li.slick-active button {
    background: #333;
}
@media screen and (max-width: 640px) {
.sliderArea .slider .slick-list {
        padding-left: 0;
        padding-right: 0;
    }
.sliderArea .slider .slick-list img,
.prod2 img {box-shadow: none;}
}

.autoplay .slick-list {
  overflow: visible;
}
.autoplay.slider {
  margin: 0 auto;
}

/* ==== ブックトップ ==== */

/* category */

.prod1 {
	align-items: center;
	height: 40px;
	line-height: 40px;
	}

.prod1 img {
	height: 40px;
}

.prod1 a {
	text-decoration: none;
	color: #ffffff;
}

.prod1 h2 {
    color: #239CA8;
    background-color: #fff;
    font-weight: 600;
}

.series-title {
	font-size: 1.4rem;
	font-weight: 800;
	color: #000000;
	padding-left: 5px;
	height: 40px;
	line-height: 40px;
}

.series-text {
	height: 40px;
	line-height: 40px;
}

.books-link {
	font-size: 13px;
	line-height: 20px;
	font-weight: 400;
/*	border: #0066cc solid ; */
	border-radius: 20px;
	height: 20px;
	width: 100px;
	text-align: center;
	text-decoration: none;
	background-color: #0E4991;
}

.books-link:after {
  content: "";
  display: inline-block;
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 0.12rem solid #fff;
  border-right: 0.12rem solid #fff;
  box-sizing: border-box;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@media (max-width: 640px) {
	.prod1 {
	flex-direction: column;
	line-height: 0.8rem;
	height: auto;}
	.series-text {
	height: auto;
	line-height: 20px;
	padding-left: 2rem;}
	.books-link {
	margin: 15px 0;
	width: 80%;
	height: 25px;
	line-height: 25px;}
	.prod1 img {
	max-width: 40px;}
}

/* contents */

.book_slider {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}
.book_slider h2 {
	margin-top: 5px;
	padding: 0.5rem;
	font-size: 1.1rem;
	font-weight: 400;
	background-image: linear-gradient(90deg, #307313, #ffffff);
	color: white;
}
.book_container {
	padding: 2rem 0;
	line-height: 1.2rem;
	margin-bottom: 3rem;
	margin-left: 0;
	}

.prod2 {
	flex-shrink: 0;
	width: 150px;
	margin: 0 25px;
	font-size: 0.8rem;
	text-align: left;
}
.prod2 a {
	text-decoration: none;
	color: #000000;
}
.prod2:hover {
	background: #FFFFFF;
	opacity: 0.6;
	z-index: 900;
	transition: 0.25s ease;
}

.prod2 .image {
	text-align: center;
	padding-bottom: 10px;
}

.prod2 img {
    width: auto;
	max-width: 140px;
    max-height: 200px;
	border: solid 1px #BBBBBB;
}

.book_container .auto_h img,
.book_container .prod2 .auto_h img {
	height: auto;
}

.prod2 .ttl {
	font-weight: bold;
	font-size: 0.85rem;
    line-height: 1.2rem;
    padding-bottom: 5px;
}

.prod2 .name {
	font-size: 0.7rem;
    line-height: 1rem;
}
.list-label {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 10px;
	list-style: none;
	color: white; 
}
.list-label li {
	padding-inline: 5px;
    font-size: 0.65rem;
    background-color: #d31010;
	border-radius: 3px;
}

.slider-arrow {
	position: absolute;
	bottom: -5px;
	z-index: 500;
	background-color: rgba(255, 255, 255, 1);
	width: 30px;
	height: 30px;
	font-size: 1.2rem;
	cursor: pointer;
	border: none;
}

.slider-arrow.prev {
	right: 50px;
}

.slider-arrow.next {
	right: 10px;
}

.slider-arrow:disabled,
.slider-arrow.slick-disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

@media (max-width: 640px) {
	.book_slider {
		max-width: 640px;
        -webkit-overflow-scrolling: touch;
	}
	.prod2 {
		padding: 1rem;
		margin-right: 15px;
		margin-bottom: 1rem;
		border: solid 1px #000000;
		box-shadow: 2px 2px 6px 0 #afafaf;
		height: 330px;
	}
	.book_container {
		padding: 2rem 0;
		margin-left: 0;
	}
	.prod2 .image {
		height: auto;
		width: 100%;
		padding: 10px 0;
	}
}

/* color */

#main_container hr {
	margin: 0;
	border: none;
	height: 4px;
}

.wb_color {
	background-color: #307313;
}
.gr_color {
	background-color: #0E4991;
}
.ph_color {
	background-color: #8D0D08;
}
.cb_color {
	background-color: #921EAA;
}
.etc_color {
	background-color: #343434;
}
.ab_color {
	background-color: #BE1F22;
}
.dvd_color {
	background-color: #239CA8;
}
.com_color {
	background-color: #BBBBBB;
	height: 3px;
}

/* 書店様向け */

#link_to_map {
	padding-bottom: 1rem;
	font-size: 1.2rem;
}

#link_to_map a {
	text-decoration: underline;
}

/* ==== シリーズ一覧 ==== */

UL.books-list,
UL.casino-list,
UL.dvd-list  {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.books-list a {
    display: flex;
	gap: 18px;
}

.prod {
	padding: 1rem;
	width: calc((100% / 2) - 45px);
	margin-bottom: 20px;
	box-shadow: 0 0 5px 0 #afafaf;
    border-radius: 3px;
}

.books-list .prod:hover {
    background-color: #f0f8ff ;
}

.casino-list LI.prod,
.dvd-list LI.prod {
	display: flex;
	width: calc((100% / 2) - 45px);
	padding: 1rem;
	gap: 18px;
	margin-bottom: 20px;
	box-shadow: 0 0 5px 0 #afafaf;
}
.prod a {
    text-decoration: none;
    color: black;
}

.prod .BookImg {
	margin: 0;
	width: 120px;
    min-width: 120px;
	height: auto;
}
.BookImg img {
	border: solid 1px #BBBBBB;
}

.prod .txt {
	line-height: 2rem;
}
.prod .txt h4 {
	line-height: normal;
	margin-top: 0;
	margin-bottom: 0.5rem;
}
.prod .txt p.author {
    margin-left: 3em;
    text-indent: -3em;
}
.prod .txt ul {
	display: flex;
	gap: 5px;
	margin-top: 5px;
}
.prod .txt li {
	background: #F59300;
	color: white;
	padding: 4px 10px;
	font-size: 0.7rem;
	line-height: 0.7rem;
	border-radius: 3px;
}
.red {
	color: red;
	font-size: 12px;
}
.en_ttl {color: rgba(180,180,180,1.00);}

.smp {
	margin-top: 10px;
	background-color: #000000;
	color: #ffffff;
	border: none;
	padding: 3px 10px;
	font-size: 0.7rem;
	border-radius: 3px;
}

.smp:hover {
	background-color: #0066cc;
}

@media (max-width: 640px) {
	.prod,
    .casino-list LI.prod,
    .dvd-list LI.prod {width: 100%;}
	.prod .BookImg {
	width: 92px;
    min-width: 92px;
}
}

/* category */

.cat {
    padding-bottom: 5px;
    margin-bottom: 1rem;
}

.category-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
    margin-bottom: 1rem;
}
.category-list li {
	margin-right: 0.8rem;
	margin-bottom: 0.8rem;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	padding:0.4rem 1rem;
	text-align: center;
	color: #fff;
	border-radius: 0.8rem;
	background: #a1a1a1;
	cursor: pointer;
	transition: ease 0.25s;
}
@media screen and (max-width: 640px) {
	.category-list li {
		margin-right: 0.5rem;
		margin-bottom: 0.6rem;
	}
}
.category-list li:hover {
		background: #696969;
	}
.category-list li.active {
	background: #262626;
}

/* color config */

.category-list li[data-category="all"].active,
.category-list li[data-category="all"]:hover {
	background-color: #696969;
}

/* pagenation */

.pagination {
	display: flex;
    justify-content: center;
    align-content: center;
	gap: 5px;
	margin: 1rem;
}
.pagination a,
.pagination .dots {
	color: black;
	float: left;
	padding: 0.6rem 0.8rem;
	text-decoration: none;
}
.pagination a.active {
	background-color: #0066cc;
	color: white;
}
.pagination a:hover:not(.active) {
	background-color: #ddd;
}
.pagination a.disabled {
	color: #aaa;
	pointer-events: none;
}
.pagination a img {
  width: 10px;
  height: 15px;
  vertical-align: middle;
}
.pagination a.disabled img {
  opacity: 0;
  pointer-events: none;
}
.pagination .dots {
  pointer-events: none;
  color: #000;
}

/* ==== 商品ページ ==== */

.navibox {
    background: rgba(240,240,240,1.00);
    font-size: 15px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.navibox a {
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 3px;
    border: solid 1.5px rgba(170,170,170,1.00);
}
.navibox a:hover {
    background: white;
    border: solid 1.5px white;

}
.navibox .prev {
    content: url("/books/images/icon_arrow_prev.svg");
    width: 10px;
    height: 10px;
}
.navibox .next {
    content: url("/books/images/icon_arrow_next.svg");
    width: 10px;
    height: 10px;
}
.book_info {
    display: flex;
    margin: 2rem 0;
}
.item {
    margin: 2rem 0;
}
.cover {
    width: 220px;
    display: inline-flex;
    flex-direction: column;
}
.cover img {
    height: auto;
    width: 175px;
    border: 1px solid #BBBBBB;
    margin-bottom: 1rem;
    text-align: center;
}
.product_container {
    width: 580px;
}
.product_container a{
    text-decoration: none;
    color: #000000;
}
.product_container h1 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    }
.product_container .sub-title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 1rem;
}
.product_container .en-title {
    color: rgba(180,180,180,1.00);
    margin-bottom: 2rem;
    line-height: normal;
/*    margin-left: 3em;
    text-indent: -3em; */
}
.product_container form,
.product_container img {
    display: flex;
    width: 250px;
    margin: 1rem 0;
}

.menu {
    height: 20px;
    line-height: 20px;
    border-top: solid 1px rgba(50,50,50,1.00);
    border-bottom: solid 1px rgba(50,50,50,1.00);
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
}
.menu li {
    margin: 0;
    vertical-align: middle;
 }
.menu li:after {
    content: "";
    width: 1px;
    height: 14px;
    background: #696969;
    display: inline-block;
    margin: 0 1.5rem 0;
}
.ProductArea H3 {
    color: black;
    border-bottom: 1.2px solid rgb(50,50,50,1.0);
    margin-bottom: 10px;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    font-size: 18px;
}
.ProductArea H4 {
    font-size: 1.3rem;
    line-height: 1.9rem;
    font-weight: 900;
    margin-bottom: 10px;
}
.ProductArea H5 {
    font-size: 1.1rem;
    line-height: 1.8rem;
    margin: 1rem 0;
}
.ProductArea P {
    line-height: 1.5rem;
}

.ProductArea .prod2 {
	flex-shrink: 0;
	width: 90px;
    height: auto;
	margin: 10px 20px;
    text-align: center;
}
.ProductArea .prod2 img {
	max-width: 90px;
    height: auto;
    box-shadow: none;
}
.ProductArea .prod2 .ttl {
	font-weight: normal;
	font-size: 0.8rem;
    line-height: 1rem;
}
.AuthorArea, .VoiceArea {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.AuthorArea img {
    max-width: 100px;
    margin-right: 1.5rem;
}
.text_area p {
    padding-bottom: 1rem;
}
.readmore{
  position: relative;
  border: solid 4px rgba(200,200,200,1.00);
  border-radius: 1rem;
  padding: 20px 20px 40px;
  max-width: 650px;
  background: #fff;
  line-height: 1.6;
  margin-right: 20px;
}
.readmore-hide {
  height: 0;
  overflow: hidden;
  transition: all .4s;
}

.readmore button{
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0px;
  margin: 0 auto;
  padding: 10px 0;
  width: 200px;
  color: #0066CC;
    background: none;
    border: none;
  text-align: center;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
  transition: all .4s;
}
.VoiceArea img {
    max-width: 80px;
}
.review {
    object-fit: contain;
    top: 0;
    right: 0;
    width: 80px;
    height: auto;
}
@media screen and (max-width: 640px) {
.book_info {
    flex-direction: column;
    }
.cover {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}
.cover img {
    height: auto;
    width: 175px;
}
.product_container {
    width: 100%;
}
#bookshelf.slick-list {
    padding-bottom: 10px;
    }
}
