@charset "UTF-8";

.wrap{
	min-height: 100vh;
}


/*questionArea
=======================================================================*/
.questionArea {
}
.questionArea h1.examTitle {
	position: relative;
	margin: 0 0 8%;
	padding: 1% 0 0;
	text-align: center;
	font-size: 26px;
	line-height: 1.8;
	z-index: 10;
}
.questionArea h1.examTitle img {
	width: 100%;
	height: auto;
}

.questionArea h1.examTitle span {
	padding: 1% 3%;
	color: #fff;
	font-size: 18px;
	background: #b0a15a;
	border-radius: 4px;
}
.questionArea .contents {
	position: relative;
	margin: 0 5%;
	padding-top: 10%;
	font-size: 24px;
	border-top: 1px solid #ebdbb3;
	z-index: 10;
}
.queList{
	margin: -10% 0 0;
}
.question {
	position: relative;
	margin: 10% 0 0;
}
.question.hide {
	display: none;
}
.question .qNum::before{
	content:'問題：';
	font-size: 16px;
}
.question .qNum {
	color: #b12500;
	font-weight: 700;
	padding-bottom: 3%;
}
.question .qNum strong {
	font-size: 28px;
	font-weight: 700;
}
.question .qNum span {
	color: #9f8b6c;
	font-size: 14px;
}
.question .qText {
	font-size: 18px;
	line-height: 1.3;
}
.question .answerList {
	padding: 3% 0 0;
}
.question .answerList li {
	width: 100%;
	margin: 1% 0;
}
.question .answerList input {
	display: none;
}

.question .answerList label{
	display: inline-block;
	width: 100%;
	position: relative;
	cursor: pointer;
	padding: 4% 3% 4% 8%;
	border-radius: 8px;
	font-size: 18px;
	text-align: center;
	line-height: 1.3;
	background: #fff;
	border: 1px solid #fff;
}
.question .answerList label:before{
	position: absolute;
	content: "";
	top: 50%;
	left: 20px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
}
.question .answerList input[type="radio"]:checked + label {
	background: #e2ffe0;
	border: 1px solid #93d98e;
}
.question .answerList input[type="radio"]:checked + label:after {
	position: absolute;
	content: "";
	top: 50%;
	left: 26px;
	width: 20px;
	height: 20px;
	margin-top: -9px;
	border-radius: 50%;
	background: #16c909;
}

.question .answerText input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	margin: 3% 0 0;
	padding: 20px;
	font-size: 24px;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	box-shadow: inset 1px 1px 2px rgba(0,0,0,.2);
}
::-webkit-input-placeholder { 
  color: #aaa;
  line-height: 1.4;
}
::-moz-placeholder { 
  color: #aaa;
  line-height: 1.4;
}
:-ms-input-placeholder {
  color: #aaa;
  line-height: 1.4;
}
:-moz-placeholder { 
  color: #aaa;
  line-height: 1.4;
}
.question .qImg {
	width: 98%;
	margin: 2% auto;
	font-size: 0;
	border: 4px solid #ebdbb3;
}
.question .qImg img {
	width: 100%;
	height: auto;
}


.nextLink {
	margin: 0;
	padding: 8% 1% 2.4%;
	text-align: right;
	border-bottom: 1px solid #ebdbb3;
}
.nextLink a {
	padding: 2% 5%;
	text-align: center;
	line-height: 1;
	background: #ebdbb3;
	font-size: 16px;
	text-decoration: none;
}
.nextLink a:link,
.nextLink a:visited {
	color: #b0a15a;
}
.nextLink span {
}


.nextBtn a {
	display: inline-block;
	width: 100%;
	margin: 8% 0 8%;
	padding: 5% 0;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #bcb474;
	border-radius: 4px;
	box-shadow: 0 5px  0 #5c5205, 0 4px 5px rgba(0, 0, 0, .3);
}
.nextBtn a:hover {
	margin: 9% 0 7%;
	box-shadow: 0 0px  0 #5c5205, 0 1px 0px rgba(0, 0, 0, .3);
}
.resultBtn  {
	display: none;
	width: 100%;
	margin: 8% 0 8%;
	padding: 6% 0;
	font-size: 28px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #ef0769;
	border-radius: 4px;
	border: none;
	box-shadow: 0 5px  0 #a4033f, 0 4px 5px rgba(0, 0, 0, .3);
}
.resultBtn:hover {
	margin: 9% 0 7%;
	box-shadow: 0 0px  0 #a4033f, 0 1px 0px rgba(0, 0, 0, .3);
}
.resultBtn.on {
	display: inline-block;
}

.correntAns {
	margin: 2% 0 0;
	padding: 2%;
	background: #edd7a8;
	border-radius: 4px;
	font-size: 14px;
}
.correntAns h4 {
	font-weight: 700;
	padding-bottom: 1%;
}
.correntAns h4.ok {
	color: #ff1944;
}
.correntAns h4.ng {
	color: #135bff;
}

.ansBack {
	margin: 2% 3% 0;
	padding: 2%;
	background: #edd7a8;
	border-radius: 4px;
	font-size: 14px;
	text-align: center;
}


/*gradingArea
=======================================================================*/
.gradingArea{
	display: none;
	margin: 0 0;
}
.gradingArea.on{
	position: relative;
	display:block;
	padding: 50% 0 0;
	opacity: .4;
	animation: anim_blink 1000ms infinite;
	z-index: 10;
}

