/*---------------注目レース予報-----------------------*/
.race_yoho_title {
  display: block;
}
.race_yoho_title .h2_title {
  margin-bottom: -24px;
}
.race_yoho_box_cotainer {
  /* margin: 0 auto;
  background-image: url(../images/race_yoho/race_yoho_bg.jpg);
  background-repeat: repeat;
  background-size: auto;
  background-position: left top;
  position: relative;
  padding-bottom: 12px; */
}
/* .race_yoho_box_cotainer::before {
  content: "";
  background-image: url(../images/race_yoho/race_yoho_deco.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 30px;
} */
/* .race_yoho_box_cotainer::after {
  content: "";
  background-image: url(../images/race_yoho/race_yoho_deco.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 30px;
  transform: rotate(180deg);
} */

.race_yoho_wrap {
  /* background:#00aa98; */
  /* padding: 20px;
  max-width: 1750px;
  margin: 0 auto;
  position: relative; */
}
.race_yoho_wrap p {
  position: relative;
    margin: 0;
}
.race_yoho_wrap p.day {
  position: relative;
  font-size: min(2.6vw, 40px);
  font-weight: 900;
  color: #ff0404;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff,
    -1px -1px 0 #fff, 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff,
    -2px -2px 0 #fff, 3px 3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff,
    -3px -3px 0 #fff;
  /* margin: -3% 0; */
  z-index: 1;

}
.race_yoho_wrap p img.flag {
  position: absolute;
  bottom: 12%;
  left: 12%;
  width: 21%;
}
.race_yoho_wrap p img.img_posi {
  position: absolute;
  bottom: 12%;
  right: 2%;
  width: 22%;
}
span.attention_race {
  position: relative;
  color: #fff;
  font-size: min(3.6vw, 72px);
  font-weight: 900;
}

