@charset "utf-8";

h1,h2,h3,h4,h5,h6,p,ul,ol,dl,dt,dd{
	padding: 0;
	margin: 0;
}

ol,ul{
	list-style-type: none;
}

/*-----------------------------------------------
 root
-----------------------------------------------*/

html{
	overflow-y: scroll;
}

body{
	overflow:hidden;
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: 400;
}

/*-----------------------------------------------
 font
-----------------------------------------------*/

html{
	overflow-x: hidden;
	font-size: medium;
}

body{
	min-width: 1200px;
	font-size: 62.5%; /* 16px -> 10px */
}

div{
	line-height: 0;
}

dt,dd,li,
caption,th,td,
input,button,textarea,select,
h1,h2,h3,h4,h5,h6,address{
	line-height: 0;
	font-size: 140%;
	margin: 0;
	padding: 0;
}

p{
	line-height: 1.5;
	font-size: 140%;
	margin: 0;
	padding: 0;
}

h1 *,h2 *,h3 *,h4 *,h5 *,h6 *,
p input,p button,p select,
li h1,li h2,li h3,li h4,li h5,li h6,li p,li dt,li dd,li li,li th,li td,li input,li button,li textarea,li select,
dd h1,dd h2,dd h3,dd h4,dd h5,dd h6,dd p,dd dt,dd dd,dd li,dd th,dd td,dd input,dd button,dd textarea,dd select,
tr h1,tr h2,tr h3,tr h4,tr h5,tr h6,tr p,tr dt,tr dd,tr li,            tr input,tr button,tr textarea,tr select{
	font-size: 100%;
}

input,button,select,option,textarea{
	font-size: 14px;
}

figure{
	margin: 0;
}

a,
a:link,
a:visited{
	color: #1d99c1;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

section{
	position: relative;
}

@media only screen and (max-width: 640px) {
	body{
		min-width: 0;
	}	
}

/*-----------------------------------------------
 cf 
-----------------------------------------------*/

.clearfix:after {
	content: " "; 
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 1px;
}

* html .clearfix {
	height: 1px;
	/*¥*//*/
	height: auto;
	overflow: hidden;
	/**/
}

/*-----------------------------------------------
 hover
-----------------------------------------------*/

.hover :hover{
	opacity: 0.8;
	animation: btn 0.5s;
	-webkit-animation: btn 0.5s;
	-moz-animation: btn 0.5s;
}

@keyframes btn {
	0% { 
		opacity: 1;
	}
	10% { 
		opacity: 0.4;
	}
	100% {
		opacity: 0.8;
	}
}

@-webkit-keyframes btn {
	0% { 
		opacity: 1;
	}
	10% { 
		opacity: 0.4;
	}
	100% {
		opacity: 0.8;
	}
}
@-moz-keyframes btn {
	0% { 
		opacity: 1;
	}
	10% { 
		opacity: 0.4;
	}
	100% {
		opacity: 0.8;
	}
}

/*-----------------------------------------------
 body
-----------------------------------------------*/
body{
	background-color: #b19487;
	background-image: url(../img/global/bg-star.png) , url(../img/global/bg.png);
	background-position: center top;
	background-repeat: repeat-y , repeat;
	background-attachment: scroll , fixed;
}

@media only screen and (max-width: 1000px) {
	body{
		min-width: 0;
	}
}


/*-----------------------------------------------
 content
-----------------------------------------------*/
#content{
	position: relative;
	width: 1000px;
	margin: 0 auto 100px;
	padding: 0 0 20px;
	box-sizing: border-box;
	border-radius: 20px;
	background-size: auto auto;
	background-color: rgba(246, 171, 0, 0.6);
	background-image: repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(245, 162, 0, 0.6) 10px, rgba(245, 162, 0, 0.6) 20px );
}
#content section > .inner{
	position: relative;
	z-index: 1;
	width: 920px;
	min-height: 300px;
	margin: 0 auto 30px;
	padding: 20px;
	box-sizing: border-box;
	border-radius: 20px;
	background-color: #fff;
}
#content section > .inner .box{
	position: relative;
	min-height: 100px;
	box-sizing: border-box;
	border-radius: 20px;
	background-size: auto auto;
	background-color: rgba(105, 77, 70, 1);
	background-image: repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(112, 81, 73, 1) 10px, rgba(112, 81, 73, 1) 20px );
}
#content section > .inner .box::before{
	content: '';
	display: block;
	position: absolute;
	top: -20px;
	left: -10px;
	width: 318px;
	height: 68px;
	background-image: url(../img/top/before.png);
}
#content section > .inner .box::after{
	content: '';
	display: block;
	position: absolute;
	bottom: -20px;
	right: -10px;
	width: 318px;
	height: 68px;
	background-image: url(../img/top/after.png);
}
#content h2{
	margin-bottom: 10px;
	text-align: center;
}
#content h2 img{
	margin-top: -70px;
}
#content h3{
	position: relative;
	z-index: 1;
	margin-bottom: 20px;
	text-align: center;
}

