@charset "UTF-8";

#tabaccordion {
	width: 95%;
	margin: 0 auto;
	padding-top: 10px;
}

#tabaccordion h3 {
	margin: 0;
}

#tabaccordion h3 {
	background: rgba(205,92,92,0.5);
	border-bottom: solid 1px indianred;
}
#tabaccordion h3:first-of-type .mc {
	border-top: solid 1px indianred;
}
#tabaccordion h3.btnAcv {
	background: mistyrose;
}

#tabaccordion .mc {
	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 .mc div p {
	padding-left: 20px;
}

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

#tabaccordion h3:hover > a {
	background: rgba(205,92,92,0.7);
}


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

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

	#tabaccordion h3 {
		flex: 1 0 120px;
		width: 100%;
		font-size: 90%;
	}
	#tabaccordion h3:first-of-type .mc {
		border-top: none;
	}

	#tabaccordion h3:not(:last-of-type) a {
		border-right: solid 1px indianred;
	}

	#tabaccordion .mc {
		height: 400px;
		position: absolute;
		top: 100%;
		left: 0;
	}
	#tabaccordion .mc div {
		width: 80%;
		margin: 0 auto;		
	}
}

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

}