@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

.content-bg-white {
  color: #232323;
  font-size: 16px;
  width: 980px;
  padding-bottom: 10px;
  margin-top:20px;
  padding-top: 10px;
}

/* tab */
.tab_list {
  display: flex;
  width: 100%;
  margin: 5px auto 10px;
  padding-bottom: 7px;
  overflow: hidden;
}

.tab_list .tab_list_item {
  width:  50%;
  color: #fff;
  padding: 15px 10px;
  font-size: 18px;
  cursor: pointer;
  background: #323232;
  margin: 0;
  list-style-type: none;
  position: relative;
  text-align: center;
}

.tab_list .tab_list_item.is_active::before {
  position: absolute;
  display: block;
  width: 200%;
  bottom: -7px;
  height: 7px;
  content: '';
}

.tab_list .tab_list_item.is_active::after {
  position: absolute;
  display: block;
  content: '';
  height: 0;
  width: 0;
  top: 0;
  z-index: 1;
}

.tab_list .tab_list_item .tab_headding {
  font-size: 30px;
  margin: 0;
  font-weight: bold;
}

.tab_list .tab_list_item.is_active {
  cursor: inherit;
}

.tab_list .tab_list_item.gt500.is_active, .tab_list .tab_list_item.gt500:hover {
  background-color: #EF3400;
}

.tab_list .tab_list_item.gt300.is_active, .tab_list .tab_list_item.gt300:hover {
  background-color: #FFD900;
  color: #232323;
}

.tab_list .tab_list_item.gt500.is_active::before {
  background-color: #EF3400;
  left: 0;
}

.tab_list .tab_list_item.gt300.is_active::before {
  background-color: #FFD900;
  right: 0;
}

.tab_list .tab_list_item.gt500.is_active::after {
  border-top: 120px solid transparent;
  border-left: 25px solid #EF3400;
  right: -24px;
}

.tab_list .tab_list_item.gt300.is_active::after {
  border-top: 120px solid transparent;
  border-right: 25px solid #FFD900;
  left: -24px;
}

.tab_list_content {
  width: 100%;
  margin: 0 auto;
}

/* team list */
.team_list {
  display: flex;
  width: 100%;
  margin: 30px auto;
  justify-content: space-between;
  flex-wrap: wrap;
}

.team_list .team_list_item {
  width: calc((100% - 50px) / 2);
  display: flex;
  flex-direction: column;
  margin: 0;
}

.team_list .team_list_item:nth-child(n+3) {
  margin-top: 30px;
}

.team_list_item .img_box {
  width: 100%;
}

.team_list_item .detail_box {
  display: flex;
  margin-top: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.detail_box .team_number {
  width: 100px;
  height: 100px;
  font-size: 50px;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.gt500 .detail_box .team_number {
  background-color: #EF3400;
}

.gt300 .detail_box .team_number {
  background-color: #FFD900;
  color: #232323;
}

.detail_box .team_detail {
  width: calc(100% - 115px);
  margin-left: 15px;
  margin-top: -10px;
  font-weight: bold;
}

.detail_box .team_detail p {
  letter-spacing: 0.0;
  line-height: 1.5;
  margin-top: 5px;
}

.detail_box .team_detail .machine {
  font-size: 20px;
}

.detail_box .team_detail .entrant {
  font-size: 18px;
  margin-top: 0;
}

.detail_box .team_detail .tire {
  font-size: 12px;
}

.detail_box .team_detail .driver {
  font-size: 18px;
}

/* ボタン */
.link-btn {
  margin-top: 60px;
}

.link-btn a{
  background-color: #858585;
  padding: 10px;
  width: 100%;
  display: block;
  box-sizing: border-box;
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 7px 7px 2px #000;
}

.link-btn a span{
  position: relative;
}

.link-btn a span::after{
  display: block;
  position: absolute;
  content: '\025b6';
  color: #fff !important;
  top: 50%;
  right: -70px;
  transform: translateY(-50%);
}

.link-btn a:hover{
  transform: translate(7px, 7px);
  box-shadow: none;
}

.ms-content-inner h2 {
background-color: inherit;
}