@charset "utf-8";

/* 【作り込み記事】クイズページ */
#main_body div.detail_html {
	margin-bottom: 50px;
}
#main_body div.detail_html:has(h2) {
	margin-bottom: 0px;
}

.box_quiz_wrap {
	margin-top: 30px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 60px 0px;
}
.box_quiz_wrap .box_quiz {
	width: 50%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 15px 40px 20px 0px;
}
.box_quiz_wrap .box_quiz:nth-child(2n) {
	border-left: 4px dotted #dddddd;
	padding: 15px 0px 20px 40px;
}
.box_quiz_wrap .box_quiz:nth-child(n+3) {
	position: relative;
}
.box_quiz_wrap .box_quiz:nth-child(n+3)::before {
	content: '';
	display: block;
	width: calc(100% - 20px);
	height: 0px;
	border-top: 4px dotted #dddddd;
	position: absolute;
	top: -30px;
	left: 0px;
}
.box_quiz_wrap .box_quiz:nth-child(2n)::before {
	left: auto;
	right: 0px;
}

#main_body .box_quiz_wrap .box_quiz h4 {
	margin: 0px 0px 15px;
	padding: 10px 0px 0px 40px;
	background: url(/img/site/goldmine-kids/top/ttl-quiz-q.png) no-repeat left top transparent;
	font-size: 1.8rem;
	line-height: 3rem;
}
#main_body .box_quiz_wrap .box_quiz h4::before,
#main_body .box_quiz_wrap .box_quiz h4::after {
	display: none;
}

.box_quiz_wrap .box_quiz .box_btn {
	padding-left: 40px;
}
.box_quiz_wrap .box_quiz .box_btn button.btn_answer {
	display: none;
	border: 1px solid #76bf5f;
	border-radius: 3px;
	background: none;
	font-size: 1.4rem;
	line-height: 1.8rem;
	text-decoration: none;
	padding: 10px 30px 10px 20px;
	text-align: left;
	position: relative;
}
.box_quiz_wrap .box_quiz .box_btn button.btn_answer:hover {
	text-decoration: underline;
}
.box_quiz_wrap .box_quiz .box_btn button.btn_answer::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border: 1px solid;
	border-left: none;
	border-bottom: none;
	position: absolute;
	right: 15px;
	top: 50%;
	-webkit-transform: translateY(-50%) rotate(45deg);
	    -ms-transform: translateY(-50%) rotate(45deg);
	        transform: translateY(-50%) rotate(45deg);
}
.box_quiz_wrap .box_quiz.answer_close .box_btn button.btn_answer {
	display: inline-block;
}

.box_quiz_wrap .box_quiz .box_txt {
	display: block;
	background: url(/img/site/goldmine-kids/top/ttl-quiz-a.png) no-repeat left top transparent;
	padding: 5px 0px 0px 40px;
}
.box_quiz_wrap .box_quiz.answer_close .box_txt {
	display: none;
}
.box_quiz_wrap .box_quiz .box_txt p {
	margin: 0px;
	font-size: 1.5rem;
	line-height: 2.25;
}
.box_quiz_wrap .box_quiz .box_txt p + p {
	margin-top: 1em;
}

/* CMSアクセシビリティチェック画面 */
/* 閉じたままではエラー箇所へのアンカーリンクが効かないため */
body:has(.errrange) .box_quiz_wrap .box_quiz.answer_close .box_txt {
	display: block;
}
/* CMSアクセシビリティチェック画面 ここまで */


@media screen and (max-width: 670px) {

	#main_body div.detail_html {
		margin-bottom: 30px;
	}
	#main_body div.detail_html h2 {
		text-align: center;
	}

	.box_quiz_wrap {
		display: block;
		margin-top: 30px;
	}
	.box_quiz_wrap .box_quiz,
	.box_quiz_wrap .box_quiz:nth-child(2n),
	.box_quiz_wrap .box_quiz:nth-child(n+3) {
		width: auto;
		margin: 0px;
		padding: 0px;
		border: none;
	}
	.box_quiz_wrap .box_quiz:nth-child(n+2) {
		margin-top: 30px;
		padding-top: 20px;
		border-top: 4px dotted #dddddd;
	}
	.box_quiz_wrap .box_quiz:nth-child(2n)::before,
	.box_quiz_wrap .box_quiz:nth-child(n+3)::before {
		display: none;
	}

}