.tabs {
  margin-top: 50px;
  padding-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 320px;
  margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/2);
  height: 50px;
  border-bottom: 3px solid #5ab4bd;/*エメラルド*/
  background-color: #d9d9d9;/*グレー*/
  line-height: 50px;
  font-size: 0.9em;
  text-align: center;
  color: #565656;/*濃グレー*/
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding-top: 20px;
  clear: both;
  overflow: hidden;
  width: 320px;
}

.item-link {
	padding: 2px 15px;
	color: #666;
}

.item-bg {
	background-color: #EEE;
}


/*選択されているタブのコンテンツのみを表示*/
#item1:checked ~ #item1_content,
#item2:checked ~ #item2_content{
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #5ab4bd;
  color: #fff;
}

/*++++++++++++++++++++++++++ PCレイアウト ++++++++++++++++++++++++++*/
@media all and (min-width:480px) {
/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 1000px;
  margin: 0 auto;
}

.tab_content {
  display: none;
  padding-top: 20px;
  clear: both;
  overflow: hidden;
  width: 1000px;
}

}
