@charset "utf-8";

/*----------------------------------------------------
不動産●●のQ&Aコンテンツ　｜　qa.css
Since 2024.8.23
----------------------------------------------------*/

.qa-items-wrap {}

.qa-items-wrap .box {
	margin: 0 auto;
	width: 94%;
}

.qa-items-wrap ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.qa-items-wrap .item-qa {/* <li> */
	background: rgba(255, 255, 255, .1);
	border-radius: 4px;
	box-sizing: border-box;
	margin: 0 auto 1em;
	padding: 0 3%;
}

.qa-items-wrap .item-qa .question {
	cursor: pointer;
	position: relative;
}

.qa-items-wrap .item-qa .question::before,
.qa-items-wrap .item-qa .question::after {
	background: #d5d5d5;
	content: "";
	height: 2px;
	position: absolute;
	right: 6px;
	top: calc(50% - 2px);
	transition: all .3s ease-in-out;
	width: 20px;
}

.qa-items-wrap .item-qa .question::after {
	opacity: 1;
	transform: rotate(90deg);
}

.qa-items-wrap .item-qa .question.open::after {
	opacity: 0;
}

.qa-items-wrap .item-qa .question .head-txt {
	color: #d5d5d5;
	font-size: 17px;
	letter-spacing: .085em;
	line-height: 24px;
	margin: 0;
	padding: 2.3em 45px;
	position: relative;
}

.qa-items-wrap .item-qa .question .head-txt:hover {
	color: #c5ba8b;
}

.qa-items-wrap .item-qa .question.open .head-txt {
	color: #c5ba8b;
	font-weight: bold;
}

.qa-items-wrap .item-qa .question.open .head-txt:hover {
	opacity: .85;
}

.qa-items-wrap .item-qa .question .head-txt::before {
	content: "Q.";
	font-size: 21px;
	font-weight: bold;
	left: 0;
	line-height: 1;
	position: absolute;
	top: 38px;
}

.qa-items-wrap .item-qa .answer {
	padding-bottom: 2em;
}

.qa-items-wrap .item-qa .answer .text {
	background: #595959;
	border-radius: 4px;
	color: #eee;
	font-size: 15px;
	letter-spacing: .1em;
	margin: 0;
	padding: 1.6em 3% 1.8em calc(45px + 3%);
	position: relative;
	width: auto;
}

.qa-items-wrap .item-qa .answer .text::before {
	content: "A.";
	font-weight: bold;
	font-size: 21px;
	left: 3%;
	line-height: 1;
	position: absolute;
	top: 1.2em;
}


@media screen and (max-width: 767px) {
	.qa-items-wrap .item-qa .question .head-txt {
		font-size: 16px;
	}

	.qa-items-wrap .item-qa .question .head-txt::before,
	.qa-items-wrap .item-qa .answer .text::before {
		font-size: 20px;
	}

	.qa-items-wrap .item-qa .answer .text {
		font-size: 14px;
	}
}


/* .qa-items-sell -- 売却ページ用
--------------------------------------*/
/* ※何か個別の設定が必要になった時に使用してください。 */


/* .qa-items-rent -- 賃貸ページ用
--------------------------------------*/
/* ※何か個別の設定が必要になった時に使用してください。 */