span.attention_race_big {
  font-size: 200%;
  color: #ff0404;
  margin: 0 8px;
  text-shadow: #000 1px 2px 5px, #000 -1px 2px 5px, #000 1px 2px 5px,
    #000 -1px 4px 5px, #000 1px 2px 5px, #000 -1px 2px 5px, #000 1px 4px 5px,
    #000 -1px 4px 5px, #000 2px 2px 5px, #000 -1px 1px 5px, #000 0px 1px 5px,
    #000 1px 1px 5px, #000 2px 1px 5px, #000 2px 1px 5px, #000 -1px 0px 5px,
    #000 0px 0px 5px, #000 1px 0px 5px, #000 2px 0px 5px, #000 3px 0px 5px,
    #000 1px 2px 5px, #000 -1px 2px 5px, #000 1px 4px 5px, #000 -1px 4px 5px,
    #000 1px 2px 5px, #000 -1px 2px 5px, #000 1px 4px 5px, #000 -1px 4px 5px,
    #000 2px 2px 5px, #000 -1px 1px 5px, #000 0px 1px 5px, #000 1px 1px 5px,
    #000 2px 1px 5px, #000 2px 1px 5px, #000 -1px 0px 5px, #000 0px 0px 5px,
    #000 1px 0px 5px, #000 2px 0px 5px, #000 3px 0px 5px, #000 4px -1px 5px,
    #000 4px -1px 5px, #000 4px -1px 5px, #000 4px -1px 5px, #000 4px -1px 5px,
    #000 4px 0px 5px, #000 4px 0px 5px, #000 4px 0px 5px, #000 4px 0px 5px,
    #000 4px 0px 5px, #000 -1px 4px 4px, #000 -1px 4px 4px, #000 -1px 4px 4px,
    #000 -1px 4px 4px, #000 -2px 5px 5px, #000 -2px 5px 5px, #000 -2px 5px 5px,
    #000 -2px 5px 5px, #000 -2px 5px 5px, #000 -2px 5px 5px, #000 0px -1px 5px,
    #000 0px -1px 5px, #000 0px -1px 5px, #000 0px -1px 5px, #000 0px -1px 5px,
    #000 0px -1px 5px, #000 0px -1px 5px, #000 -1px -1px 5px, #000 -1px -1px 5px,
    #000 -1px -1px 5px, #000 -1px -1px 5px, #000 -1px -1px 5px,
    #000 -1px -1px 5px, #000 4px -2px 5px, #000 4px -2px 5px, #000 4px -2px 5px,
    #000 4px -2px 5px, #000 4px -2px 5px, #000 4px -2px 4px, #000 4px -2px 4px,
    #000 4px -2px 4px, #000 4px -2px 4px, #000 4px -2px 4px, #000 1px 4px 4px,
    #000 1px 4px 4px, #000 1px 4px 4px, #000 1px 4px 4px, #000 2px -2px 4px,
    #000 2px -2px 4px, #000 2px -2px 4px, #000 2px -2px 4px, #000 2px -2px 4px,
    #000 2px -2px 5px, #000 2px -2px 5px, #000 2px -2px 5px, #000 2px -2px 5px,
    #000 2px -2px 5px, #000 2px -2px 5px, #000 -3px 6px 2px, #000 -3px 6px 2px,
    #000 -3px 6px 2px, #000 -3px 6px 2px, #000 -3px 6px 2px, #000 -3px 6px 2px;
}
span.attention_race_big2 {
  color: #fff;
  text-shadow: #000 1px 2px 3px, #000 -1px 2px 3px, #000 1px 2px 3px,
    #000 -1px 4px 3px, #000 1px 2px 3px, #000 -1px 2px 3px, #000 1px 4px 3px,
    #000 -1px 4px 3px, #000 2px 2px 3px, #000 -1px 1px 3px, #000 0px 1px 3px,
    #000 1px 1px 3px, #000 2px 1px 3px, #000 2px 1px 3px, #000 -1px 0px 3px,
    #000 0px 0px 3px, #000 1px 0px 3px, #000 2px 0px 3px, #000 3px 0px 3px,
    #000 1px 2px 3px, #000 -1px 2px 3px, #000 1px 4px 3px, #000 -1px 4px 3px,
    #000 1px 2px 3px, #000 -1px 2px 3px, #000 1px 4px 3px, #000 -1px 4px 3px,
    #000 2px 2px 3px, #000 -1px 1px 3px, #000 0px 1px 3px, #000 1px 1px 3px,
    #000 2px 1px 3px, #000 2px 1px 3px, #000 -1px 0px 3px, #000 0px 0px 3px,
    #000 1px 0px 3px, #000 2px 0px 3px, #000 3px 0px 3px, #000 4px -1px 3px,
    #000 4px -1px 3px, #000 4px -1px 3px, #000 4px -1px 3px, #000 4px -1px 3px,
    #000 4px 0px 3px, #000 4px 0px 3px, #000 4px 0px 3px, #000 4px 0px 3px,
    #000 4px 0px 3px, #000 -1px 4px 2px, #000 -1px 4px 2px, #000 -1px 4px 2px,
    #000 -1px 4px 2px, #000 -2px 5px 3px, #000 -2px 5px 3px, #000 -2px 5px 3px,
    #000 -2px 5px 3px, #000 -2px 5px 3px, #000 -2px 5px 3px, #000 0px -1px 3px,
    #000 0px -1px 3px, #000 0px -1px 3px, #000 0px -1px 3px, #000 0px -1px 3px,
    #000 0px -1px 3px, #000 0px -1px 3px, #000 -1px -1px 3px, #000 -1px -1px 3px,
    #000 -1px -1px 3px, #000 -1px -1px 3px, #000 -1px -1px 3px,
    #000 -1px -1px 3px, #000 4px -2px 3px, #000 4px -2px 3px, #000 4px -2px 3px,
    #000 4px -2px 3px, #000 4px -2px 3px, #000 4px -2px 2px, #000 4px -2px 2px,
    #000 4px -2px 2px, #000 4px -2px 2px, #000 4px -2px 2px, #000 1px 4px 2px,
    #000 1px 4px 2px, #000 1px 4px 2px, #000 1px 4px 2px, #000 2px -2px 2px,
    #000 2px -2px 2px, #000 2px -2px 2px, #000 2px -2px 2px, #000 2px -2px 2px,
    #000 2px -2px 3px, #000 2px -2px 3px, #000 2px -2px 3px, #000 2px -2px 3px,
    #000 2px -2px 3px, #000 2px -2px 3px, #000 -3px 6px 0px, #000 -3px 6px 0px,
    #000 -3px 6px 0px, #000 -3px 6px 0px, #000 -3px 6px 0px, #000 -3px 6px 0px;
}
.race_yoho_wrap .kakomi {
  margin: 0 auto;
  padding: 0;
  /* max-width: 1750px; */
  border: solid 5px #000;
  border-radius: 10px;
  margin-bottom: 10px;
  text-align: left;
  background: #fff;
  display: flex;
}
.race_yoho_wrap .kakomi:nth-of-type(1) {
  background-image: url(../images/race_yoho/race_yoho_text_bg1.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}
.race_yoho_wrap .kakomi:nth-of-type(2) {
  background-image: url(../images/race_yoho/race_yoho_text_bg2.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}
.race_yoho_wrap .kakomi:nth-of-type(3) {
  background-image: url(../images/race_yoho/race_yoho_text_bg3.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}
.race_yoho_wrap .kakomi:nth-of-type(4) {
  background-image: url(../images/race_yoho/race_yoho_text_bg4.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}
.race_yoho_wrap h3 {
  width: 20%;
  margin: 0;
}
.race_yoho_wrap h3 img {
  /* color: #fff; */
  /* background: #000; */
  /* display: inline-block; */
  padding: 6px 10px;
  /* font-size: min(3vw, 20px); */
  /* width: 20%; */
  width: 100%;
  transform: translateX(-12px) translateY(-6px);
  width: 100%;
  max-width: 235px;
  min-width: 185px;
}
.race_yoho_wrap .text {
  padding-left: 10px;
  font-size: 16px;
  width: 84%;
  padding: 40px 20px;
}
.yosou_3ren .text {
  width: 100%;
}
.yosou_3ren {
  width: 84%;
}
.yosou_img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.race_yoho_wrap ul.race_yoho_sensyus {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: min(1.2vw, 24px);
  width: 81%;
  padding: 50px 20px;
  list-style: none;
}
.race_yoho_wrap ul.race_yoho_sensyus li {
  padding: 10px;
  color: #fff;
  font-weight: 900;
  width: 210px;
}
.flex-img {
  /* flex: 0 0 calc(100% / 6 - 6px); 通常は6個で1行 */
  display: flex;
  justify-content: left;
  align-items: center;
  gap: min(0.5vw, 8px);
  font-weight: 500;
  padding-top: 10px;
  width: calc(100% + 5px);
}
.race_yoho_wrap .race_yoho_sensyus .race_yoho_goutei1 {
  background: #676767;
}
.race_yoho_wrap ul.race_yoho_sensyus .race_yoho_goutei2 {
  background: #000;
}
.race_yoho_wrap ul.race_yoho_sensyus .race_yoho_goutei3 {
  background: #bc0001;
}
.race_yoho_wrap ul.race_yoho_sensyus .race_yoho_goutei4 {
  background: #235bcc;
}
.race_yoho_wrap ul.race_yoho_sensyus .race_yoho_goutei5 {
  background: #b28e02;
}
.race_yoho_wrap ul.race_yoho_sensyus .race_yoho_goutei6 {
  background: #2a8e4e;
}
.race_yoho_sensyu {
  text-align: center;
}
.race_yoho_sensyu img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.race_yoho_wrap .flex-img .no {
  font-size: min(1.2vw, 20px);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22%;
  aspect-ratio: 1/1;
  line-height: 1;
  text-align: center;
  border: solid 2px #fff;
}
.race_yoho_sensyu p {
  font-size: min(0.9vw, 17px);
  font-weight: bold;
  text-align: left;
}
.yosou_img {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 40px;
  padding: 0 2vw 32px;
  list-style: none;
}
.yosou_img li {
  max-width: 240px;
}
.race_yoho_box_cotainer a {
  display: inline-block;
  /* background: pink; */
  padding: 6px 24px;
  color: #000;
  font-weight: 700;
  border: solid 1px #000;
  border-radius: 20px;
  text-decoration: none;
}


/*-------sp注目レース-----------*/
  
@media (max-width: 1199px) {


.flex-img {
    gap: 1vw;
  }

  .race_yoho_wrap h3 {
    padding: 6px 5px;
    font-size: min(3vw, 20px);
  }
  .race_yoho_wrap ul.race_yoho_sensyus {
    flex-wrap: wrap;
  }
  .race_yoho_wrap p img.flag {
    top: -2vw;
    left: 6vw;
    width: 25%;
  }
  .race_yoho_wrap p img.img_posi {
    top: -6vw;
    right: 2vw;
    /* z-index: -1; */
    width: 27%;
  }
  span.attention_race {
    font-size: 5vw;
  }
  .race_yoho_box_cotainer .h2_title {
    /* margin-bottom: 10px; */
  }
  .race_yoho_wrap {
    /* padding: 2px */
    padding-top: 2vh;
  }
  .race_yoho_wrap p.day {
    font-size: 3vw;
    text-shadow: 1px 1px 0 #fff, 1px 1px 0 #fff, -1px 1px 0 #fff,
      1px -1px 0 #fff, -1px -1px 0 #fff;
  }

  .race_yoho_wrap h3 {
    width: 50%;
    margin-bottom: -3vw;
  }
  .race_yoho_title .h2_title img {
    /* margin-bottom: 70px; */
  }
  .race_yoho_wrap .kakomi {
    display: block;
  }
  .race_yoho_wrap h3 img {
    transform: translateX(-15px) translateY(-13px);
    width: 100%;
    max-width: 360px;
    min-width: 190px;
  }
  .race_yoho_wrap .kakomi:nth-of-type(1),
  .race_yoho_wrap .kakomi:nth-of-type(2),
  .race_yoho_wrap .kakomi:nth-of-type(3),
  .race_yoho_wrap .kakomi:nth-of-type(4) {
    background-image: none;
  }
  .race_yoho_wrap .kakomi:nth-of-type(1) {
    margin-top: 10px;
  }
  .race_yoho_wrap .text {
    width: 100%;
    padding: 0 16px 32px;
  }
  .race_yoho_wrap ul.race_yoho_sensyus {
    width: 100%;
    padding: 0 16px 32px;
    justify-content: center;
  }
  .race_yoho_wrap ul.race_yoho_sensyus li {
    width: 32%;
  }
  .race_yoho_wrap .flex-img .no {
    width: 6vw;
    height: 6vw;
    font-size: 3vw;
  }
  .race_yoho_sensyu p {
    font-size: min(2.3vw, 28px);
  }
  .yosou_img {
    flex-direction: column;
    gap: 24px;
  }
  .yosou_3ren {
    width: 100%;
  }

  }


  @media (max-width: 500px) {
    .race_yoho_wrap p img.flag {
    top: -4vw;
    left: 2vw;
    width: 28%;
  }
  .race_yoho_wrap p img.img_posi {
    top: -7vw;
    right: 0;
    width: 30%;
  }
  .race_yoho_wrap p.day {
    font-size: 3.2vw;
  }
  span.attention_race_big {
    text-shadow: #000 1px 1px 2px, #000 -1px 1px 2px, #000 1px 1px 2px,
      #000 -1px 3px 2px, #000 1px 1px 2px, #000 -1px 1px 2px, #000 1px 3px 2px,
      #000 -1px 3px 2px, #000 2px 1px 2px, #000 -1px 0px 2px, #000 0px 0px 2px,
      #000 1px 0px 2px, #000 2px 0px 2px, #000 2px 0px 2px, #000 -1px -1px 2px,
      #000 0px -1px 2px, #000 1px -1px 2px, #000 2px -1px 2px, #000 3px -1px 2px,
      #000 1px 1px 2px, #000 -1px 1px 2px, #000 1px 3px 2px, #000 -1px 3px 2px,
      #000 1px 1px 2px, #000 -1px 1px 2px, #000 1px 3px 2px, #000 -1px 3px 2px,
      #000 2px 1px 2px, #000 -1px 0px 2px, #000 0px 0px 2px, #000 1px 0px 2px,
      #000 2px 0px 2px, #000 2px 0px 2px, #000 -1px -1px 2px, #000 0px -1px 2px,
      #000 1px -1px 2px, #000 2px -1px 2px, #000 3px -1px 2px, #000 4px -1px 2px,
      #000 4px -1px 2px, #000 4px -1px 2px, #000 4px -1px 2px, #000 4px -1px 2px,
      #000 4px -1px 2px, #000 4px -1px 2px, #000 4px -1px 2px, #000 4px -1px 2px,
      #000 4px -1px 2px, #000 -1px 3px 1px, #000 -1px 3px 1px, #000 -1px 3px 1px,
      #000 -1px 3px 1px, #000 -2px 4px 2px, #000 -2px 4px 2px, #000 -2px 4px 2px,
      #000 -2px 4px 2px, #000 -2px 4px 2px, #000 -2px 4px 2px, #000 0px -1px 2px,
      #000 0px -1px 2px, #000 0px -1px 2px, #000 0px -1px 2px, #000 0px -1px 2px,
      #000 0px -1px 2px, #000 0px -1px 2px, #000 -1px -1px 2px,
      #000 -1px -1px 2px, #000 -1px -1px 2px, #000 -1px -1px 2px,
      #000 -1px -1px 2px, #000 -1px -1px 2px, #000 4px -1px 2px,
      #000 4px -1px 2px, #000 4px -1px 2px, #000 4px -1px 2px, #000 4px -1px 2px,
      #000 4px -1px 1px, #000 4px -1px 1px, #000 4px -1px 1px, #000 4px -1px 1px,
      #000 4px -1px 1px, #000 1px 3px 1px, #000 1px 3px 1px, #000 1px 3px 1px,
      #000 1px 3px 1px, #000 2px -1px 1px, #000 2px -1px 1px, #000 2px -1px 1px,
      #000 2px -1px 1px, #000 2px -1px 1px, #000 2px -1px 2px, #000 2px -1px 2px,
      #000 2px -1px 2px, #000 2px -1px 2px, #000 2px -1px 2px, #000 2px -1px 2px,
      #000 -3px 5px 0px, #000 -3px 5px 0px, #000 -3px 5px 0px, #000 -3px 5px 0px,
      #000 -3px 5px 0px, #000 -3px 5px 0px;
  }
  span.attention_race_big2 {
    text-shadow: #000 1px 2px 2px, #000 -1px 2px 2px, #000 1px 2px 2px,
      #000 -1px 1px 2px, #000 0px 1px 2px, #000 1px 1px 2px, #000 2px 1px 2px,
      #000 2px 1px 2px, #000 -1px 0px 2px, #000 0px 0px 2px, #000 1px 0px 2px,
      #000 2px 0px 2px, #000 2px 0px 2px, #000 1px 2px 2px, #000 -1px 2px 2px,
      #000 2px 2px 2px, #000 -1px 1px 2px, #000 0px 1px 2px, #000 1px 1px 2px,
      #000 2px 1px 2px, #000 2px 1px 2px, #000 -1px 0px 2px, #000 0px 0px 2px,
      #000 1px 0px 2px, #000 2px 0px 2px, #000 -1px 0px 2px, #000 -1px 0px 2px,
      #000 -1px 0px 2px, #000 -1px 0px 2px, #000 -1px 0px 2px, #000 2px -2px 2px,
      #000 2px 2px 2px, #000 2px 2px 2px, #000 2px 2px 2px, #000 2px 2px 2px,
      #000 2px 2px 2px, #000 2px 2px 2px, #000 2px 2px 2px, #000 2px 2px 2px,
      #000 2px 2px 2px;
  }
  .race_yoho_wrap h3 {
    width: 65%;
    margin-bottom: -5vw;
  }
  .race_yoho_wrap .text,
  .race_yoho_wrap ul.race_yoho_sensyus {
    padding: 0 8px 16px;
  }
  .race_yoho_wrap .text {
    font-size: 15px;
  }
  .race_yoho_wrap ul.race_yoho_sensyus li {
    width: 49%;
  }
  .race_yoho_wrap .flex-img .no {
    width: 9vw;
    height: 9vw;
    font-size: 5vw;
  }
  .race_yoho_sensyu p {
    font-size: 3.4vw;
  }
  }