
.pojimoto .ans{
	display:none !important;
}
#content div {
	color: #A52A2A;
}
body{
	background-color:#efefef !important;
}
#heroimage{
	margin-top:60px;
	overflow:hidden;
	background: linear-gradient(to top, var(--lighttheme) 0%, var(--lighttheme) 100%),url(../picture/heroimg2.jpg); 
	background-repeat:no-repeat;
	background-size:cover;
	width:100vw;
}
#hero-img{
	width:100vw;
	height:300px;
	object-fit:cover;
	filter:grayscale(100%);
}
#hero-text{
	color:white;
	padding:30px;
	margin:auto;
}

@media(min-width:1000px){
	#hero-text{
		width:940px;
	}
}
@media(max-width:1000px){
	#hero-text{
		width:calc(100vw - 60px);
	}
}

#maintitle {
	margin:0.2em 0;
	font-size: 4em;
	margin-top:0;
}

#contenticon {
	position: absolute;
	max-width: 300px;
	min-width: 150px;
	top: 3em;
	right: 5vw;
	left: auto;
	user-select: none;
}

#about {
	font-size: 1.2em;
	margin: 0;
}

@media(min-width:1000px){
	.typing,.operation{
		width:940px;
	}
	#create{
		width:980px;

	}
}

@media(max-width:1000px){
	.typing{
		padding:20px;
		width:calc(100vw - 40px - 40px);
	}
	.operation{
		padding:0px;
		width:calc(100vw - 40px);
	}
	#create{
		width:calc(100vw - 60px);
	}
}

.typing{
	cursor:pointer;
	margin:30px auto;
	padding:20px 30px;
	background-color:white;
	border-radius:10px;
	font-size:20px;
	font-weight:bold;
	overflow:hidden;
	position:relative;
	transition:all ease 0.3s;
	box-shadow:none;
	border:none;
}
@media(max-width:600px){
	.typing{
		margin-right:0;
		margin-left:0;
		box-shadow:0 0 10px #CCCCCC;
		border-radius:0;
		width:calc(100% - 40px);
	}
}

.typing:hover{
	box-shadow:0 0 15px #bbbbbb;
}
.theme{
	display:inline-block;
	padding:0.3em 1em;
	color:white;
	background-color:var(--themecolor);
	font-weight:bold;
	position:relative;
	top:-1em;
	margin:0;
	border-radius:0 0 10px 10px;
}
.created .theme,.typ0 .theme{
	background-color:var(--themecolor);
}
.qst{
	font-size:1.8em;
	font-weight:bold;
	color:#cccccc;
	margin:0;
	width:100%;
	text-align:center;
	padding-bottom:0.3em;
	border-bottom:solid 2px #cccccc;
}
.input, .flick{
	font-size:1.8em;
	margin:0;
	width:100%;
	text-align:center;
	padding:0em;
	padding-top:10px;
	color:#cccccc;
	word-break:break-all;
}
.ans,.input,.flick{
	font-family:"游ゴシック","Noto Sans CJK JP black","Noto Sans CJK JP","Noto Sans JP",sans-serif;
}
.focusing .input,.focusing .flick{
	color:black;
}
.focusing .qst{
	color:#333333;
}
.ans{
	font-size:25px;
	color:#cccccc;
	margin:0;
	width:100%;
	text-align:center;
	display:none;
}
.focusing .ans{
	color:var(--themecolor);
}

.timer span, .score span, .timer2 span, .score2 span, .score3 span{
	color:var(--themecolor);
	font-size:1.5em;
}
.timer,.timer2, .score, .score2, .score3{
	display:inline-block;
	margin:0.3em 1em;
}
.typing i{
	display:none;
	font-size:80px;
	color:var(--themecolor);
	position:absolute;
	left:calc(50% - 40px - 5px );
	top:calc(50% - 40px - 5px);
	background-color:white;
	border-radius:50%;
	padding:5px;
	box-shadow:0 0 10px #aaaaaa;
	transition:all ease 0.3s;
}
.rotate{
	transform:rotate(360deg) scale(0.5,0.5);
}


.pop{
	z-index:11;
	position:fixed;
	display:block;
	top:30px;
	right:0;
	left:0;
	margin:auto;
	overflow-y:scroll;
	overflow-x:hidden;
	list-style-type:none;
	background-color:white;
	box-shadow:0 0 0  10000px rgba(0,0,0,0.75);
	padding:20px 0;
	font-weight:600;
	font-size:25px;
	text-align:center;
	display:none;
	height:70vh;
	max-height:calc(100vh - 90px - 110px - 40px) !important;
}



