/* タブコンテナ - 既存デザインに合わせる */
.tab-container {
  padding-bottom: 40px;
  margin: 60px auto 0;
  display: flex;
  flex-wrap: wrap;
}

/* タブボタン */
.tab-label {
  flex: 0 0 calc(100% / var(--tab-count, 4));
  background-color: #d9d9d9;
  line-height: 50px;
  text-align: center;
  color: #565656;
  font-weight: bold;
  transition: all 0.2s ease;
  padding: 13px 0 10px;
  font-size: 22px;
  border-right: 1px solid #4e964d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid #4e964d;
  order: 1;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 10;
}

.tab-label:hover {
  opacity: 0.75;
}

/* ラジオボタンを非表示 */
.tab-radio {
  display: none;
}

/* タブコンテンツ */
.tab-panel {
  display: none;
  padding: 30px 0px;
  width: 100%;
  flex: 0 0 100%;
  order: 2;
  box-sizing: border-box;
}

/* 選択中のタブ */
.tab-radio:checked + .tab-label {
  background-color: #4e964d;
  color: #fff;
}

/* 選択中のコンテンツを表示 */
.tab-radio:checked + .tab-label + .tab-panel {
  display: block;
}

@media screen and (max-width: 834px) {
 .tab-label {
  padding: 0vw 0 0vw;
    font-size: 3vw;
 }
}