@charset "UTF-8";
/**********************************************************************
Style CSS
design by Naoki Kaga
**********************************************************************/

/* Font setting
--------------------------------------------------------*/
@font-face {
	font-family: 'Kfont';
	src: url(../../font/KKyokashoFont-R.woff);
	font-weight: normal;
}
@font-face {
	font-family: 'Kfont';
	src: url(../../font/KKyokashoFont-M.woff);
	font-weight: bold;
}
@font-face {
	font-family: 'Noto Sans JP';
	font-style: normal;
	font-weight: 300;
	src: local("Noto Sans CJK JP"),
		/* NOTE: you need to use v5 (not v6) to have effect of font-feature-settings: "palt" */
		url(//fonts.gstatic.com/ea/notosansjapanese/v5/NotoSansJP-Light.woff2) format('woff2'),
		url(//fonts.gstatic.com/ea/notosansjapanese/v5/NotoSansJP-Light.woff) format('woff'),
		url(//fonts.gstatic.com/ea/notosansjapanese/v5/NotoSansJP-Light.otf) format('opentype');
}
.ipad::-webkit-scrollbar,
.iphone::-webkit-scrollbar {
	background: #c8c8cb;
	height: 10px;
	border-radius: 5px;
}
.ipad::-webkit-scrollbar-thumb,
.iphone::-webkit-scrollbar-thumb {
	background: #c8c8cb;
	border-radius: 5px;
}
.dpN {
	display: none !important;
}
.android .spfont:lang(en) {
	font-family: 'Noto Sans JP';
}


/* 右クリック禁止
------------------------------------------- */
img {
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-webkit-touch-callout: none;
}




/* Base Style
--------------------------------------------------------*/
html {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	font-family: "UDデジタル教科書体 R", "UDDigiKyokasho Std", "UD デジタル 教科書体 NP-R", Helvetica, Arial, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
body {
	line-height: 1.4;
	color: #313131;
	background: #fff;
	width: 100%;
	overflow-y: scroll;
}
a {
	text-decoration: none;
}
img {
	width: 100%;
	height: auto;
	user-select: none;
}
* {
	box-sizing: border-box;
	word-break: normal;
}
*:before,
*:after {
	box-sizing: inherit;
}
sub,
sup {
	font-size: 70%;
}





.btn {
	cursor: pointer;
	transition: ease 0.1s;
}
.btn:active {
	transform: scale(0.9);
}
.btn.disable {
	cursor: default !important;
	pointer-events: none !important;
	opacity: 0.1 !important;
}
.closeBtn{
	cursor: pointer;
	transition: ease 0.1s;
}
.closeBtn:active{
	transform: scale(0.9);
}







/* ツール
------------------------------------------- */
#btnIndex{
	position: fixed;
	z-index: 20;
	font-size: 40px;
	line-height: 40px;
}
#btnIndex {
	left: 4px;
	top: 4px;
	width: 72px;
}




#wrap {
	padding-bottom: 160px;
}
#header {
	position: relative;
	width: 100%;
	background: #35a16b;
	color: #fff;
	font-weight: bold;
	margin-bottom: 10px;
	min-height: 80px;
	padding-left: 100px;
	line-height: 1.1em;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#header h1 {
	font-size:36px !important;
	line-height: 1.2;
}


#setting {
	background: #eee;
	align-self:stretch;
	color: #313131;
	font-size: 18px !important;
	display: flex;
	align-items: center;
	padding: 0 20px;
	line-height: 1.2;
}
#setting #textSizeBox,
#setting .maskBtn {
	display: inline-block;
	margin-bottom: 4px;
}
#setting #textSizeBox span{
	position: relative;
	top: -2px;
	display: inline-block;
	width: 48px;
	height: 32px;
	border: solid 2px #35a16b;
	line-height: 28px;
	text-align: center;
	vertical-align: middle;
	border-radius: 4px;
	margin: 0 2px;
	color: #35a16b;
}
#setting #textSizeBox.size1 span:nth-of-type(-n+1){background: #35a16b; color: #fff;}
#setting #textSizeBox.size2 span:nth-of-type(-n+2){background: #35a16b; color: #fff;}
#setting #textSizeBox.size3 span:nth-of-type(-n+3){background: #35a16b; color: #fff;}
#setting #textSizeBox.size4 span:nth-of-type(-n+4){background: #35a16b; color: #fff;}
#setting #textSizeBox.size5 span:nth-of-type(-n+5){background: #35a16b; color: #fff;}
#setting #textSizeBox span:first-child{
	border-radius: 16px 4px 4px 16px;
}
#setting #textSizeBox span:last-child{
	border-radius: 4px 16px 16px 4px;
}
#setting .maskBtn{
	position: relative;
	top: -2px;
	display: inline-block;
	width: 80px;
	height: 32px;
	border: solid 2px #35a16b;
	line-height: 28px;
	text-align: center;
	vertical-align: middle;
	border-radius: 4px;
	margin: 0 2px;
	color: #35a16b;
}




.btnCheck {
	position: fixed;
	z-index: 20;
	transform-origin: 50% 50%;
	line-height: 0;
}
.btnCheck img {
	opacity: 0;
	line-height: 0;
	width: 224px;
}
.btnCheck.check img {
	opacity: 1;
}
.btnCheck.btnCheckBt{
	display: none;
	bottom: 10px;
	left: calc( 50% - 112px );
	width: 224px;
	background: url(../../img/btn2/btnCheck_off.svg) no-repeat center top;
}