@media(min-width:600px){
	.pop{
		width:calc(600px * 0.8);
		height:70vh;
	}
	#pop-score p:nth-child(5){
		width:calc(600px * 0.8 - 60px);
	}
}
@media(max-width:600px){
	.pop{
		width:85vw;
		height:70vh;
	}
	#pop-score p:nth-child(5){
		width:calc(80vw - 60px);
	}
}
@media(max-width:600px){
	.pop{
		width:100vw;
		height:70vh;
		border-radius:0;
	}
	#fixed{
		width:100vw !important;
	}
}




#pop-score p, #pop-score a,#pop-mode p{
	width:calc(100% - 60px);
	margin:0.5em 0;
	padding:0 30px;
}

#sccount{
	color:var(--themecolor);
	font-size:50px;
}
#pop-score p:nth-child(3){
	font-weight:500;
	font-size:17px;
	margin-top:30px;
}
#pop-score a{
	color:#aaaaaa;
	font-weight:600;
	font-size:20px;
	transition:all ease 0.3s;
}
#pop-score a:hover{
	color:royalblue;
}
#pop-score p:nth-child(5){
	position:fixed;
	bottom:calc(15vh - 30px);
	margin:0;
	padding:0.5em 30px;
	border-top:solid 1px #cccccc;
	text-align:center;
	background-color:white;
	border-radius:0 0 10px 10px;
}
#score-i{
	display:none;
}
#pop-score table{
	width:calc(100% - 60px);
	margin:30px;
	font-size:20px;
	border-collapse:collapse;
}
#pop-score tr{
	border-bottom:solid;
	border-color:#cccccc;
	border-width:1px;
}
#pop-score tr:last-child{
	border:none;
}
#pop-score tr td:first-child{
	text-align:left;
}
#pop-score tr td:last-child{
	text-align:left;
	color:var(--themecolor);
	font-weight:500;
	vertical-align:middle;
}
#pop-score td span{
	font-size:30px;
	font-weight:bold;
}
#decide{
	font-size:0.8em;
	padding: 0.3em;
	background-color:var(--themecolor);
	color:white;
	outline:none;
	border:none;
	width:calc(100% - 60px);
	margin:20px 30px;
	border-radius:10px;
	font-weight:bold;
	cursor:pointer;
	text-align:center;
}
#pop-mode p:first-child{
	margin-bottom:1em;
}
#pop-mode > div:not(.uploading){
	margin:20px 30px;
    border-radius:10px;
    padding:10px 18px;
    border:solid 2px transparent;
    transition:all ease 0.3s;
    cursor:pointer;
    color:#aaaaaa;
    overflow:hidden;
    box-shadow:0 0 10px #cccccc;
}
@media(max-width:400px){
	#pop-mode > div:not(.uploading){
		margin:15px;
		padding:10px 15px;
	}
	#pop-mode div p:first-child{
		font-size:20px;
	}
	#pop-mode div p:nth-child(2){
		font-size:17px;
	}

}

.selectedmode{
	color:var(--themecolor) !important;
	border:solid 2px var(--themecolor) !important;
}
.selectedmode p{
	color:var(--themecolor);
}

#pop-mode div p{
	width:100%;
	padding:0;
}
#pop-mode div p:first-child{
	margin:0;
	margin-bottom:0.1em;
}
#pop-mode div p:nth-child(2){
	font-size:0.7em;
	font-weight:500;
	margin:0;
}
#fmode p:nth-child(2){
	margin-bottom:10px !important;
	padding-bottom:10px;
	border-bottom:solid 1px #cccccc;
}
.inpto,.inpto2{
	padding:0;
	width:100%;
	position:relative;
	border:none;
	margin:0;
	margin-bottom:5px;
	font-size:17px;
	color:black;
	font-weight:500;
}
.inpto{
	display:none;
}
.inpto input,.inpto2 input{
	outline:none;
	border:none;
	border-bottom:solid 1px #cccccc;
	width:calc(100% - 2em);
	font-size:17px;
	padding:0.5em 1em;
	width:150px;
}
.inpto span,.inpto2 span{
	position:absolute;
	width:0px;
	height:1px;
	left:calc(75px + 1em);
	bottom:0;
	transition:all ease 0.3s;
	background-color:var(--themecolor);
}

.inpto input:focus ~ span{
	width:calc(150px + 2em);
	left:0;
	transition:all ease 0.3s;
}

#pop-mode div button{
	background-color:white;
	font-size:17px;
	border:none;
	outline:none;
	margin-top:5px;
	cursor:pointer;
}

