@charset "utf-8";
/* CSS Document */

/*JS用*/


.shieldEnable{
	display: block!important;
	width: 100%!important;
	height: 100vh!important;
	position: absolute!important;
	top: 0!important;
	left: 0!important;
	background-color: rgba(228,32,35,0.65);
	pointer-events: none;
}




/*初期スタイル*/
:root{
	font-size: 16px;
}
body,section,div{
	margin: 0;
	padding: 0;
	font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
body{
	position: relative;
	overflow: hidden;
	background-color: #DEB02C;
	user-select: none;
}
section{
	position: absolute;
	top: 0;
	height: 100vh;
	width: 100%;
}
button:hover{
	cursor: pointer;
	opacity: 0.8;
}

#startWindow{
	z-index: 5000;
	background-color: #DEB02C;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	font-weight: 600;
	overflow-y: none;
}

#startWindow > div{
	max-width: 700px;
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#startWindow h1{
	text-align: center;
	font-size: 4rem;
	margin-bottom: 3rem;
}
#startWindow p{
	background-color: white;
	border: 10px solid #000000;
	text-align: center;
	line-height: 2;
	padding: 1em 0;
	border-radius: 20px;
	font-size: 1.5rem;
	margin-bottom: 3rem;
}
#startWindow button {
	display: block;
	font-size: 3rem;
	background-color: #00B3E7;
	margin: 0 auto;
	border: none;
	padding: 0.3em 1em;
	color: #FFFFFF;
	border-radius: 50px;
}
#gameWindow {
	background-color: #DEB02C;
}
#status {
	position: absolute;
	top: 0px;
	left: 0px;
	color: #FFFFFF;
	background-image: url(images/statusBG.svg);
	background-size: 110%;
	background-repeat: no-repeat;
	background-position: -2rem 0%;
	line-height: 1;
	padding-left: 1rem;
	padding-top: 0.25rem;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#scoreArea  {
	min-width: 350px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	line-height: 1;
	z-index: 100;
	position: relative;
	margin-top: calc(-1rem + -5px);
}
#maxScoreArea {
	font-size: 1.5rem;
	font-weight: 400;
}
#maxScoreArea .maxScore {
	font-size: 2rem;
	padding-left: 0.5rem;
}
#gameWindow .maxScore{
	color: red;
}
#nowScoreArea {
	font-size: 2.5rem;
	margin-top: -2.5rem;
	font-weight: 600;
}
#nowScoreArea .nowScore {
	font-size: 4rem;
	padding-left: 1rem;
}



#stageArea {
	width: 250px;
	font-size: 2.5rem;
	padding-top: 10px;
	margin-top: -1.8rem;
	z-index: -100;
	font-weight: 600;
}
#stageArea .nowStage {
	font-size: 4rem;
	padding-left: 1rem;
}



#countdownArea {
	position: absolute;
	top: 2rem;
	right: 2rem;
	background-image: url(images/timer.svg);
	width: 100px;
	height: 162px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	text-align: center;
}
#timeLimit {
	font-size: 3.5rem;
	width: 100%;
	display: block;
	margin-top: 34px;
	font-weight: 600;
}

.timeLimit_countdown{
	-webkit-animation: countDown 0.5s;
	        animation: countDown 0.5s;
}
.timeLimit_timeOver{
	-webkit-animation: timeOver 0.1s infinite;
	        animation: timeOver 0.1s infinite;
}

@-webkit-keyframes countDown{
	0%{
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
	25%{
		-webkit-transform: rotate(-20deg);
		        transform: rotate(-20deg);
	}
	75%{
		-webkit-transform: rotate(20deg);
		        transform: rotate(20deg);
	}
	100%{
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
}

@keyframes countDown{
	0%{
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
	25%{
		-webkit-transform: rotate(-20deg);
		        transform: rotate(-20deg);
	}
	75%{
		-webkit-transform: rotate(20deg);
		        transform: rotate(20deg);
	}
	100%{
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
}
@-webkit-keyframes timeOver{
	0%{
		-webkit-transform: rotate(-10deg);
		        transform: rotate(-10deg);
	}
	50%{
		-webkit-transform: rotate(10deg);
		        transform: rotate(10deg);
	}
	100%{
		-webkit-transform: rotate(-10deg);
		        transform: rotate(-10deg);
	}
}
@keyframes timeOver{
	0%{
		-webkit-transform: rotate(-10deg);
		        transform: rotate(-10deg);
	}
	50%{
		-webkit-transform: rotate(10deg);
		        transform: rotate(10deg);
	}
	100%{
		-webkit-transform: rotate(-10deg);
		        transform: rotate(-10deg);
	}
}

#sizi {
	font-size: 3rem;
	text-align: center;
	margin-top: 30vh;
	font-weight: 600;

}
#card {
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	list-style-type: none;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	margin: 0 auto;
	max-width: 800px;
}
#card li {
	width: calc(100% / 3 - 2rem);
	background-color: #FFFFFF;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	height: 40vh;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 20px;
	border: 10px solid #000000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

#card li:hover{
	background-color: #CEC5A4;
	cursor: pointer;
}
#gameWindow li img {
	width: 80%;
	height: auto;
}
#notif {
	position: fixed;
	bottom: 10vh;
	right: -300px;
	text-align: left;
	color: #FFFFFF;
	padding-left: 1em;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-top-left-radius: 60px;
	border-bottom-left-radius: 60px;
	width: 300px;
	z-index: 5000;
	font-size: 3.5rem;
	font-weight: 600;
}