.btnCheckTL,.btnCheckTR {
	position: fixed;
	z-index: 20;
	bottom: 160px;
	width: 72px;
	transform-origin: 50% 50%;
}
.btnCheckTL.btn:active,.btnCheckTR.btn:active {
	transform: scale(0.95);
}
.btnCheckTL {
	left: -12px;
	background: url(../../img/btn2/btnCheckTL_off.svg) no-repeat center top;
}
.btnCheckTR {
	right: -12px;
	background: url(../../img/btn2/btnCheckTR_off.svg) no-repeat center top;
}



#bottom {
	pointer-events: none;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 20;
	backdrop-filter: blur(2px);
	width: 100%;
	height: 160px;
	background-color: #ffffff;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}





#leftNav,
#rightNav{
	position: fixed;
	z-index: 20;
	font-size: 40px;
	line-height: 40px;
}




/* #nav */
#leftNav {
	left: 10px;
	bottom: 10px;
	width: 72px;
	text-align: left;
}
#rightNav {
	right: 10px;
	bottom: 10px;
	width: 72px;
	text-align: right;
}
.btnPrev {
	position: relative;
	cursor: pointer;
	display: inline-block;
}
.btnNext {
	cursor: pointer;
	display: inline-block;
}

.subBtn {
	display: inline-block;
	width: 48px;
	margin-bottom: 12px;
	opacity: 0.5;
}
#centerNav {
	left: 50%;
	top: 54px;
	transform: translateX(-50%);
	line-height: 0;
	/* display: flex;
	flex-wrap: wrap;
	justify-content: space-between; */
	width: calc(100% - 200px);
	max-width: 400px;
	text-align: center;
}
#centerNav li {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: #c8c8cb;
	border-radius: 50%;
	display: inline-block;
	margin: 0 8px;
	cursor: pointer;
}


#btnClose {
	position: fixed;
	z-index: 20;
	font-size: 40px;
	line-height: 40px;
	right: 4px;
	top: 4px;
	width: 72px;
}




#contents{
	max-width: 2000px;
	width: 100%;
	margin: 0 auto;
	padding: 0 80px 20px;
}
#contents h1 {
	text-align: center;
	background: #35a16b;
	color: #fff;
	font-weight: bold;
	margin-bottom: 40px;
	border-radius: 16px;
	padding: 10px 20px;
	font-size: 1.2em;
}

#btnStart,
#btnRestart {
	display: block;
	width: 288px;
	margin: 40px auto;
	position: relative;
	line-height: 0;
}
#btnStart::after,
#btnRestart::after {
	content: "";
	line-height: 0;
	display: block;
	position: absolute;
	left: 20px;
	top: 19px;
	width: 43px;
	height: 43px;
	background-image: url(../../img/btn2/btnStartIcon.svg);
	transition: all ease 0.2s;
}
#btnRestart::after {
	background-image: url(../../img/btn2/btnRestartIcon.svg);
}
#btnStart:hover::after {
	left: 40px;
}
#btnRestart:hover::after {
	animation:1s linear infinite rotation;
}
#allQues,
#checkQues {
	font-size: 120px;
	font-weight: bold;
}
#allQues {
	color: #35a16b;
}
#checkQues {
	color: #f36011;
}



/* 縦向き */
@media screen and (orientation: portrait) {
}

/* 縦向き */
@media screen and (orientation: portrait) {}



@media (max-width: 960px) {
	#header {
		display: block;
		width: 100%;
		text-align: center;
		padding: 0;
	}
	#header h1 {
		width: 100%;
		text-align: center;
		padding: 8px 50px 8px 80px;
		/* min-height: 80px; */
	}
	#wrap {
		padding-bottom: 160px;
	}
	#bottom{
		height: 60px;
	}
	#leftNav, #rightNav {
		width: 48px;
	}
	.subBtn {
		display: none !important;
	}
	.btnCheckTL, .btnCheckTR {
		width: 48px;
	}
	.btnCheck.btnCheckBt{
		display: block;
	}
	.btnCheckTL {
		display: none;
	}
	.btnCheckTR {
		bottom: 72px;
	}
	#contents{
		padding: 20px 20px;
	}
	#setting {
		display: block;
		width: 100%;
		align-items: center;
		padding: 8px;
		text-align: center;
		font-size: 16px !important;
	}
	#setting br {
		display: none;
	}
	#setting .label {
		font-size: 10px !important;
	}
	#setting #textSizeBox,
	#setting .maskBtn {
		margin-bottom: 0;
	}
	#setting #textSizeBox span{
		width: 32px;
		height: 24px;
		line-height: 18px;
		margin: 0 1px;
	}
	#setting .maskBtn{
		display: inline-block;
		width: 64px;
		height: 24px;
		line-height: 18px;
		margin: 0 1px;
	}
}



@media (max-height: 480px) {
	#bottom{
		height: 160px;
	}
	.subBtn {
		display: none !important;
	}
	#leftNav, #rightNav {
		width: 48px;
	}
	.subBtn {
		display: none !important;
	}
	.btnCheckTL, .btnCheckTR {
		width: 48px;
	}
	.btnCheck.btnCheckBt{
		display: block;
	}
	.btnCheckTL {
		display: none;
	}
	.btnCheckTR {
		bottom: 72px;
	}
}


@keyframes rotation{
	0%{ transform:rotate(0);}
	100%{ transform:rotate(-360deg); }
}




#readHtmlBox iframe {
	transform-origin: 0 0;
	display: block;
}