@charset "utf-8";
/*------------------------------------------------------------------------------
**
**	
**	Q&A faqs
**	
**
**
------------------------------------------------------------------------------*/


.faqs-area {
	background-color: #ADBAD3;
	color: #ffffff;
	padding: 54px 0 77px;
}

.faqs-title {
	font-size: 28px;
	font-feature-settings: 'palt';
	margin: 0 auto 25px;
	text-align: center;
}

.faqs-title-en {
	display: block;
	margin: 0 auto 10px;
	width: 118px;
}

.faq-container {
	border: solid 4px #ffffff;
	font-feature-settings: 'palt';
}

.faq-list {
	padding: 30px 112px 0 0;
}

.faq-list:not(:last-child) {
	border-bottom: solid 4px #ffffff;
}

.switchbox label {
	cursor: pointer;
	display: block;
	font-size: 24px;
	position: relative;
	padding-left: 145px;
}

/*== Q ==*/
.switchbox label::before {
	background-image: url(../img/top/txt_q.svg);
	background-repeat: no-repeat;
   position: absolute;
   top: -6px;
   left: 60px;
   content: '';
  	display: block;
  	height: 51px;
	width: 36px;
}

/*--- アイコン ---*/
.switchbox label::after {
	background-image: url(../img/faq/switch_on.svg);
	content: '';
	display: block;
	height: 40px;
	width: 40px;
	position: absolute;
	top: calc(50% - 20px);
	right: -80px;
	transition: all .7s ease-in-out;
}

/*--- チェックボックスを非表示にする ---*/
.switchbox input {
	display: none;
}

.checkbox-child {
	padding: 0;
	position: relative;
}

/*--- 中身を非表示にしておく ---*/
.checkbox-child {
	height: 0;
	margin-top: 0;
	opacity: 0;
	overflow-y: hidden;
	padding: 30px 0 0;

}

/*--- クリックで中身を表示 ---*/
.switchbox input:checked + label + .checkbox-child {
	font-weight: 300;
	height: auto;
	letter-spacing: 0.05em;
	line-height: 1.8;
	margin-top: 20px;
	opacity: 1;
	padding: 0 0 40px 145px;
}


/*== A ==*/
.checkbox-child::before {
	background-image: url(../img/top/txt_a.svg);
	background-repeat: no-repeat;
   position: absolute;
   top: 8px;
   left: 90px;
   content: '';
  	display: block;
  	height: 34px;
  	width: 32px;
}

/*--- クリックでアイコン入れ替え ---*/
.switchbox input:checked + label::after {
	transform: rotate(180deg);
}


@media only screen and (max-width: 767px) {
	.faqs-area {
		padding: 45px 0 60px;
	}
	
	.faqs-title {
		font-size: 20px;
		width: 90%;
	}
	
	.faqs-title-en {
		width: 90px;
	}

	.faq-container {
		border: solid 3px #ffffff;
		width: 90%;
	}

	.switchbox label {
		font-size: 20px;
	}

	.faq-list {
		padding: 20px 0 0;
	}
	
	.faq-list:not(:last-child) {
		border-bottom: solid 3px #ffffff;
	}

	.switchbox label {
		padding-left: 55px;
		padding-right: 50px;
	}

	.switchbox label::before,
	.checkbox-child::before {
		left: 14px;
	}
	
	/*== Q ==*/
	.switchbox label::before {
		top: 0;
		height: 36px;
		width: 24px;
	}

	.checkbox-child {
		padding: 20px 0 0;
	}
	
	/*== A ==*/
	.checkbox-child::before {
		top: 6px;
		height: 28px;
		width: 24px;
	}
	
	.switchbox label::after{
		top: calc(50% - 15px);	
	}

	.switchbox label::after,
	.switchbox input:checked + label::after {
		right: 16px;
		height: 30px;
		width: 30px;
	}

	.switchbox input:checked + label + .checkbox-child {
		padding: 0 20px 20px 55px;
	}

}
