@charset "utf-8";
/* CSS Document */

.senseiMoney {
	margin: 240px 0 50px;
}

.senseiMoney .headline {
	font-size: 2.8rem;
	font-weight: 700;
	margin-bottom: 40px;
	text-align: center;
}
.senseiMoney .headline span {
	padding: 0 40px;
	position: relative;
}

.senseiMoney .headline span:before, .senseiMoney .headline span:after {
	bottom: 0;
	content: '';
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 30px 6px 0 6px;
	border-color: #022202 transparent transparent transparent;
}

.senseiMoney .headline span:before {
	transform: rotate(-26deg);
	left: 0;
}
.senseiMoney .headline span:after {
	transform: rotate(26deg);
	right: 0;
}

@media screen and (max-width: 767px) {
	.senseiMoney {
		margin-top: 50px;
	}	
	.senseiMoney .headline {
		font-size: 1.8rem;
	}
	.senseiMoney .headline span {
		display: inline-block;
		padding: 0 20px;		
	}
	.senseiMoney .headline span:before, .senseiMoney .headline span:after {
		border-width: 20px 3px 0 3px;
	}
	.senseiMoney .headline span:before {
		left: 0;
	}
	.senseiMoney .headline span:after {
		right: 0;
	}
}

.senseiMoney .unit + .unit {
	margin-top: 100px;
}

.question .txt {
	border: 3px solid #7BA327;
	margin: 70px 40px 0 0;
	padding: 20px 30px;
	position: relative;
	width: calc(100% - 300px);
}
.answer .ocBtn .open {
	margin-right: 40px;
}

@media screen and (max-width: 767px) {
	.question .txt {
		margin: 0 0 0 1px;
		padding: 10px;
		width: calc(100% - 100px);
	}
	.answer .ocBtn .open {
		margin-right: 0px;
	}
	.ocBtn p.open:before {
		top: calc(50% - 19px);
	}
}


.senseiMoney .answer .wrap{
	border: 5px solid #7BA327;
	border-radius: 10px;
	padding: 80px 200px 80px 160px;
	position: relative;
	margin-bottom: 20px;
}

.senseiMoney .answer p {
	line-height: 1.8;
}

.senseiMoney .answer .img {
	flex-wrap: nowrap;
	margin-top: 50px;
}

.senseiMoney .answer .img img {
	width: 100%;
}

.senseiMoney .answer .img li + li {
	margin-left: 20px;
}

.senseiMoney .answer .wrap:after {
	background: url("/wp/wp-content/uploads/2025/06/idea-home_chara_06.png");
	background-size: cover;
	content: '';
	display: block;
	height: 264px;
	width: 247px;
	position: absolute;
	bottom: -40px;
	right: 0;
	transition: 0.3s;
}
.senseiMoney .answer .wrap.ver2:after {
	background: url("/wp/wp-content/uploads/2025/06/idea-home_chara_00.png");
	background-size: cover;
	height: 261px;
	width: 217px;
}
.senseiMoney .answer.hide .wrap:after {
	opacity: 0;
}
.answer .ocBtn {
	margin-top: 30px;
}

@media screen and (max-width: 767px) {
	
	.senseiMoney .answer .wrap {
		padding: 30px 20px 100px;
	}
	.senseiMoney .answer .wrap:after, .senseiMoney .answer .wrap.ver2:after {
		height: 109px;
		width: 90px;
		bottom: 0;
	}
	.senseiMoney .answer .wrap:after {
		height: 105px;
		width: 100px;
	}
	.answer .ocBtn {
		margin-top: 0px;
	}

	.senseiMoney .unit + .unit {
		margin-top: 60px;
	}
}
