@charset "utf-8";

* {
	margin:0;
	padding:0;
}
img {
	border:none;
}
body {
	line-height:170%;
	font-family:"メイリオ";
	font-size:14px;
	background:url("../img/bg_base.jpg") #000000 center no-repeat;
	background-size: 100% auto;
}
p{
	text-shadow: 1px 1px 1px rgba(255,255,255,0.3);
}
header {
	position:absolute;
	left:0;
	top:0;
	background-color:#121212;
	width:100%;
	height:104px;
	z-index:100;
}
header::after {
	content: "";
	display: block;
	height: 6px;
	background-color: #000;
	-webkit-box-shadow: 0 1px 1px rgba(255,254,236,.69), inset 0 1px 1px rgba(0,0,0,.35);
	-moz-box-shadow: 0 1px 1px rgba(255,254,236,.69), inset 0 1px 1px rgba(0,0,0,.35);
	box-shadow: 0 1px 1px rgba(255,254,236,.69), inset 0 1px 1px rgba(0,0,0,.35);
	background-image: -webkit-linear-gradient(left, #705514 1%, #faf2ba 11%, #765c1b 24%, #f8efb7 39%, #f5ebb3 63%, #6e5211 77%, #f1e7af 89%, #604200);
	background-image: -moz-linear-gradient(left, #705514 1%, #faf2ba 11%, #765c1b 24%, #f8efb7 39%, #f5ebb3 63%, #6e5211 77%, #f1e7af 89%, #604200);
	background-image: -o-linear-gradient(left, #705514 1%, #faf2ba 11%, #765c1b 24%, #f8efb7 39%, #f5ebb3 63%, #6e5211 77%, #f1e7af 89%, #604200);
	background-image: -ms-linear-gradient(left, #705514 1%, #faf2ba 11%, #765c1b 24%, #f8efb7 39%, #f5ebb3 63%, #6e5211 77%, #f1e7af 89%, #604200);
	background-image: linear-gradient(to right, #705514 1%, #faf2ba 11%, #765c1b 24%, #f8efb7 39%, #f5ebb3 63%, #6e5211 77%, #f1e7af 89%, #604200);
	margin-top:90px;
}

header div {
	width:1000px;
	margin:0 auto;
	position:relative;
}
header h1 {
	position:absolute;
	left:0px;
	top:30px;
}
header h2 {
	position:absolute;
	left:395px;
	top:36px;
	color:#FFFFFF;
	font-size:10px;
	line-height:18px;
	font-weight:normal;
}

#startScene,
#questionScene,
#commentaryScene,
#resultScene,
#contactScene,
#contactDoneScene {
	display:none;
	width:1000px;
	height:900px;
	margin:0 auto;
	position:relative;
}

#penClock {
	position:absolute;
	left:1222px;
	top:125px;
	z-index:200;
}

/* #startScene
--------------------------------*/
.startScene {
	background:url("../img/bg_start_main.png") center no-repeat;
}
.cards{
	list-style:none;
}
#startMessage {
	position:absolute;
	left:55px;
	top:390px;
	width:900px;
	text-align:center;
	font-size:16px;
}
#btnStartLand {
	position:absolute;
	left:99px;
	top:468px;
}
#btnStartBuild {
	position:absolute;
	left:369px;
	top:468px;
}
#btnStartMoney {
	position:absolute;
	left:639px;
	top:468px;
}

/* #questionScene
--------------------------------*/
.questionScene {
	background:url(../img/bg_question_main.png) center no-repeat;
}
.genreName {
	position:absolute;
	left:0;
	top:0;
	z-index:0;
}
.questionNumber {
	position:absolute;
	left:448px;
	top:272px;
	z-index:100;
	font-size:24px;
}
#question {
	position:absolute;
	left: 233px;
	top: 350px;
	width: 560px;
	font-size:24px;
	line-height:36px;
}
#btnQuestionYes {
	position:absolute;
	left: 258px;
	top: 500px;
}
#btnQuestionNo {
	position:absolute;
	left: 548px;
	top: 500px;
}
.flow {
	position:absolute;
	left:682px;
	top:735px;
}


/* #commentaryScene
--------------------------------*/
.commentaryScene {
	background:url(../img/bg_commentary_main.png) center no-repeat;
}
#OKNG {
	position:absolute;
	left: 149px;
	top: 372px;
	width: 258px;
	height: 258px;
	font-size:22px;
}
#OKNG.OK {
	background:url(../img/bg_commentary_ok.png) no-repeat;
	background-size: 90%;
	background-position: center center;
}
#OKNG.NG {
	background:url(../img/bg_commentary_ng.png) no-repeat;
	background-size: 90%;
	background-position: center center;
}

