@charset "utf-8";
/* CSS Document */

.shindan_box{
	background: url("../img/bg.jpg") top center no-repeat;
	background-size: cover;
	padding: 220px 0 180px;
}


.container{
	background: url("../img/box.bg.png") center no-repeat;
	/*display: flex;
	justify-content: center;
	align-items: center;*/
	width: 860px;
	height: 612px;
	margin: 0 auto;
	font-size: 18px;
	font-weight: bold;
	line-height: 2.2;
	position: relative;
	padding: 100px 0 0;
}

#start-page.container{padding-top: 150px;}

.container .left_img{
	position: absolute;
	bottom: 60px;
	left: 105px;
}

.container .right_img{
	position: absolute;
	bottom: 55px;
	right: 75px;
}

.container h2{margin-bottom: 30px; line-height: 1;}


.shindan_box .logo {
  max-width: 275px;
}
.shindan_box #start-page p{
	font-size: 20px;
	line-height: 1.8;
}
.shindan_box #start-page p span{color:#f36938 ;}

/* スタートページボタンデザイン */
.start-btn{
	display: block;
	font-size: 20px;
	line-height: 1;
	background: #ffef37;
	width: 300px;
	padding: 25px 10px 20px;
	text-decoration: none;
	margin: 40px auto 0;

	border: none;
	cursor: pointer;
}


.progress b{
	width: 100%;
	font-size: 22px;
}
.progress {
    font-size: 50px;
    line-height: 1;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}
.progress span{font-size: 40px;}
.question-text {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 20px;
	
}
.button-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 400px;
}
.choice-btn {
	display: block;
	font-size: 20px;
	line-height: 1;
	background: #ffef37;
	width: 300px;
	padding: 25px 10px 20px;
	text-decoration: none;
	margin: 0 auto 10px;

	border: none;
	cursor: pointer;
}
/* ホバー */
.choice-btn:hover {
    transform: translate(3px,3px);
}



.result-text .line1 {
	font-size: 25px;
	margin-bottom: 10px;
}
.result-text .line2 {
	width: 100%;
	background: url("../img/result_bg.jpg") center no-repeat;

}

.result-btn{
	width: 370px;
	vertical-align: middle;
	color: #000;
	background-color: #fff;
	border-radius: 50px;
    display: block;
	position: relative;
	border: 3px solid #000;
	transition: .3s ease-in-out;
	font-weight: 600;
	font-size: 30px;
	line-height: 75px;
	margin: 20px auto 0;
	text-decoration: none;
}
.result-btn:hover{transform: scale(1.1,1.1);background-color: #fee300;opacity: 1;}
.result-btn::after{
	transition: .3s ease-in-out;
	color: #fee300;
	background-color: #000;
	border-radius: 50px;
	position: absolute;
	width: 78px;
	line-height: 78px;
	top: -1px;
    font-size: 22px;
}
.result-btn::after{
	content: "▶";
	right: -1px;
}
@media screen and (max-width: 750px){
	.result-btn{max-width: 370px;width: 90%; margin: 0 auto;}
	
	.result-btn{
		width: 180px;
		font-size: 18px;
		line-height: 40px;
	}
	.result-btn::after{
		width: 43px;
		line-height: 43px;
		font-size: 12px;
	}
	
}



.retry-btn {
	padding: .5em 1em;
	font-size: 14px;
	background-color: #9E9E9E;
	color: #fcffee;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.3s;
	    margin-top: 20px;
}
.retry-btn:hover {background-color: #757575;}

.hidden {display: none;}

@media screen and (max-width: 900px){
	.container{
		width: 90%;
		background: url(../img/box.bg.png) center no-repeat;
		background-size: 100%;
	}
}

@media screen and (max-width: 750px){
	br.sp{display: block;}
	
	.shindan_box{
		padding: 130px 0 90px;
		background: url(../img/bg_sp.jpg) top center no-repeat;
		background-size: cover;
	}
	.container{
		width: 90%;
		background: url(../img/box.bg_sp.png) top center no-repeat;
		background-size: 100%;
		padding-top: 45px;
		height: 410px;
	}
	#start-page.container{padding-top: 70px;}
	.container h2{margin-bottom: 10px;}
	.container h2 img{width: 220px;}	
	.shindan_box #start-page p{font-size: 14px; line-height: 2;}
	
	.start-btn{
		width: 250px;
		margin: 20px auto 0;
		font-size: 16px;
	}
	
	.question-text{
		line-height: 1;
		font-size: 20px;
		margin-bottom: 15px;
	}
	.progress{font-size: 20px;}
	.progress span{font-size: 27px;}
	.progress b{font-size: 14px;}
	
	.choice-btn{
		width: 250px;
		font-size: 15px;
		padding: 20px 10px 15px;
	}
	
	.container .left_img{display: none;}
	.container .right_img{display: none;}
	
	.result-text .line2{
		background: url(../img/result_bg_sp.png) center bottom no-repeat;
		background-size: cover;
		padding: 30px 0px;
	}
	.result-text .line2 img{width: 60%;}
	.retry-btn{font-size: 13px;}
}




footer{margin-top: -50px;}









