@charset "utf-8";

/* ======================================================
	レスポンシブ
====================================================== */

/* ======================================================
./====================================================== */
body{
	font-family:"ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	color: #333;
	text-align: center;
	font-size: 14px;
	line-height: 1.8;
	padding-bottom:150px;
}

img{
	vertical-align: bottom;
	border-style:none;
	width:100%;
}
li{list-style: none;}

.clearfix {}
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
a{color: #ff5a00;}
a:hover{text-decoration: none;}

.next_bt{
	width:100%;
}
#head{
	width:890px;
	margin:0 auto;
}
#head img{
	width:100%;
}
#mainCont{
	width: 890px;
	margin: 0 auto;
	background-image:url("../images/bg1.jpg");
	position:relative;
	overflow:hidden;
}
.next_bt{
	width:50%;
}

section>img{
	width:60%;
}

.title{
	margin:auto;
	margin-bottom: 10px;
	width:65%;
}
#tx {
	margin:auto;
	margin-bottom: 10px;
	width:65%;
}
ul#desc {
	margin-top: 10px;
}
ul#desc li {
	list-style: disc inside;
	font-size: 16px;
	margin-bottom: 5px;
	text-align: left;
	text-indent: -1em;
	padding-left: 1em;
}

#present{
	width:65%;
	margin:auto;
}

.next_bt, .next_bt_time {
	padding: 20px 0;
}

#howto {
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
}

#howto p {
    width: 60%;
    margin: auto;
}	margin-top: 15px;
}

.commonFoot{
	width:90%
	margin:auto;
}
footer{
	padding: 5%;
	margin:auto;
	width:65%;
}
.sp{
	display:none;
}
.ad728{
	width:728px;
	margin:10px auto;
}

.ad250{
	width:800px;
	margin:10px auto;
	display:flex;
	justify-content:space-around;
}

.ad250_1{
	width:300px;
}
.ad250_2{
	width:300px;
}

/* 広告周り */
#interClose{
	position: absolute;
	background-color: #fff;
	border: 1px solid #000;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 20px;
	font-size: 18px;
	top: -20px;
	z-index: 99999;
}
#inter{
	background-color: rgba(0,0,0,0.6);
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	display: none;
	z-index: 10000;
}
#inter>div{
	width:300px;
	margin:0 auto;
	margin-top: 100px;
	position: relative;
}
#footerAd{
	width: 100%;
	background-color: rgba(0,0,0,0.6);
	position: fixed;
	bottom: 0px;
	z-index: 9999;
	left: 0;
}
#footerInner{
	width: 320px;
	margin: 0 auto;
}
#adEnqReloaded{
	display:block;
}
#quakeSP{
	display:block !important;
}
.adSP1{
	width:320px;
	margin:15px auto;
}
.adSP2{
	width:300px;
	margin:15px auto;
}

.ad728{
	width:728px;
	margin:10px auto;
}

.ad250{
	width:650px;
	margin:10px auto;
	display:flex;
	justify-content:space-around;
}

.ad250_1{
	width:300px;
}
.ad250_2{
	width:300px;
}


/* ======================================================
	game
====================================================== */
article{
    background-color: #c9f1c6;
}
#mainContent{
	width:100%;
	height:100vh;
	margin:0 auto;
	background-size:cover;
	background-position: bottom;
	position:relative;
}

#startWrap{
	height:100vh;
	width:100%;
	position:absolute;
	z-index:100;
	background-color:rgba(255,255,255,0.8);
	cursor:pointer;
	z-index:100;
}
#startWrap h3{
	line-height: 50vh;
}
#startWrap img{
	width:60%;
}

#clearWrap{
	height: 600px;
	position: absolute;
	top: 365px;
	left: 0;
	padding-top:100px;
	z-index: 500;
	width:100%;
	text-align: center;
	display:none;
	background-color: rgba(0, 0, 0, 0.5);
}
#clearWrap img{
	width:60%;
}

