﻿.cp_qa04 .cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 1em 0;
	color: #FFFFFF;
	font-weight: 600;
}
.cp_qa04 .cp_actab input {
  display: none;
}
/* 質問 */
.cp_qa04 .cp_actab label {
	position: relative;
	display: block;
	margin: 0 0.5em 0.5em 2em;
	padding: 1em 0 2em 0;
	cursor: pointer;
	border-radius: 5px;
	background: #708BBD;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.3);
	font-size: 1.2em;
}
.cp_qa04 .cp_actab label span {
  display: block;
  padding: 0 2em 1em 2em;
  border-bottom: 1px solid #ffffff;
}
/* --?アイコン */
.cp_qa04 .cp_actab label::before {
	position: absolute;
	left: -30px;
	content: '？';
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	font-size: 2em;
	font-weight: bold;
	z-index: 99;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background: #42619B;
}
/* --▼アイコン */
.cp_qa04 .cp_actab label::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  content: '';
  width: 15px;
  height: 8px;
  background: #ffffff;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transition: all 0.5s ease;
}
/* 答え */
.cp_qa04 .cp_actab .cp_actab-content {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	max-height: 0;
	margin: 0 0 0.5em 0;
	padding: 0 0 0 5em;
	transition: max-height 0.5s ease;
	color: #666666;
}
/* --!アイコン */
.cp_qa04 .cp_actab .cp_actab-content::before {
	position: absolute;
	left: 50px;
	content: '！';
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	font-size: 2em;
	font-weight: bold;
	z-index: 99;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background: #C2CCE7;
}
.cp_qa04 .cp_actab .cp_actab-content p {
	margin: 0.5em 0.5em 0.5em 0;
	padding: 1em 1em 1em 3em;
	border-radius: 0.3em;
	background: #E7EBFA;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.3);
	font-size: 1.1em;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa04 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
}
/* 質問をクリックした時の▼アイコンの動き */
.cp_qa04 .cp_actab input[type=checkbox]:checked + label::after {
  transform: scale(1, -1);
}