.tab {
	display: flex;
	flex-wrap: wrap;
	max-width: 1024px;
	background: #efefef;
	border: 1px solid #ccc;
}

.tab ul {
	width:100%;
	margin-bottom:25px;
}

.tab ul li{
	border-bottom:1px #ccc dotted;
	margin-bottom:10px;
	padding-bottom:10px;
}
/*inputを非表示にする*/
.input {
	position: absolute;
	opacity: 0;
}
/*tabボタン部分*/
.tab-label {
	width: 100%;
	padding: 20px 30px;
	background: #e5e5e5;
	cursor: pointer;
	font-weight: bold;
	font-size: 13px;
	color: #7f7f7f;
	margin-bottom: 0;
	transition: background 0.1s, color 0.1s;
}
.tab-label:hover {
	background: #d8d8d8;
}
.tab-label:active {
	background: #ccc;
}
.input:checked + .tab-label {
	background: #fff;
	color: #000;
}

.tab_h3 {
	font-size:larger;
	text-align:center;
}
 @media (min-width: 600px) {
.tab-label {
	width: auto;
}
}
/*tabの本文エリア*/
.tab-panel {
	display: none;
	padding: 20px 30px 30px;
	background: #fff;
	width:100%;
}
 @media (min-width: 600px) {
.tab-panel {
	order: 99;
}
}
.input:checked + .tab-label + .tab-panel {
	display: block;
}
/*その他
---------------------------------------------------------------------------*/
.u-mb-20 {
	margin: 0 0 20px 0;
}
.content {
	max-width: 1024px;
	margin: 40px auto;
	padding: 10px;
}
