﻿@charset "UTF-8";

i{
	font-style: normal;
}
.sp_only{
	display: none;
}
.e_and_s{
	border: 5px solid #0481d8;
    border-radius: 7px;
	overflow:hidden;
	background:#ffffff;
	text-align: center;
	margin: 0 0 45px;
	padding:20px;	
}
.e_and_s h1{
	background:#eedd43;
	padding:13px 8px;
	text-align:center;
	border-radius:8px;
}
.e_and_s h1 img{
	display: block;
	margin:auto;
	max-width: 100%;
}
.e_and_s .phase1 .top_msg{
	margin:24px auto;
}
.e_and_s .phase1 .top_img{
	margin:0 auto 12px;
}
.e_and_s .phase1 ul{
	margin:0 auto 20px;
}
.e_and_s .phase1 ul li{
	display: inline-block;
	margin:auto 5%;
}
.e_and_s .phase1 ul li img{
	display: block;
}
.e_and_s .phase1 ul li.btn_english{
	background:url('../img/btn_english_on.png') center center no-repeat;
	background-size: contain;
}
.e_and_s .phase1 ul li.btn_science{
	background:url('../img/btn_science_on.png') center center no-repeat;
	background-size: contain;
}
.e_and_s .phase1 ul li:hover{
	cursor:pointer;
}
.e_and_s .phase1 ul li:hover img{
	opacity:0;
}
.e_and_s .phase2 .question {
    display: table;
    width: 90%;
    margin: 50px auto;
    text-align: left;
}
.e_and_s .phase2 .question h2{
	display: table-cell;
	vertical-align: top;
	padding-right: 30px;
}
.e_and_s .phase2 .question p {
    display: table-cell;
    vertical-align: top;
    font-size: 220%;
    font-weight: bold;
}
.e_and_s .phase2 .select {
    width: 80%;
    margin: 40px auto;
}
.e_and_s .phase2 .select li {
    border-top: 4px solid #f4f4f4;
    border-left: 5px solid #f4f4f4;
    border-right: 5px solid #f4f4f4;
    border-bottom: 8px solid #f4f4f4;
    margin: 18px auto;
    border-radius: 64px;
    font-size: 185%;
    font-weight: bold;
    padding: 16px 24px 8px;
    box-shadow: 0px 5px 0 #bbbaba, 0px 10px 0 #959595, inset 0px 3px 0 #4265ad;
    display: table;
    width: 100%;
    box-sizing: border-box;
}
.e_and_s .phase2 .select li:hover {
	cursor: pointer;
	background:#dfecf6;
}
.e_and_s .phase2 .select.hover_science li:hover {
	background:#f8ecf4;
}
.e_and_s .phase2 .select li i{
	font-size:80%;
	letter-spacing: -1px;
}

.e_and_s .phase3 .result {
    margin: 40px auto 30px;
}
.e_and_s .phase3 .result p {
    font-size: 200%;
    font-weight: bold;
    text-align: left;
    width: 92%;
    margin: 20px auto 0;
}
.e_and_s .phase3 .option{
	text-align: center;
	margin:30px auto 10px;
}
.e_and_s .phase3 .option .next{
	display: inline-block;
	margin:auto;
	background:url('../img/btn_next_on.png') center center no-repeat;
	background-size: contain;
}
.e_and_s .phase3 .option .next img{
	display: block;
}
.e_and_s .phase3 .option .next:hover{
	cursor: pointer;
}
.e_and_s .phase3 .option .next:hover img{
	opacity: 0;
}

.e_and_s .phase4 .result {
    margin: 40px auto 30px;
}
.e_and_s .phase4 .result .score_disp strong {
    display: inline-block;
    font-size: 1500%;
    color: #000000;
    line-height: 100%;
}
.e_and_s .phase4 .result .score_disp i{
}
.e_and_s .phase4 .result h2{
	width:90%;
	text-align: left;
	margin:auto;
}
.e_and_s .phase4 .result p {
	text-align: center;
    width: 92%;
    margin: 20px auto 0;
}
.e_and_s .phase4 .option{
	margin:0 auto 20px;
}
.e_and_s .phase4 .option div{
	display: inline-block;
	margin:auto 5%;
}
.e_and_s .phase4 .option div img{
	display: block;
}
.e_and_s .phase4 .option div:hover{
	cursor: pointer;
}
.e_and_s .phase4 .option div:hover img{
	opacity: 0;
}
.e_and_s .phase4 .option .onemore{
	background:url('../img/btn_onemore_on.png') center center no-repeat;
	background-size: contain;
}
.e_and_s .phase4 .option .onemore2{
	background:url('../img/btn_onemore2_on.png') center center no-repeat;
	background-size: contain;
}
.e_and_s .phase4 .option .next_science{
	display: inline-block;
	background:url('../img/btn_next_science_on.png') center center no-repeat;
	background-size: contain;
}
.e_and_s .phase4 .option .next_english{
	display: inline-block;
	background:url('../img/btn_next_english_on.png') center center no-repeat;
	background-size: contain;
}

