#tab_wrap {
/* 	margin: 1em; */
	width: 100%;
	margin:5.0em auto 0 auto;
}

#tab_wrap .tab_container {
	width: 100%;
	height: auto;
	display: flex;
	gap: 0 0;
	justify-content: space-around;
}

#tab_wrap .tab_ttl {
	width: 100%; 
	font-size:14px;
	padding: 1.5em 0;
	text-align: center;
	border-left: 1px solid #e2e2e2;
	color: #000;
	background: #fff;
}
#tab_wrap .tab_ttl:nth-of-type(1) {
	border-left: 0px solid #e2e2e2;
}
#tab_wrap .tab_ttl:hover {
	cursor: pointer;
}
#tab_wrap .tab_ttl.active {
	color: #fff;
	background: #333;
	position: relative;
	border: 0px solid #e2e2e2;
}
#tab_wrap .tab_ttl.active:after {
	content: "";
	display: inline-block;
	width: 100%;
	height: 0em;
	background: #333;
	position: absolute;
	right: 0;
 /* 	bottom: -0.1em; */ /* 疑似要素の高さ（height）分だけ下に下げる */
}

#tab_wrap .tab_body {
	margin: 0 auto 0 auto;
/*	padding: 4.0em 3.0em; */
	width: auto;
	border-top: 1px solid #e2e2e2;
	background: #fff;
	color:#373737;
}
#tab_wrap .tab_body h1 {
	width:80%;
	margin:4.0em auto 1.0em auto;
	font-weight:bold;
	font-size:16px;
}
#tab_wrap .tab_body p {
	width:80%;
	margin:0em auto 5.0em auto;
	font-weight:normal;
	font-size:14px;
	line-height:1.5em;
	border-bottom:1px solid #e2e2e2;
	padding-bottom:4.0em;
}


@media only screen and (max-width: 849px) {
#tab_wrap .tab_container {
	flex-wrap:wrap;
}
#tab_wrap .tab_ttl {
	width:50%;
	font-size:14px;
	padding: 1.5em 0.5em;
	border-bottom:1px solid #e2e2e2;
}
#tab_wrap .tab_ttl:nth-of-type(1),
#tab_wrap .tab_ttl:nth-of-type(2) {
	border-top:1px solid #e2e2e2;
}
#tab_wrap .tab_ttl:nth-last-of-type(1) {
	width:100%;
	border-bottom:0px solid #e2e2e2;
	border-left: 0px solid #e2e2e2;
}
#tab_wrap .tab_ttl:nth-of-type(3) {
	border-left: 0px solid #e2e2e2;
}
#tab_wrap .tab_body h1 {
	width:95%;
	font-size:15px;
}
#tab_wrap .tab_body p {
	width:95%;
	font-size:14px;
}
}


@media only screen and (max-width: 639px) {
#tab_wrap .tab_ttl {
	font-size:2.7vw;
}
#tab_wrap .tab_body h1 {
	font-size:3.0vw;
}
#tab_wrap .tab_body p {
	font-size:2.7vw;
}
}