
.bgc_4{
  background-color: #222;
}

.teaminfo{
  padding-top: 42px;
  padding-bottom: 42px;
}

.teaminfo__item{
  margin-top: 14px;
}

.teaminfo__image{
  aspect-ratio: 378/251;
  position: relative;
  width: 100%;
  background-color: #fff;
}

.teaminfo__image a{
  transition: 0.7s;
}

.teaminfo__image a:hover{
  opacity: 0.7;
}

.teaminfo__image img{
  width: 70%;
  height: 100%;
  object-fit: contain;
}

.teaminfo__rank{
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  color: #FF0000;
  clip-path: polygon(0 0,100% 0,80% 100%,0 100%);
  padding: 18px 37px 18px 10px;
  display: flex;
  align-items: center;
  font-family:'Hind', sans-serif;
}

.teaminfo__rank span{
  font-family:'Hind', sans-serif;
  font-style: oblique;
}

.teaminfo__body{
  color: #fff;
  font-weight: bold;
  background-color:#434343;
  width: 100%;
  padding: 15px 25px;
}

.teaminfo__body2{
  color: #fff;
  font-weight: bold;
  background-color:#434343;
  width: 100%;
  padding: 26px 25px;
  position: relative;
}

.teaminfo__body-img{
  /*aspect-ratio: 150/38;*/
  aspect-ratio: 150/45;
  max-width: 150px;
  margin-inline: auto;
}

.teaminfo__body-img img{
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
}

.teaminfo__name{
  color: #fff;
  margin-top: 15px;
  margin-bottom: 0;
}

.teaminfo__point{
  margin-top: 26px;
  margin-bottom: 0;
}

.teaminfo__point span{
  font-family:'Hind', sans-serif;
  font-style: oblique;
}

.pts{
  font-family:'Hind', sans-serif;
  font-style: oblique;
}

.teaminfo__item .title{
  color: #fff;
  background-color:#434343;
  padding: 8px 1.3rem;
}

.teaminfo__item .text{
  color: #333;
  background-color:#a3a3a3;
  padding: 8px 1.7rem;
  text-transform: uppercase;
}

.teaminfo__textBox{
  color: #333;
  background-color:#a3a3a3;
  padding: 14px 1.7rem;
  margin-top: 14px;
  text-align: left;
}

.teaminfo__btn1{
  width: 50%;
  display: inline-block;
  background-color: #7b7b7b;
  margin-top: 20px;
  border-radius: 6px;
  padding: 10px 0;
  color: #fff;
  font-weight: bold;
  transition: 0.7s;
}

.teaminfo__btn1:hover{
  opacity: 0.7;
  color: #fff;
}

.teaminfo__btn2 {
  width: 50%;
  display: inline-block;
  background-color: #7b7b7b;
  border-radius: 6px;
  margin-top: 45px;
  padding: 6px 0;
  color: #fff;
  font-weight: bold;
  transition: 0.7s;
  position: relative;
}

.teaminfo__btn2:hover{
  opacity: 0.7;
  color: #fff;
}

