@charset "utf-8";
/*-----------------------------------------------------	*/
/*	for all	- General Settings　*/
/*-----------------------------------------------------	*/
#header {
	width: 100%;
	background: #000;
	padding: 10px 0px;
}
#header #sega_logo {
	margin-left: 20px;
}

#wrap_all {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: 100%;
	font-size: 0.875rem;
　　letter-spacing: 0.01em;
	line-height: 1.8;
    color: #333;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overflow-style: -ms-autohiding-scrollbar;
	word-break: break-all;
}

.beginner {
	background: url(../img/top_img_beginner.jpg) center top no-repeat;
}
.intermediate {
	background: url(../img/top_img_intermediate.jpg) center top no-repeat;
}
.advanced {
	background: url(../img/top_img_advanced.jpg) center top no-repeat;
}
.base {
	background: url(../img/top_img_base.jpg) center top no-repeat;
}

#wrap_all a:focus {
	outline: none;
}

#wrap_all .mb10 {
	margin-bottom: 10px;
}
#wrap_all .mb30 {
	margin-bottom: 30px;
}
#wrap_all .mb50 {
	margin-bottom: 50px;
}
#wrap_all .mt10 {
	margin-top: 10px;
}
#wrap_all .sp_only {
	display: none;
}
#wrap_all .none {
	display: none;
}
span.red {
	color: #C00003;
	font-weight: bold;
}

/* ----- main ----- */
#wrap_all #wrap_main {
	width: 1000px;
	min-height: 290px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 250px;
	padding-bottom: 60px;
}

hr {
	border: none;
	width: 900px;
	height: 10px;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
	background: url(../img/h2_bg.png) center top no-repeat;
}

h2 {
	width: 900px;
	height: 40px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.6rem;
	font-weight:bold;
	color: #FFF;
    line-height: 40px;
	text-align: center;
	background: url(../img/h2_bg.png) center top no-repeat;
}
h3 {
	height: auto;
	margin-bottom: 20px;
	margin-left: 50px;
	margin-right: 50px;
	font-size: 1.3rem;
	font-weight:bold;
    line-height: 30px;
	border-bottom: 1px solid;
	color: #0054AC;
}
#wrap_all .rank {
	width: 205px;
	height: 95px;
	margin-left: auto;
	margin-right: auto;
}
#wrap_all p {
	font-size: 1.0625rem;
	margin-left: 50px;
	margin-right: 50px;
}
#wrap_all p.atten {
	font-size: 0.875rem;
	margin-left: 50px;
	margin-right: 50px;
}
#wrap_all p a {
	font-weight: bold;
	color: #0074FF;
    -webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	-o-transition: 0.4s;
	-ms-transition: 0.4s;
	transition: 0.4s;
}
#wrap_all p a:hover {
	background: #70FFFC;
}

#wrap_all p.ques {
	font-size: 1.4rem;
	margin-left: 50px;
	margin-right: 50px;
	font-weight: bold;
	color: #005f01;
}
#wrap_all p.seikairitsu {
	xclear: both;
	xfloat: right;
	font-size: 1.0625rem;
	padding: 1px 15px 0px;
	xfont-weight: bold;
	display: inline-block;
}
#wrap_all p.box-txt_a {
	color: #FFF;
	background-color: #0054AC;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    -o-border-radius: 1em;
    -ms-border-radius: 1em;
    border-radius: 1em;
}
#wrap_all p.box-txt_b {
	color: #FFF;
	background-color: #FF6700;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    -o-border-radius: 1em;
    -ms-border-radius: 1em;
    border-radius: 1em;
}
#wrap_all p.box-txt_c {
	color: #FFF;
	background-color: #A70002;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    -o-border-radius: 1em;
    -ms-border-radius: 1em;
    border-radius: 1em;
}
#wrap_all p.p_big {
	font-size: 1.3rem;
	margin-left: 50px;
	margin-right: 50px;
	font-weight: bold;
	color: #0054AC;
}

#wrap_all p.thanks {
	font-size: 1.6rem;
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 30px;
	font-weight: bold;
	color: #0054AC;
	text-align: center;
}

#wrap_all .p_score {
	font-size: 2.5rem;
	margin-left: 50px;
	margin-right: 50px;
	font-weight: bold;
	color: #005f01;
	text-align: center;
}
#wrap_all .y_score {
	font-size: 3rem;
	color: #D80003;
	font-weight: bold;
}
#wrap_all .y_score_s {
	font-size: 1.0625rem;
	font-weight: normal;
}

