.tab-panels {
  margin: 50px 0 0 0;
}

.tab-panels ul {
    margin: 0 0 0 6px;
    padding: 0;
    font-size: 0px;
}

.tab-panels ul li {
  list-style-type: none;
  display: inline-block;
  background: #ececec;
  padding: 12px 0 6px 0;
  border-radius: 12px 12px 0 0;
  color: #696968;
  font-weight: 500;
  font-family: PingFangTC-Medium, 'Noto Sans TC';
  cursor: pointer;
  height: 12vw;
  width: 32vw;
  vertical-align: middle;
  text-align: center;
  line-height: 1.5;
  font-size: 2.7vw;
  letter-spacing: 1px;
}

.tab-panels ul li.active {
    color: #c12134;
}

.tab-panels .panel {
  display:none;
  background: #ececec;
  padding: 50px 0;
}

.tab-panels .panel > div {
  width: 100%;
}

.tab-panels .panel.active {
    display:block;
    text-align: center;
}

.video-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  margin: 0 10px;
}

.desc, .mobile-desc {
  text-align: left;
  margin: auto;
  padding: 10px 0 30px 0;
}

.mobile-desc {
  margin-left: 15px;
  margin-right: 20px;
  font-size: 2.7vw;
}

.desc > p, .mobile-desc > p {
  color: #000000;
  /*font-size: 2;*/
  line-height: 1.4;
  text-align: justify;

}

.desc > p:first-child,
.mobile-desc > p:first-child,
.desc > p:first-child > a,
.mobile-desc > p:first-child > a {
  color: #c12134;
  font-weight: 500;
  font-family: PingFangTC-Medium, 'Noto Sans TC';
}

.desc > p:nth-child(2), .mobile-desc > p:nth-child(2) {
  font-weight: 500;
  font-family: PingFangTC-Medium, 'Noto Sans TC';
}

/*.desc > p:nth-child(3),*/
.mobile-desc > p:nth-child(3) {
  padding: 3px 0;
}

.mobile-desc > div {
  border-left: 2px solid #c12134;
  padding: 0 30px 0 10px;
  margin: auto;
  line-height: 22px;
  font-size: 2.7vw;
  display: inline-block;
  vertical-align: middle;
}

.desc {
  display: none;
}

hr {
  border: 2px solid #fff;
  width: 100%;
}

.video-container > iframe, .video-container > img {
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.remark {
  font-size: 2vw;
  margin-top: 2px;
}

@media only screen and (min-width: 950px) {
  .tab-panels {
    margin: 30px 0 0 0;
  }

  .tab-panels ul li {
    padding: 15px 0 0 0;
    height: 4vw;
    width: 12vw;
    line-height: 1.4;
    font-size: 1.2vw;
    letter-spacing: 1px;
  }

  .tab-panels ul {
    margin: 0 0 0 50px;
  }

  .desc > p {
    font-size: 1.1vw;
    margin-bottom: 18px;
    font-weight: 300;
    font-family: PingFangTC-Light, 'Noto Sans TC';
  }

  .desc > div {
    border-left: 2px solid #c12134;
    padding: 0 30px 0 10px;
    margin: 0.5vw 0;
    line-height: 1.4;
    font-size: 1vw;
    display: block;
    vertical-align: middle;
    font-weight: 300;
    font-family: PingFangTC-Light, 'Noto Sans TC';
  }

 /* .tab-panels .panel {
    display: table;
  }*/

  .tab-panels .panel .panel-table {
    display: table;
    table-layout: fixed;
  }

  .tab-panels .panel .work-row {
    display: table-row;
    /*background: yellow;*/
  }

  .tab-panels .panel .work-item {
    display: table-cell;
  }
  
  .work-item-side {
    width: 10%;
  }
  
  .work-item-middle {
    width: 7%;
  }
  
  .video-container {
    position: relative;
    overflow: hidden;
    /*padding-top: 56.25%;*/
    margin: auto;
  }

  .video-container > iframe, .video-container > img {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    margin: auto;
  }

  .mobile-desc {
    display: none;
  }

  .desc {
    display: block;
  }

  .remark {
    font-size: 0.8vw;
    margin-top: 2px;
  }
}