.quit,.pass{
	float:right;
	display:inline-block;
	border-radius:5px;
	border:solid 1px #777777;
	padding:5px 1em;
	font-size:17px;
	color:#777777;
	transition:all ease 0.3s;
	cursor:pointer;
	background-color:white;
	margin-left:10px;
	margin-top:-5px;
}
.quit:hover,.pass:hover{
	color:var(--themecolor);
	border-color:var(--themecolor);
}
@media(max-height:600px){
	.qst{
		margin:10px 0;
	}
	.qst,.ans,.input,.flick{
		font-size:25px;
	}
	#header1{
		position:static !important;
	}

}
@media(max-width:600px){
	.typing{
		padding:20px;
	}
	.theme{
			display:block;
			margin:0 -20px;
			border-radius:0;
			margin-bottom:-10px;
			padding:0.5em 1em;
	}
	#maintitle{
		font-size:30px;
	}
	#about{
		font-size:17px;
	}
	.quit,.pass{
		float:none;
		font-size:15px;
		padding:0.2em 1em;
		position:static;
		display:inline-block;
		margin:0 5px;
		/*width:calc((100% - 2em - 10px - 20px) / 2);*/
		text-align:center;
	}
	.qst{
		margin:10px 0;
	}
	.qst,.ans,.input,.flick{
		font-size:25px;
	}
	#typ5{
		display:none;
	}
	#header1{
		position:static !important;
	}
}
#cstminp,#cstminp2{
	display:none;
	margin:10px 30px;
	width:calc(100% - 60px);
}
#cstminp p,#cstminp2 p{
	padding:0;
	margin-bottom:0 !important;
}
#cstminp2{
	color:black;
	border:none;
	border-radius:10px;
	width:calc(100% - 100px);
}
#cstminp2 input[type = "file"]{
	border:none;
	padding:0;
}
/*#cstminp2{
	border-radius:5px;
	border:solid 1px #aaaaaa;
	color:#aaaaaa !important;
	background-color:white !important;
	padding:0.3em 1em !important;
	text-align:center;
	margin:0;
	width:calc(100% - 2em);
}*/
.inpto2{
	margin:10px 0;
	width:calc(100%);
}
.inpto2 input{
	margin:0;
	width:calc(100% - 40px);

}
.inpto2 span{
	width:0;
	left:50%;
}
.inpto2 input:focus ~ span{
	width:calc(100%);
	left:0;
	transition:all ease 0.3s;
}
#create{
	box-shadow:0 0 10px #cccccc;
	background-color:white;
	border-radius:10px;
	padding:10px;
	text-align:center;
	margin:20px auto;
	cursor:pointer;
}
#create p{
	font-size:25px;
	padding:0;
	font-weight:bold;
	color:var(--themecolor);
	display:inline-block;
	margin:0;
}
#create p span{
	display:inline-block;
	background-color:var(--themecolor);
	color:white;
	text-align:center;
	line-height:1.2em;
	width:1.2em;
	font-size:0.8em;
	border-radius:50%;
}
#pop-create div, .quiz{
	width:calc(100% - 40px);
    padding:10px 20px;
    padding-top:40px;
    margin:0 0px;
    margin-left:0px;
    border-bottom:solid 2px var(--themecolor);
    font-size:20px;
    position:relative;
}
#fixed{
	position:fixed;
	bottom:30px;
	left:0;
	right:0;
	width:calc(600px * 0.8);
	margin:auto;
	padding:10px 0;
	background-color:white;
}



