@charset "UTF-8";

@import url(base.css);
@import url(common.css);


.pc_none,
.sp_only{
	display:none;
}

/*
-----------------------------------
INDEX(id="junior_index")
-----------------------------------
*/

body{
	background:url(../img/junior/bg.png);
	background-size:100%;
	border-top:solid 10px #0481d8;
}

#wrapper{
	width:1025px;
	z-index:100;
}

#container{
	background:white;
	padding-bottom: 50px;
}

#header{
	width:1025px;
	height:222px;
	margin:0 auto;
	background:#FFF url(../img/junior/headbg.png) no-repeat;
	z-index:1;
}

#header p{
	width:170px;
	position:absolute;
	top:0px;
	right:20px;
}

#header p img{
	width:100%;
}

#header h1{
	text-align:center;
	padding:10px 0;
}

#quizbox_all{
	width:675px;
	margin:0 auto;
}
#quizbox_all2{
	margin: 0 auto;
    min-height: 300px;
    width: 985px;
}
#quizbox {
    background: rgba(0, 0, 0, 0) url("../img/junior/bg_quiz_d.png") no-repeat scroll right 100px;
    border: 5px solid #0481d8;
    border-radius: 7px;
    padding: 18px;
}
#quizbox_fl{
	border:solid 5px #0481d8;
	border-radius:7px;
	padding:0px;
	background:#fff none repeat scroll 0 0;
}
#quizbox2{
	border: 5px solid #0481d8;
    border-radius: 7px;
    float: left;
    margin: 0 10px 25px;
	min-height: 349px;
    padding:  14px 18px;
    width: 420px;
}
#quizbox3{
	border: 5px solid #0481d8;
    border-radius: 7px;
    float: left;
    margin: 0 10px 25px;
	min-height: 349px;
    padding: 14px 18px;
    width: 420px;
	background:url(../img/junior/bg_quiz_d.png) no-repeat right 100px;
}
#quizbox h2,#quizbox2 h2,#quizbox3 h2{
	background:#ffe614;
	border-radius:7px;
	padding:15px 0 7px 0;
	text-align:center;
	margin-bottom: 25px;
}
#quizbox3 dl dt img{
	width:100%;
}
#quizbox dl dt{
	font-size:22px;
	font-weight: bold;
	text-align:center;
	color:#0481d8;
	margin-bottom: 30px;
}

#quizbox dl dd a{
	display:block;
	background:#0481d8;
	padding:7px 15px;
	font-size:25px;
	text-align:center;
	font-weight: bold;
	color:white;
	cursor:pointer;
	border-radius:10px;
}

#quizbox dl dd a:hover{
	text-decoration:none;
	background:#58A7DD;
}

#quizbox3 dl dt{
	font-size:22px;
	font-weight: bold;
	text-align:center;
	color:#0481d8;
	margin-bottom: 5px;
}

#quizbox3 dl dd a{
	display:block;
	background:#0481d8;
	padding:7px 15px;
	font-size:25px;
	text-align:center;
	font-weight: bold;
	color:white;
	cursor:pointer;
	border-radius:10px;
}

#quizbox3 dl dd a:hover{
	text-decoration:none;
	background:#58A7DD;
}

.quizdetail ul li#no{
	width:200px;
	background:#0481d8;
	color:white;
	font-size:25px;
	padding:2px 10px;
	font-weight: bold;
	letter-spacing:2px;
	margin-left: -18px;
	margin-bottom: 28px;
}

.quizdetail ul li#no span#number{
	font-size:40px;
}

.quizdetail ul li#no span#point{
	font-size:18px;
}

.quizdetail ul li#text_q{
	font-size:22px;
	font-weight: bold;
	color:#0481d8;
	margin-bottom: 15px;
	border-left:solid 6px #0481d8;
	padding-left: 10px;
}

.quizdetail ul li.answer{
	padding-left: 0px;
	margin-bottom: 20px;
	position:relative;
}

.quizdetail ul li.answer #out_a{
	position:absolute;
	width:100%;
	height:100%;
	text-align:center;
	color:white;
	font-size:3em;
	background:#0481d8;
	opacity:0.5;
}

.quizdetail ul li.answer ul li a{
	font-size:20px;
	font-weight: bold;
	color:#0481d8;
}

#text_s ul li{
	margin-bottom: 7px;
}

#text_s ul li a{
	display:block;
	background:#F1F1F1;
	padding:3px 7px;
	border:solid 2px #8AADE4;
	border-radius:5px;
}

#text_s ul li a:hover{
	background:#D5EAF7;
	text-decoration:none;
}

#text_a{
	color:white;
	text-indent:-9999px;
}

/*input type radio*/

input{
	display: none;
}

label{
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin-left: 20px;
	padding: 10px 20px;
	border-radius: 2px;
	font-size: 18px;
	text-align: center;
	line-height: 1;
}

label:before{
	position: absolute;
	content: "";
	top: 50%;
	left: -10px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: #CCC;
	border-radius: 50%;
}