@-webkit-keyframes anim_blink {
	0% {opacity: 0.4;}
	50% {opacity: 0.8;}
	100% {opacity: 0.4;}
}
@keyframes identifier {
	0% {opacity: 0.4;}
	50% {opacity: 0.8;}
	100% {opacity: 0.4;}
}
.gradingArea .grading {
	margin: 0 auto;
	width: 30vw;
	max-width: 160px;
}
.gradingArea .grading img {
	width: 100%;
	height: auto;
}


/*resultArea
=======================================================================*/
.resultArea{
	height: 0;
	overflow: hidden;
	opacity: 0;
	text-align: center;
	
}
.resultArea.on{
	position: relative;
	height: auto;
	-webkit-transition: opacity 1s ease-out;
	transition: opacity 1s ease-out;
	opacity: 1;
	z-index: 10;
}

.resultArea .twBtn  {
	display: inline-block;
	width: 94%;
	margin: 8% 0 8%;
	padding: 6% 0;
	font-size: 41px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #00b7ee;
	border-radius: 4px;
	border: none;
	box-shadow: 0 5px  0 #0074a7, 0 4px 5px rgba(0, 0, 0, .3);
}
.resultArea .twBtn:hover {
	margin: 9% 0 7%;
	box-shadow: 0 0px  0 #0074a7, 0 1px 0px rgba(0, 0, 0, .3);
}
.resultArea .twBtn img {
	display: inline;
	vertical-align: bottom;
	padding-right: 10px;
	width: 58px;
	height: auto;	
}
.resultArea .goTopBtn {
	text-align: center;
}
.resultArea .goTopBtn a {
	display: inline-block;
	width: 90%;
	margin: 8% 0 8%;
	padding: 5% 0;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #bcb474;
	border-radius: 4px;
	box-shadow: 0 5px  0 #5c5205, 0 4px 5px rgba(0, 0, 0, .3);
}
.resultArea .goTopBtn a:hover {
	margin: 9% 0 7%;
	box-shadow: 0 0px  0 #5c5205, 0 1px 0px rgba(0, 0, 0, .3);
}

.resultArea .notice{
	display: block;
	margin: 0 auto;
	width: 92%;
}

.resultPoint{
	position: relative;
	margin: 0 auto;
	width: 96%;
	height: 120vw;
}
.resultPoint img{
	width: 100%;
}
@media screen and (min-width: 641px) {
	.resultPoint{
		height: 595px;
	}
}



/*===============================================

@media screen max-width

===============================================*/
@media screen and (max-width: 640px){


	.wrap {
		width: 100%;
	}
	.wrapper {
		width: 100%;
		margin: 0 auto;
		padding: 1% 0 0;
	}

	/* indexPage */
	.wrapper .indexArea {
		padding-top: 16%;
	}


	/* questionPage */
	.contents {
		font-size: 4vw;
	}
	.contents h1.title {
		padding: 10% 0;
		font-size: 18px;
		line-height: 1.8;
	}
	.contents h1.title span {
		padding: 1% 3%;
		font-size: 14px;
	}

	.question .qNum::before{
		content:'問題：';
		font-size: 4vw;
	}
	.question .qNum strong {
		font-size: 7vw;
		font-weight: 700;
	}
	.question .qNum span {
		font-size: 3vw;
	}
	.question .qText {
		font-size: 4.5vw;
		padding: 2% 0;
		line-height: 1.4;
	}
	.question .answerList label{
		font-size: 4vw;
		padding: 5% 3% 5% 8%;
	}
	.question .answerList label:before{
		top: 50%;
		left: 3vw;
		width: 4vw;
		height: 4vw;
		margin-top: -2vw;
	}
	.question .answerList input[type="radio"]:checked + label:after {
		top: 50%;
		left: 4.1vw;
		width: 2.3vw;
		height: 2.3vw;
		margin-top: -0.9vw;
	}
	.question .answerText input {
		padding: 3%;
		font-size: 6vw;
	}
	::-webkit-input-placeholder { 
	  font-size: 5vw;
	  line-height: 1.6;
	}
	::-moz-placeholder { 
	  color: #aaa;
	  font-size: 5vw;
	  line-height: 1.6;
	}
	:-ms-input-placeholder {
	  color: #aaa;
	  font-size: 5vw;
	  line-height: 1.6;
	}
	:-moz-placeholder { 
	  color: #aaa;
	  font-size: 5vw;
	  line-height: 1.6;
	}
	.nextLink {
		padding: 8% 1% 2.2%;
	}
	.nextLink a {
		font-size: 3vw;
	}

	.resultArea .twBtn  {
		width: 94%;
		margin: 8% 0 8%;
		padding: 6% 0;
		font-size: 9vw;
		font-weight: 700;
		text-align: center;
		text-decoration: none;
		color: #fff;
	}
	.resultArea .twBtn :hover {
		margin: 9% 0 7%;
	}
	.resultArea .twBtn img {
		display: inline;
		vertical-align: bottom;
		padding-right: 10px;
		width: 13vw;
		height: auto;	
	}
	.correntAns {
		font-size: 4vw;
	}
	.ansBack {
		font-size: 3vw;
	}


}/* /max-width */