#answer {
	position:absolute;
	left:0px;
	top: 172px;
	width: 258px;
	text-align:center;
}
#ansTitle{
	position: absolute;
	text-align: center;
	font-size: 28px;
	margin-bottom: 30px;
	top: 369px;
	left: 457px;
	width: 400px;
}
#commentary {
	position: absolute;
	left: 457px;
	top: 414px;
	width: 400px;
	font-size: 16px;
	line-height: 26px;
	text-align: justify;
}
#btnNextQuestion {
	position:absolute;
	left: 575px;
	top: 600px;
}

/* #resultScene
--------------------------------*/
.resultScene {
	background:url(../img/bg_result_main.png) center no-repeat;
}
#pointTxt {
	position:absolute;
	position: absolute;
	left: 218px;
	top: 440px;
	color: #6b380f;
	font-size: 22px;
	width: 142px;
	text-align: center;
	line-height: normal;
}
#pointCnt{
	font-size: 74px;
	font-style: italic;
}
#unansweredTxt1,
#unansweredTxt2{
	position: absolute;
    font-size: 18px;
    left: 510px;
    top: 290px;
    width: 380px;
    text-align: center;
    line-height: 1.8;
}
.challengeTxt{
    display: block;
    font-size: 60px;
    line-height: 1;
}
#genreComment {
	position:absolute;
	left: 195px;
	top: 556px;
}
#resultComment {
	position:absolute;
	left: 148px;
	top: 617px;
	width: 294px;
	text-align: center;
}
#evaluationComment {
	position:absolute;
	left: 500px;
	top: 360px;
	width: 375px;
	font-size: 18px;
	line-height: 28px;
	text-align: justify;
}
#evaluationCommentImgWrap {
	position:absolute;
	left: 500px;
	top: 296px;
	width: 375px;
	text-align:center;
}
#btnContact {
	position:absolute;
	left: 498px;
	top: 553px;
}
#nextChallenge {
	position:absolute;
	left: 520px;
	top: 664px;
}
#btnRetryLand,
#btnRetryBuild,
#btnRetryMoney {
	display:none;
}
#retryBtn{
	position: absolute;
    left: 438px;
	top: 410px;
	list-style: none;
	width: 500px;
	text-align: center;
}
#retryBtn li{
	display:inline;
}
.nextChallengePos1 {
	/*position:absolute;
	left:731px;
	top:675px;*/
}
.nextChallengePos2 {
	/*position:absolute;
	left:846px;
	top:675px;*/
}

/* #contactScene
--------------------------------*/
.contactScene {
	background:url(../img/bg_contact_main.png) center no-repeat
}
#contactFormTable {
	position:absolute;
	left:205px;
	top:268px;
	width:587px;
	border-collapse:collapse;
}
#contactFormTable td {
	vertical-align:top;
}
#contactFormTable input,
#contactFormTable textarea,
#contactFormTable select {
	border:1px solid #AAAAAA;
}
#contactFormAddressTable tr {
	background-color: rgba(238,238,238,0) !important;
}

#contactFormTable textarea {
	margin-top:5px;
	height:37px;
}
#contactFormTable tr:nth-child(odd){
	background-color: rgba(107,56,15,0.1);
}
#contactFormTable tr:nth-child(2n+1) {
	background-color: rgba(107,56,15,0.1);
}
#contactFormTable p.require {
	background:url(../img/img_icon_require.gif) 40px 7px no-repeat;
}
#contactFormTable p.l {
	padding-left:80px;
	width:102px;
}
#contactFormTable p.r {
	width:405px;
}
#contactFormTable p.l,
#contactFormTable p.r {
	line-height:30px;
	min-height:30px;
}
#btnSubmitContact {
	position:absolute;
	left:388px;
	top:630px;
}

/* #contactDoneScene
--------------------------------*/
.contactDoneScene {
	background:url(../img/bg_contact_done_main.png) center no-repeat
}
#contactDoneMessage {
	position:absolute;
	left:200px;
	top:394px;
	width:609px;
	text-align:center;
}
#btnRestart {
	position:absolute;
	left:394px;
	top:510px;
}
.error_box {
	background: #ffffff; 
	border: 1px solid #ff0000;
	border-radius: 6px 6px 6px 6px;
    padding: 0 10px;
	position:absolute;
	color:#FF0000;
	white-space:nowrap;
}

footer {
	top: 870px;
	background-color: #121212;
	width: 100%;
	height: 100px;
	z-index: 100;
	position: absolute;
}
footer p {
	position:absolute;
	top:20px;
	left:0;
	width:100%;
	text-align:center;
	font-size:10px;
	color:#FFFFFF;
}

/* common style
--------------------------------*/
.w45 {
	width:45px;
}
.w90 {
	width:90px;
}
.w145 {
	width:145px;
}
.w285 {
	width:285px;
}
.w365 {
	width:365px;
}
.bold {
	font-weight:bold;
}