@charset "UTF-8";

/* faq.css
------------------------- */
/* news area_slider
--------------------------------------- */

.area_slider .pc ul li{
	background-attachment: fixed;
	background-image: url(../img/faq/faq_img.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  height: 100vh;
}
.area_slider .sp ul li{
	background-attachment: fixed;
	background-image: url(../img/faq/faq_img_sp.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  height: 80vh;
}

/* area_faq
----------------------------------------- */
section.area_01{
	width: 100%;
	margin: -40vh 0 0;
	padding: 100px 0 0 0;
}

section.area_faq{
	width: 100%;
	margin: -50vh 0 0;
	padding: 100px 0 60px 0;
	background-color: #ededed;
	box-sizing: border-box;
}

section.area_faq > div.staff_ttl{
	width: 90%;
	margin: 0 auto 80px;
}

section.area_faq > div.staff_ttl > h2{
	text-align: center;
	font-weight: 700;
	color: #8dc031;
	font-size: 3rem;
	line-height: 1;
}

section.area_faq > div.staff_ttl > h2 > span{
	display: block;
	color: #000;
	font-weight: normal;
	font-size: 2.3rem;
	margin-top: 10px;
	line-height: 1.5;
}

section.area_faq > h3{
	max-width: 960px;
	width: 90%;
	margin: 120px auto 40px;
	position: relative;
	text-align: center;
	font-size: 2rem;
	color: #666;
	font-weight: 700;
}

section.area_faq >h3:before {
    border-top: 1px solid #000;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
}

section.area_faq >h3 span {
    background-color: #ededed;
    display: inline-block;
    padding: 0 10px; /*ラインとテキストの間を調整*/
    position: relative; /*水平ラインが突き抜けないように*/
}

@media all and (max-width: 768px) {

	section.area_faq{
		margin: -50vh 0 0;
		padding: 70px 0 20px 0;
	}

	section.area_faq > div.staff_ttl{
		margin: 0 auto 40px;
	}

	section.area_faq > div.staff_ttl > h2{
		font-size: 2.3rem;
	}

	section.area_faq > div.staff_ttl > h2 > span{
		font-size: 1.6rem;
	}

	section.area_faq > h3{
		font-size: 1.6rem;
		margin: 50px auto 20px;
	}

}

section.area_faq > dl.staff_qa{
	max-width: 960px;
	width: 90%;
	margin: 30px auto;
}

section.area_faq > dl.staff_qa > dt{
	background-color: #fff;
	background-image: url('../img/staff/st_ac_open.png');
	background-repeat: no-repeat;
	background-size: 3%;
	background-position: right 10px bottom 10px;
	width: 100%;
	font-size: 1.8rem;
	font-weight: 700;
	color: #8dc031;
	padding: 10px 40px;
	box-sizing: border-box;
	position: relative;
}

section.area_faq > dl.staff_qa > dt.active{
	padding: 10px 40px;
	background-image: url('../img/common/close.png');
}

section.area_faq > dl.staff_qa > dt:before{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 40px 40px 0 0;
	border-color: #8dc031 transparent transparent transparent;
}

section.area_faq > dl.staff_qa > dt > p{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(175,30,24,1);
	color: #fff;
	text-align: center;
	padding: 3px 0;
}

section.area_faq > dl.staff_qa > dt > p > span{
	display: inline-block;
	margin: 0 0 0 5px;
	transform: rotate(90deg);
}

section.area_faq > dl.staff_qa > dt > p{
	display: none;
}

section.area_faq > dl.staff_qa > dd{
	display: none;
	background-color: #8dc031;
	color: #fff;
	width: 100%;
	padding: 20px 40px 40px;
	box-sizing: border-box;
	background-image: url('../img/staff/st_ac_close.png');
	background-repeat: no-repeat;
	background-size: 3%;
	background-position: right 10px bottom 10px;
	position: relative;
}

section.area_faq > dl.staff_qa > dd > p{
	display: block;
	width: 100%;
	height: 40px;
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px 0;
	font-size: 1.4rem;
	color: #af1e18;
	text-align: center;
}

section.area_faq > dl.staff_qa > dd > p img{
	display: none;
}

@media all and (max-width: 768px) {

	section.area_faq > dl.staff_qa > dt{
		width: 90%;
		margin: auto;
		font-size: 1.6rem;
		padding: 10px 40px 40px;
		background-image: none;
		box-sizing: border-box;
		position: relative;
		z-index: 2;
	}

	section.area_faq > dl.staff_qa > dt.active{
		padding: 10px 40px 40px;
		background-image: none;
	}

	section.area_faq > dl.staff_qa > dt > p.open,
	section.area_faq > dl.staff_qa > dt.active > p.cl{
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: -moz-linear-gradient(top, rgba(125,185,232,0) 0%, rgba(168,169,170,0) 49%, rgba(169,169,169,1) 50%, rgba(169,169,169,1) 99%);
		background: -webkit-linear-gradient(top, rgba(125,185,232,0) 0%,rgba(168,169,170,0) 49%,rgba(169,169,169,1) 50%,rgba(169,169,169,1) 99%);
		background: linear-gradient(to bottom, rgba(125,185,232,0) 0%,rgba(168,169,170,0) 49%,rgba(169,169,169,1) 50%,rgba(169,169,169,1) 99%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#a9a9a9',GradientType=0 );
		color: #fff;
		text-align: center;
		padding: 3px 0;
		font-size: 1.3rem;
	}

	section.area_faq > dl.staff_qa > dt.active > p.open,
	section.area_faq > dl.staff_qa > dt > p.cl{
		display: none;
	}

	section.area_faq > dl.staff_qa > dd{
		display: none;
		background-color: #8dc031;
		background-image: none;
		color: #fff;
		width: 100%;
		padding: 40px 40px 60px;
		box-sizing: border-box;
		margin-top: -20px;
		position: relative;
		z-index: 0;
		font-size: 1.4rem;
	}

	section.area_faq > dl.staff_qa > dd > p{
		display: block;
		width: 100%;
		height: auto;
		text-align: center;
		background: -moz-linear-gradient(top, rgba(125,185,232,0) 0%, rgba(168,169,170,0) 49%, rgba(169,169,169,1) 50%, rgba(169,169,169,1) 99%);
		background: -webkit-linear-gradient(top, rgba(125,185,232,0) 0%,rgba(168,169,170,0) 49%,rgba(169,169,169,1) 50%,rgba(169,169,169,1) 99%);
		background: linear-gradient(to bottom, rgba(125,185,232,0) 0%,rgba(168,169,170,0) 49%,rgba(169,169,169,1) 50%,rgba(169,169,169,1) 99%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#a9a9a9',GradientType=0 );
		color: #fff;
		margin-top: 20px;
		position: absolute;
		bottom: 0;
		padding: 5px 0;
	}

	section.area_faq > dl.staff_qa > dd > p img{
		display: inline;
	}

}
