@charset "UTF-8";

.A0 {
	/*オーバーレイをabsolute指定するため必要*/
	position: relative;
 
	 /*アニメーションの指定*/
	 -webkit-transition: all .5s;
	 -moz-transition: all .5s;
	 -o-transition: all .5s;
	 transition: all .5s;
}
 
 .A0.open {
	 height:100%;
	 /*クラス「open」が付いたら左に280px移動*/
	 -webkit-transform: translate3d(-220px, 0, 0);
	 -moz-transform: translate3d(-220px, 0, 0);
	 transform: translate3d(-220px, 0, 0);
 }
 
		 
 /* オーバーレイ表示をするためのCSS */
 .open .overlay {
	 position: absolute;
	 top: 0;
	 left: 0;
	 /*親要素の上に表示するためz-indexを指定*/
	 z-index: 9999;
 
	/*親要素一杯に広がるため縦横のサイズを100%に*/
	width: 100%;
	height: 100%;
 
	/*暗くするため黒の透明色を指定*/
	background: rgba(0, 0, 0, .8);
}
		
.open #header{
	//position:relative;
	top:0px !important;
	/*margin-top:0px !important;*/
}

		
#drawer {
	position: fixed; /*常に固定なのでfixed*/
	top: 0;
	right: -250px;  /*初期状態では隠すため、横幅のサイズ分だけ画面外に移動する*/
	width: 250px;
	height: 100%;
	background:#1a1a1a;
	color:white;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch; /*スマホでのスクロールに慣性を付ける（デバイス限定*/
	
	/*アニメーション指定*/
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}
 
#drawer.open {
	/*クラス「open」が付いたら左へ280px移動（画面内へ移動し表示される）*/
	-webkit-transform: translate3d(-250px, 0, 0);
	-moz-transform: translate3d(-250px, 0, 0);
	transform: translate3d(-250px, 0, 0);
}

/*********ドロワーメニューの内容**********/

/*MENU*/
#draw_menu_title {
	text-align:center;
	margin-top:30px;
	font-size:20px;
}
/*メニュー*/
#drawer ul {
	list-style-type:none;
	margin:0;
	padding:0;
	margin-top:30px;
}
#drawer ul li {
	border-bottom:1px solid #666;
	text-align:left;
	padding:20px 0 20px 20px;
	background-color:#323333;
}

#drawer ul li.active{
	background-color:#1a1a1a;
}

#drawer ul a:link { color: #fff; }
#drawer ul a:visited { color: #fff; }
#drawer ul a:hover { color: #fff; }
#drawer ul a:active { color: #fff; }
#drawer ul a li>p{
	font-size:20px;
	color:#ccc;
	margin:0;
}

#drawer ul a:first-child li {
	text-align:center;
	padding:0;
	background-color:#1a1a1a;
}



#drawer ul a:first-child li > p{
	margin-top:0px;
	margin-bottom:20px;
	margin-left:0;
	font-size:16px;
}
#drawer ul a:first-child li > p img{
	width:60%;
}

/*ハンバーガーボタン*/
		
#drawer-toggle {
	position:fixed;
	top:7px;
	right:15px;
	z-index:999;
	display:none;
}
.menu-trigger,
.menu-trigger span {
	display: inline-block;
	box-sizing: border-box;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;
}

.menu-trigger.open span {
	-webkit-transition: all .8s;
	-moz-transition: all .8s;
	-o-transition: all .8s;
	transition: all .8s;
}

.menu-trigger {
	position: relative;
	width: 24px;
	height: 18px;
}
.menu-trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #929292;
	border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
	top: 0;
}
.menu-trigger span:nth-of-type(2) {
	top: 8px;
}
.menu-trigger span:nth-of-type(3) {
	bottom: 0;
}
.menu-trigger.open span:nth-of-type(1) {
	-webkit-transform: translateY(8px) rotate(-45deg);
	-moz-transform: translateY(8px) rotate(-45deg);
	-o-transform: translateY(8px) rotate(-45deg);
	transform: translateY(8px) rotate(-45deg);
}
.menu-trigger.open span:nth-of-type(2) {
	left: -200px;
	opacity: 0;
	-webkit-animation: active-menu-bar02 3.8s forwards;
	-moz-animation: active-menu-bar02 3.8s forwards;
	-o-animation: active-menu-bar02 3.8s forwards;
	animation: active-menu-bar02 3.8s forwards;
}
@-webkit-keyframes active-menu-bar02 {
	100% {
		height: 0;
	}
}
@keyframes active-menu-bar02 {
	100% {
		height: 0;
	}
}
.menu-trigger.open span:nth-of-type(3) {
	-webkit-transform: translateY(-7.5px) rotate(45deg);
	-moz-transform: translateY(-7.5px) rotate(45deg);
	-o-transform: translateY(-7.5px) rotate(45deg);
	transform: translateY(-7.5px) rotate(45deg);
}



/*ぱんくず*/
.parentlink {
	padding-top:1px;
}

/*調整*/
#contents,.list_pages {
	margin-top:0px;
}



/***************GoToTop************************/

#page-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    font-size: 77%;
    width:112px;
    height:87px;
    display:none;
}

#page-top a img {
	width:100%;
	height:100%;
}

#page-top a {
    display: block;
    /*opacity:0.6;*/
}
#page-top a:hover {
    text-decoration: none;
    /*opacity:1;*/
}

@media screen and (max-width: 940px) {
	#page-top {
		width:80px;
		height:62px;
	}
}

/****************PageBack*******************/


/*コンテンツ用*/
.page_back {
	position:relative;
	margin:0 auto;
	width:100%;
	height:20px;
	z-index:10000;
}

.page_back.sp {
	display:none;
}

#visual .page_back, #scene_large .page_back,#movie .page_back,#scene .page_back,#search .page_back{
	height:18px;
}


/*コンテンツ用(img)*/
.page_back img{
	position:absolute;
	display:inline-block;
	height:13px;
	margin-top:0px;
	margin-left:0px;
	opacity:0;
}





@media screen and (max-width: 940px) {
	.gmenu {
		display:none;
	}
	.A2-1-3>div {
		display:none;
	}
	#drawer-toggle {
		display:block;
	}
	
	.page_back {
		height:28px;
	}
	
	.page_back.sp {
		display:inline-block;
	}
	.page_back.pc {
		display:none;
	}
	
	#visual .page_back, #search .page_back,#scene .page_back,#scene_large .page_back,#movie .page_back{
		height:28px;
	}
	
	.page_back a img {
		height:11px;
		margin-top:12px;
	}
	
	#visual .page_back a img, #search .page_back a img,#scene .page_back a img,#scene_large .page_back a img,#movie .page_back a img{
		height:11px;
		margin-top:12px;
	}
	
	
	#header .line_title {
		margin-top:-7px;
	}
	
}


@media screen and (max-width: 800px) {
	.page_back a img {
		margin-left:15px;
	}
}




	
@media screen and (max-width: 768px) {
	
	div.A2-1-2 {
		width:auto;
	}
	div.A2-1-1, div.A2-1-3 {
		width:50px;
	}
	
	
	
}









@media screen and (max-width: 480px) {
	
	#header .line_title {
		margin-top:5px;
	}
	
	.page_back {
		height:25px;
	}
	
	#visual .page_back, #search .page_back,#scene .page_back,#scene_large .page_back,#movie .page_back{
		height:15px;
	}
	
	.page_back a img {
		height:11px;
		margin-top:8px;
	}
	
	#visual .page_back a img, #search .page_back a img,#scene .page_back a img,#scene_large .page_back a img,#movie .page_back a img{
		margin-top:8px;
	}
}