@charset "UTF-8";
/* CSS Document */

/*-----------

race.css

-----------*/

body {
  background: #000;
}

.race-info {
  background: #e50113;
  padding-bottom: 50px;
}

/* gold */
.race-info .gold {
  background: url(../img/common/race-info_bg_gold.jpg) no-repeat left top;
  background-size: 100% auto;
}
.race-info .gold .race-ttl_inr {
  background: url(../img/common/race-info_bg_gold_inr.jpg) no-repeat left top;
  background-size: 100% auto;
}

/* silver */
.race-info .silver {
  background: url(../img/common/race-info_bg_silver.jpg) no-repeat left top;
  background-size: 100% auto;
}
.race-info .silver .race-ttl_inr {
  background: url(../img/common/race-info_bg_silver_inr.jpg) no-repeat left top;
  background-size: 100% auto;
}


.race-info .race-ttl {
  position: relative;
}
.race-info .race-ttl::before {
  position: absolute;
  content: '';
  display: block;
  width: 100%;
  height: 50px;
  background: #000;
  top: 0;
}
.race-info .race-ttl .race-ttl_inr {
  position: relative;
  width: 1020px;
  height: 360px;
  margin: 0 auto;
}

.race_head {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: .96% 0 .96% 1%;
  line-height: 0;
  background: #000;
  align-items: flex-start;
  box-sizing: border-box;
}
.race_head .racetrack {
  position: relative;
  z-index: 10000 !important;
  width: 11%;
  padding: 0 1.46% 0 0;
}
.race_head .btn_buy {
  position: relative;
  z-index: 10000 !important;
  width: 27%;
  padding-right: 1.2%;
}
.race_head .btn_live {
  position: relative;
  z-index: 10000 !important;
  width: 12%;
}
.race_head .btn_buy img,
.race_head .btn_live img {
  width: 100%;
}
.race_head a {
  transition: none;
}
.race_head a img {
  transition: 0.3s ease-in-out;
}
.race_head a:hover {
  opacity: 0.7;
  transition: 0.3s ease-in-out;
}

.race_name {
  position: relative;
  padding: 15px 0 0 30px;
  z-index: 10;
}
.race_name img {
  width: 50%;
}

.horse {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 54%;
  height: 330px;
  overflow: hidden;
  z-index: 5;
}
.horse img {
  position: absolute;
  width: 100%;
  top: -30px;
}
.horse p {
  position: absolute;
  font-size: 12px;
  color: #eee;
  line-height: 1.4;
  right: 12px;
  bottom: 5px;
  z-index: 20;
  text-shadow: 0 0 8px #000;
}
.horse p br {
  display: none;
}

.race_link {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  z-index: 10000 !important;
  position: absolute;
  bottom: 20px;
  align-items: flex-end;
  box-sizing: border-box;
  padding: 0 .9%;
}
.race_link li {
  padding: 0 .75%;
}
.race_link li a img {
  width: 100%;
}

/* レース名・馬 左右逆位置 */
.flip .race_name {
  position: relative;
  padding: 15px 0 0 30px;
  z-index: 10;
  text-align: right;
}
.race_name img {
  margin-right: 40px;
}
.flip .horse {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54%;
  height: 330px;
  overflow: hidden;
  z-index: 5;
}
.flip .horse img {
  position: absolute;
  width: 100%;
  top: -15px;
}
.flip .race_link {
  justify-content: flex-end;
}

.btn_guide{
  display: block;
  width: 318px;
  margin: 60px auto 0;
}

.btn_keibago{
  display: block;
  width: 318px;
  margin: 0 auto 0;
}

.btn_prerating{
  display: block;
  width: 318px;
  margin: 20px auto 4em;
}

.btn_racecard{
  display: block;
  width: 318px;
  margin: 4em auto 0;
}

.btn_guide img,
.btn_keibago img,
.btn_prerating img,
.btn_racecard img{
  width: 100%;
}


