@charset "utf-8";

/* -----------------------------------------------
 * stylemenu.css 
 * BinBのサイドメニューを構成するCSSです。
 * サービス運用時はCSS内のコメントを削除してご利用ください。
 * -----------------------------------------------
 */

/* -----------------------------------------------
 * 基本設定
 *
 * BinBのサイドメニューで使用する基本設定です。
 * これらの設定はBinB動作関連していますので、変更は行わないでください。
 * カスタマイズする場合も、この部分はそのままご利用ください。
 * （color指定のみ変更が可能です）
 * -----------------------------------------------
 */
body {
	font-family: "Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,sans-serif;
	margin: 0;
	padding: 0;
	background-color: #fff;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	overflow:hidden;
	overscroll-behavior:none;
}
body.ios113ov{
	position:fixed;
}

#container {
	position:absolute;
	margin:0;
	width:100%;
	height:100%;
	background-color:#fff;
	overflow:hidden;
}

#sidemenu {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:#fff;
	color:#505050;
	overflow-y:auto;
	overflow-x:hidden;
	-webkit-overflow-scrolling:auto;
}

.mobile_device #sidemenu {
}

.pc_device #sidemenu::-webkit-scrollbar {
	overflow:hidden;
	margin-left:8px;
	width:8px;
}

.pc_device #sidemenu::-webkit-scrollbar-button {
	display:none;
}

.pc_device #sidemenu::-webkit-scrollbar-track-piece {
	-webkit-border-radius:4px;
	border-radius:4px;
	background-color:#a0a0a0;
}

.pc_device #sidemenu::-webkit-scrollbar-thumb {
	overflow:hidden;
	-webkit-border-radius:4px;
	border-radius:4px;
	background-color:#404040;
}

.pc_device #sidemenu::-webkit-scrollbar-corner {
	display:none;
}

#sidemenu_contents {
	position:relative;
	margin:0;
	padding:0 0 0 0;
	min-height:100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

#copyright {
	position: relative;
	overflow: hidden;
	margin: 0 0 0 0;
	padding: 1em;
	width: 100%;
	font-size: 0.7em;
	color: #fff;
	background-color: #333;
	text-align: right;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

#contents iframe {
	padding: 0;
	margin: 0;
}

#custom_contents {
	position: fixed;
	margin: 0;
	padding: 0;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(128,128,128,0.6);
	color: #000000;
	-webkit-transition: opacity 200ms;
	-moz-transition: opacity 200ms;
	-op-transition: opacity 200ms;
	-ms-transition: opacity 200ms;
	transition: opacity 200ms;
	overflow: hidden;
	-webkit-overflow-scrolling: auto;
	opacity: 0;
}

#custom_contents iframe {
	padding: 0;
	margin: 0;
}

div.sidemenu_container {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
	width: 100%;
}

img.image_fit_width {
	width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	text-decoration: none;
	color: inherit;
}
a img {
	border: none;
}
.pc_device a:hover, .pc_device a div:hover, .pc_device a div img:hover,
.mobile_device a.hover, .mobile_device a div.hover, .mobile_device a div img.hover {
	background-color: #f60;
	color: #fff;
	text-decoration: none;
}

div.contents {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #FEFEFE;
	color: #000000;
	box-shadow: rgba(0,0,0,0.4) -1px 0px 4px 4px;
	-webkit-transition: left 200ms;
	-moz-transition: left 200ms;
	-op-transition: left 200ms;
	-ms-transition: left 200ms;
	transition: left 200ms;
}

div.contents_none_transition {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: transparent;
	color: #000000;
	box-shadow: -6px 1px 5px rgba(0,0,0,0.3);
	-webkit-transition: left 0ms;
	-moz-transition: left 0ms;
	-op-transition: left 0ms;
	-ms-transition: left 0ms;
	transition: left 0ms;
}

.fixed_content.has_no_searchtext #binbop_searchtext {
	display: none;
}
.fixed_content.has_no_searchtext #binbop_searchtext + hr {
	display: none;
}

.login_user #binbop_login {
	display: none;
}
.login_user #binbop_login + hr {
	display: none;
}

.disabled_buy_link #binbop_buy {
	display: none;
}
.disabled_buy_link #binbop_buy + hr {
	display: none;
}

.disabled_speech #binbop_speech {
	display: none;
}
.disabled_speech #binbop_speech + hr {
	display: none;
}

.pc_device #binbop_speech .linkmenu_subtitle.mobile_device {
	display: none;
}
.mobile_device #binbop_speech .linkmenu_subtitle.pc_device {
	display: none;
}

/* -----------------------------------------------
 * カスタマイズ設定
 *
 * サイドメニューをカスタマイズする場合は以下の設定を参考としてください。
 * カスタマイズするメニュー構成に応じて、削除・追加をお願いします。
 * カスタマイズした場合、PC/MAC/iPhone/iPad/Android等のサポート端末上で
 * 正常に動作することを確認した上でご利用ください。
 * -----------------------------------------------
 */

.background_image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.sidemenu_container hr {
	color: transparent;
	border: none;
	border-top: solid 1px #bbb;
	width: 95%;
	margin: 3px auto;
}

div.simple_message {
	font-size: 0.6em;
	margin-left: 3%;
	margin-right: 4px;
	padding: 0;
}

/* ヘッダ ------------------------------------------------------- */

