@charset "utf-8";
/* CSS Document */

#shindan .shindan_box{
	background: url(../img/bg.jpg) no-repeat top center / cover;
	padding: 230px 0 150px;
}
#shindan footer{margin-top: 0;}

.container {
	background-color:#fcffee;
	padding: 60px 60px 50px;
}
.container .line_bg>.illust {
    position: absolute;
    top: -25px;
    right: 25px;
}

.shindan_box .logo {
  max-width: 275px;
}
.shindan_box .line_bg {
	position: relative;
	margin-top: 30px;
    padding: 40px 5% 50px;
    background-image: repeating-linear-gradient(0deg, #d2e1e5, #d2e1e5 1px, transparent 1px, transparent 26px);
}
.shindan_box .container p {color: #234083;}
.shindan_box #start-page p{
	font-size: 20px;
	line-height: 1.8;
}
.shindan_box #start-page p span{color:#f36938 ;}

/* スタートページボタンデザイン */
.start-btn{
  --bg: #f36938;      /* 中のオレンジ */
  --inner: #fcffee;   /* 内枠の生成り */

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	
	max-width: 400px;
	width: 100%;
	padding: .8em .5em .8em .2em;
	background: var(--bg);
	border-radius:8px;
	
	color: #fcffee;
	font-size: 30px;
	border: none;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 50px;
}
/* 内側の枠（生成り） */
.start-btn::before{
	content: "";
	position: absolute;
	inset: 4px;              /* 外枠〜内枠の間の“オレンジの溝” */
	border: 3px solid var(--inner);
	border-radius: 7px;
	pointer-events: none;
}
/* 右側の再生（▶）三角 */
.start-btn::after{
	content: "";
	position: absolute;
	inset: 0 1em 0 auto;
	margin: auto;
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 20px solid #fcffee;
}
/* ホバー */
.start-btn:hover {
	background-color: #234083;
	transform: translateY(-2px);
}


.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: 35px;
    font-weight: bold;
    margin-bottom: 20px;
}
.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    max-width: 400px;
}
.choice-btn {
    padding: .8em .5em;
    font-size: 25px;
    background-color: #fcffee;
    color: #234083;
    border: 4px solid #234083;
    box-shadow: 3px 3px 0px 0px rgba(35, 64, 131, 1);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
/* ホバー */
.choice-btn:hover {
    background-color: #f1ad4b;
    transform: translate(3px,3px);
    box-shadow:none;
}



.result-text {
	position: relative;
	margin-bottom: 30px;
}
.result-text .illust{position: absolute;}
.result-text .illust2{top: 0px;left: 5%;}
.result-text .illust3{bottom: 0px;right: 5%;}
.result-text .line1 {
	font-size: 25px;
	margin-bottom: 10px;
}
.result-text .line2 {
    display: inline-block;
    padding: .5em ;
    font-size: 34px;
	line-height: 1.2;
    color: #fcffee;
    background-color: #f36938;
    border: solid 2px #234083;
	position: relative;
    z-index: 1;
}
.result-text .line3 {
	font-size: 25px;
    font-weight: bold;
    display: inline-block;
    margin-left: .2em;
	margin-top: .5em;
    vertical-align: bottom;
    line-height: 1;
    position: relative;
    z-index: 1;
}
.result-text .line4 {
    font-size: 30px;
    font-weight: bold;
	margin-top: 10px;
}

#result-page .btn {
	background-color: #234083;
	margin: 0 auto;
}
#result-page .btn a{color: #fcffee;}
#result-page .btn_arrow_right a::after {
    background: url(../../img/common/btn_arrow_white.svg) no-repeat;
	background-size: cover;
}

.retry-btn {
	padding: .5em 1em;
	font-size: 14px;
	background-color: #9E9E9E;
	color: #fcffee;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.3s;
}
.retry-btn:hover {background-color: #757575;}

.hidden {display: none;}
@media screen and (max-width: 820px) {#shindan .shindan_box { padding-top: 190px;}}
@media screen and (max-width: 600px) {#shindan .shindan_box { padding: 120px 0 50px;}}
@media screen and (max-width: 750px) {
	#shindan .shindan_box{background-image: url(../img/bg_sp.jpg);}
	.container {padding: 50px 5%;}
	.shindan_box .logo{max-width: 200px;}
	.shindan_box .line_bg {
		margin-top: 15px;
		padding: 30px 5%;
	}
	.shindan_box #start-page .line_bg{padding: 35px 0;}

	.shindan_box #start-page p{font-size: 16px;}
	.start-btn{
		font-size: 20px;
		width: 90%;
		margin-top: 25px;
	}
	.container .illust{display: none;}
	.progress {
		font-size: 40px;
		margin-bottom:10px ;
	}
	.progress b {font-size: 18px;}
	.progress span {font-size: 30px;}
	.question-text{
		font-size: 22px;
	}
	.choice-btn{font-size: 18px;}
	.result-text .line2{font-size: 30px;}
}