@charset "utf-8";

/* ========================== GLOBAL ========================== */
*{
	margin: 0;
	padding: 0;
}
html{
	height: 100%;
}
body{
	height: 100%;
	background: #000;
}

a{
	outline: none;
	text-decoration: none;
	cursor: pointer;
}
img{
	max-width: 100%;
	border: none;
}

#wrap{
	background: #000;
}
#wrapInner{
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	padding: 0 0 30px 0;
}

#pageTitle h1 img{
	display: block;
}


/* ========================== Quiz Board ========================== */
#QuizBoard{
	position: relative;
}

#QuizBoardInner{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}
#bgScreen{
	background: url(img/bgEnterance.jpg) no-repeat scroll center top;
	background-size: contain;
}
#bgSpacer{
	width: 100%;
	height: auto;
	opacity: 0.3;
}


/* -------------------------- ENTER NOTE -------------------------- */
#enterNote{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.75);
	text-align: center;
	z-index: 99;
}
#enterNoteInner{
	display: inline-block;
	position: relative;
	max-width: 90%;
	margin-top: 5%;
}
#enterNote img{
	display: block;
	max-width: 100%;
}
#enterNote #enterA{
	display: block;
	position: absolute;
	top: 83%;
	left: 50%;
	width: 50%;
	margin-left: -25%;
	background: url(img/enterA_.png) no-repeat scroll center center;
	background-size: 100%;
}
#enterNote #enterA img{opacity: 0;}
#enterNote #enterA:hover img{opacity: 1;}



/* -------------------------- MESSAGE -------------------------- */
.message{
	display: none;
	width: 86%;
	margin: 0 7%;
}
.messageInner{
	display: block;
	position: relative;
	padding: 7px 7px;
	background: rgba(11,11,11,0.75);
	border: solid #292e33 2px;
	border-radius: 2px;
	font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.5;
	color: #ccc;
}

.close{
	content: "×";
	display: block;
	position: absolute;
	top: -10px;
	right: -10px;
	width: 24px;
	height: 24px;
	background-color: #999;
	background-color: rgba(200,200,200,0.8);
	border-radius: 30px;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	font-weight: bold;
	font-size: 20px;
	line-height: 20px;
	color: #111;
	z-index: 5;
}
.close:hover{
	background-color: #fff;
	background-color: rgba(255,255,255,0.9);
}


/* ========================== SCENE00 ========================== */
#scene01{
	display: none;
}
#enterBTN{
	display: block;
	width: 90%;
	margin: 60% auto 0px auto;
	background: url(img/enteranceBTN.png) no-repeat scroll center center;
	background-size: 90%;
	overflow: hidden;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
#enterBTN:hover{
	background-size: 95%;
}
#enterBTN img{
	visibility: hidden;
	width: 100%;
}

#message00{
	margin-top: 3%;
}


/* ========================== SCENE01 ========================== */
.playing #scene00{
	display: none;
}
.playing #scene01{
	display: block;
	height: 100%;
}

.zoomup{
	cursor: pointer;
}
.item{
	position: absolute;
}
.dialog{
	display: block;
	position: absolute;
	opacity: 0;
	cursor: pointer;
}


/* -------------------------- ROOM -------------------------- */
.room{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.roomA #roomA,
.roomB #roomB,
.roomC #roomC,
.roomD #roomD,
.roomE #roomE,
.roomF #roomF,
.roomG #roomG{
	display: block;
}

/* -------------------------- ROOM NAME -------------------------- */
#roomName{
	display: block;
	margin: 7% 0 0 0;
	text-align: center;
}
#roomName img{
	display: inline-block;
	width: 32%;
}

/* -------------------------- QUESTION BTN -------------------------- */
.questionBTN{
	display: block;
	position: absolute;
	text-align: center;
}
.questionBTN{
	display: inline-block;
	max-width: 32%;
}

/* -------------------------- QUESTION BOARD -------------------------- */
#questionBoard{
	display: none;
	position: absolute;
	top: 21%;
	left: 0;
	height: 50%;
	text-align: center;
}
#questionBoardInner{
	margin: 0 5%;
	height: 100%;
	background: url(img/questionBG.png) no-repeat scroll center center;
	background-size: contain;
}


/* -------------------------- MESSAGE -------------------------- */
#message01{
	position: absolute;
	bottom: 12%;
	left: 0;
	z-index: 10;
}
#messageInner01{
	padding: 5px 5px;
	line-height: 1.3em;
}


/* -------------------------- ANSWER FORM -------------------------- */
#answerFrom{
	position: absolute;
	bottom: 3%;
	left: 0;
	width: 86%;
	margin: 0 7%;
	z-index: 11;
}
#answerFrom form{
	position: relative;
	display: inline-block;
	width: 72%;
}
#answerFrom form input{
	display: block;
	width: 97%;
	height: 25px;
	padding: 3px 5px;
	background: rgba(222,222,222,0.75);
	border: solid #fff 2px;
	border-radius: 2px;
	font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-size: 17px;
	font-weight: bold;
	letter-spacing: -0.05em;
	color: #333;
}
#answerFrom form small{
	position: absolute;
	bottom: -1.7em;
	left: 0.1em;
	color: #ccc;
	font-size: 9px;
	letter-spacing: 0.1em;
}
#answerFrom #answerBTN{
	display: inline-block;
	position: absolute;
	top: 0;
	right: 0;
	width: 70px;
	height: 35px;
	background: url(img/formBTN_.png) no-repeat scroll 0px 0px;
	background-size: 100% auto;
	overflow: hidden;
}
#answerFrom #answerBTN img{
	display: block;
	opacity: 0;
}
#answerFrom #answerBTN:hover img{
	opacity: 1;
}

/* F */
.roomG #questionBTN{display: none;}


/* -------------------------- NEXT -------------------------- */
#next{
	display: none;
	position: absolute;
	bottom: 3%;
	left: 0;
	width: 86%;
	margin: 0 7%;
	z-index: 12;
}
#nextBTN{
	display: block;
	width: 100%;
	background: url(img/next_.png) no-repeat scroll center top;
	background-size: contain;
	overflow: hidden;
}
#nextBTN img{
	display: block;
	opacity: 0;
}
#nextBTN:hover img{opacity: 1;}


/* -------------------------- L -------------------------- */
#theLblock{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.75) url(img/itemL.png) no-repeat scroll 50% 20%;
	background-size: 70% auto;
}



/* ========================== OVER LAYER ========================== */
#overLayer{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.75);
	text-align: center;
	line-height: 550px;
	z-index: 100;
}
#overLayerInner{
	display: table-cell;
	position: relative;
	vertical-align: middle;
}
#overLayerInner #item{
	position: relative;
}
#overLayerInner #item img{
	display: block;
	max-width: 100%;
}