input[type="radio"]:checked + label:after {
	position: absolute;
	content: "";
	top: 50%;
	left: -4px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: #666;
}

.btn_answer{
	width:182px;
	margin:0 auto;
}

#footer{
	width:100%;
	padding:22px 0 17px 0;
	text-align:center;
	background:#0481d8;
	color:white;
	font-weight: bold;
}

#text_s table{
	width:100%;
	border:none;
}

#text_s table caption{
	font-size:18px;
	text-align:center;
	background:#0481d8;
	color:white;
	padding:5px 0;
	font-weight: bold;
}

#text_s table tr td,
#text_s table tr th{
	padding:5px;
	color:#333;
	font-size:15px;
	border:solid 1px #CCC;
	border-collapse:collapse;
	text-align:center;
}

#text_s table tr td#total{
	font-weight: bold;
	color:#C10003;
}

#text_s table tr th{
	background:#F1F1F1;
	color:#333;
}

#morebtn{
	width:50%;
	margin:0 auto;
	margin-top: 15px;
	text-align:center;
}

#morebtn a,
#next_btn{
	display:block;
	background:#ffe614;
	padding:7px 15px;
	font-size:25px;
	text-align:center;
	font-weight: bold;
	color:#0481d8;
	cursor:pointer;
	border:solid 2px #E7E7E7;
	border-radius:10px;
}

.ans_a{
	text-align:left;
	font-weight: bold;
	color:#0481d8;
	font-size:2em;
}

#text_com{
	display:none!important;
	padding:10px;
	border:dotted 2px #555;
	font-size:16px;
	font-weight: bold;
	border-radius:5px;
	color:#0481d8;
	margin-bottom: 30px;
}

#morebtn a:hover{
	text-decoration:none;
	background:#54AAE7;
}

.comment{
	text-align:center;
	font-size:18px;
	margin:10px 0;
	font-weight: bold;
	color:#0481d8;
}

.comment#com01{
}

.sp_only{
	display:none;
}

#text_b{
	background:url(../img/junior/yes.png) no-repeat;
}

#text_c{
	background:url(../img/junior/no.png) no-repeat;
}

#text_b,
#text_c{
	height:50px;
	background-size:35px;
	padding-left: 45px;
}

/*スマホ用*/
@media (max-width: 640px) and (min-width: 0px) {

.pc_none,
.sp_only{
	display:block!important;
}

.sp_none,
.sp_only_none,
.pc_img,
.pc_btn{
	display:none!important;
}

.spw100{
	width:100%;
}

.mobile_clear{
	clear:both!important;
}


body,
#header,
#indexmenu,
#wrapper{
	width:100%;
}

body{
	background:none;
}

#wrapper{
	background:url(../img/junior/bg.png);
}

.pagetop {
    bottom: 0px;
    right: 0px;
    display: block;
    opacity: 0.8;
}

.pagetop a{
		border-radius:0px;
}

.quizdetail ul li#no{
	margin-left: -10px;
}

#quizbox{
	padding:8px;
}
#quizbox_all2{
    width: 90%;
}
#quizbox2,#quizbox3{
    float: left;
    margin: 0 5% 25px 4%;
    padding: 5%;
    width: 80%;
}
#quizbox2 img,#quizbox3 img{
    width: 100%;
}
#quizbox2 h2 img,#quizbox3 h2 img{
    width: 80%;
}

#text_s table{
	display:none;
}

#sp_total{
	text-align:center;
	font-size:35px;
	color:#0481d8;
	font-weight: bold;
}

#header{
	width:100%;
	height:inherit;
	background:#ffe614;
	z-index:1;
	margin-bottom: 20px;
}

#header p{
	width:30%;
}

#header h1{
	text-align:center;
	padding:15px 30px;
}

#header h1 img{
	width:100%;
}

#quizbox_all{
	width:90%;
	margin:0 auto;
}

#quizbox h2 img{
	width:80%;
	margin:0 auto;
}

.quizdetail ul li.question{
	font-size:20px;
	font-weight: bold;
	color:#0481d8;
	padding-left: 10px;
	margin-bottom: 15px;
}

#morebtn{
	width:100%;
	margin:0 auto;
	margin-top: 15px;
	text-align:center;
}

#morebtn a{
	display:block;
	background:#ffe614;
	padding:7px;
	font-size:18px;
}

#footer{
	padding:45px 0;
}
.flash{
	display:none;
}
#flash_alter{
	text-align:center;
	background:#005AF9;
	padding:20px;
	color:white;
	border:dashed 5px white;
	font-size:13px;
	font-weight: bold;
	opacity:80%;
	margin-bottom: 15px;
}
.splnk_bf {
	text-align:center;
	background:#0481d8;
	color:white;
	border:1px solid white;
	border-radius:7px;
	font-size:13px;
	font-weight: bold;
	opacity:80%;
	margin-top: 25px;
}
.splnk_bf a {
	color:white;
	display:block;
	padding:17px;
}

}