/*タブ切り替え全体のスタイル*/
.tabs {
	margin-top: 50px;
	margin: 0 auto;
}
/*タブのスタイル*/
.tab_item {
	width: calc(94%/3);
	margin-left: 1%;
	margin-right: 1%;
	border-radius: 0.1em;
	height: 35px;
	background-color: #6C6D6E;
	line-height: 35px;
	font-size: 16px;
	text-align: center;
	color: #FFF;
	display: block;
	float: left;
	text-align: center;
	font-weight: bold;
	transition: all 0.2s ease;
}

.tab_item>img {
	border: 1px solid #6C6D6E;
}

.tab_item:hover {
	opacity: 0.75;
	cursor: pointer;
}
/*ラジオボタンを全て消す*/
input[name="tab_item"] {
	display: none;
}
/*タブ切り替えの中身のスタイル*/
.tab_content {
	display: none;
	clear: both;
}
/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content, #programming:checked ~ #programming_content, #design:checked ~ #design_content, #design1:checked ~ #design1_content, #design2:checked ~ #design2_content, #design3:checked ~ #design3_content {
	padding-top: 0.5em;
	display: block;
}
/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
	background-color: #EB6362;
	color: #fff;
	cursor: default;
}
/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item:hover {
	opacity: 1;
}


@media only screen and (min-width:  640px) {
/*タブのスタイル*/
.tab_item {
	width: calc(95%/6);
	margin-left: 0;
	margin-right: 1%;
	margin-bottom: 1em;
}
.tab_item {
	height: 40px;
	line-height: 40px;
}
.tab_item:last-of-type {
	margin: 0;
}
}
