#section_qa {
	background-color: #3fedf7;
	padding: 4rem 0 3rem;
}

.section_qa_title {
	font-size: 28px;
	color: #000;
	padding: 0 0 10px;
	text-align: center;
}

.cp_qa {
	max-width: 1000px;
	margin: 30px auto;
	padding: 0 1em;
}

.cp_qa *,
.cp_qa *::after,
.cp_qa *::before {
	box-sizing: border-box;
}

.cp_qa .cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 1em 0;
	color: #1b2538;
	text-align: left;
}

.cp_qa .cp_actab input {
	position: absolute;
	opacity: 0;
}

/* 質問 */
.cp_qa .cp_actab label {
	font-weight: bold;
	line-height: 1.8;
	position: relative;
	display: block;
	margin: 0;
	padding: 1em 3em 1em 1em;
	cursor: pointer;
	background: #fff;
}

.cp_qa .cp_actab label::before {
	font-size: 1.5em;
	margin: 5px 14px;
	padding: 0 0.5em 0.1em;
	content: 'Q';
	color: #fff;
	background-color: #262626;
	border-radius: 50%;
	position: absolute;
}

.cp_qa .cp_actab label p {
	padding: 1em 1em 1em 70px;
	margin: 0;
}

.cp_qa .cp_actab label:hover {
	transition: 0.5s;
	color: #6b2833;
}

/* 質問の＋アイコン */
.cp_qa .cp_actab label::after {
	font-size: 1.7em;
	font-weight: bold;
	line-height: 2em;
	position: absolute;
	top: 15px;
	right: 0;
	content: '\002b';
	display: inline-block;
	width: 2em;
	height: 2em;
	transition: transform 0.4s;
}

/* 答え */
.cp_qa .cp_actab .cp_actab-content {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0 3em 0 1em;
	background: #f7f7f7;
	transition: max-height 0.8s;
}

.cp_qa .cp_actab .cp_actab-content::before {
	font-size: 1.5em;
	position: absolute;
	margin: 5px 14px;
	padding: 0 0.5em 0.1em;
	content: 'A';
	color: #fff;
	background-color: #a56060;
	border-radius: 50%;
}

.cp_qa .cp_actab .cp_actab-content p {
	margin: 1em 1em 1em 0;
	padding: 0 0 0 70px;
	line-height: 1.8;
	text-align: justify;
}

.cp_qa .cp_actab .cp_actab-content p.qa-more-link {
	text-align: right;
}

.cp_qa .cp_actab .cp_actab-content p.qa-more-link a {
	font-size: 14px;
	color: #5f5f5f;
}

.cp_qa .cp_actab .cp_actab-content p.qa-more-link a:hover {
	color: #111;
	transition: 0.5s;
}

/* 質問を開いた時 */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
	max-height: 40em;
	border-bottom: 1px dotted #000;
}

.cp_qa .cp_actab input:checked ~ label {
	color: #622128;
	border-radius: 0.5em 0.5em 0 0;
}

.cp_qa .cp_actab input[type='checkbox']:checked + label::after {
	transform: rotateZ(45deg);
	transform-origin: 25% 50%;
}

.qa-categories {
	margin: 2em 0 0;
	padding-top: 1.2em;
	border-top: 1px solid #e8e8e8;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6em;
}

.qa-categories .qa-categories-label {
	font-size: 13px;
	font-weight: bold;
	color: #888;
	margin-right: 0.2em;
}

.qa-categories a {
	display: inline-block;
	padding: 0.4em 1.1em;
	background: #eafdff;
	border: 1px solid #3fedf7;
	border-radius: 999px;
	color: #1b2538;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	transition: 0.2s;
}

.qa-categories a:hover {
	background: #3fedf7;
	color: #000;
}

@media screen and (min-width: 0) and (max-width: 768px) {
	#section_qa {
		background-color: #f7eded;
		padding: 2rem 0;
	}

	.section_qa_title {
		font-size: 18px;
	}

	.cp_qa .cp_actab label p,
	.cp_qa .cp_actab .cp_actab-content p {
		font-size: 12px;
	}
}
