@charset "UTF-8";
/* ======================================
FAQ
====================================== */

#pageTitle{background-image:url(../../image/faq/img_title.jpg);}

.faq-list {
	margin-top: 20px;
	margin-bottom: 20px;
}

.faq-item {
	border-bottom: 1px solid #CBCAC9;
	padding: 12px 0;
}

.faq-item .faq-question,
.faq-item .faq-answer {
	position: relative;
	padding-right: 48px;
	padding-left: 36px;
}

.faq-item .faq-question::before,
.faq-item .faq-answer::before {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

.faq-item .faq-question {
	list-style: none;
	min-height: 24px;
	padding-top: 6px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.faq-item .faq-question::-webkit-details-marker {
	display: none;
}

.faq-item .faq-question::before {
	content: "Q";
	background-color: #01aeaf;
}

.faq-item .faq-question::after {
	content: "\f107";
	position: absolute;
	top: 0;
	right: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 20px;
	text-align: center;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.faq-item[open] .faq-question::after {
	content: "\f106";
}

.faq-item .faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
	overflow: hidden;
	margin-top: 0;
}

.faq-item[open] .faq-answer {
	grid-template-rows: 1fr; 
	margin-top: 12px;
	padding-top: 2px;
}

.faq-item .faq-answer::before {
	content: "A";
	background-color: #f03c2f;
}

.faq-answer-inner {
	min-height: 0;
}

#mainContents .faq-answer p {
	margin-bottom: 0.5rem;
	font-size: 14px;
	line-height: 1.6;
}

.faq-answer a:hover {
	text-decoration: underline;
}

.faq-answer ul,
.faq-answer ol {
	margin-bottom: 0.5rem;
	padding-left: 1.5em;
	font-size: 14px;
	line-height: 1.6;
}

.faq-answer ul {
	list-style: disc;
}

.faq-answer ol {
	list-style: decimal;
}

.faq-answer ul li,
.faq-answer ol li {
	margin-bottom: 0.125rem;
}

.faq-answer table {
	border-collapse: collapse;
	border: 1px solid #ccc;
	margin-bottom: 0.5rem;
}

.faq-answer th,
.faq-answer td {
	border: 1px solid #ccc;
	padding: 8px;
	font-size: 12px;
}

.faq-answer th {
	background-color: #f9f9f9;
}