@media screen and (max-width: 767px) {

  .race-info {
    padding-bottom: 9%;
  }

  .race-info .race-ttl::before {
    display: none;
  }
  .race-info .race-ttl .race-ttl_inr {
    position: relative;
    width: auto;
    height: auto;
    padding-bottom: 2.5%;
  }

  .race_head {
    padding: 2% 0 2% 2%;
  }
  .race_head .racetrack {
    width: 20%;
  }
  .race_head .btn_buy {
    width: 52%;
  }
  .race_head .btn_live {
    width: 24%;
  }

  .race_name {
    margin: 3.0% 0 3.0% -2px;
    padding: 0;
  }
  .race_name img {
    width: 70%;
  }

  .horse {
    width: 80%;
    height: 88%;
  }
  .horse img {
    top: auto;
    bottom: 0;
    right: -40%;
  }
  .horse p br {
    display: block;
  }

  .race_link {
    padding: 0 3%;
    box-sizing: border-box;
    position: inherit;
    bottom: 0;
  }
  .race_link li {
    width: 23.5%;
  }

  /* レース名・馬 左右逆位置 */
  .flip .race_name {
    margin: 3.0% 0 3.0% -2px;
    padding: 0;
  }
  .flip .race_name img {
    margin-right: 0;
  }
  .flip .horse {
    width: 80%;
    height: 88%;
  }
  .flip .horse img {
    top: auto;
    bottom: 0;
    left: -34%;
  }

  .btn_guide{
    display: block;
    width: 86%;
    margin: 10% auto 0;
  }
  
.btn_keibago{
  display: block;
    width: 86%;
    margin: 8% auto 0;
}
  
.btn_prerating{
  display: block;
  width: 86%;
  margin: 6% auto 4em;
}

.btn_racecard{
  display: block;
  width: 86%;
  margin: 2.8em auto 0;
}



}


/*-----------
section
-----------*/
.race-info section {
  display: block;
  background: #fff;
  width: 1000px;
  margin: 80px auto 0 auto;
  padding: 0 98px 100px;
  border: 2px solid #000;
  border-radius: 8px;
  box-sizing: border-box;
}
.race-info section h2 {
  margin: -4% 0 0 -6%;
}

.race-info section h3 {
  position: relative;
  font-size: 22px;
  color: #fff;
  line-height: 1.4;
  margin-top: 2em;
  padding: 0.3em 0.8em 0.3em;
  border-radius: 6px;
  background: #000;
  font-weight: bold;
}

.race-info section h3:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 40px;
  border: 11px solid transparent;
  border-top: 11px solid #000;
  width: 0;
  height: 0;
}

.race-info section h3.title_hightlight {
  background: #000 url("../img/common/title_hightlight.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.title_analytics {
  background: #000 url("../img/common/title_analytics.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_chukyo {
  background: #000 url("../img/common/racetrack_title_chukyo.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_funabashi {
  background: #000 url("../img/common/racetrack_title_funabashi.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_hanshin {
  background: #000 url("../img/common/racetrack_title_hanshin.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_himeji {
  background: #000 url("../img/common/racetrack_title_himeji.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_kanazawa {
  background: #000 url("../img/common/racetrack_title_kanazawa.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_kasamatsu {
  background: #000 url("../img/common/racetrack_title_kasamatsu.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_kawasaki {
  background: #000 url("../img/common/racetrack_title_kawasaki.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_kochi {
  background: #000 url("../img/common/racetrack_title_kochi.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_kyoto {
  background: #000 url("../img/common/racetrack_title_kyoto.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_mizusawa {
  background: #000 url("../img/common/racetrack_title_mizusawa.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_monbetsu {
  background: #000 url("../img/common/racetrack_title_monbetsu.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_morioka {
  background: #000 url("../img/common/racetrack_title_morioka.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_nagoya {
  background: #000 url("../img/common/racetrack_title_nagoya.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_nakayama {
  background: #000 url("../img/common/racetrack_title_nakayama.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_obihiro {
  background: #000 url("../img/common/racetrack_title_obihiro.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_ooi {
  background: #000 url("../img/common/racetrack_title_ooi.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_saga {
  background: #000 url("../img/common/racetrack_title_saga.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_sonoda {
  background: #000 url("../img/common/racetrack_title_sonoda.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h3.racetrack_title_urawa {
  background: #000 url("../img/common/racetrack_title_urawa.png") right top no-repeat;
  background-size: auto 100%;
}