@media only screen and (max-width: 1000px) {
	#content{
		padding: 0 0 20px;
	}
	#content > .inner{
		margin-bottom: 40px;
	}
}
/*-----------------------------------------------
 topic1
-----------------------------------------------*/
#topic1 p{
	margin-bottom: 20px;
}
#topic1 .btn{
	position: relative;
	z-index: 1;
	width: 303px;
	height: 74px;
	margin: 0 auto 30px;
}
#topic1 .btn a{
	display: block;
	width: 303px;
	height: 73px;
	background-image: url(../img/top/btn.png);
	font-size: 22px;
	line-height: 66px;
	text-align: center;
	color: #ffff00;
}
#topic1 .btn a:hover{
	display: block;
	width: 303px;
	height: 73px;
	background-image: url(../img/top/btn-on.png);
	color: #4c251b;
}
#topic1 .image{
	position: relative;
	z-index: 1;
	text-align: right;
}
/*-----------------------------------------------
 topic2
-----------------------------------------------*/
#topic2 p{
	margin-bottom: 20px;
}
#topic2{
	text-align: center;
}
#topic2 .box{
	padding: 20px 0;
}
#topic2 .box div{
	position: relative;
	margin-bottom: 10px;
}
#topic2 .box .app{
	position: absolute;
    left: 222px;
    bottom: 26px;
}
/*-----------------------------------------------
 topic3
-----------------------------------------------*/
#topic3 p{
	margin-bottom: 20px;
}
#topic3 .box{
	padding: 30px 0;
	text-align: center;
}
/*-----------------------------------------------
 topic4
-----------------------------------------------*/
#topic4 .box{
	padding: 40px 20px 20px;
}
#topic4 h4{
	position: relative;
	z-index: 1;
	margin-bottom: 10px;
	font-size: 26px;
	font-weight: bold;
	line-height: 1.5;
	color: #fbd102;  text-shadow:1px 1px 0 #4c251b, -1px -1px 0 #4c251b,
              -1px 1px 0 #4c251b, 1px -1px 0 #4c251b,
              0px 1px 0 #4c251b,  0-1px 0 #4c251b,
              -1px 0 0 #4c251b, 1px 0 0 #4c251b;
}
#topic4 p{
	font-size: 22px;
	font-weight: bold;
	color: #fff;
}
#topic4 ul{
	margin-bottom: 20px;
}
#topic4 ul li{
	font-size: 18px;
	line-height: 1.5;
	color: #fff;
}
/*-----------------------------------------------
 game
-----------------------------------------------*/
#game{
	height: 780px;
	background-image: url(../img/top/game-bg-wall.jpg);
}
#game .back{
	position: absolute;
	top: -29px;
	left: -211px;
}
#game .left{
	position: absolute;
	z-index: 1;
	top: 484px;
	left: -227px;
}
#game .right{
	position: absolute;
	z-index: 1;
	top: 425px;
    left: 730px;
}
#game .leftUp{
	position: absolute;
	z-index: 102;
	top: -8px;
	left: -8px;
}
#game .rightUp{
	position: absolute;
	z-index: 102;
	top: -8px;
	right: -8px;
}
#game .panel{
	position: relative;
	width: 824px;
	height: 544px;
	padding: 18px;
	margin: 178px auto 0;
	box-sizing: border-box;
	background-image: url(../img/top/game-panel.png);
}

