@charset "utf-8";

/* ========================== GLOBAL ========================== */
*{
	margin: 0;
	padding: 0;
}
html{
	height: 100%;
}
body{
	height: 100%;
	background: #141922;
	color: #fff;
	font-family:"Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
	font-weight: 500;
}

a{
	outline: none;
	text-decoration: none;
	cursor: pointer;
}
img{
	max-width: 100%;
	border: none;
}

ul, ol{
    list-style: none;
}

#wrap{
	box-sizing: border-box;
	position: relative;
	max-width: 500px;
	min-height: 100vh;
	margin: 0 auto;
	background: #1d3c74;
	overflow: hidden;
    transition: 1s height 1s;
}
#wrapInner{
	box-sizing: border-box;
	position: relative;
	padding: 0 0 50px 0;
    background: #03214b url("img/BG.jpg") no-repeat scroll 50% 0% / 500px auto;
    z-index: 1;
    transition: 1s height 1s;
}

/* jiggle */
#wrapInner.jigA1 #wrapMain{ transform: translate(-1px, -3px); }
#wrapInner.jigB1 #wrapMain{ transform: translate(0px, 3px); }
#wrapInner.jigA2 #wrapMain{ transform: translate(1px, -2px); }
#wrapInner.jigB2 #wrapMain{ transform: translate(0px, 2px); }
#wrapInner.jigA3 #wrapMain{ transform: translate(-0.3px, -1px); }
#wrapInner.jigB3 #wrapMain{ transform: translate(0.3px, 0.5px); }
#wrapInner.jigA4 #wrapMain{ transform: translate(0px, -0.5px); }
#wrapInner.jigB4 #wrapMain{ transform: translate(0px, 0.2px); }



/* -------------------------- COMMON CLASSES -------------------------- */
.serif{
	font-family:"游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "HG明朝E", "メイリオ", Meiryo, serif;
	font-weight: 500;
}

.w470{
    width: 470px;
    margin: 0 auto;
}
.w440{
    width: 440px;
    margin: 0 auto;
}



/* -------------------------- SA -------------------------- */
.sa{
	opacity: 0;
	transform: translateY(10px);
	transition: 0.75s ease;
}
.on .sa.show{
	opacity: 1;
	transform: translateY(0px);
}
/*
.sItem{
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.on > .sItem{
    opacity: 1;
    transform: translateY(0px);
}

.sItem2{
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.on2 .sItem2{
    opacity: 1;
    transform: translateY(0px);
}
*/






/* ========================== HEADER ========================== */
#pageTitle{
	position: absolute;
	width: 100%;
	z-index: 101;
}

#pageTitle h1{
	max-width: 500px;
	margin: 0 auto;
}
#pageTitle h1 img{
	display: block;
}




/* ========================== WRAP MAIN ========================== */
#wrapMain{
	position: relative;
	min-height: 60vh;
	margin: 0 auto;
}
#wrapMainInner{
	max-width: 500px;
}

.stage{
	display: none;
    position: relative;
	padding-top: 100px;
    text-align: center;
}
.stage.on{
}

.sItem{
    display: block;
}

.step{
	display: block;
	width: 320px;
	margin: 15px auto;
}



/* ========================== MISSION STAGES ========================== */
.stageQ{
	background: url("img/BG2.png") no-repeat 50% 0% / 500px auto;
}

.inner01{
	position: relative;
}

.stepHead{
	margin: 5px auto;
}
.stepHead img{
	display: block;
	margin: 0 auto;
}

.stage img{
	display: block;
	margin: auto;
}

.stage .inner01 > .mission{
	background: rgba(0,255,255,0.15);
}






/* ========================== STAGE 01 ========================== */
#stage1{
    /**/display: none;
}
#stage1.on{
	display: block;
}

#stage1 .noteBox{
}
#stage1 .noteBox li{
	margin: 20px auto;
}
#stage1 .noteBox li:last-child{
	margin-top: 40px;
}

#stage1 div.lead img.lead:first-child{
	margin-top: -10px;
}
#stage1 div.lead img.lead:last-child{
	margin-top: -40px;
}

#stage1 .inner02{
	margin: 0 0 50px 0;
}
#stage1 .codenames{
	margin-top: -20px;
	padding-bottom: 20px;
}
#stage1 .codenames .cn{
	display: flex;
	align-items: center;
}
#stage1 .codenames .cn input{
	max-width: 220px;
	height: 46px;
}
#stage1 .form .inner{
	justify-content: center;
}



