@charset "utf-8";

/* ==================================================
PC
================================================== */

/* ========== トップページ ========== */

/* 非表示 */
#footstep_wrap {
	display: none !important;
}

/* MV */
#top_kids_mv {
	margin-top: 30px;
	text-align: center;
	line-height: 1;
}
#top_kids_mv img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

/* 背景 */
#mymainback_bg {
	background: url(/img/site/goldmine-kids/top/bg-main-l.jpg) no-repeat left calc(50% - 590px) top 0px,
				url(/img/site/goldmine-kids/top/bg-main-r.jpg) no-repeat left calc(50% + 590px) top 0px transparent;
}

/* 6つのメニュー */
#top_kids_menu .box_menu_wrap {
	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: 25px;
}

#top_kids_menu .box_menu_wrap .box_menu {
	width: 350px;
	border: 1px solid transparent;
	padding: 19px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(1):hover {
	background: #e3f2df;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(2):hover {
	background: #f9dce6;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(3):hover {
	background: #ddeffa;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(4):hover {
	background: #ddeffa;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(5):hover {
	background: #e3f0df;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(6):hover {
	background: #f6dbe4;
}

#top_kids_menu .box_menu_wrap .box_menu h2 {
	margin: 0px 0px 15px;
	padding: 10px 0px;
	color: #64441e;
	font-size: 2rem;
	line-height: 1.5;
	letter-spacing: 0;
	text-align: center;
	border-bottom: 2px solid;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 10px center;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(1) h2 {
	background-image: url(/img/site/goldmine-kids/top/icn-menu01.png);
	padding-left: 30px;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(2) h2 {
	background-image: url(/img/site/goldmine-kids/top/icn-menu02.png);
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(3) h2 {
	background-image: url(/img/site/goldmine-kids/top/icn-menu03.png);
	padding-left: 10px;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(4) h2 {
	background-image: url(/img/site/goldmine-kids/top/icn-menu04.png);
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(5) h2 {
	background-image: url(/img/site/goldmine-kids/top/icn-menu05.png);
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(6) h2 {
	background-image: url(/img/site/goldmine-kids/top/icn-menu06.png);
}

html[style*="font-size"] #top_kids_menu .box_menu_wrap .box_menu h2,
html[style*="font-size"] #top_kids_menu .box_menu_wrap .box_menu:nth-child(1) h2,
html[style*="font-size"] #top_kids_menu .box_menu_wrap .box_menu:nth-child(3) h2 {
	background-position: center top;
	padding: 60px 0px 0px;
}

#top_kids_menu .box_menu_wrap .box_menu h3 {
	margin: 15px 0px;
	font-size: 2rem;
	line-height: 1.5;
	letter-spacing: 0;
}
#top_kids_menu .box_menu_wrap .box_menu img {
	width: 100%;
	height: auto;
	vertical-align: top;
}
#top_kids_menu .box_menu_wrap .box_menu p {
	margin: 0px 0px 15px;
	font-size: 1.5rem;
	line-height: 2;
}

#top_kids_menu .box_menu_wrap .box_menu .lnk {
	border-top: 1px solid;
	padding-top: 15px;
	text-align: right;
}
#top_kids_menu .box_menu_wrap .box_menu .lnk a {
	display: inline-block;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 2rem;
	text-decoration: none;
	padding-left: 20px;
}
#top_kids_menu .box_menu_wrap .box_menu .lnk a:hover {
	text-decoration: underline;
}
#top_kids_menu .box_menu_wrap .box_menu .lnk a::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 0.5em;
	height: 0.5em;
	border: 1px solid;
	border-left: none;
	border-bottom: none;
	-webkit-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	margin: 0px 10px 0.2em 0px;
}
#top_kids_menu .box_menu_wrap .box_menu .lnk a::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

#top_kids_menu .box_menu_wrap .box_menu:nth-child(1) h2,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(1) .lnk,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(1) .lnk a::before {
	border-color: #75be5f;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(2) h2,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(2) .lnk,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(2) .lnk a::before {
	border-color: #e25180;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(3) h2,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(3) .lnk,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(3) .lnk a::before {
	border-color: #54b0e4;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(4) h2,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(4) .lnk,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(4) .lnk a::before {
	border-color: #54b0e4;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(5) h2,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(5) .lnk,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(5) .lnk a::before {
	border-color: #73b65d;
}
#top_kids_menu .box_menu_wrap .box_menu:nth-child(6) h2,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(6) .lnk,
#top_kids_menu .box_menu_wrap .box_menu:nth-child(6) .lnk a::before {
	border-color: #d44d7a;
}

/* クイズコーナー */
#top_kids_quiz {
	margin-top: 60px;
	border: 5px solid #dddddd;
	padding: 15px 35px;
	position: relative;
}

#top_kids_quiz h2 {
	margin: 0px;
	line-height: 1;
	text-align: center;
}
#top_kids_quiz h2 img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