.teaminfo__btn2::after{
  content: "";
  position: absolute;
  top: 11px;
  right: 2rem;
  background-image: url(../img/teams/officialsite-logo.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 15px;
  height: 15px;
}

.teaminfo__btn2 span{
  padding-right: 20px;
}

/* 選手一覧 */
.riders{
  padding-top: 45px;
  color: #fff;
}

.riders__lists{
  display: grid;
  grid-template-columns: repeat(2,1fr);
}

.riders__list{
  cursor: pointer;
  transition: 0.7s;
}

.riders__list:nth-child(n+3){
  margin-top: 30px;
}

.riders__list:hover{
  opacity: 0.7;
}

.riders__image{
  aspect-ratio: 218/168;
}

.riders__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.riders__body{
  margin-top: 16px;
  color: #fff;
}

.riders__name-ja{
  font-weight: bold;
  margin-bottom: 0;
}

.riders__name-en{
  margin-top: 5px;
  margin-bottom: 0;
  font-family:'Hind', sans-serif;
}

.riders__name-en::first-letter{
  text-transform:capitalize;
}

.riders__btn{
  width: 50%;
  display: inline-block;
  background-color: #7b7b7b;
  border-radius: 6px;
  margin-top: 45px;
  padding: 6px 0;
  color: #fff;
  font-weight: bold;
  transition: 0.7s;
}

.riders__btn:hover{
  opacity: 0.7;
  color: #fff;
}

/* シーズン戦積 */
.seasonrecord{
  padding-top: 29px;
  padding-bottom: 23px;
}

.seasonrecord__block{
  display: flex;
  background-color: #fff;
  position: relative;
}

.seasonrecord__block::after{
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #131313;
  position: absolute;
  top: 45%;
  right: 1.9%;
}

.seasonrecord__block.open::after {
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 9px solid #131313;
  border-top: 0px solid #131313;
}

.seasonrecord__lists {
  font-family: 'Hind', sans-serif;
  font-weight: bold;
  margin-bottom: 0;
}

.seasonrecord__list {
  list-style: none;
}

.seasonrecord__list:not(:first-child){
  margin-top: 14px;
}

.seasonrecord__list a{
  display: flex;
  width: 100%;
  background-color: #fff;
}

.seasonrecord__list a:hover{
  opacity: 0.8;
  background-color: #f3f3ff;
}

.seasonrecord__label {
  background-color: #000;
  color: #fff;
  width: 20%;
  line-height: 1;
  clip-path: polygon(0 0,100% 0,80% 100%,0 100%);
  display: flex;
  align-items: center;
}

.seasonrecord__dates {
  padding: 8px 0 8px 16px;
}

.seasonrecord__date {
  font-style: oblique;
  font-family:'Hind', sans-serif;
}

.seasonrecord__date+.seasonrecord__date{
  position: relative;
  margin-top: 7px;
}

.seasonrecord__date::before{
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 2px;
  height: 7px;
  background-color: #fff;
}

.seasonrecord__body {
  display: flex;
  color: #333;
  width: 80%;
}

.seasonrecord__info{
  display: flex;
  align-items: center;
  width: 60%;
}


.seasonrecord__race {
  margin-bottom: 0;
  text-align: left;
  line-height: 1.3;
}

.seasonrecord__course {
  margin-bottom: 0;
}

.seasonrecord__points {
  background-color: #c6ad79;
  width: 40%;
  clip-path: polygon(20% 0,100% 0,100% 100%,0 100%);
  padding-left: 8px;
  font-weight: bold;
}

.seasonrecord__point-title {
  margin-bottom: 0;
}

.seasonrecord__point {
  margin-bottom: 0;
  font-style: oblique;
  font-family:'Hind', sans-serif;
}

.seasonrecord__pts {
  font-style: oblique;
  font-family:'Hind', sans-serif;
}

.seasonrecord__btn{
  width: 50%;
  display: inline-block;
  background-color: #7b7b7b;
  border-radius: 6px;
  margin-top: 21px;
  padding: 6px 0;
  color: #fff;
  font-weight: bold;
  transition: 0.7s;
}

.seasonrecord__btn:not(:last-child){
  margin-right: 0px;
}

.seasonrecord__btn:hover{
  opacity: 0.7;
  color: #fff;
}

.underItem{
  margin-top: 7px;
}

.underItem .underItem__body.team_point_out{
	background-color:#ddd;
}

.underItem__body{
  display: flex;
  color: #131313;
  width: 100%;
  height: 42px;
}

.underItem__name{
  /*width: 67%;*/
  width: 57%;
  display: flex;
  align-items: center;
  padding: 0 0 0 10px;
}

.underItem__cate{
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  color:#666;
}

.underItem__rank{
  width: 13%;
  display: flex;
  align-items: center;
  justify-content: end;
  font-style: oblique;
  font-family:'Hind', sans-serif;
  padding: 0;
}

.underItem__rank span{
  padding: 10px 0 0 4px;
}

.underItem__points{
  background-color: #c6ad79;
  width: 25%;
  clip-path: polygon(20% 0,100% 0,100% 100%,0 100%);
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 22px;
  font-style: oblique;
  font-family:'Hind', sans-serif;
}

.underItem__point{
  margin-bottom: 0;
}

.seasonrecord__lists .seasonrecord__list:not(:first-child) .sub_links {
  display: none;
}


@media screen and (min-width:1400px) {
  /* チーム */
  .teaminfo__text1{
    font-size: 24px;
  }

  .teaminfo__item{
    font-size: 16px;
  }

  .teaminfo__name{
    font-size: 22px;
  }

  .teaminfo__point{
    font-size: 13px;
  }

  .teaminfo__point span{
    font-size: 32px;
  }

  .teaminfo__point .pts{
    font-size: 18px;
  }

  .teaminfo__rank{
    font-size: 18px;
  }

  .teaminfo__rank span{
    font-size: 45px;
  }

  .teaminfo__btn1 .btn1{
    font-size: 16px;
  }

  .teaminfo__btn2 .btn2{
    font-size: 16px;
  }

  /* 選手一覧 */
  .riders__name-ja{
    font-size: 20px;
    line-height: 1;
  }

  .riders__name-en{
    font-size: 13px;
  }

  .riders__btn a{
    font-size: 16px;
  }


  /* season */
  .seasonrecord__date{
    font-size: 28px;
  }
  .seasonrecord__wday{
    font-size: 12px;
  }

  .seasonrecord__point-title{
    font-size: 13px;
  }

  .seasonrecord__point{
    font-size: 28px;
  }

  .seasonrecord__pts {
    font-size: 16px;
  }

  .underItem__rank{
    font-size: 30px;
  }

  .underItem__rank span{
    font-size: 18px;
  }

  .underItem__point{
    font-size: 28px;
  }

  .underItem__pts{
    font-size: 16px;
  }
}


@media screen and (min-width:768px) and (max-width:1399px){
  .teaminfo__body{
    padding:1.8vw 2vw ;
  }

  .teaminfo__item{
    font-size: 1.4vw;
  }

  .teaminfo__point{
    font-size: 1vw;
  }

  .teaminfo__point span{
    font-size: 2.9vw;
  }

  .teaminfo__point .pts{
    font-size: 2vw;
  }

  .teaminfo__name{
    margin-top: 1.8vw;
  }

  .teaminfo__point{
    margin-top: 1.4vw;
  }

  .teaminfo__btn1{
    margin-top: 2.6vw;
  }

  .teaminfo__name{
    font-size: 1.7vw;
  }

  .teaminfo__rank{
    font-size: 1.4vw;
  }

  .teaminfo__rank span{
    font-size: 4vw;
  }

  .teaminfo__btn2{
    width: 25%;
    font-size: 16px;
  }

  .teaminfo__item .title{
    font-size: 1.1vw;
  }

  .teaminfo__item .title.title--component{
    font-size: 1.1vw;
  }

  .teaminfo__textBox{
    font-size: 1.4vw;
  }

  .riders__name-ja{
    font-size: 1.5vw;
    line-height: 2vw;
  }

  .riders__name-en{
    font-size: 1.1vw;
    line-height: 1vw;
  }

  .seasonrecord__date{
    font-size: 2.1vw;
  }

  .seasonrecord__wday{
    font-size: 1.3vw;
  }

  .seasonrecord__point{
    font-size: 2.5vw;
  }

  .seasonrecord__point-title{
    font-size: 1.0vw;
  }

  .seasonrecord__pts {
    font-size: 1.5vw;
  }

  .underItem__rank{
    font-size: 3vw;
  }

  .underItem__rank span{
    font-size: 1vw;
  }

  .underItem__point{
    font-size: 2vw;
  }

  .underItem__point-title{
    font-size: 1.0vw;
  }

  .underItem__pts {
    font-size: 1.5vw;
  }

}


@media screen and (min-width:768px) {

  /* チーム */
  .teaminfo__items{
    max-width: 775px;
    width: 100%;
    margin-inline: auto;
  }

  .teaminfo__item-top{
    display: flex;
  }

  .teaminfo__image{
    width: 50%;
  }

  .teaminfo__body{
    width: 50%;
  }

  .teaminfo__body2{
    width: 100%;
  }

  .teaminfo__item{
    display: flex;
    width: 80%;
  }

  .teaminfo__item .title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33%;
    padding:0.3rem;
    line-height: 1.4;
  }

  .teaminfo__item .text{
    width: 67%;
    padding: 14px 1.3rem;
    text-align: left;
  }

  .teaminfo__item .text.text--padding{
    padding:1.3rem;
    display: flex;
    align-items: center;
  }

  .teaminfo__flex{
    display: flex;
    gap: 12px;
  }

  .teaminfo__item-last{
    width: 49%;
  }

  .teaminfo__item-last .title{
    width: 33%;
  }

  .teaminfo__item-last .text{
    width: 67%;
  }

  .teaminfo__btn1{
    width: 50%;
    padding: 6px 0;
  }

  .teaminfo__btn1--width{
    width: 25%;
  }

  .teaminfo__btn2::after{
    content: "";
    position: absolute;
    top: 11px;
    right: 2rem;
    background-image: url(../img/teams/officialsite-logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
  }

  .teaminfo__btn2{
    width: 25%;
  }

  /* 選手一覧 */
  .riders__lists{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 2%;
  }

  .riders__list:nth-child(n+3){
    margin-top: 0px;
  }

  .riders__list:nth-child(n+5){
    margin-top: 30px;
  }

  .riders__btn{
    width: 31%;
  }


  /* season */
  .seasonrecord{
    padding-top: 35px;
    padding-bottom: 40px;
  }

  .seasonrecord__list{
    max-width: 1056px;
    width: 100%;
    margin-inline: auto;
  }

  .seasonrecord__info {
    display: flex;
    /* flex-direction: column; */
    align-items:center;
    text-align: left;
    width: 70%;
    margin-right: 27px;
    padding-top: 15px;
    padding-bottom: 13px;
    padding-left: 10px;
    line-height: 1.4;
  }

  .seasonrecord__race {
    font-size: 18px;
  }

  .seasonrecord__course{
    font-size: 11px;
  }

  .seasonrecord__points {
    width: 30%;
    padding-left: 20px;
  }

  .seasonrecord__date{
    letter-spacing: 2px;
  }

  .seasonrecord__btn{
    margin-top: 45px;
    width: 17%;
  }

  .seasonrecord__btn:not(:last-child){
    margin-right: 15px;
  }

  .underItem__body{
    height: 55px;
  }

  .underItem__name{
    padding: 10px 20px;
    width: 80%;
  }
  
  .underItem__rank{
    padding: 10px 10px;
    width: 20%;
  }

  .underItem__rank.seasonrecord__rank--text{
    padding-right: 13px;
  }

  .underItem__points{
    padding: 0 0 0 44px;
    width: 20%;
  }
}


@media screen and (max-width: 767px) {
  .teaminfo__body{
    padding:3.7vw 2vw ;
  }

  .teaminfo__point{
    font-size: 2.4vw;
  }

  .teaminfo__point span{
    font-size: 7.8vw;
  }

  .teaminfo__point .pts{
    font-size: 5vw;
  }

  .teaminfo__name{
    font-size: 3.4vw;
  }

  .teaminfo__rank{
    font-size: 3vw;
  }

  .teaminfo__rank span{
    font-size: 10vw;
  }

  .riders__name-ja{
    font-size: 4.2vw;
  }

  .riders__name-en{
    font-size: 3.4vw;
    line-height: 3.4vw;
  }


  .seasonrecord__race {
    font-size: 3.2vw;
  }

  .seasonrecord__point-title {
    font-size: 2.6vw;
  }

  .seasonrecord__point {
    font-size: 5.3vw;
  }

  .seasonrecord__pts {
    font-size: 4.2vw;
  }

  .seasonrecord__wday{
    font-size: 2.2vw;
  }


  .underItem__rank{
    font-size: 4.2vw;
  }

  .underItem__rank span{
    font-size: 2.2vw;
  }

  .underItem__point{
    font-size: 4vw;
  }

  .underItem__pts {
    font-size: 3.2vw;
  }
}