.race-info section h4 {
  font-size: 20px;
  color: #e50013;
  font-weight: bold;
  padding-top: 1.8em;
}

.race-info section h4+p {
  margin-top: 0;
}

.race-info section p {
  line-height: 1.88;
  margin-top: 2em;
}

.race-info img.course_map,
.race-info img.img_track {
  display: block;
  width: 70%;
  margin: 30px auto;
}

.race-info .soon {
  padding: 100px 0 60px;
  text-align: center;
}
.race-info .soon img {
  display: block;
  width: 364px;
  margin: 0 auto 40px;
}

.race-info section h5 {
  font-size: 16px;
  line-height: 21px;
  margin-top: 1.5em;
}

.race-info section h5 span {
  color: #fff;
  width: 57px;
  height: 21px;
  background: #444444;
  border-radius: 3px;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
}

.sp_scroll_x{
  margin: 10px 0 15px;
}

.table{
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  width: 800px;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.table td{
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: .5em 0;
  box-sizing: border-box;
}

.table td.table_heading{
  background: #444444 !important;
  color: #fff;
  width: 12%;
}

.table td.table_heading:first-child{
  width: 16%;
}

.table.table_b td.table_heading,
.table.table_b td.table_heading:first-child{
  width: 25%;
}


.table.table_c td.table_heading{
  width: 55%;
}
.table.table_c td.table_heading:nth-child(2){
  width: 30%;
}

.table.table_c td.table_heading:first-child{
  width: 15%;
}


.table.table_d td.table_heading,
.table.table_d td.table_heading:first-child{
  width: 20%;
}


.table tr:nth-child(odd){
  background: #f7f7f7;
}

.table td:first-child{
  background: #ffeded;
}

.table td.bg_g{
  background: #f7f7f7 !important;
}
.table td.bg_w{
  background: #fff !important;
}

.txt_attention{
  width: 100%;
  box-sizing: border-box;
  background: #feeeb6;
  border: 2px solid #000;
  border-radius: 5px;
  padding: 15px 0 20px;
  margin: 60px 0 0 0;
}

.race-info section .txt_attention h4{
  padding: 0;
  margin-bottom: 15px;
  line-height: 1;
}

.txt_attention h4 img{
  width: 100%;
}

.race-info section .txt_attention p{
  padding: 0 40px;
}


.txt_red{
  color: #000;
  text-align: right;
}

.txt_note{
  border: 1px solid #cccccc;
  padding: 20px;
  font-size: 14px;
  margin: 2em 0.5em;
}

.txt_note h6{
  font-size: 18px;
  font-weight: bold;
  background: #000;
  border-radius: 3px;
  margin-bottom: 15px;
  display: inline-block;
  color: #fff;
  padding: 0 10px;
}

.race-info section .txt_note p{
  margin: 0;
}


.race-info section .txt_s{
  font-size: 12px;
  margin: -10px 0 15px;
}



@media screen and (max-width: 767px) {

  .race-info section {
    width: 92%;
    margin: 10% auto 0 auto;
    padding: 0 5% 14%;
  }
  .race-info section h2 {
    width: 70%;
    margin: -6% auto 0 auto;
    text-align: center;
    display: block;
  }
  .race-info section h2 img {
    width: 100%;
  }

  .race-info section h3 {
    font-size: 18px;
    margin-top: 2em;
    border-radius: 6px;
    background: #000;
  }

  .race-info img.course_map,
  .race-info img.img_track {
    width: 100%;
    margin: 20px auto 10px auto;
  }

  .race-info .soon {
    padding: 20% 0 5%;
    text-align: left;
  }
  .race-info .soon img {
    width: 80%;
  }
  
  .sp_scroll_x{
  overflow-x: scroll;
  border-right: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
}

.race-info section h4 {
  padding-top: 1.5em;
}

.table{
  width: 540px;
  border-left: none;
}

.table.table_b{
  width: 100%;
}

.table.table_c {
  width: 560px;
}

.table.table_d{
  width: 490px;
}

.table td:last-child {
  border-right: none;
}

.txt_attention{
  margin: 13% 0 0 0;
}

.race-info section .txt_attention p{
  padding: 0 5%;
}

}


/*-----------
footer
-----------*/
#footer {
  background-color: #e50113;
}