/* FAQ 게시판 */
section {
	min-height: calc(100vh - 140px);
}
section.faq-list {
	flex: 1;
	position: relative;
	display: flex;
}
section.faq-list .container {
	width: 100%;
/* 	max-width: 900px;
	padding: 30px; */
	margin: 0 auto;
	display: flex;
	flex-direction: column;
/* 	align-items: center; */
}

section.faq-list .group-name {
	font-size: 26px;
	font-weight: bold;
	color: #2C2C2C;
	padding: 20px 0;
}

.faq-categories {
	width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.faq-categories ul {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #DCDCDC;
    border-left: 1px solid #DCDCDC;
}

.faq-categories ul > li {
	height: 70px;
	border-right: 1px solid #DCDCDC;
	border-bottom: 1px solid #DCDCDC;
    color: #000000;
    font-size: 17px;
    font-weight: bold;
    position: relative;
    background-color: #FFFFFF;
}

.faq-categories ul > li > a {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.faq-categories ul > li.active {
	background-color: #FFDF3D;
}

.faq-content {
	width: 100%;
    display: flex;
    flex-direction: column;
    margin: 100px 0;
}

.faq-content ul {
	display: flex;
	flex-direction: column;
	border-top: 2px solid #2C2C2C;
}

.faq-content ul > li {
	border-bottom: 1px solid #DCDCDC;
	outline: none;
	background-color: #ffffff;
	transition: color .3s;
	color: #2C2C2C;
	cursor: pointer;
}
.faq-content ul > li:hover,
.faq-content ul > li:focus {
	color: #FF7700;
}

.faq-content ul > li .title {
	display: flex;
	text-align: left;
	position: relative;
}
.faq-content ul > li .title .faq-content-category-name {
	width: 180px;
	height: 55px;
	display: flex;
	align-items: center;
	align-self: center;
	padding-left: 20px;
	font-size: 16px;
}
.faq-content ul > li .title .faq-content-title {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 20px;
	padding-right: 50px;
	font-weight: normal;
	font-size: 15px;
	line-height: 24px;
	position: relative;
}
.faq-content ul > li .title .faq-content-title::after {
	content: '';
	width: 15px;
	height: 15px;
	background-image: url('/resources/assets/img/icon/arrow-down-bold-gray-8af16fa67a808b4d1bdb1072777fd60d.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	transition: all .3s;
}
.faq-content ul > li:hover .title .faq-content-title::after {
	background-image: url('/resources/assets/img/icon/arrow-down-bold-orange-fe63529378d94415dcdd5cd29523b3b1.svg');
	transform: translateY(-50%);
}
.faq-content ul > li:focus .title .faq-content-title::after {
	background-image: url('/resources/assets/img/icon/arrow-down-bold-orange-fe63529378d94415dcdd5cd29523b3b1.svg');
	transform: translateY(-50%) rotate(180deg);
}

.faq-content ul > li .title .faq-content-dummy {
	width: 100%;
	height: 100%;
	outline: none;
	position: absolute;
	display: none;
}
.faq-content ul > li:focus .title .faq-content-dummy {
	display: block;
}

.faq-content ul > li .content {
	max-height: 0;
	overflow: hidden;
	transition: max-height .6s;
	display: flex;
	color: #2C2C2C;
	font-weight: bold;
	font-size: 16px;
	cursor: auto;
}
.faq-content ul > li:focus .content {
	max-height: 400px;
	border-top: 1px solid #DCDCDC;
}

.faq-content ul > li .content .faq-content-answer {
	width: 180px;
	margin-right: 20px;
	background-color: #F5F5F5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.faq-content ul > li .content .faq-content-content {
	flex: 1;
	background-color: #ffffff;
	padding: 50px 0px;
	padding-right: 20px;
	line-height: 26px;
	text-align: justify;
}
.faq-content ul > li .content .faq-content-content img {
    position: relative;
    top: 7px;
}

@media (max-width: 650px) {
	section.faq-list .container {
		padding: 30px 20px;
	}
	.faq-categories ul {
		grid-template-columns: repeat(3, 1fr);
	}
	.faq-content ul > li .title .faq-content-category-name {
		width: 100px;
	    word-break: keep-all;
	}
	.faq-content ul > li .content .faq-content-answer {
		width: 100px;
	}
	.faq-content ul > li:focus .content {
		max-height: 800px;
	}
}
@media (max-width: 500px) {
	.faq-categories ul {
		grid-template-columns: repeat(2, 1fr);
	}
	.faq-categories ul > li{
		font-size: 14px;
	}
}