@charset "utf-8";

/*=========================================================
   よくあるご質問設定
=========================================================*/

.qa_box {
	margin: 0px auto;
	padding: 15px 2em;
	width: 1165px;
	text-align: left;
	display: flex;
	flex-direction: row;/*横並びに設定*/
	border-top: 0px solid #CCC;
}

@media screen and (max-width: 1294px) {
	.qa_box {
		width: 90%;
	}
}


@media screen and (max-width: 500px) {
	.qa_box {
		width: 92%;
		margin: 0px auto;
		padding: 15px 20px;
		flex-direction: column;/*縦並びに設定*/
	}
}



.toi_box {
	width: 57.4%;
	padding: 1em 1.5em;
	margin: 0.5em auto;
	text-align: justify;
	background-color: #FFFFFF;
	border: 0px solid #000;
}

@media screen and (max-width: 1920px) {
	.toi_box {
		width: 1100px;
	}
}

@media screen and (max-width: 1294px) {
	.toi_box {
		width: 80%;
		padding: 1em .8em;
	}
}

@media screen and (max-width: 500px) {
	.toi_box {
		width: 92%;
		padding: 1em .1em;
	}
}


.kaitou_box {
	width: 57.4%;
	padding: 1em 1.5em;
	margin: 0.5em auto;
	text-align: justify;
	background-color: #FFFFFF;
	border: 1px solid #000;
}

@media screen and (max-width: 1920px) {
	.kaitou_box {
		width: 1100px;
	}
}

@media screen and (max-width: 1294px) {
	.kaitou_box {
		width: 80%;
		padding: 1em .8em;
	}
}

@media screen and (max-width: 500px) {
	.kaitou_box {
		width: 92%;
		padding: 1em .1em;
	}
}



/*=========================================================
   Q&Aページへ
=========================================================*/
.cp_qa *, .cp_qa *:after, .cp_qa *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_qa .cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 1em 0;
	color: #1b2538;
}
.cp_qa .cp_actab input {
	position: absolute;
	opacity: 0;
}
/* 質問 */
.cp_qa .cp_actab label {
	font-weight: bold;
	line-height: 1.6em;
	position: relative;
	display: block;
	margin: 0 0 0 0;
	padding: 1em 2em 1em 2.5em;
	cursor: pointer;
	text-indent: 1em;
	border-radius: 0.5em;
	background: rgba(27,37,56,0.1);
}
.cp_qa .cp_actab label::before {
	font-family: "メイリオ", Meiryo;
	font-size: 1.5em;
	margin-left: -2em;
	padding-right: 0.5em;
	content: 'Q';
}
.cp_qa .cp_actab label:hover {
	transition: all 0.3s;
	color: #00838f;
}
/* --質問の＋アイコン */
.cp_qa .cp_actab label::after {
	font-size: 1.7em;
	font-weight: bold;
	line-height: 2em;
	position: absolute;
	top: 0;
	right: 0;
	content: '+';
	display: inline-block;
	width: 2em;
	height: 2em;
	-webkit-transition: transform 0.4s;
	        transition: transform 0.4s;
}
/* 答え */
.cp_qa .cp_actab .cp_actab-content {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0 0 0 2.5em;
	-webkit-transition: max-height 0.2s;
	        transition: max-height 0.2s;
	border-radius: 0 0 0.5em 0.5em;
}
.cp_qa .cp_actab .cp_actab-content::before {
	font-family: "メイリオ", Meiryo;
	font-size: 1.5em;
	position: absolute;
	margin: 0.4em 0 0 -1em;
	padding: 0;
	color: #FF0000;
	font-weight: bold;
	content: 'A';
}
.cp_qa .cp_actab .cp_actab-content p {
	margin: 1em 1em 1em 0;
}

.cp_qa .cp_actab .cp_actab-content p a {
	color: #00F;
}

/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
	max-height: 40em;
	border: 10px solid rgba(27,37,56,0.1);
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa .cp_actab input:checked ~ label {
	color: #00838f;
	border-radius: 0.5em 0.5em 0 0;
}
/* 質問をクリックした時の+の動き */
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
	-webkit-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}