#game .panel > .inner{
	position: relative;
	z-index: 0;
	height: 508px;
}

/* scene1 */

#game .shadow{
	position: absolute;
	z-index: 1;
	width: 788px;
	height: 508px;
	background-image: url(../img/top/game-shadow.png);
}

#scene1{
	overflow: hidden;
	position: absolute;
	z-index: 100;
	width: 788px;
	height: 508px;
	background-image: url(../img/top/game-scene1-bg.jpg);
}
#scene1 .logo{
	position: absolute;
    top: 30px;
    left: 81px;
}
#scene1 .start{
	position: absolute;
	z-index: 2;
	cursor: pointer;
    top: 360px;
    left: 170px;
    animation: blink 0.6s ease-in-out infinite alternate;
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

/* scene2 */

#scene2 {
	overflow: hidden;
	display: none;
	position: absolute;
	z-index: 99;
	width: 788px;
	height: 508px;
}

#scene2 .bg{
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 788px;
	height: 508px;
	background-image: url(../img/top/game-scene1-bg.jpg);
}

#scene2 .treasure{
	position: absolute;
	opacity: 0;
	z-index: 2;
    left: 223px;
    top: 218px;
}

#scene2 .popup{
	position: absolute;
	opacity: 0;
	z-index: 3;
    left: 97px;
    top: 206px;
}

#scene2 .popup2{
	position: absolute;
	opacity: 0;
	z-index: 3;
    left: 97px;
    top: 206px;
}

#scene2 .text{
	position: absolute;
	cursor: pointer;
	opacity: 0;
	z-index: 3;
    left: 263px;
    top: 277px;
}

#scene2 .arrow{
	display: none;
	position: absolute;
	z-index: 3;
    left: 239px;
    top: 280px;
    animation: blink 0.6s ease-in-out infinite alternate;
}

#scene2 .text2{
	position: absolute;
	cursor: pointer;
	opacity: 0;
	z-index: 3;
    left: 414px;
    top: 277px;
}

#scene3{
	overflow: hidden;
	position: absolute;
	z-index: 98;
	width: 788px;
	height: 508px;
}

#scene3 .bg{
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 788px;
	height: 508px;
	background-image: url(../img/top/game-scene3-bg.jpg);
}

#scene3 .treasure{
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 788px;
	height: 508px;
	background-image: url(../img/top/game-scene3-box.png);
}

#scene3 .result{
	display: none;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 42px;
	width: 707px;
	height: 395px;
	background-image: url(../img/top/game-bg-result.png);
}
#scene3 .result::before{
	content: '';
	display: block;
	width: 707px;
	height: 395px;
	background-size: 653px 341px;
	background-repeat: no-repeat;
	background-position: 27px;
}
#scene3 .result1::before{background-image: url(../img/global/ogp-chara1.png);}
#scene3 .result2::before{background-image: url(../img/global/ogp-chara2.png);}
#scene3 .result3::before{background-image: url(../img/global/ogp-chara3.png);}
#scene3 .result4::before{background-image: url(../img/global/ogp-chara4.png);}
#scene3 .result5::before{background-image: url(../img/global/ogp-chara5.png);}
#scene3 .result6::before{background-image: url(../img/global/ogp-chara6.png);}
#scene3 .result7::before{background-image: url(../img/global/ogp-chara7.png);}
#scene3 .result8::before{background-image: url(../img/global/ogp-chara8.png);}
#scene3 .result9::before{background-image: url(../img/global/ogp-chara9.png);}
#scene3 .result10::before{background-image: url(../img/global/ogp-chara10.png);}
#scene3 .result11::before{background-image: url(../img/global/ogp-chara11.png);}
#scene3 .result12::before{background-image: url(../img/global/ogp-chara12.png);}
#scene3 .result13::before{background-image: url(../img/global/ogp-chara13.png);}

