@charset "utf-8";
/* CSS Document */


/* TOP読み込み時 */
#stageContents {
	position: relative;
	margin: 6% 0;
}
#bgStage	{
    margin-top: 5%;
}
#bgStageFlame	{
	position:absolute;
	top:0;
	left:0;
	z-index:1;
}
.special_ttl {
	position: absolute;
	top: -7%;
	left: 0;
	z-index: 100;
}
#start {
	position: absolute;
	top: 0;
}
#startBtn {
	position: absolute;
	top: 68%;
	left: 10%;
	z-index:2;
}
/* あそびかた */
#description {
    position: absolute;
    top: 10%;
    left: 0px;
}
#description img {
	margin-bottom: 5%;
}
#difficultySelect {
    position: absolute;
    bottom: 10%;
    left: 0;
	width: 92%;
	padding: 0 4%;
	z-index:2;
}
#difficultySelect div {
    float: left;
    cursor: pointer;
		width: 49%;
}
#difficultySelect div:first-child {
	margin-right: 2%;
}
/* ゲーム画面 */
#q_num_area {
    position: absolute;
    top: 20%;
    left: 3%;
    text-align: center;
}
#q_num_top {
	width: 30%;
    float: left;
    padding-top: 9%;
	margin-right: 2%;
}
#num1, #num2, #num3 {
	width: 17%;
	float: left;	
}
#q_num_bottom {
	width: 46%;
    float: left;
    padding-top: 10%;
    margin-left: 3%;
}
#gameTitle {
    position: absolute;
    top: 6%;
    left: 2%;
}
#tvTitle {
    position: absolute;
    top: 17%;
    right: 3%;
}
#btnHint1 {
    position: absolute;
    bottom: 6%;
    left: 21%;
	width:27%;
}
#btnHint2 {
    position: absolute;
    bottom: 6%;
    right: 21.5%;
	width:27%;
}
#btnHint1,
#btnHint2 {
    cursor: pointer;
	z-index:2;
}

/* ▼選択肢ボタン配置▼ */
#btnAnswerArea	{
	position:absolute;
	top:63%;
	left:0;
	width:98%;
	z-index:2;
}
.btnAnswerWrap	{
	position:relative;
}
#btnAnswerArea .btnAnswer	{
	cursor:pointer;
	position:absolute;
	top:0px;
	width: 32%;
}
#btnAnswerArea .btnAnswer img {
	width: 100%;
}
/*
.difficulty-1 = 難易度：かんたん
.difficulty-2 = 難易度：むずかしい
*/
.difficulty-1 .btnAnswer-1	{
	left:17%;
}
.difficulty-1 .btnAnswer-2	{
	left:49%;
}
.difficulty-2 .btnAnswer-1	{
	left:3%;
}
.difficulty-2 .btnAnswer-2	{
	left:35%;
}
.difficulty-2 .btnAnswer-3	{
	left:67%;
}
/* ▲選択肢ボタン配置▲ */

#characterArea {
    position: absolute;
    top: 31.5%;
    width: 90%;
    padding: 0 5%;
}
#characterArea img {
    width: 100%;
}


.characterEffectOn	{
	-webkit-animation-name:characterEffect;
	-webkit-animation-timing-function:ease;
	-webkit-animation-duration:3000ms;
	
	-webkit-transform-origin: 50% 50%;
	
	animation-name:characterEffect;
	animation-timing-function:ease;
	animation-duration:3000ms;

	transform-origin: 50% 50%;
}
@-webkit-keyframes characterEffect{
0% {opacity:0;-webkit-transform:scale(1, 1) translateY(0%);}
1% {opacity:0;-webkit-transform:scale(1.3, 1.3) translateY(5%);}
18% {opacity:1;-webkit-transform:scale(1.3, 1.3) translateY(5%);}
90% {opacity:1;-webkit-transform:scale(1.3, 1.3) translateY(5%);}
100% {opacity:0;-webkit-transform:scale(1.3, 1.3) translateY(5%);}
}
@keyframes characterEffect{
0% {opacity:0;transform:scale(1, 1) translateY(0%);}
1% {opacity:0;transform:scale(1.3, 1.3) translateY(5%);}
18% {opacity:1;transform:scale(1.3, 1.3) translateY(5%);}
90% {opacity:1;transform:scale(1.3, 1.3) translateY(5%);}
100% {opacity:0;transform:scale(1.3, 1.3) translateY(5%);}
}


#congratsCharacter {
    position: absolute;
    top: 17.5%;
    width: 95%;
    padding: 0 2.5%;
}
#stage {
	position: absolute;
	top: 28%;
	left: 0;
	width: 96%;
	padding: 2% 2.3%;
}
#cage	{
	position:absolute;
	top: 31%;
    left: 4%;
	width: 92%;
}
#cage img	{
    width: 100%;
}
#correct,
#lose,
#congrats {
	position: absolute;
	top: 3%;
	left: 0;
	width: 100%;
}
#replayBtn {
    position: absolute;
    bottom: 9%;
    left: 0;
    width: 97%;
    padding: 0 3%;
    z-index: 2;
}
#replayBtn div {
    float: left;
    margin-right: 2%;
    cursor: pointer;
	width: 48%;
}
#replayBtn div:last-child {
    margin-right: 0;
}
#nextBtn {
    position: absolute;
    bottom: 9%;
    left: 0;
    width: 60%;
    text-align: center;
    padding: 0 20%;
    z-index: 2;
}
#btnNextQuestion {
	margin: 0 auto;
}
#cageBrakeCorrect,
#cageBrakelose,
#bgStageAnimation	{
	position:absolute;
	top: 3.4%;
    left: 0;
    width: 100%;
    height: 96.3%;
}
#cageBrakeCorrect	{
	background: url(../../common/images/special/sprite_correct.png) no-repeat;
	background-position: 0 center;
}
#cageBrakelose	{
	background: url(../../common/images/special/sprite_lose.png) no-repeat;
	background-position: 0 center;
}
#finishBtn	{
	position: absolute;
    bottom: 9%;
    left: 0;
    width: 60%;
    text-align: center;
    padding: 0 20%;
    z-index: 2;
}
#finishBtn div	{
	cursor:pointer;
}

/* ▼ヒント▼ */
.modal-content.hint1,
.modal-content.hint2 {
    width:96%;
	height:48%;
	margin:26% 2% 0;
}
.modal-content .hintContent {
	position:relative;
	width: 100%;
}
.modal-content .hintContent:before {
	content:"";
    display: block;
    padding-top: 90%;
}
.modal-content .hintContent .bgHint {
	position:absolute;
	top:0%;
	left:0%;
	width: 98%;
	margin:0 1%;
}
.modal-content .hintContent .hintImage,
.modal-content .hintContent .hintClose	{
	position:absolute;
}
.modal-content.hint1 .hintContent .hintImage	{
	top: 32.5%;
    left: 29%;
    width: 41%;
}
.modal-content.hint2 .hintContent .hintImage	{
	top: 27%;
    left: 14%;
    width: 72%;
}
.modal-content .hintContent .hintImage img	{
	width:100%;
}
.modal-content .hintContent .hintClose	{
	top:88%;
	right: 0%;
	z-index:2;
	width:25%;
}
.modal-content .hintContent .hintClose img	{
	width:100%;
}
/* ▲ヒント▲ */

/* ポップアップ */
.modal-wrap {
    z-index: 10002;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}
#q_num_pop {
    position: relative;
    width: 90%;
    margin: 40% 5% 0;
}
.modal-content	{
	display:none;	
}
.modal-overlay {
    z-index: 10001;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(255,255,255,0.75);
}