hr.header {
	margin: 15px auto 3px auto;
	width: 95%;
	border-top: solid 3px #000;
}

div.social_area {
	font-size : 80%;
	font-weight: bold;
	text-align: right;
	padding: 0 4% 1em 0;
}

div.social_area a {
	padding-left: 1%;
	padding-right: 1%;
	text-shadow: 0.1em 0.1em 3px #fff;
}

/* --　タイトル・著者表示 ---------------------------------------- */

#ci_title {
	position: relative;
	display: block;
	font-size: 1.4em;
	padding: 0.2em 0.5em;
	font-weight: bold;
	line-height: 1.1;
	text-shadow: 0.1em 0.1em 3px #fff;
}

#ci_author {
	position: relative;
	display: block;
	font-size: 1em;
	padding: 0.2em 0.5em 0.2em 1em;
	text-align: right;
	line-height: 1.1;
	text-shadow: 0.1em 0.1em 3px #fff;
}

/* --　リンクメニュー ----------------------------------------------- */

h2 {
	font-size: 0.6em;
	margin: 1.5em 4px 3px 2%;
	padding: 0 0 3px 1%;
	text-decoration: none;
	font-weight: normal;
	border-bottom: solid 1px #000;
	width: 95%;
}

.linkmenu {
	display: block;
	margin: 0;
	padding: 0.2em 3%;
}

div.linkmenu_title {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0;
	padding: 0.2em 0 0.1em 0;
	line-height: 1;
}

div.linkmenu_subtitle {
	font-size: 0.6em;
	font-weight: bold;
	margin: 0;
	padding: 0.1em 0 0.2em 0;
	line-height: 1;
}

/* --　書籍検索 ----------------------------------------------------- */

.searchbox {
    position:relative;
    background-color:#fff;
	margin:0.5em auto;
    border:1px solid #aaa;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -o-border-radius:8px;
    -ms-border-radius:8px;
    border-radius:8px;
    width:90%;
	height:1.6em;
}
.searchbox_wrapper {
	display:block;
	position:absolute;
	top:0;
	left:0;
	right:2em;
	margin:0 0.3em;
	padding:0;
}
.searchbox_wrapper input{
	margin:0;
	padding:0;
    height:1.6em;
	line-height:1.6;
	font-size:1em;
    background:none;
	width:100%;
    border:none;
	color:#505050;
}
.searchbox button {
    display:block;
	position:absolute;
	top:0;
	right:0;
	width:2em;
	height:100%;
    background:none;
    border:none;
    padding:0;
    margin:0;
    font-size:1em;
    line-height:0;
    overflow:visible;
    cursor:pointer;
}
.searchbox button img {
    width:auto;
    height:80%;
}

/*--　インフォメーション ------------------------------------------- */

div.information {
	margin: 0.1em;
	padding: 0.1em;
	font-size: 70%;
}
div.information ul {
	margin: 0 0 0 2em;
	padding: 0;
}
div.information li {
	margin: 0;
	padding: 0 1em 0 0;
}

div.more_link {
	font-size: 60%;
	text-align: right;
	padding-right: 3%;
}
div.more_link a {
	padding: 0.2em 0.5em;
}

/* --　書籍紹介 ----------------------------------------------------- */

div.pickup {
	position: relative;
	margin: 0.1em;
	padding: 0.1em;
	text-align: center;
}

div.pickup_cover {
	display: inline-block;
	width: 30%;
	height: 100%;
	position: relative;
	vertical-align: top;
	margin: 0;
	padding: 1%;
}

div.pickup_cover a {
	display: inline-block;
	padding: 2%;
}

span.pickup_name {
	position: relative;
	display: inline-block;
	vertical-align: top;
	font-size: 70%;
	margin: 0;
	padding:0;
}

/* --　アクセスランキング ------------------------------------------- */

div.rankinglistitem {
	position: relative;
	padding: 0.1em 0;
	margin: 0;
	text-align: center;
}

div.rankinglistitem_title {
	display: inline-block;
	width: 60%;
	font-size: 0.8em;
	font-weight: bold;
	position: relative;
	text-align: left;
	padding: 0;
	margin: 0;
	vertical-align: middle;
}

div.rankinglistitem_author {
	display:inline-block;
	width: 30%;
	font-size: 0.6em;
	position: relative;
	text-align: right;
	padding: 0;
	margin: 0;
	vertical-align: middle;
}

/* --　スペシャルサイト --------------------------------------------- */

div.banner {
	position: relative;
	margin: 1%;
	padding: 1%;
}

/* --　おすすめ ----------------------------------------------------- */

div.recommend {
	position: relative;
	margin: 0.1em;
	padding: 0.1em;
	text-align: center;
}

div.recommend_title {
	font-size: 70%;
	font-weight: bold;
	margin-left: 3%;
	margin-right: 4px;
	margin-bottom: 3px;
	padding: 0;
}

div.recommend_cover {
	display: inline-block;
	width: 30%;
	position: relative;
	vertical-align: bottom;
}

div.recommend_detail {
	display:inline-block;
	width: 60%;
	position: relative;
	vertical-align: top;
	font-size: 70%;
	text-align: left;
}

/* --　リンク ------------------------------------------------------- */

a.singleline_link {
	display: block;
	font-size: 70%;
	margin-left: 2%;
	margin-right: 2%;
	padding: 0;
}
