@charset "utf-8";

tml, body {
  height: 100%;
}
body {
  margin: 0;
  padding: 10px;
}
* {
  box-sizing: border-box;
  font-size: 12px;
  }

.wtab-wrap {
    width: 300px;
    display: flex;
    flex-wrap: wrap;
}
.wtab-label {
    text-align: center;
    vertical-align: middle;
    font-size: 8px;
    color: dodgerblue;
    background: LightGray;
    font-weight: bold;
    margin-right: 5px;
    padding: 3px 12px;
    order: -1;
}
.wtab-content {
    width: 100%;
    display: none;
}
/* アクティブなタブ */
.wtab-switch:checked+.wtab-label {
    color: Red;
    background: DeepSkyBlue;
    font-size: 8px;
}
.wtab-switch:checked+.wtab-label+.wtab-content {
    display: block;
    font-size: 8px;
}
/* ラジオボタン非表示 */
.wtab-switch {
    display: none;
    font-size: 8px;
}

.tab-wrap {
  width: 80px;
  height: 80px;
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.tab-label {
  font-size: 10px;
  width: 100px;
  height: 30px;
  color: dodgerblue;
  background: LightGray;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  border:1px solid Gray;
  border-radius: 4px 0 0 4px;
  margin: 5px -1px 5px 1px;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  float:left;
}
.tab-content {
  font-size: 10px;
  display:none;
  color: Red;
}
a {
  color: Red;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  color: Red;
  background: DeepSkyBlue;
  border-right-color: White;

}
.tab-switch:checked+.tab-label+.tab-content {
  width: 200px; /* - ボタン幅 */
  height: 100%;
  padding: 15px;
  border-left: 1px solid Gray;
  display:block;
  color: Red;

}
/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}
.same-width-list1 {
  width: 150px;
}
.same-width-list2 {
  width: 100px;
}