/* ========================== STAGE 02 ========================== */
#stage2{
    /**/display: none;
}
#stage2.on{
	display: block;
}

#stage2 div.lead img.lead:first-child{
	margin: -10px 0 -150px 0;
}

#stage2 .mission{
	margin: 50px 0;
}

#stage2 .inner02{
	margin: 0 0 50px 0;
}



/* ========================== STAGE 03 ========================== */
#stage3{
    /**/display: none;
}
#stage3.on{
	display: block;
}

#stage3 div.lead img.lead:first-child{
	margin: -15px 0 -260px 0;
}

#stage3 .mission{
	margin: 50px 0;
}

#stage3 .inner02{
	margin: 0 0 50px 0;
}



/* ========================== STAGE 04 ========================== */
#stage4{
    /**/display: none;
}
#stage4.on{
	display: block;
}

#lead0401{
	position: relative;
	top: -20px;
	margin-bottom: 10px;
}

#lineBTN{
	border-radius: 3px;
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.5);
}
#lineQR{
	display: block;
	margin: 25px auto 0px auto;
	background: rgba(255,255,255,0.8);
	border-radius: 3px;
}

#lead0402{
	margin-bottom: 50px;
}

#secret9{
	display: block;
	position: absolute;
	top: 20px;
	right: 50px;
	width: 80px;
	height: 80px;
	/*
	background: rgba(0,255,255,0.2);
	*/
}



/* ========================== STAGE 05 ========================== */
#stage5{
    /**/display: none;
}
#stage5.on{
	display: block;
}

#S05wrap{
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	height: 80vh;
	height: calc(100vh - 150px);
}

#stage5 .form{
	padding-bottom: 60px;
}






/* ========================== STAGE 06 ========================== */
#stage6{
	background: url("img/06_BG.jpg") no-repeat 50% 0% / 100% auto;
}

#stage6 .inner01 .lead{
	margin-top: -15px;
}
#stage6 .inner01 .lead img:last-child{
	margin-top: -20px;
}

#stage6 .inner02{
	padding: 20px 0 80px 0;
}
#stage6 .inner02 .btn{
	display: block;
	width: 410px;
	height: 70px;
	margin: 0 auto;
	background: #19b4e7;
	border-radius: 3px;
	box-shadow: 0px 3px 1px 0px rgba(0,0,0,0.3);
	cursor: pointer;
	transition: 0.3s;
}
#stage6 .inner02 .btn:hover{
	background-color: #36DBFF;
	box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.1);
}

#stage6 #tweet{
	margin: 0 0 60px 0;
}
#stage6 a.tweet{
	display: block;
	width: 320px;
	margin: 0 auto;
	background-color: #4aaae0;
	border-radius: 50px;
	overflow: hidden;
	cursor: pointer;
	transition: 0.3s;
}
#stage6 a.tweet:hover{
	background-color: #63C6FF;
}





/* ========================== FORM ========================== */
.form{
    margin: 0;
	padding: 10px 30px 30px 30px;
	transition: transform 0.05s;
}

.form .inner{
	display: flex;
	position: relative;
	justify-content: space-between;
	transition: transform 0.05s;
}

.form input{
	display: block;
	position: relative;
	width: 270px;
	width: calc(100% - 174px);
	height: 66px;
	background: rgba(0,0,0,0.3);
	border: solid 2px #19b4e7;
	border-radius: 3px;
    outline: none;
    text-indent: 10px;
	color: #fff;
	font-size: 36px;
	z-index: 1;
    transition: 0.5s;
}
.form input:focus{
    background: rgba(0,255,255,0.05);
}
.form input::placeholder{
    font-size: 32px;
    color: rgba(255,255,255,0.15);
}
.form input.X{
	border-color: #d14;
	color: #d14;
}

.form .btn{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 160px;
	height: 70px;
	background: #19b4e7;
	border-radius: 3px;
	z-index: 2;
	cursor: pointer;
	transition: 0.3s;
}
.form .btn img{
	width: 160px;
	height: 70px;
	padding-bottom: 0px;
	transition: ease 0.3s;
}
.form .btn:hover{
	background: #36DBFF;
}
.form .note{
	display: block;
	position: relative;
	padding: 10px 0;
	font-size: 16px;
	font-weight: bold;
}

/* jiggle */
.form.L .inner{
	transform: translateX(-5px);
}
.form.R .inner{
	transform: translateX(5px);
}