#wrap_all .error_li {
	font-size: 1.0625rem;
	margin-left: 70px;
	margin-right: 50px;
	list-style: square;
}

#wrap_all .base_li {
	font-size: 1.0625rem;
	margin-left: 50px;
	margin-right: 50px;
}
#wrap_all .base_li li {
	background: url(../img/icon.png) left top no-repeat;
	padding-left: 20px;
}
#wrap_all p.form_atten {
	font-size: 0.75rem;
	color: #333;
	text-align: right;
}

#wrap_all .left-txt {
	display: block;
	float: left;
	width: 630px;
}
#wrap_all .right-img {
	float: right;
	margin-right: 50px;
	margin-left: 20px;
}

#wrap_all .bottom-img {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
#wrap_all .center-img {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

#wrap_all .ans_li_img {
	clear: both;
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}
#wrap_all .ans_li_img li {
	width: 210px;
	height: auto;
	margin-right: 20px;
	padding-top: 55px;
	float: left;
	text-align: center;
}
#wrap_all .ans_li_img li.ans_a {
	background: url(../img/ans_a.png) left top no-repeat;
}
#wrap_all .ans_li_img li.ans_b {
	background: url(../img/ans_b.png) left top no-repeat;
}
#wrap_all .ans_li_img li.ans_c {
	background: url(../img/ans_c.png) left top no-repeat;
}
#wrap_all .ans_li_img li.ans_d {
	background: url(../img/ans_d.png) left top no-repeat;
	margin-right: 0px;
}

#wrap_all .ans_li_txt li {
	clear: left;
	min-height: 40px;
	height: auto;
	font-size: 1.4rem;
	margin-left: 70px;
	padding-left: 60px;
	padding-top: 10px;
}
#wrap_all .ans_li_txt li.ans_a {
	background: url(../img/ans_a.png) left top no-repeat;
}
#wrap_all .ans_li_txt li.ans_b {
	background: url(../img/ans_b.png) left top no-repeat;
}
#wrap_all .ans_li_txt li.ans_c {
	background: url(../img/ans_c.png) left top no-repeat;
}
#wrap_all .ans_li_txt li.ans_d {
	background: url(../img/ans_d.png) left top no-repeat;
}

/* 正解発表 */
#wrap_all .correct_box {
	clear: both;
	margin-left: 50px;
	margin-right: 50px;
	padding: 10px 0px;
	overflow: hidden;
}
#wrap_all .box_a {
	border: #0054AC 1px solid;
}
#wrap_all .box_b {
	border: #FF6700 1px solid;
}
#wrap_all .box_c {
	border: #A70002 1px solid;
}

#wrap_all .right_img {
	float: right;
	margin-left: 20px;
	margin-right: 50px;
	text-align: center;
}
#wrap_all .center_img {
	text-align: center;
	margin-top: 10px;
	margin-left: 20px;
	margin-right: 50px;
	text-align: center;
}
#wrap_all .center_img_l {
	text-align: center;
	margin-top: 10px;
	margin-left: 50px;
	margin-right: 50px;
	text-align: center;
}
#wrap_all .correct_ans_li_img {
	margin-left: auto;
	margin-right: auto;	
	text-align: center;
	overflow: hidden;
}
#wrap_all .img_w240 {
	width: 780px;
}
#wrap_all .img_w240 li {
	width: 240px;
}
#wrap_all .img_w280 {
	width: 600px;
}
#wrap_all .img_w280 li {
	width: 280px;
}
#wrap_all .img_w320 {
	width: 680px;
}
#wrap_all .img_w320 li {
	width: 320px;
}
#wrap_all .correct_ans_li_img li {
	text-align: center;
	float: left;
	margin-left: 10px;
	margin-right: 10px;	
}

#wrap_all .box_a .correct_ans {
	font-size: 1.6rem;
	font-weight: bold;
	color: #0054AC;
}
#wrap_all .box_b .correct_ans {
	font-size: 1.6rem;
	font-weight: bold;
	color: #FF6700;
}
#wrap_all .box_c .correct_ans {
	font-size: 1.6rem;
	font-weight: bold;
	color: #A70002;
}