.delete ,.qst-ind{
	display:inline-block;
	position:absolute;
	font-size:1em;
}
.delete{
	right:20px;
	top:5px;
	color:black;
	cursor:pointer;
	font-weight:500;
	transition:all ease 0.3s;
	color:var(--themecolor);
}
.delete:hover{
	font-size:25px;
}
.qst-ind{
	color:var(--themecolor);
	left:20px;
	font-size:17px;
	top:5px;
}
.move{
	display:block;
	margin-bottom:-10px;
	width:calc(100%);
	text-align:right;
	margin-top:10px;
	font-size:1em;
	cursor:pointer;
	color:var(--themecolor);
}
#pop-create div:last-of-type{
	margin-bottom:150px !important;
}
#pop-create input, .quiz input{
	width: calc(100% - 2em - 2px);
    padding: 0.5em 1em;
    border-radius:10px !important;
    margin:5px 0;
    border:none;
    border-bottom:solid 2px #cccccc;
    background-color:whitesmoke;
    /*border-bottom:solid 2px var(--themecolor);*/
    font-size: 17px;
    transition: all ease 0.3s;
    outline:none;
    /*box-shadow:inset 0 0 5px #cccccc;*/
    font-weight:bold;
    margin-top:10px;
    color:var(--black);
}
#pop-create input:focus{
	/*font-weight:bold;*/
	border-bottom:solid 2px transparent;
	background-color:white;
	box-shadow: 0 0 0 3px var(--lighttheme);
}
#pop-create input:not(.dragitem input){
	border-radius:10px;
}
/*.dragitem input:first-of-type,.quiz input:first-of-type{
	border-radius:10px 10px 0 0 !important;
	border-bottom:none !important;
}*/
.dragitem input:first-of-type,.quiz input:first-of-type{
	margin-top:0 !important;
}
#pop-create > input{
	width:calc(100% - 40px - 2em);
	margin:10px 20px;
}
/*#pop-create input:focus, .quiz input:focus{
	border:solid 2px var(--themecolor);
}
.dragitem input:first-of-type:focus{
	border-bottom:dashed 2px;
	z-index:10;
}*/
#pop-create button:not(#crt-decide):not(#copycode1){
	outline:none;
	background-color:transparent;
	border:none;
	color:var(--themecolor);
	font-size:17px;
	text-align:center;
	cursor:pointer;
	width:calc(100% - 60px);
}
#copycode1,#copycode2,#copycode3,#editcode,#csave{
	font-size:17px;
	border-radius:10px;
	background-color:white;
	padding:0.3em 1em;
	border:solid 1px black;
	outline:none;
	cursor:pointer;
	margin:10px;
	/*width:calc(100% - 60px);*/
	display:inline-block;
	transition: all cubic-bezier(0, 0.76, 0.26, 2.03) 0.3s;
}
#copycode2,#copycode3,#editcode,#csave{
	width:calc(100% - 60px);
	display:block;
	margin:10px auto;
	border-radius:5px;
}
/*button{
	transition: all cubic-bezier(0, 0.76, 0.26, 2.03) 0.3s;
}*/
#pop-create p:active,#copycode1:active,#copycode2:active,#copycode3:active,#editcode:active,#csave:active,button:active{
	transform:scale(0.9,0.9);
	transition: all cubic-bezier(0, 0.76, 0.26, 2.03) 0.3s;
}
#crt-decide{
	display:inline-block;
	text-align:left;
	background-color:var(--themecolor);
	/*width:calc(100% - 2em);*/
	font-size:17px;
	font-weight:bold;
	color:white;
	border-radius:10px;
	border:solid 1px var(--themecolor);
	margin:10px auto;
	padding:0.3em 1em;
	cursor:pointer;
}
#pop-create p{
	margin:20px auto;
	width:calc(100% - 40px);
	margin-top:20px;
}
.missed{
	/*background-color:#efefef;
	border:solid 2px var(--themecolor);
	box-shadow:0 0 10px #888888;*/
	background-color: var(--shadow);
}
.quiz input{
	/*font-weight:bold;*/
}
.missed input{
	color:var(--themecolor);
	font-weight:bold;
}

.dragitem {
 	-webkit-user-select: none;
 	-moz-user-select: none;
 	-ms-user-select: none;
 	user-select: none;
}

#periodictable{
	width:100%;
	background-color:white;
	border-spacing:5px 5px;
	margin:20px 0;
}
#periodictable td:not(.empty){
	text-align:center;
	border-radius:5px;
	padding:0;
	margin:2px;
	border:solid 1px #aaaaaa;
}
#periodictable th{
	height:calc((1000px - 60px - 5px * 19 ) / 18);
	font-size:17px;
}
.typ5ans{
	border:none !important;
	background-color:var(--themecolor);
	box-shadow:0 0 10px #aaaaaa;
}
@media(min-width:1000px){
	#periodictable td:not(.empty){
		height:calc((1000px - 100px - 5px * 19 ) / 18);
		width:calc((1000px - 100px - 5px * 19 ) / 18);
	}
}
@media(max-width:1000px){
	#periodictable td:not(.empty){
		height:calc((100vw - 40px - 60px - 5px * 19 ) / 18);
		width:calc((100vw - 40px - 60px - 5px * 19 ) / 18);
	}
}
@media(max-width:600px){
	#typ5{
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
	}
}
#la{
	margin-top:10px;
}
.toggle-c{
	display:inline-block;
	border:solid 1px #cccccc;
	background-color:#cccccc;
	border-radius:30px;
	width:60px;
	position:relative;
	height:30px;
	transition:all ease 0.3s;
	margin-left:20px;
	vertical-align:middle;
	cursor:pointer;
}
.toggle{
	border-radius:50%;
	background-color:white;
	position:absolute;
	left:3px;
	height:24px;
	width:24px;
	top:3px;
	transition:all ease 0.3s;
	box-shadow:0 0 5px #aaaaaa;
}
.toggleon .toggle{
	transform:translateX(30px);
}
.toggleon{
	border-color:var(--themecolor);
	background-color:var(--themecolor);
}
#showkb,#oni{
	font-size:20px;
	font-weight:bold;
	background-color:white;
	padding:15px;
	/*border-bottom:solid 1px var(--themecolor);*/
	text-align:center;
	margin-bottom:0px;
}
#oni{
	background-color:transparent;
}

#typ3{
	margin-bottom:200px;
}
.flick{
	border:none !important;
	outline:none !important;
	font-weight:bold;
	width:100% !important;
	padding:10px 0;
}

.pass{
	display:none;
}

.pshow{
	display:inline-block !important;
}
