@keyframes tabAnim {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.tab_wrap {
	width: 100%;
	margin: 10px auto;
}

input[type="radio"] {
	display: none;
}

.tab_area {
	font-size: 0;
	margin: 0 10px;
}

.tab_area label {
	width: 150px;
	margin: 0 5px;
	display: inline-block;
	padding: 12px 0;
	color: #999;
	background: #ddd;
	text-align: center;
	font-size: 14px;
	cursor: pointer;
	transition: ease 0.2s opacity;
}

.tab_area label:hover {
	opacity: 0.5;
}

.tab_panel {
	width: 100%;
	opacity: 0;
	padding: 30px;
	display: none;
}

.tab_panel>ul,
.tab_panel>div {
	/*
	overflow: scroll;
	*/
	overflow-y: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
	height: 18.0em;
	margin-bottom: 0;
	padding-right: 15px;
}

.tab_panel>ul li {
	line-height: 1.7;
	font-size: 113%;
	margin-bottom: 5px;
}

.tab_panel .txt_small {
	font-size: 90%;
	line-height: 1.5;
	margin-left: 14px;
}

.tab_panel p {
	font-size: 14px;
	letter-spacing: 1px;
	text-align: left;
	padding-left: 30px;
}

.panel_area {
	background: #fff;
}

#tab1:checked~.tab_area .tab1_label {
	background: #fff;
	color: #000;
}

#tab1:checked~.panel_area #panel1 {
	display: block;
	animation: tabAnim ease 0.6s forwards;
	-ms-animation: tabAnim ease 0.6s forwards;
}

#tab2:checked~.tab_area .tab2_label {
	background: #fff;
	color: #000;
}

#tab2:checked~.panel_area #panel2 {
	display: block;
	animation: tabAnim ease 0.6s forwards;
	-ms-animation: tabAnim ease 0.6s forwards;
}

#tab3:checked~.tab_area .tab3_label {
	background: #fff;
	color: #000;
}

#tab3:checked~.panel_area #panel3 {
	display: block;
	animation: tabAnim ease 0.6s forwards;
	-ms-animation: tabAnim ease 0.6s forwards;
}

.tab_area label.active {
	background: #fff;
	color: #000;
}

.tab_panel.active {
	display: block;
	animation: tabAnim ease 0.6s forwards;
	-ms-animation: tabAnim ease 0.6s forwards;
}

/* スクロールバー */
.simplebar-scrollbar::before {
	background-color: #999;
}

.simplebar-scrollbar.simplebar-visible::before {
	opacity: 1.0;
}

@media screen and (max-width: 768px) {
	.tab_area label {
		width: calc(50% - 10px);
	}

	.tab_panel {
		padding: 30px 20px;
	}

	.tab_panel p {
		padding-left: 0;
	}

	.tab_panel>ul,
	.tab_panel>div {
		height: 20.0em;
	}

	.tab_panel>ul li {
		line-height: 1.6;
		font-size: 113%;
		margin-bottom: 7px;
	}

	.tab_panel .txt_small {
		font-size: 90%;
		line-height: 1.5;
		margin-left: 0;
	}
}
