@charset "utf-8";
/* CSS Document */
/* ラジオボタンは非表示 */
input[type="radio"] {
  display: none;
}

.tab {
  width: 100%;
  max-width: 100%;
  margin: auto;
  display: flex;
  flex-flow: wrap;
}

.tab-item {
  display: block;
  flex-grow: 1;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;
  order: -1;/* タブメニューは一番上に表示する */
  
  /* 下線以外をつける */
  border-top: 1px solid #62b5e5;
  border-left: 1px solid #62b5e5;
  border-right: 1px solid #62b5e5;
}

.tab-item:not(:first-of-type) {
  border-left: none;
}

/* アクティブなタブの背景色と文字色を変える */
.tab-input:checked + .tab-item {
  background: #62b5e5;
  color: white;
}
    
/* コンテンツは原則非表示 */
.tab-content {
  width: 100%;
	height: 100%;
	flex-direction: column;
  display: none;

}

/* ラジオボタンがチェックされているコンテンツだけは表示 */
.tab-input:checked + .tab-item + .tab-content {
  display: flex;
}