#buttonWrap{
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 60%;
	margin: 2vh auto;
}
#button1,
#button2,
#button3{
	width:30%;
}
#buttonWrap img{
	width:100%;
}


#gameWrap{
	width:90%;
	margin:0 auto;
	height:500px;
	position:relative;
	overflow: hidden;

}
#backForest{
	width:100%;
	height:582px;
	overflow: hidden;
}
#backForestTop{
	height:582px;
	margin:0 auto;
	width:5000px;
	background-image:url("../images/game/item/forest_1.png");
	background-size:contain;
	background-repeat:repeat-x;
	background-position:center;
}
#backForestBottom{
	height:15vh;
	width:100%;
	background-color:#00f;
}

#character{
	width:30%;
	position:absolute;
	z-index:3;
	top:185px;
	left:20px;
}
#character img{
	width:100%;
}
#chara1{
    width: 50%;
}
#chara2{
    width: 50%;
    display:none;
}
#chara3{
	display:none;
    width: 75%;
}
#chara4{
    width: 50%;
	display:none;
}

#topForest{
	width:2200px;
	height:235px;
	position:absolute;
	top:0;
	left:0;
}
#leaf0,
#leaf1,
#leaf2,
#leaf3,
#leaf4,
#leaf5,
#leaf6,
#leaf7,
#leaf8,
#leaf9,
#leaf10{
	position:absolute;
	top:0;
	width:70px;
}
.blue{
	background-image:url("../images/game/item/leaf_blue.png");
	background-size:cover;
	height:290px;
	position:absolute;
	top:0;
	width:70px;
}
.red{
	background-image:url("../images/game/item/leaf_red.png");
	background-size:cover;
	height:290px;
	position:absolute;
	top:0;
	width:70px;
}
.green{
	background-image:url("../images/game/item/leaf_green.png");
	background-size:cover;
	height:290px;
	position:absolute;
	top:0;
	width:70px;
}

#leaf0{
	position:absolute;
	top:0;
	left:50px;
}
#leaf1{
	position:absolute;
	top:0;
	left:250px;
}
#leaf2{
	position:absolute;
	top:0;
	left:450px;
}
#leaf3{
	position:absolute;
	top:0;
	left:650px;
}
#leaf4{
	position:absolute;
	top:0;
	left:850px;
}
#leaf5{
	position:absolute;
	top:0;
	left:1050px;
}
#leaf6{
	position:absolute;
	top:0;
	left:1250px;
}
#leaf7{
	position:absolute;
	top:0;
	left:1450px;
}
#leaf8{
	position:absolute;
	top:0;
	left:1650px;
}
#leaf9{
	position:absolute;
	top:0;
	left:1850px;
}
#leaf10{
	position:absolute;
	top:0;
	left:2050px;
}
#goal{
	position:absolute;
	top: 320px;
	left: 2480px;
	width: 320px;
}
#correctWrap{
	width:100%;
	position: absolute;
	z-index:7;
	top:25vh;
}
#correctMark,
#incorrectMark{
	width:50%;
	margin:auto;
	display:none;
}
#correctMark img,
#incorrectMark img{
	width:100%;
}


.jumpChara{
	animation-fill-mode:forwards;
	animation-duration:0.5s;
	animation-iteration-count:1;
	animation-timing-function:linear;
	animation-delay: 0s;
	animation-direction:normal;
	animation-name: jumpAnim;
}
.fallChara{
	top:385px !important;
}
@keyframes jumpAnim{
	0% {top:185px;}
	50% {top:85px;}
	100% {top:185px;}
}

.goalChara{
	animation-fill-mode:forwards;
	animation-duration:0.5s;
	animation-iteration-count:1;
	animation-timing-function:linear;
	animation-delay: 0s;
	animation-direction:normal;
	animation-name: goalAnim;
}
@keyframes goalAnim{
	0% {top:185px;left:20px}
	50% {top:35px;}
	100% {top:190px;left:480px}
}