#scene3 .select{
	display: none;
	position: absolute;
	z-index: 2;
    top: 376px;
    left: 239px;
	text-align: center;
}
#scene3 .select li{
	cursor: pointer;
}

#game .hidden{
	display: none;
	position: absolute;
	z-index: 101;
	width: 788px;
	height: 508px;
	background: #000;
}

/*-----------------------------------------------
 header
-----------------------------------------------*/
#header{
	position: relative;
	width: 1000px;
	height: 620px;
	margin: 0 auto;
}
#header h1{
    position: absolute;
    z-index: 1;
    top: 133px;
    left: 258px;
}
#header .c1{
	position: absolute;
    top: 9px;
    left: -313px;
}
#header .c2{
    position: absolute;
    top: 11px;
    left: 557px;
}
#header .catch{
	position: absolute;
	top: 481px;
	left: 0;
}
#header .fes{
    position: absolute;
    top: 3px;
    left: 506px;
}
/*-----------------------------------------------
 footer
-----------------------------------------------*/
#footer{
	position: relative;
	padding: 20px 0;
	min-height: 100px;
	color: #f6ab00;
	background-color: #4c251b;
}
#footer p{
	font-size: 11px;
}
#footer .sns {
	margin-bottom: 15px;
	text-align: center;
}
#footer .sns li{
	display: inline-block;
	vertical-align: middle;
	margin: 0 5px;
}
#footer .logo{
	margin-bottom: 15px;
	text-align: center;
}
#footer .copy{
	text-align: center;
}
#footer .author{
	width: 1000px;
	margin: 0 auto 15px;
	text-align: left;
}
#footer .pagetop{
	position: fixed;
	z-index: 10;
	right: 20px;
	bottom: 20px;
}

@media only screen and (max-width: 1000px) {
	#footer{
		padding: 20px;
	}
	#footer p{
		font-size: 3.125vw;
	}
	#footer .author{
		width: auto;
	}
}


/*-----------------------------------------------
 shoplist
-----------------------------------------------*/

#shoplist header{
	height: auto;
	padding: 20px 0;
}
#shoplist h1{
	position: static;
	text-align: center;
}

#shoplist .navigation{
	margin: 0 0 40px;
	border: 1px solid #000;
	background-color: #fff;
}
#shoplist .navigation h2{
	margin-bottom: 0;
	background-color: #4c251b;
	border: none;
	font-size: 18px;
	text-align: center;
	line-height: 2;
	color: #fff;
}

#shoplist #content{
	padding: 40px;
}

#shoplist .navigation ul{
	width: 872px;
	margin: 0 auto;
	padding: 10px 0;
}

#shoplist .navigation li{
	float: left;
	display: block;
	width: 109px;
	padding: 10px 0;
	font-size: 18px;
	line-height: 1.2;
	text-align: center;
	color: #ccc;
}
#shoplist .navigation li a{
	color: #4c251b;
}

/* list */

#shoplist h3{
	margin-bottom: 0;
	padding: 10px 0;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	text-align: center;
	line-height: 1.5;
	background-color: #eee;
}

#shoplist .list{
	margin-bottom: 20px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	box-sizing: border-box;
}

#shoplist .list li{
	float: left;
	width: 33.3%;
	width: calc(100% / 3);
	padding: 10px 0;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	box-sizing: border-box;
	background-color: #fff;
	line-height: 1.5;
	text-align: center;
}