.form .cleared{
    opacity: 0;
    -webkit-filter: brightness(10) blur(2px);
    -moz-filter: brightness(10) blur(2px);
    -ms-filter: brightness(10) blur(2px);
    filter: brightness(10) blur(2px);
	/*
	*/
    transform: scale(1.5);
    transition: 0.7s ease 0.1s, opacity 0.6s ease 0.1s;
}



/* ============== S02-03 ============== */
.form .sItem{
	position: relative;
}
.form .judge{
	display: none;
	position: absolute;
	left: 50%;
	bottom: -50px;
	opacity: 0;
	z-index: 100;
	transform: translateX(-50%);
	transition: 0.4s ease;
}
.form .judge_x{
	width: 190px;
	height: 250px;
    background: url("img/judgeX.png") no-repeat 50% 50% / 190px auto;
}
.form .judge_o{
	width: 250px;
	height: 250px;
    background: url("img/judgeO.png") no-repeat 50% 50% / 250px auto;
}
.form.judgedX .judge_x{ display:block; }
.form.judgedX .judge_x.j1{ opacity:1; bottom:-20px; }
.form.judgedX .judge_x.j2{ opacity:0; bottom:10px; }
.form.judgedO .judge_o{ display:block; }
.form.judgedO .judge_o.j1{ opacity:1; bottom:-20px; }
.form.judgedO .judge_o.j2{ opacity:0; bottom:10px; }
.form.judgedO .inner{ opacity:0; transition:0.5s ease 0.7s; }
.form.judgedO .btnNext{ opacity:0; }
.form .inner.done::before, .form .inner.done::after{ display:none; }

.form .btnNext{
	right: 0;
	bottom: 0;
	width: 210px;
	padding: 0;
    background: #18bddb url("img/btnNext.png") no-repeat 50% 50% / 210px auto !important;
	border-radius: 10px;
	opacity: 1;
	transition: 0.5s;
}
.form .btnNext:hover{
	transform: scale(1.1);
	transition: 0.3s;
}



/* ============== form.NOT ============== */
.form.NOT .inner::before, .form.NOT .inner::after{
	display: none;
}
.form.NOT .btn img{
	width: auto;
	height: auto;
	padding: 0;
	transition: 0;
}
.form.NOT .btn:hover img{
	transform: scale(1);
}



/* ========================== DIALOG ========================== */
.dialog{
    display: none;
}
.dialog{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    overflow: auto;
    z-index: 102;
}
.dialog .inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 480px;
    height: 100%;
    margin: 0 auto;
    opacity: 0;
	overflow: auto;
    transform: translateY(10px);
    transition: 0.5s ease;
}
.dialog.on .inner{
    opacity: 1;
    transform: translateY(0px);
}
.dialog .main{
    position: relative;
	max-height: 90%;
	max-height: calc(100% - 60px);
	background: #f2eddb;
	border-radius: 10px;
	overflow: auto;
}
.dialog .text{
	padding: 30px 30px 20px 30px;
	text-align: center;
	font-size: 20px;
}
.dialog .close{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 70px;
    margin: 10px auto 30px auto;
    background: #18bddb;
    border-radius: 10px;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.25);
	z-index: 1;
    cursor: pointer;
    transform: translateY(-2px);
    transition: 0.3s ease;
}
.dialog .btnBack{
    width: 140px;
    height: 50px;
    padding: 5px 10px;
    background: #18bddb url("img/btnBack.png") no-repeat 50% 50% / 80px auto;
}
.dialog .btnBack:hover{
    box-shadow: 0px 0px 0px rgba(0,0,0,0.1);
	transform: translateY(0px);
}



/* ========================== S02-03 ========================== */
.dialog .btnRetry{
	width: 160px;
}
.dialog .btnNext{
	width: 160px;
}




/* ========================== FOOTER ========================== */
footer{
    position: absolute;
    bottom: 0;
	width: 100%;
    margin: 0;
	padding: 20px 0px;
    background: #a8b0b4 url("img/footerBG.jpg") repeat-y 50% 0% / 100% auto;
	z-index: 100;
}
footer ul{
    max-width: 97%;
    margin: 0 auto;
	text-align: center;
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	opacity: 0.75;
}
footer ul li{
	display: inline-block;
    white-space: nowrap;
}
footer ul li::after{
	content: ", ";
    display: inline-block;
    padding: 0 0.25em 0 0;
}
footer ul li:first-child::after,
footer ul li:last-child::after{
	content: "";
    display: none;
}


#holyLight{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 200vh;
	background: #fff;
	z-index: 999;
}
