@charset "UTF-8";

#tabaccordion {
	width: 100%;
	margin: 0 auto;
}

#tabaccordion dl {
	margin: 0;
}

#tabaccordion dl dt {
	background: #d8d8d8;
	border-bottom: solid 1px #aaaaaa;
}
#tabaccordion dl:first-of-type dt {
	border-top: solid 1px #aaaaaa;
}
#tabaccordion dl dt.btnAcv {
	background: #ffffff;
}

#tabaccordion dl dd {
	display: none;
	width: 100%;
	height: auto;
	margin-left: 0;
	padding: 20px;
	text-align: left;
	overflow-y: auto;
	position: relative;
	top: auto;
	left: auto;
	box-sizing: border-box; 
}

#tabaccordion dl dd p {
	padding-bottom: 2em;
	line-height: 2em;
}

#tabaccordion dl dt a {
	display: block;
	text-align: center;
	line-height: 50px;
	text-decoration: none;
	font-weight: bold;
	color: #222222;
}

#tabaccordion dl dt:hover > a {
	background: rgba(0,0,0,0.2);
}


/* MediaQuery=======================================================*/

@media (min-width: 581px) {
	#tabaccordion {
		display: flex;
		width: 100%;
		position: relative;
	}

	#tabaccordion dl {
		flex: 1;
		width: 100%;
	}
	#tabaccordion dl:first-of-type dt {
		border-top: none;
	}

	#tabaccordion dl:not(:last-of-type) dt a {
		border-right: solid 1px #aaaaaa;
	}

	#tabaccordion dl dd {
		position: absolute;
		left: 0;
	}
}

@media (min-width: 981px) {
	#tabaccordion {
		width: 90%;
		margin: 0 auto;
	}

}