/* ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■
	簡易診断ツール
■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ */
/*--------------------------------------------------------
最初のコンテンツ
--------------------------------------------------------*/
.ftBox{
	padding-top: 50px;
	padding-bottom: 30px;
}

.ftBox .ftArea{
	width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.ftBox .ftArea h3{
	font-size: 2.3rem;
  text-align: center;
  color: #169F45;
  font-weight: bold;
	padding-bottom: 25px;
}

.ftBox .ftArea p{
	letter-spacing: 0.08em;
	line-height: 1.9em;
	font-size: 1.25rem;
}

.ftBox .ftArea .time{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding-top: 30px;
}

.ftBox .ftArea .time span{
	letter-spacing: 0.08em;
	line-height: 1.9em;
	background-color: #f5f5f5;
	color: #333;
	border-radius: 5px;
	font-weight: bold;
	padding: 3px 8px;
	margin-right: 10px;
}

.ftBox .ftArea .time p{
	margin-bottom: 0;
}

@media screen and (max-width: 970px){
	.ftBox .ftArea{
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media screen and (max-width: 760px){
	.ftBox .ftArea h3{
		text-align: left;
		font-size: 26px;
	}
	.ftBox .ftArea .time{
		padding-top: 15px;
	}
	.ftBox .ftArea .time span{
		letter-spacing: 0em!important;
	}
	.ftBox .ftArea .time p{
		letter-spacing: 0em!important;
	}
}
@media screen and (max-width: 640px){
	.ftBox .ftArea h3{
		font-size: 1.75rem;
	}
	.ftBox .ftArea p{
		font-size: 1.1rem;
	}
}

/*--------------------------------------------------------
フォームボックス (Modern Styling)
--------------------------------------------------------*/
.selectArea{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.selectArea .selectBox{
	width: 100%;
	max-width: 820px;
	background: #ffffff;
	border-radius: 16px;
	padding: 45px 55px;
	border: 1px solid #d9ebd9;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	margin-bottom: 20px;
}

.selectArea .selectBox .inputBox{
	margin-bottom: 30px;
}

.selectArea .selectBox .inputBox:last-of-type {
	margin-bottom: 10px;
}

.selectArea .selectBox .inputBox h3{
	display: flex;
	align-items: center;
	line-height: 1.4em;
	font-size: 1.2rem;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 12px;
}

.selectArea .selectBox .inputBox h3 .step-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #169F45 0%, #1ea84e 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	margin-right: 12px;
	letter-spacing: 0.05em;
	line-height: 1;
	flex-shrink: 0;
}

.selectArea .selectBox .inputBox .inputArea{
	position: relative;
}

.selectArea .selectBox .inputBox .inputArea .err{
	margin-top: 8px;
}

.selectArea .selectBox .inputBox .inputArea .err span{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #d93838;
	font-size: 13.5px;
	font-weight: 600;
	background-color: #fff5f5;
	border: 1px solid #ffdcdc;
	padding: 6px 14px;
	border-radius: 6px;
}

.selectArea .selectBox .inputBox .inputArea select{
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 45px 0 18px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23169F45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: calc(100% - 18px) center;
	background-size: 16px 16px;
	border: 1.5px solid #cce2cb;
	border-radius: 8px;
	color: #333333;
	font-size: 15.5px;
	font-weight: 500;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.selectArea .selectBox .inputBox .inputArea select:hover{
	border-color: #169F45;
	background-color: #fafdfa;
}

.selectArea .selectBox .inputBox .inputArea select:focus{
	border-color: #169F45;
	background-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(22, 159, 69, 0.15);
}

.selectArea .selectBox .inputBox .inputArea select option{
	padding: 10px 14px;
	color: #333;
	font-size: 15px;
}

/*--------------------------
submitBtn
--------------------------*/
.selectArea .selectBox .submitBtn{
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 35px;
}

.selectArea .selectBox .submitBtn p{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 16px 48px;
	min-width: 320px;
	font-size: 18px;
	font-weight: bold;
	background: linear-gradient(135deg, #1fa348 0%, #168a3c 100%);
	color: #fff;
	position: relative;
	cursor: pointer;
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(22, 159, 69, 0.3);
	margin-bottom: 0;
	transition: all 0.25s ease;
}

.selectArea .selectBox .submitBtn p span{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 28px;
	height: 28px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.25s ease;
}

.selectArea .selectBox .submitBtn p:hover{
	background: linear-gradient(135deg, #24b852 0%, #179641 100%);
	box-shadow: 0 6px 20px rgba(22, 159, 69, 0.4);
	transform: translateY(-2px);
}

.selectArea .selectBox .submitBtn p:hover span{
	transform: translateY(-50%) translateX(3px);
}

.selectArea .selectBox .submitBtn p:active{
	transform: translateY(0);
}

@media screen and (max-width: 768px){
	.selectArea .selectBox{
		padding: 30px 20px;
		border-radius: 12px;
	}

	.selectArea .selectBox .inputBox h3{
		font-size: 1.05rem;
		flex-wrap: wrap;
		gap: 6px;
	}

	.selectArea .selectBox .inputBox .inputArea select{
		font-size: 14.5px;
		height: 48px;
		padding: 0 40px 0 14px;
	}

	.selectArea .selectBox .submitBtn p{
		width: 100%;
		min-width: auto;
		font-size: 16px;
		padding: 14px 40px 14px 20px;
	}
}

/*--------------------------------------------------------
診断結果
--------------------------------------------------------*/
.answerArea{
	display: none;
}

.answerArea.on{
	display: block;
}

.answerArea .answerBox{
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 50px;
}

.answerArea .answerBox .in{
	background-color: #fff;
	border: 1px solid #d9ebd9;
	padding: 50px 70px;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	width: 100%;
	max-width: 820px;
}

.answerArea .answerBox .in h2{
	text-align: center;
	color: #169F45;
	font-weight: bold;
	font-size: 2.2rem;
}

/* ul.answerSelect */
.answerArea .answerBox .in ul.answerSelect{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 25px 0 0;
	margin: 0;
}

.answerArea .answerBox .in ul.answerSelect li{
	width: 48%;
	display: flex;
	justify-content: center;
	align-items: center;
	list-style-type: none;
	border: 1px solid #e2ece2;
	background-color: #f7faf7;
	border-radius: 8px;
	padding: 16px;
	margin: 0px 1%;
}

.answerArea .answerBox .in ul.answerSelect li .flag{
	font-weight: bold;
	color: #555;
}

.answerArea .answerBox .in ul.answerSelect li .text{
	font-weight: 600;
	color: #222;
}

/* ul.answerOUT */
.answerArea .answerBox .in ul.answerOUT{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 0 0;
	margin: 0;
}

.answerArea .answerBox .in ul.answerOUT li{
	display: block;
	width: 48%;
	margin: 0px 1%;
	list-style-type: none;
	text-align: center;
	background: #f0f8f1;
	border: 1px solid #cbe4cd;
	border-radius: 12px;
	padding: 22px 16px;
}

.answerArea .answerBox .in ul.answerOUT li h3{
	font-weight: bold;
	font-size: 1.15rem;
	color: #2d6a3f;
	margin-bottom: 8px;
}

.answerArea .answerBox .in ul.answerOUT li .out{
	font-size: 2rem;
	font-weight: bold;
	color: #169F45;
}

.answerArea .answerBox .in ul.answerOUT li .out p{
	display: inline-block;
	font-size: 1rem;
	padding-left: 4px;
	color: #333;
	margin: 0;
}

.answerArea .answerBox .in ul.answerOUT li .out p span{
	font-size: 12px;
}

/* .comment */
.answerArea .answerBox .in .comment{
	padding-top: 30px;
}

/* .message */
.answerArea .answerBox .in .message{
	padding-top: 30px;
}

/* .point */
.answerArea .answerBox .in .point{
	margin-top: 30px;
	padding: 20px 24px;
	background-color: #fffded;
	border: 1px solid #f6e8a8;
	border-radius: 8px;
	line-height: 1.85em;
	font-size: 1.05rem;
}

.answerArea .answerBox .in .point p {
	margin-bottom: 0;
}

.answerArea .answerBox .in .point a{
	display: inline;
	color: #2196f3;
	text-decoration: underline;
	word-break: break-all;
}

.answerArea .answerBox .in .point a:hover{
	color: #83c3f5;
}

@media screen and (max-width: 970px){
	.answerArea .answerBox .in{
		min-width: inherit;
	}
	.answerArea .answerBox .in ul.answerSelect{
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.answerArea .answerBox .in ul.answerSelect li{
		justify-content: flex-start;
		width: 100%;
		margin: 0;
	}
}

@media screen and (max-width: 760px){
	section.content .container.py-5{
		padding-top: 0px!important;
	}

	.answerArea .answerBox .in{
		padding: 35px 20px;
		border-radius: 12px;
	}

	.answerArea .answerBox .in h2{
		font-size: 1.75rem;
	}

	.answerArea .answerBox .in ul.answerOUT{
		flex-direction: column;
		gap: 15px;
	}

	.answerArea .answerBox .in ul.answerOUT li{
		width: 100%;
		margin: 0;
		padding: 18px 12px;
	}

	.answerArea .answerBox .in ul.answerOUT li .out{
		font-size: 1.7rem;
	}

	.answerArea .answerBox .in .point{
		font-size: 0.95rem;
		padding: 16px;
	}
}