.okNotif{
	background-color: rgba(0,179,231,0.80);
}

.missNotif{
	background-color: rgba(231,0,12,0.80);
}



@-webkit-keyframes notifAnimation{
	0%{
		right: -300px;
	}
	5%{
		right: 0px;
	}
	80%{
		right: 0px;
	}
	100%{
		right: -300px;
	}
}



@keyframes notifAnimation{
	0%{
		right: -300px;
	}
	5%{
		right: 0px;
	}
	80%{
		right: 0px;
	}
	100%{
		right: -300px;
	}
}
@-webkit-keyframes notifAnimationSP{
	0%{
		right: -300px;
	}
	5%{
		right: 0px;
	}
	60%{
		right: 0px;
	}
	65%{
		right: -300px;
	}
	100%{
		right: -300px;
	}
}
@keyframes notifAnimationSP{
	0%{
		right: -300px;
	}
	5%{
		right: 0px;
	}
	60%{
		right: 0px;
	}
	65%{
		right: -300px;
	}
	100%{
		right: -300px;
	}
}	
.notifTrigger{
	-webkit-animation-name: notifAnimation;
	        animation-name: notifAnimation;
	-webkit-animation-duration: 2.5s;
	        animation-duration: 2.5s;
}










#scoreWindow {
	background-color:rgba(0,0,0,0.80);
	color: white;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	font-weight: 600;
	overflow-y: none;
}



#scoreWindowWrap{
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

#hightScoreMsg{
	font-size: 1rem;
	line-height: 1;
	opacity: 0;
	display: none;
	-webkit-animation: hightScoreMsgJump 1s infinite;
	        animation: hightScoreMsgJump 1s infinite;
	font-weight: 400;
}

@-webkit-keyframes hightScoreMsgJump{
	0%{
		opacity: 0;
	}
	30%{
		opacity: 1;
		-webkit-transform: translateY(-20px);
		        transform: translateY(-20px);
	}
	70%{
		opacity: 1;
		-webkit-transform: translateY(0px);
		        transform: translateY(0px);
	}
	100%{
		opacity: 0;
	}
}

@keyframes hightScoreMsgJump{
	0%{
		opacity: 0;
	}
	30%{
		opacity: 1;
		-webkit-transform: translateY(-20px);
		        transform: translateY(-20px);
	}
	70%{
		opacity: 1;
		-webkit-transform: translateY(0px);
		        transform: translateY(0px);
	}
	100%{
		opacity: 0;
	}
}

#scoreWindowWrap h2{
	margin-top: -0.8rem;
	font-size: 4rem;
	line-height: 1;
}

#statusArea{
	width: 100%;
	background-color: rgba(0,0,0,0.90);
	border: 5px solid white;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#statusArea dl{
	display: block;
	width: 80%;
	margin: 3rem auto;
	font-size: 0;
	text-align: left;
}
#statusArea dt{
	display: inline-block;
	width: 60%;
	font-size: 3rem;
	margin: 0;
}
#statusArea dd{
	display: inline-block;
	width: 40%;
	font-size: 3rem;
	margin: 0;
	padding-left: 1em;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#scoreWindowWrap button{
	display: inline-block;
	font-size: 3rem;
	background-color: rgba(255,255,255,0.80);
	border: 8px solid rgba(0,0,0,1.00);
	margin-top: calc(-3rem + -8px);
	padding: 0.2em 1em;
}

audio{
	display: none;
}



@media screen and (max-width:500px){
	#sizi{
		margin-top: 35vh!important;
	}
	#card li{
		width:calc(100% / 3 - 10px);
		height: calc(50vw);
		padding: 0;
	}
	#card img{
		width: 100%!important;
	}
	.notifTrigger{
		-webkit-animation-name: notifAnimationSP!important;
				animation-name: notifAnimationSP!important;
		-webkit-animation-duration: 2s!important;
				animation-duration: 2s!important;
	}
	#statusArea dt{
		width: 40%!important;
	}
	#scoreWindow{
		overflow-y: auto!important;
	}
	#startWindow{
		overflow-y: auto!important;
	}
}
