@charset "utf-8";

.selfcheck_outwrap{
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/*設問デザイン*/
.aga_selfcheck_wrap{
    position: relative;
    overflow: hidden;
}
.loop_flame{
    position: absolute;	/*jsで追加される要素*/
    top:0;
    left:0;
}
.selfcheck_box{
    float:left;
    width:100%;
    box-sizing: border-box;
	padding: 40px 0;
    position: relative;
}
.quest_text{
	width: 94%;
	margin: 0 auto 40px;
	text-align: center;
}
.quest_text div img {
	display: block;
	margin: auto;
}
.quest_text p {
	font-size: 150%;
	font-weight: bold;
	letter-spacing: .1em;
	line-height: 1.4em;
	margin-top: 1.0em;
}
.answer_box li,
.answer_infobox li {
    cursor: pointer;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}
.answer_box li:hover,
.answer_infobox li:hover {
	opacity: 0.6;
}
.answer_box {
	width: 70%;
	max-width: 550px;
	margin: 0 auto;
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.answer_box li {
	width: 46%;
	max-width: 250px;
}
.answer_box li.on {
	opacity: 0.3;
}
.what_quest{
	position: absolute;
	top: 40px;
	right: 2.0em;
	text-align: center;
	color: #5290D8;
	font-size: 110%;
	font-weight: normal;
	letter-spacing: .05em;
	line-height: 1.2em;
	padding: .4em 0;
	width: 5em;
	border: solid 1px #5290D8;
	border-radius: 50px;
}
.answer_infobox {
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content: center;
    justify-content: center;
	margin-top: 40px;
}
.answer_infobox {
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}
.answer_infobox li {
	font-size: 120%;
	letter-spacing: .05em;
	line-height: 1.2em;
	margin: 0 1.0em;
	padding-left: 1.0em;
	background-image: url("../images/lp/sourou/arrow4@2x.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto .8em;
}
.answer_infobox li.to_start {
	padding-left: 1.5em;
	background-image: url("../images/lp/sourou/arrow5@2x.png");
}

/*結果デザイン*/
div[class^="aga_level"]{
    position: absolute;
    top:0;
    left:0;
    display: none;
    width:100%;
    box-sizing: border-box;
	padding: 40px 0;
}
/*結果コーディング用
.selfcheck_box{display: none;}
.aga_level2 {display: block !important;}
*/
.self .result_img,
.self .result_txt {
	width: 94%;
	max-width: 850px;
	margin-left: auto;
	margin-right: auto;
}
.self .result_img {
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
	position: relative;
}
.self .result_img .score {
	width: 28%;
	text-align: center;
}
.self .result_img .txt {
	width: 69%;
	color: #3450B3;
	font-size: 280%;
	font-weight: bold;
	letter-spacing: normal;
	line-height: 1.4em;
}
.self .result_img .score p {
	background: #F2913D;
	border-radius: 50px;
	text-align: center;
	color: #fff;
	font-size: 130%;
	font-weight: bold;
	letter-spacing: normal;
	line-height: 1.2em;
	padding: .4em 0;
	position: relative;
	margin-bottom: 1.0em;
}
.self .result_img .score p::before {
	content: "";
	position: absolute;
	width: 100%;
	height: .5em;
	left: 0;
	top: 100%;
	background: url("../images/lp/sourou/scorefukidashi@2x.png") no-repeat center top;
	background-size: contain;
}
.self .result_img .txt p {
	position: relative;
	z-index: 1;
}
.self .result_img .txt::before {
	content: "";	/*drイラスト：result_imgを基準に配置*/
	position: absolute;
	z-index: 0;
	width: 2.5em;
	height: 2.5em;
	right: 0;
	bottom: -.2em;
	background-image: url("../images/lp/sourou/img_good@2x.png");
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: contain;
}
.self .aga_level3 .result_img .txt::before {background-image: url("../images/lp/sourou/img_bad@2x.png");}
.self .result_txt {
	margin-top: 2.0em;
	background: url("../images/lp/sourou/dotto4@2x.png") repeat-x left top;
	background-size: auto 3px;
	padding-top: 2.0em;
	font-size: 120%;
	letter-spacing: .05em;
	line-height: 1.8em;
}
.self .result_txt dt {
	font-weight: bold;
}

/* Tablet
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
/*設問デザイン*/
.selfcheck_box{
	padding: 3vw 0;
}
.quest_text{
	margin-bottom: 3vw;
}
.quest_text div img {
	height: 2.5em;
	width: auto;
}
.quest_text p {
	font-size: 130%;
}
.what_quest{
	top: 3vw;
}
.answer_infobox {
	margin-top: 3vw;
}
.answer_infobox li {
	font-size: 110%;
}

/*結果デザイン*/
div[class^="aga_level"]{
	padding: 3vw 0;
	font-size: 80%;
}
.self .result_img .txt {
	font-size: 4.6vw;
}
.self .result_txt {
	margin-top: 1.5em;
	padding-top: 1.5em;
	letter-spacing: normal;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
/*設問デザイン*/
.selfcheck_box{
	padding: 4vw 0;
}
.quest_text{
	margin-bottom: 4vw;
}
.quest_text div img {
	height: 1.8em;
	width: auto;
}
.quest_text p {
	font-size: 110%;
	letter-spacing: .05em;
	margin-top: .5em;
}
.answer_box {
	width: 90%;
}
.answer_box li {
	width: 48%;
}
.what_quest{
	top: 4vw;
	right: 1.0em;
	font-size: 80%;
	letter-spacing: normal;
}
.answer_infobox {
	margin-top: 6vw;
}
.answer_infobox li {
	font-size: 90%;
	margin: 0 2.0em;
}

/*結果デザイン*/
div[class^="aga_level"]{
	padding: 4vw 0;
}
.self .result_img {
	display: block;
}
.self .result_img .score {
	width: 90%;
	margin: 0 auto .5em;
}
.self .result_img .txt {
	width: 90%;
	font-size: 160%;
}
.self .result_img .score p {
	font-size: 100%;
	margin-bottom: .5em;
}
.self .result_img .score div {
	width: 50%;
	margin: 0 auto;
}
.self .result_img .txt br {
	display: none;
}
.self .result_txt {
	margin-top: .6em;
	padding-top: .8em;
	font-size: 100%;
	letter-spacing: normal;
	line-height: 1.6em;
}	
}