.e_and_s .phase1{
	display: block;
}
.e_and_s .phase2{
	display: none;
}
.e_and_s .phase3{
	display: none;
}

/*スマホ専用CSS*/
@media (max-width: 640px) and (min-width: 0px) {
	.pc_only{
		display: none;
	}
	.sp_only{
		display: block;
	}
	.e_and_s .phase1 .top_msg {
    	margin: 20px auto;
    	margin: 3vh auto 2vh;
	}
	.e_and_s .phase1 .top_msg img{
    	width:100%;
    	height:auto;
	}
	.e_and_s .phase1 .top_img {
    	margin: 0 auto 6px;
	}
	.e_and_s .phase1 .top_img img{
    	width:100%;
    	height:auto;
	}
	.e_and_s .phase1 ul {
    	margin: 0 auto 12px;
	}
	.e_and_s .phase1 ul li {
    	display: inline-block;
    	margin: 20px auto 0;
	    margin: 1.5vh auto 0;
    	width: 80%;
	}
	.e_and_s .phase1 ul li img{
		width:100%;
		height:auto;
	}
	.e_and_s .phase2 .question h2 {
		display: block;
    	padding-right: 0;
    	margin-bottom: 10px;
	}
	.e_and_s .phase2 .question h2 img{
		height:48px;
		width:auto;
	}
	.e_and_s .phase2 .question p {
		display: block;
    	font-size: 180%;
    	font-weight: bold;
	}
	.e_and_s .phase2 .question {
    	width: 96%;
    	margin: 48px auto 24px;
    	margin: 5vh auto 3vh;
	}
	.e_and_s .phase2 .select {
    	width: 100%;
    	margin: 24px auto 30px;
	}
	.e_and_s .phase2 .select li {
	}
	.e_and_s .phase2 .select li {
	    border-top: 1px solid #f4f4f4;
    	border-left: 2px solid #f4f4f4;
    	border-right: 2px solid #f4f4f4;
    	border-bottom: 3px solid #f4f4f4;
    	margin: 18px auto;
    	border-radius: 80px;
	    font-size: 150%;
    	font-weight: bold;
    	padding: 12px 12px 5px;
    	box-shadow: 0px 3px 0 #bbbaba, 0px 5px 0 #959595, inset 0px 3px 0 #4265ad;
    	display: table;
    	width: 100%;
    	box-sizing: border-box;
	}
	.e_and_s .phase3 .result {
    	text-align: center;
    	margin: 20px auto 24px;
	}
	.e_and_s .phase3 .result img{
		margin:auto;
	}
	.e_and_s .phase3 .result p {
    	font-size: 160%;
    	margin: 10px auto 0;
	}
	.e_and_s .phase3 .option {
    	text-align: center;
    	margin: 24px auto 16px;
    	width: 80%;
	}
	.e_and_s .phase3 .option .next img {
    	width: 100%;
	}
	.e_and_s .phase4 .result {
    	margin: 30px auto;
	}
	.e_and_s .phase4 .result h2{
		width:98%;
	}
	.e_and_s .phase4 .result h2 img{
		width:100%;
		height:auto;
	}
	.e_and_s .phase4 .result .score_disp{
		width: 100%;
	    margin: 12px auto;
	}
	.e_and_s .phase4 .result .score_disp strong{
		font-size:1000%;
	}
	.e_and_s .phase4 .result .score_disp i img{
		width:80px;
		height:auto;
	}
	.e_and_s .phase4 .result p {
    	width: 100%;
	}
	.e_and_s .phase4 .result p img{
    	width: 100%;
    	height:auto;
	}
	.e_and_s .phase4 .option {
    	margin: 0 auto 4px;
	}
	.e_and_s .phase4 .option div {
    	display: inline-block;
    	margin: 0 auto 16px;
    	width: 80%;
	}
	.e_and_s .phase4 .option div img {
    	width: 100%;
	}
}
