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

/*ページタイトル*/
.faq_pc {
	background-image:url(../img/faq/faq_title_pc.png);
	background-repeat: no-repeat;
}

.faq_link_a {
	margin:1em auto;
	padding: 1em 3em 1em 1em;
	border: solid 1px #cccccc;
	background-color: #e0ffff;
	position: relative;
	display: flex;
}

.faq_link_a:hover {
	border: solid 1px #dc143c;
	background-color: #ffffe0;
}

.faq_link_a:after {
	content: '';
	width: 16px;
	height: 16px;
	border: 0px;
	border-top: dotted 3px #04397b;
	border-right: dotted 3px #04397b;
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 25px;
	margin-top: -9px;
}

.faq *, .faq *:after, .faq *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.faq .faq_tab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 0.5em 0;
	color: #1b2538;
}

.faq .faq_tab input {
	position: absolute;
	opacity: 0;
}

/* 質問 */
.faq .faq_tab label {
	font-weight: bold;
	line-height: 1.6em;
	position: relative;
	display: block;
	margin: 0 0 0 0;
	padding: 1em 3em 1em 2.5em;
	cursor: pointer;
	text-indent: 1em;
	border-radius: 0.5em;
	background: rgba(27,37,56,0.1);
}

.faq .faq_tab label::before {
	font-family: serif;
	font-size: 1.5em;
	margin-left: -2em;
	padding-right: 0.5em;
	content: 'Q';
}

.faq .faq_tab label:hover {
	transition: all 0.3s;
	color: #00838f;
}

/* --質問の＋アイコン */
.faq .faq_tab label::after {
	font-size: 1.7em;
	font-weight: bold;
	line-height: 2em;
	position: absolute;
	top: 0;
	right: 0;
	content: '\2b';
	display: inline-block;
	width: 2em;
	height: 2em;
	-webkit-transition: transform 0.4s;
	        transition: transform 0.4s;
}

/* 答え */
.faq .faq_tab .faq_tab-content {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0.5em 0.5em 0.5em 2.5em;
	-webkit-transition: max-height 0.2s;
	        transition: max-height 0.2s;
	border-radius: 0 0 0.5em 0.5em;
}

.faq .faq_tab .faq_tab-content::before {
	font-family: serif;
	font-size: 1.5em;
	position: absolute;
	margin: 0.4em 0 0 -1em;
	padding: 0;
	content: 'A';
}

.faq .faq_tab .faq_tab-content p {
	margin: 1em 1em 1em 0;
}

/* 質問を開いた時の仕様 */
/* --答えの高さ */
.faq .faq_tab input:checked ~ .faq_tab-content {
	max-height: 40em;
	border: 10px solid rgba(27,37,56,0.1);
}

/* 質問をクリックした時のアイコンの動き */
.faq .faq_tab input:checked ~ label {
	color: #00838f;
	border-radius: 0.5em 0.5em 0 0;
}

/* 質問をクリックした時の+の動き */
.faq .faq_tab input[type=checkbox]:checked + label::after {
	-webkit-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

/* リスト */
.list_circle {
	margin: 0 auto;
	width: 85%;
	line-height: 1.5em;
	list-style-type: circle;
}

.faq_link {
	text-decoration: underline;
}