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

/*===================
	sub-title
===================*/

#sub-title {
	background-image: url(../images/faq/bg_mv.jpg);
}


/*===================
	faq
===================*/

.faq ul li {
	position: relative;
}

.faq ul li + li {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #ccc;
}

.faq ul li .faq-question,
.faq ul li .faq-answer {
	font-size: 18px;	
}

.faq ul li .faq-question {
	font-weight: bold;
	display: flex;
	align-items: flex-start;
}

.faq ul li.faq-close .faq-answer {
	display: none;
}

.faq ul li .faq-question .en-cursive,
.faq ul li .faq-answer .en-cursive {
	display: block;
	width: 60px;
	height: 60px;
	line-height: 58px;
	text-align: center;
	font-weight: 700;
	font-size: 30px;
	box-sizing: border-box;
	border: 1px solid;
}

.faq ul li .faq-question .en-cursive {
	background: #eeb660;
	border-color: #eeb660;
	color: #fff;
}

.faq ul li .faq-answer .en-cursive {
	border-color: #303030;
	float: left;
}

.faq ul li .faq-question p,
.faq ul li .faq-answer p {
	padding: 16px 80px 16px 22px;
	font-size: 18px;
	width: calc(100% - 60px);
}

.faq ul li .faq-question p {
	font-weight: 700;
}

.faq ul li .faq-answer p {
	line-height: 1.875;
	float: right;
}

.faq ul li .faq-question:after{
	content: "";
	display: inline-block;
	width: 28px;
	height: 4px;
	background-color:#333;
	position: absolute;
	right: 15px;
	top: 40px;
}

.faq ul li .faq-question:before{
	content: "";
	display: inline-block;
	width: 28px;
	height: 4px;
	background-color:#333;
	position: absolute;
	right: 15px;
	top: 40px;
	transform:rotate(90deg);
	transition-duration:0.3s;
}

.faq ul li.open .faq-question:before{
	transform:rotate(0deg);
	transition-duration:0.3s;
}


.faq ul li,
.faq-answer:after{
	content: "";
	display: block;
	clear: both;
}

@media screen and (min-width:799px){
	
	.faq.container{
		margin: 70px auto 120px;
	}
				
	.faq-answer{
		margin: 20px 0 22px;
	}
	
}

@media screen and (max-width:798px){
	
	#sub-title {
		background-position: right -30px center;
	}

	.faq.container{
		margin: 35px auto 60px;
	}

	.faq ul li + li {
		margin-top: 10px;
		padding-top: 10px;
	}

	.faq ul li .faq-question {
		align-items: center;
		position: relative;
	}
	
	.faq ul li .faq-question .en-cursive,
	.faq ul li .faq-answer .en-cursive {
		width: 40px;
		height: 40px;
		line-height: 38px;
		font-size: 20px;
	}

	.faq ul li .faq-question p,
	.faq ul li .faq-answer p {
		padding: 0 50px 0 10px;
		font-size: 16px;
		width: calc(100% - 40px);
	}

	.faq ul li .faq-answer p {
		padding-right: 0;
	}

	.faq ul li .faq-question{
		font-size: 16px;
	}
	
	.faq-answer {
		margin: 20px 0;
	}
	
	.faq ul li .faq-question:before,
	.faq ul li .faq-question:after {
		top: 0;
		bottom: 0;
		margin: auto;
	}

	.faq ul li .faq-question:after{
		width: 21px;
		height: 3px;
	}

	.faq ul li .faq-question:before{
		width: 21px;
		height: 3px;
	}


}