#pager {
	width: 900px;
	height: 64px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
	margin-bottom: 30px;
}
#pager #prev_quiz {
	float: left;
	width: 162px;
	height: 64px;	
}
#pager #prev_quiz a {
	display: block;
	width: 162px;
	height: 64px;
	background: url(../img/button_quiz_prev_on.png) center top no-repeat;
}
#pager #next_quiz {
	float: right;
	width: 162px;
	height: 64px;	
}
#pager #next_quiz a {
	display: block;
	width: 162px;
	height: 64px;
	background: url(../img/button_quiz_next_on.png) center top no-repeat;
}

#wrap_all .twitter {
	width: 450px;
	height: 64px;
	margin-left: auto;
	margin-right: auto;
}
#wrap_all .twitter a {
	display: block;
	width: 450px;
	height: 64px;
	background: url(../img/button_twitter_on.png) center top no-repeat;
}

#wrap_all #next_b {
	width: 550px;
	height: 82px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}
#wrap_all #next_b a {
	display: block;
	width: 550px;
	height: 82px;
}
#wrap_all .goform a {
	background: url(../img/button_goform_on.png) center top no-repeat;
}
#wrap_all .entry a {
	background: url(../img/button_entry_on.png) center top no-repeat;
}

#wrap_all #next_s {
	width: 450px;
	height: 64px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}
#wrap_all #next_s a {
	display: block;
	width: 450px;
	height: 64px;
	background: url(../img/button_twitter_on.png) center top no-repeat;
}

#footer {
	width: 100%;
	background: #222;
	padding-top: 20px;
	padding-bottom: 80px;
}
#footer_main {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	color: #FFF;
}
#footer_main .poricyinner {
	width: auto;
	float: left;
}
#footer_main .poricyinner li {
	float: left;
	margin-right: 20px;
}
#footer_main .copyright {
	float: right;
}
#footer_main a {
	color: #FFF;
}
#footer_main .campany a,
#footer_main .copyright a {
	text-decoration: none;
}

/*-----------------------------------------------------	*/
/*	for - 1200px以下の記述　*/
/*-----------------------------------------------------	*/

@media only screen and (max-width:1200px) {
#wrap_all {
	width: 100%;
}
.beginner {
	background: url(../img/tb_top_img_beginner.jpg) center top no-repeat;
	background-size: contain;
}
.intermediate {
	background: url(../img/tb_top_img_intermediate.jpg) center top no-repeat;
	background-size: contain;
}
.advanced {
	background: url(../img/tb_top_img_advanced.jpg) center top no-repeat;
	background-size: contain;
}
.base {
	background: url(../img/tb_top_img_base.jpg) center top no-repeat;
	background-size: contain;
}

/* ----- main ----- */
#wrap_all #wrap_main {
	width: 100%;
	padding-top: 20%;
	padding-bottom: 60px;
}

hr {
	border: none;
	width: 96%;
	background: url(../img/h2_bg.png) center top no-repeat;
}

h2 {
	width: 96%;
	height: 40px;
}
h3 {
	margin-left: 4%;
	margin-right: 4%;
}

#wrap_all p {
	margin-left: 4%;
	margin-right: 4%;
}
#wrap_all p.ques {
	margin-left: 4%;
	margin-right: 4%;
}
#wrap_all p.seikairitsu {
	margin-left: 4%;
	margin-right: 4%;
}
#wrap_all p.p_big {
	margin-left: 4%;
	margin-right: 4%;
}

#wrap_all .error_li {
	margin-left: 8%;
	margin-right: 4%;
}
#wrap_all .left-txt {
	width: 96%;
	margin-left: 0%;
}
#wrap_all .right-img {
	width: 90%;
	float: none;
	margin-right: 4%;
	margin-left: 4%;
	text-align: center;
}
#wrap_all .right-img img {
	max-width: 100%;
	height: auto;
}

.bottom-img {
	width: 90%;
}
.bottom-img img {
	max-width: 100%;
	height: auto;
}
#wrap_all .center-img {
	width: 90%;
}
#wrap_all .center-img img {
	max-width: 100%;
	height: auto;
}

#wrap_all .ans_li_img {
	width: 92%;
}
#wrap_all .ans_li_img li {
	width: 23%;
	height: auto;
	margin-right: 2%;
}
#wrap_all .ans_li_img li img {
	max-width: 100%;
	height: auto;
}

/* 正解発表 */
#wrap_all .center_img,
#wrap_all .center_img_l {
	text-align: center;
	margin-left: 4%;
	margin-right: 4%;
}
#wrap_all .center_img img,
#wrap_all .center_img_l img {
	max-width: 100%;
	height: auto;
}

