/* Frame */
html {position: relative; min-height: 100%; overflow-x: hidden;}
body {
	overflow-x: hidden;
	margin-bottom: 100px;
	font-family:'Lucida Grande',
	'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
	Meiryo, メイリオ, sans-serif;
	/*	background-color: #fdfbf2;	*/
}

/* ヘッダ */
#logomark {padding: 0 0 0 5px;}
#logomark img {max-height: 45px;}
@media screen and (max-width: 767px){ #logomark {padding-right: 5px;} }
#header, #head-navbar-collapse {background-color: #002354;}
#header {margin: 5px; position: relative;}
#header .container-fluid {padding-right: 0;}
#globalSearch {border: none; box-shadow: none;}
#globalSearch .form-group {display: inline-block; vertical-align: middle;}
#globalSearch .form-group input {font-size: 12px; padding-left: 6px; padding-right: 6px;}
#globalSearchfrm {border: none; box-shadow: none;}
#globalSearchfrm .form-group {display: inline-block; vertical-align: middle;}
#globalSearchfrm .form-group input {font-size: 12px; padding-left: 6px; padding-right: 6px;}
/* ここタブレットの時にしか表示されない */
#header .globallink-tab-wrap {margin-top: 15px;}
#header .globallink-tab-wrap .globallink {height: 20px; overflow: hidden;}
#header .globallink-tab-wrap .globallink a{height: 20px;line-height: 1.0;overflow:hidden;display: block;}
#header .globallink-tab-wrap .globallink a:hover img{margin-top: -20px;}
#header .globallink-auth-wrap {margin: 15px 10px auto auto;}
#header .globallink-auth-wrap a {font-size: 12px; color: #fff;}
#storeheader:after {content: ''; display: block; clear: both;}
#storeheader .headerlogo {margin-left: 20px;}
#storeheader .globalmenu {position: relative; top: -8px; margin-left: 10px; margin-bottom: 0;}
#storeheader .globalmenu a{display: block;width: 85px;height: 85px;margin: 0 auto;background: no-repeat;overflow: hidden;}
#storeheader .globalmenu a:hover img{margin-top: -85px;}
#storeheader .globalmenu .active a img,.storeheader .globalmenu .active a:hover img{margin-top: -170px;}
/* ここまでタブレットの時にしか表示されない */
.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {background-color: inherit;}
.navbar-header .navbar-toggle {margin-right: 20px;}
.navbar-header .navbar-toggle.collapsed .glyphicon-remove {display: none;}
.navbar-header .navbar-toggle:not(.collapsed) .icon-bar {display: none;}
.navbar-header .navbar-toggle:not(.collapsed) .glyphicon-remove {color: #fff;}
#head-navbar-collapse ul li {text-align: right;}
#head-navbar-collapse .category-wrapper .categorylink {display: grid; grid-template-rows: 1fr 1fr; grid-template-columns: 1fr 1fr; gap: 2rem; list-style-type: none; padding-left: 0;}
#head-navbar-collapse .category-wrapper .categorylink li.ebook,
#head-navbar-collapse .category-wrapper .categorylink li.ranking {text-align: left;}
#head-navbar-collapse .category-wrapper .categorylink .btn {min-width: 124px;}
#head-navbar-collapse .genre-wrapper .genrelink .head {display: none;}
#head-navbar-collapse .genre-wrapper .genrelink .linkarea {list-style-type: none; padding-left: 0; font-size: 0;}
#head-navbar-collapse .genre-wrapper .genrelink .linkarea li {display: inline-block; margin: 1rem .5rem 0 0;}
#head-navbar-collapse .genre-wrapper .genrelink .linkarea li.genre_gakusan {background: none !important;}
#head-navbar-collapse .genre-wrapper .genrelink .linkarea li a {display: block; font-size: 11px; background-color: #fff; border: 1px solid #337ab7; padding: .5rem .5rem .25rem;}
#head-navbar-collapse .sublink-wrapper .sublink {display: grid; grid-template-rows: 1fr; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; list-style-type: none; padding-left: 0;}
#head-navbar-collapse .sublink-wrapper .sublink li {text-align: center;}
#head-navbar-collapse .sublink-wrapper .sublink .btn {min-width: 84px; padding-left: 6px; padding-right: 6px;}
#head-navbar-collapse .auth-wrapper {margin-bottom: 20px;}
#head-navbar-collapse .close-wrapper {text-align: right; margin-bottom: 1rem;}
#head-navbar-collapse .close-wrapper .glyphicon {top: 3px;}

@media screen and (min-width: 768px){
	#head-navbar-collapse {display: none !important;}
	#globalSearchfrm input[type="text"] {max-width: 230px;}
	#header_nav > li > a {padding-left: 5px; padding-right: 5px; font-size: 14px; letter-spacing: -1px; color: #ffffff;}
}
@media screen and (max-width: 767px){
	#haader {min-height: 42px;}
	#header .globallink-tab-wrap {display: none;}
	#header .globallink-auth-wrap {display: none;}
	#head-navbar-collapse {background-color: #f5f5f5; margin-right: 0;}
	#head-navbar-collapse form {text-align: center; border: none;}
	#head-navbar-collapse .form-group {display: inline-block; width: 70%;}
	#header .navbar-toggle {margin-bottom: 0;}
	#header_nav li a {color: #002354; background-color: #f5f5f5;}
	#logomark {height: auto;}
	#logomark img {width: auto; height: 40px; margin-top: 4px;}
	#globalSearch {margin-top: 0; margin-bottom: 0;}
	#globalSearch .form-group {margin-bottom: 0;}
	#globalSearch .form-control {max-width: 100px; padding-left: 6px; padding-right: 6px;}
	#globalSearch button {padding-left: 6px; padding-right: 6px;}
	#globalSearchfrm {margin-top: 0; margin-bottom: 0; padding-top: 7px; padding-bottom: 7px;}
	#globalSearchfrm .form-group {margin-bottom: 0;}
	#globalSearchfrm .form-control {max-width: 100px; padding-left: 6px; padding-right: 6px;}
	#globalSearchfrm button {padding-left: 6px; padding-right: 6px;}
	/*スマホの場合はブックストアロゴだけabsoluteで表示している*/
	#storeheader {position: absolute;}
	#storeheader .headerlogo {margin-left: 10px;}
	#storeheader .headerlogo img {height: 45px;}
	#storeheader .globalmenu {display: none;}
}

/* お買い物かご */
#head_cart, #head_cart_logoff {margin-bottom: 5px;}
#head_cart strong, #head_cart_logoff strong {color: #d9534f;}
#head_cart a {display: inline-block; white-space: nowrap;}
#head_cart small {display: inline-block; margin-right: 5px;}
#head_cart .helpicon {width: 16px; height: 16px; position: relative; bottom: 2px;}
@media screen and (max-width: 767px) {
	/*スマホの場合はブックストアロゴだけabsoluteで表示するため，カートを各一行表示＋サイズ調整*/
	#head_cart li {display: block; text-align: right; line-height: 16px; font-size: 13px;}
	#head_cart li a {display: block;}
}
@media screen and (min-width: 1200px){
	#head_cart {position: absolute; top: 65px; right: 0;}
	#head_cart li {display: block; text-align: right;}
	#head_cart li a {display: block;}
}

/* パンくず */
.breadcrumb {margin: 0 5px 10px 5px; padding: 5px 15px;}

/* フッタ */
#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100px;
/*	background-color: #f5f5f5;	*/
	border-top: 1px solid #eee;
	background: -moz-linear-gradient(top,  rgba(245,245,245,1) 0%, rgba(245,245,245,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,245,245,1)), color-stop(100%,rgba(245,245,245,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(245,245,245,1) 0%,rgba(245,245,245,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(245,245,245,1) 0%,rgba(245,245,245,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(245,245,245,1) 0%,rgba(245,245,245,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(245,245,245,1) 0%,rgba(245,245,245,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#00f5f5f5',GradientType=0 ); /* IE6-9 */
}
#footer .footer_buttons {font-size: 0; line-height: 200%; margin-bottom: 15px;}
#footer .footer_buttons a {vertical-align: middle; line-height: 200%;}
#footer .footer_buttons .btn {margin: 4px 2px;}
#footer .footer_buttons hr {margin: 5px auto;}
#footer .footer_buttons .sns-button {display: inline-block; width: 25px; height: 25px; margin-left: 5px; margin-right: 5px; background-size: contain; background-repeat: no-repeat;}
#footer .footer_buttons .sns-button.sns-tw {background-image: url(/common/img/TW-Logo-small.svg);}
/*#footer .footer_buttons .sns-button.sns-fb {background-image: url(/common/img/FB-Logo-small.png);}*/
#footer .footer_buttons .sns-button.sns-instg  {background-image: url(/common/img/Instagram-Logo-small.svg);}
#footer .globalfooter {margin-top: 20px;}
#footer .globalfooter .tohome {margin: 0 0 15px 0;}
#footer .globalfooter .copyright {font-size: 80%;}

/* loading */
#floatingBarsG {position: relative; width: 62px; height: 77px; display: inline-block;}
.blockG{
	position: absolute;
	background-color: rgba(255,255,255,0);
	width: 10px;
	height: 24px;
	-moz-border-radius: 8px 8px 0 0;
	-moz-transform: scale(0.4);
	-moz-animation-name: fadeG;
	-moz-animation-duration: 0.8800000000000001s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: linear;
	-webkit-border-radius: 8px 8px 0 0;
	-webkit-transform: scale(0.4);
	-webkit-animation-name: fadeG;
	-webkit-animation-duration: 0.8800000000000001s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: linear;
	-ms-border-radius: 8px 8px 0 0;
	-ms-transform: scale(0.4);
	-ms-animation-name: fadeG;
	-ms-animation-duration: 0.8800000000000001s;
	-ms-animation-iteration-count: infinite;
	-ms-animation-direction: linear;
	-o-border-radius: 8px 8px 0 0;
	-o-transform: scale(0.4);
	-o-animation-name: fadeG;
	-o-animation-duration: 0.8800000000000001s;
	-o-animation-iteration-count: infinite;
	-o-animation-direction: linear;
	border-radius: 8px 8px 0 0;
	transform: scale(0.4);
	animation-name: fadeG;
	animation-duration: 0.8800000000000001s;
	animation-iteration-count: infinite;
	animation-direction: linear;
}
#rotateG_01{
	left: 0;
	top: 28px;
	-moz-animation-delay: 0.33s;
	-moz-transform: rotate(-90deg);
	-webkit-animation-delay: 0.33s;
	-webkit-transform: rotate(-90deg);
	-ms-animation-delay: 0.33s;
	-ms-transform: rotate(-90deg);
	-o-animation-delay: 0.33s;
	-o-transform: rotate(-90deg);
	animation-delay: 0.33s;
	transform: rotate(-90deg);
}
#rotateG_02{
	left: 8px;
	top: 10px;
	-moz-animation-delay: 0.44000000000000006s;
	-moz-transform: rotate(-45deg);
	-webkit-animation-delay: 0.44000000000000006s;
	-webkit-transform: rotate(-45deg);
	-ms-animation-delay: 0.44000000000000006s;
	-ms-transform: rotate(-45deg);
	-o-animation-delay: 0.44000000000000006s;
	-o-transform: rotate(-45deg);
	animation-delay: 0.44000000000000006s;
	transform: rotate(-45deg);
}
#rotateG_03{
	left: 26px;
	top: 3px;
	-moz-animation-delay: 0.55s;
	-moz-transform: rotate(0deg);
	-webkit-animation-delay: 0.55s;
	-webkit-transform: rotate(0deg);
	-ms-animation-delay: 0.55s;
	-ms-transform: rotate(0deg);
	-o-animation-delay: 0.55s;
	-o-transform: rotate(0deg);
	animation-delay: 0.55s;
	transform: rotate(0deg);
}
#rotateG_04{
	right: 8px;
	top: 10px;
	-moz-animation-delay: 0.66s;
	-moz-transform: rotate(45deg);
	-webkit-animation-delay: 0.66s;
	-webkit-transform: rotate(45deg);
	-ms-animation-delay: 0.66s;
	-ms-transform: rotate(45deg);
	-o-animation-delay: 0.66s;
	-o-transform: rotate(45deg);
	animation-delay: 0.66s;
	transform: rotate(45deg);
}
#rotateG_05{
	right: 0;
	top: 28px;
	-moz-animation-delay: 0.7700000000000001s;
	-moz-transform: rotate(90deg);
	-webkit-animation-delay: 0.7700000000000001s;
	-webkit-transform: rotate(90deg);
	-ms-animation-delay: 0.7700000000000001s;
	-ms-transform: rotate(90deg);
	-o-animation-delay: 0.7700000000000001s;
	-o-transform: rotate(90deg);
	animation-delay: 0.7700000000000001s;
	transform: rotate(90deg);
}
#rotateG_06{
	right: 8px;
	bottom: 7px;
	-moz-animation-delay: 0.8800000000000001s;
	-moz-transform: rotate(135deg);
	-webkit-animation-delay: 0.8800000000000001s;
	-webkit-transform: rotate(135deg);
	-ms-animation-delay: 0.8800000000000001s;
	-ms-transform: rotate(135deg);
	-o-animation-delay: 0.8800000000000001s;
	-o-transform: rotate(135deg);
	animation-delay: 0.8800000000000001s;
	transform: rotate(135deg);
}
#rotateG_07{
	bottom: 0;
	left: 26px;
	-moz-animation-delay: 0.99s;
	-moz-transform: rotate(180deg);
	-webkit-animation-delay: 0.99s;
	-webkit-transform: rotate(180deg);
	-ms-animation-delay: 0.99s;
	-ms-transform: rotate(180deg);
	-o-animation-delay: 0.99s;
	-o-transform: rotate(180deg);
	animation-delay: 0.99s;
	transform: rotate(180deg);
}
#rotateG_08{
	left: 8px;
	bottom: 7px;
	-moz-animation-delay: 1.1s;
	-moz-transform: rotate(-135deg);
	-webkit-animation-delay: 1.1s;
	-webkit-transform: rotate(-135deg);
	-ms-animation-delay: 1.1s;
	-ms-transform: rotate(-135deg);
	-o-animation-delay: 1.1s;
	-o-transform: rotate(-135deg);
	animation-delay: 1.1s;
	transform: rotate(-135deg);
}
@-moz-keyframes fadeG {
	0% {background-color: #fff}
	100% {background-color: rgba(255,255,255,0)}
}
@-webkit-keyframes fadeG{
	0% {background-color:#fff}
	100% {background-color:rgba(255,255,255,0)}
}
@-ms-keyframes fadeG{
	0% {background-color:#fff}
	100% {background-color:rgba(255,255,255,0)}
}
@-o-keyframes fadeG{
	0% {background-color:#fff}
	100% {background-color:rgba(255,255,255,0)}
}
@keyframes fadeG{
	0% {background-color:#fff}
	100% {background-color:rgba(255,255,255,0)}
}
