@charset "utf-8";
/*swiper コミック*/
/*body{overflow-y:hidden;}*/
#viewer_div{
	display: none;
	width: 100%;
	height: 100vh;
	padding:0;
	position: fixed;
	z-index: 1000;
	top:52px;left: 0;
	background-color: rgba(37, 31, 57, 0.8);
	align-items: center;
	justify-content: center;
	overflow-x: hidden;
	overflow-y:scroll;	
}
.viewer_flex_div{
	display: flex;
	width: fit-content;	
	margin: 0 auto;
	align-items: center;
}
#viewer_flex_swiper_div{
	/*border: 1px solid #000;*/
	width: 500px;
	height: 600px;
	overflow-x:hidden;
}
.viewer_flex_setumei_div{
	display: block;
	text-align: center;
	margin-left: 20px;
}
.swiper2{
	height: 100%;
	width: auto;
	cursor: pointer;
}
.swiper_gyakuten{
	flex-direction:row-reverse;
}
.swiper2 .swiper-slide{
	/*border: 1px solid red;*/
}
/*説明*/
/*ページアローボタン*/
.viewerswiper_allow_div{
	width: fit-content;
	display: flex;
	margin: 0 auto;
	margin-top: 40px;
}
.viewerswiper_allow_div img{
	height: 50px;
	width: auto;	
}
#viewerswiper_allow_m,#viewerswiper_allow_h{
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
/*CLOSEボタン*/
.viewer_close_div{
	/*border: 1px solid red;*/
	z-index: 1001;
	cursor: pointer;
	text-align: center;
}
.viewer_close_img{
	width: 24px;height: 24px;
}
.viewer_img{
	height: 100%;
}
.viewer_title_div{
	margin:60px auto;
}
.viewer_title_div p{
	color: #FFF;
	font-size: 16px;
	font-weight: 700;
}
.viewer_title_p1,.viewer_title_p2{
	text-align: center;
	transform:rotateZ(0.03deg);
}
@media screen and (max-width: 1200px) {
	#viewer_div{top:0;}
}
@media screen and (max-width: 942px) {
.viewer_flex_div{display: block;}
.viewer_flex_setumei_div{margin: 0;}
.viewer_flick_img{margin: 20px auto;}
.viewer_title_div{margin: 0 auto;
margin-bottom: 20px;}
.viewer_title_p2{
	text-align: left;
	margin: 0 auto;
	width: fit-content;
}
.viewerswiper_allow_div{margin-top: 0;}
}
@media screen and (max-width: 540px) {
#viewer_div{
	flex-direction: column;
justify-content: flex-start;
}
.viewer_flex_div{
	padding-top: 10px;
}
#viewer_flex_swiper_div{
	
	height: 500px;	
}
}
@media screen and (max-width: 430px) {
.viewer_title_div{margin: 0;}
.viewer_close_div{
	display: block;
	position: fixed;
	bottom:20px;left: 0;right: 0;
	margin: 0 auto;
	text-align: center;
}
}
@media screen and (max-width: 375px){
.viewer_flex_div{padding-top: 4px;}
.viewer_flick_img {margin: 0px auto;}
.viewer_title_div p{font-size: 12px;}
.viewer_close_div{margin-bottom:10px;}
.viewer_close_img{
	width: 20px;height: 20px;
}
}
@media screen and (max-width: 360px) {
.viewer_flex_div{padding-top: 20px;}
.viewer_title_div p{font-size: 14px;}
}
@media screen and (max-width: 320px) {

}
/*戻るボタンの位置を右側にする*/
@media screen and (max-height: 599px) {
.viewer_close_div{
	bottom:10px;
	text-align: right;
	width: 94%;
}
}
@media screen and (max-height: 430px) {
.viewer_close_div{
	position: fixed;
	top:10px;right:10px;
	bottom:auto;left:auto;
	text-align: right;
	padding-right: 0px;
}
}