#wrap_all .correct_ans_li_img {
	max-width: 96%;
}
#wrap_all .correct_ans_li_img li img {
	max-width: 100%;
	height: auto;
}

#wrap_all .img_w240 li {
	margin-left: 1%;
	margin-right: 1%;	
	max-width: 31%;
}
#wrap_all .img_w280 li {
	margin-left: 1%;
	margin-right: 1%;	
	max-width: 48%;
}
#wrap_all .img_w320 li {
	margin-left: 1%;
	margin-right: 1%;	
	max-width: 48%;
}





#pager {
	width: 96%;
}

#footer_main {
	width: 96%;
	height: auto;
}

}


/*-----------------------------------------------------	*/
/*	for - 669px以下の記述　*/
/*-----------------------------------------------------	*/

@media only screen and (max-width:669px) {
#header #sega_logo {
	margin-left: 4%;
}
.beginner {
	background: url(../img/sp_top_img_beginner.jpg) center top no-repeat;
	background-size: contain;
}
.intermediate {
	background: url(../img/sp_top_img_intermediate.jpg) center top no-repeat;
	background-size: contain;
}
.advanced {
	background: url(../img/sp_top_img_advanced.jpg) center top no-repeat;
	background-size: contain;
}
.base {
	background: url(../img/sp_top_img_base.jpg) center top no-repeat;
	background-size: contain;
}

#wrap_all .sp_only {
	display: inherit;
}
#wrap_all .pc_only {
	display: none;
}

/* ----- main ----- */
#wrap_all #wrap_main {
	width: 100%;
	padding-top: 25%;
	padding-bottom: 60px;
}
#wrap_all .rank {
	max-width: 60%;
	height: auto;
}
#wrap_all .rank img {
	max-width: 100%;
	height: auto;
}
#wrap_all .error_li {
	margin-left: 14%;
}
#wrap_all .base_li {
	margin-left: 4%;
	margin-right: 4%;
}

#wrap_all .ans_li_txt li {
	margin-left: 6%;
}

/* 正解発表 */
#wrap_all .correct_box {
	margin-left: 4%;
	margin-right: 4%;
}
#wrap_all .right_img {
	float: none;
	text-align: center;
	margin-left: 4%;
	margin-right: 4%;
}
#wrap_all .right_img img {
	max-width: 100%;
	height: auto;
}

#pager {
	margin-top: 80px;
	height: auto;
	overflow: hidden;
}
#pager #prev_quiz {
	max-width: 45%;
	height: auto;	
}
#pager #prev_quiz a {
	width: 100%;
	height: 0px;
	padding-bottom: 40%;
	background: url(../img/button_quiz_prev_on.png) center top no-repeat;
	background-size: contain;
}
#pager #prev_quiz a img {
	width: 100%;
	height: auto;
}
#pager #next_quiz {
	max-width: 45%;
	height: auto;
}
#pager #next_quiz a {
	width: 100%;
	height: 0px;
	padding-bottom: 40%;
	background: url(../img/button_quiz_next_on.png) center top no-repeat;
	background-size: contain;
}
#pager #next_quiz a img {
	width: 100%;
	height: auto;
}

#wrap_all .twitter {
	width: 80%;
	height: auto;
}
#wrap_all .twitter a {
	width: 100%;
	height: 0px;
	padding-bottom: 20%;
	background: url(../img/button_twitter_on.png) center top no-repeat;
	background-size: contain;
}
#wrap_all .twitter a img {
	width: 100%;
	height: auto;
}

#wrap_all #next_b {
	width: 90%;
	height: auto;
}
#wrap_all #next_b a {
	width: 100%;
	height: 0px;
	padding-bottom: 16%;
}
#wrap_all #next_b a img {
	width: 100%;
	height: auto;
}
#wrap_all .goform a {
	background: url(../img/button_goform_on.png) center top no-repeat;
	background-size: contain;
}
#wrap_all .entry a {
	background: url(../img/button_entry_on.png) center top no-repeat;
	background-size: contain;
}
#wrap_all #next_s {
	max-width: 80%;
	height: auto;
}
#wrap_all #next_s a {
	width: 100%;
	height: 0px;
	padding-bottom: 15%;
	background: url(../img/button_twitter_on.png) center top no-repeat;
	background-size: contain;
}
#wrap_all #next_s a img {
	width: 100%;
	height: auto;
}

#footer_main .copyright {
	clear: both;
	float: none;
	padding-top: 10px;
}

}