#top_kids_quiz .box_lnk {
	position: absolute;
	top: 35px;
	right: 35px;
	z-index: 1;
}
#top_kids_quiz .box_lnk a {
	display: inline-block;
	border: 1px solid #76bf5f;
	border-radius: 3px;
	font-size: 1.4rem;
	line-height: 2rem;
	text-decoration: none;
	padding: 5px 30px 5px 20px;
	text-align: left;
	position: relative;
}
#top_kids_quiz .box_lnk a:hover {
	text-decoration: underline;
}
#top_kids_quiz .box_lnk a::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);
}

#top_kids_quiz .box_quiz_wrap {
	margin-top: 15px;
	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: 15px 0px;
}
#top_kids_quiz .box_quiz_wrap .box_quiz {
	width: 50%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 15px 40px 20px 0px;
}
#top_kids_quiz .box_quiz_wrap .box_quiz:nth-child(2n) {
	border-left: 4px dotted #dddddd;
	padding: 15px 0px 20px 40px;
}

#top_kids_quiz .box_quiz_wrap .box_quiz h3 {
	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;
}
#top_kids_quiz .box_quiz_wrap .box_quiz .box_btn {
	padding-left: 40px;
}
#top_kids_quiz .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;
}
#top_kids_quiz .box_quiz_wrap .box_quiz .box_btn button.btn_answer:hover {
	text-decoration: underline;
}
#top_kids_quiz .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);
}
#top_kids_quiz .box_quiz_wrap .box_quiz.answer_close .box_btn button.btn_answer {
	display: inline-block;
}

#top_kids_quiz .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;
}
#top_kids_quiz .box_quiz_wrap .box_quiz.answer_close .box_txt {
	display: none;
}
#top_kids_quiz .box_quiz_wrap .box_quiz .box_txt p {
	margin: 0px;
	font-size: 1.5rem;
	line-height: 2;
}
#top_kids_quiz .box_quiz_wrap .box_quiz .box_txt p + p {
	margin-top: 1em;
}

/* ========== 背景色変更 ========== */

/* 共通 */
.color_change #mymainback_bg,
.color_change #top_kids_menu .box_menu_wrap .box_menu,
.color_change #top_kids_menu .box_menu_wrap .box_menu h2 {
	background: none !important;
	color: inherit;
}
.color_change #top_kids_menu .box_menu_wrap *,
.color_change #top_kids_menu .box_menu_wrap *::before,
.color_change #top_kids_quiz,
.color_change #top_kids_quiz .box_lnk a {
	border-color: rgb(255 255 255 / 50%) !important;
}

/* ==================================================
PC ここまで
================================================== */


/* ==================================================
タブレット
================================================== */
@media screen and (max-width: 1100px) {

	/* 背景 */
	#mymainback_bg {
		background: none;
	}

	/* 6つのメニュー */
	#top_kids_menu .box_menu_wrap {
		gap: 20px;
		max-width: 720px;
		margin: 0px auto;
	}
	#top_kids_menu .box_menu_wrap .box_menu {
		width: calc(50% - 10px);
		max-width: 350px;
	}
	#top_kids_menu .box_menu_wrap .box_menu h2 {
		font-size: 1.8rem;
	}
	#top_kids_menu .box_menu_wrap .box_menu h3 {
		font-size: 1.8rem;
	}

	/* クイズコーナー */
	#top_kids_quiz {
		padding: 15px;
	}
	#top_kids_quiz .box_quiz_wrap .box_quiz {
		padding: 10px 15px 15px 0px;
	}
	#top_kids_quiz .box_quiz_wrap .box_quiz:nth-child(2n) {
		padding: 10px 0px 15px 15px;
	}

	html[style*="font-size"] #top_kids_quiz .box_lnk {
		position: static;
		text-align: right;
		padding: 10px;
	}

}
/* ==================================================
タブレット ここまで
================================================== */


/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 670px) {

	/* MV */
	#top_kids_mv {
		margin-top: 0px;
	}

	/* 6つのメニュー */
	#top_kids_menu .box_menu_wrap {
		max-width: 330px;
		gap: 20px;
	}
	#top_kids_menu .box_menu_wrap .box_menu {
		display: block;
		width: 100%;
		max-width: 330px;
		padding: 9px;
	}
	#top_kids_menu .box_menu_wrap .box_menu p {
		font-size: 1.4rem;
	}
	#top_kids_menu .box_menu_wrap .box_menu .lnk a {
		font-size: 1.4rem;
	}

	/* クイズコーナー */
	#top_kids_quiz .box_lnk,
	html[style*="font-size"] #top_kids_quiz .box_lnk {
		position: static;
		text-align: right;
		padding: 30px 0px 10px;
	}

	#top_kids_quiz .box_quiz_wrap {
		display: block;
	}
	#top_kids_quiz .box_quiz_wrap .box_quiz,
	#top_kids_quiz .box_quiz_wrap .box_quiz:nth-child(2n) {
		width: auto;
		border-left: none;
		padding: 0px;
	}
	#top_kids_quiz .box_quiz_wrap .box_quiz + .box_quiz {
		margin-top: 30px;
		padding-top: 20px;
		border-top: 4px dotted #dddddd;
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */