@charset "UTF-8";

/*レース情報*/
.raceInfo {
  width: auto;
  height: auto;
  margin: 0 10px;
  padding: 40px 0 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  position: relative;
}
.raceInfo .tabArea {
  width: 100%;
  height: 40px;
  margin: 2px auto 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}
.raceInfo .tabArea li {
  width: 33.33%;
  height: 35px;
  margin: 5px 0 0 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  text-align: center;
  color: #fff;
  line-height: 30px;
  font-size: 13px;
  font-weight: normal;
  float: left;
  background: #949494;
  border-radius: 3px 3px 0 0;
  box-shadow: -2px 0 1px rgba(0, 0, 0, 0.2) inset;
}
.raceInfo .tabArea li:nth-child(3) {
  box-shadow: 2px 0 1px rgba(0, 0, 0, 0.2) inset;
}
.raceInfo .tabArea li:not(.active):hover {
  transition-duration: 0.8s;
}
.raceInfo .tabArea li.active {
  height: 40px;
  line-height: 40px;
  margin: 0 0 0 0;
  background: #ffd700;
  color: #333;
  box-shadow: none;
}

.raceInfo .raceArea {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 10px 10px 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  border-top: 5px solid #ffd700;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  border-left: 1px solid #333;
}
.raceInfo .raceArea a {
  width: 32%;
  height: auto;
  margin: 0 2% 10px 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  float: left;
}
.raceInfo .raceArea a:nth-child(3n) {
  margin: 0 0 10px 0;
}
.raceInfo .raceArea a p.name {
  width: auto;
  height: auto;
  margin: 0 auto;
  padding: 7px 5px 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: inline-block;
  font-size: 16px;
  position: relative;
  font-weight: bold;
}
.raceInfo .raceArea a p.name.night {
  padding: 7px 25px 5px 0;
}
.raceInfo .raceArea a p.name.night:after {
  content: "";
  width: 20px;
  height: 20px;
  padding: 0;
  margin: auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  background: url(../img/icon_nightrace.png?bld=20240319134829) 50% 50% no-repeat #1a74bc;
  background-size: 15px 15px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  border-radius: 50%;
}
.raceInfo .raceArea a p.date {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0 0 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.01em;
}
.raceInfo .raceArea a.disable {
  border: 1px dotted #949494;
  box-shadow: none;
}
.raceInfo .raceArea a.disable p {
  color: #949494;
}
.raceInfo input#race_info_tab_yesterday:checked ~ .tabArea li#linkForRaceInfoYesterday,
.raceInfo input#race_info_tab_today:checked ~ .tabArea li#linkForRaceInfoToday,
.raceInfo input#race_info_tab_tomorrow:checked ~ .tabArea li#linkForRaceInfoTomorrow  {
  height: 40px;
  line-height: 40px;
  margin: 0 0 0 0;
  background: #ffd700;
  color: #333;
  box-shadow: none;
}
.raceInfo input#race_info_tab_yesterday:not(:checked) ~ .tabArea li#linkForRaceInfoYesterday:hover,
.raceInfo input#race_info_tab_today:not(:checked) ~ .tabArea li#linkForRaceInfoToday:hover,
.raceInfo input#race_info_tab_tomorrow:not(:checked) ~ .tabArea li#linkForRaceInfoTomorrow:hover {
  opacity: 0.7;
}

.raceInfo .tabArea li label{
  display: inline-block;
  width: 100%;
  height: 100%;
}
.race_info_tab_input {
  display: none;
}

.raceArea.clearfix .race_info_list > div {
  display: none;
}

#race_info_tab_yesterday:checked ~ .raceArea.clearfix .race_info_list > #tabView2 {
  display: block;
}

#race_info_tab_today:checked ~ .raceArea.clearfix .race_info_list  > #tabView1 {
  display: block;
}
#race_info_tab_tomorrow:checked ~ .raceArea.clearfix .race_info_list >#tabView3 {
  display: block;
}


/*見出し*/
h2 {
  width: 100%;
  height: auto;
  margin: 25px auto 5px;
  padding: 0 10px 0 35px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  font-size: 19.5px;
  position: static;
  color: #333;
  text-align: left; }
  h2.dirtIcon {
    background: url(../img/icon_gnavi_03.png?bld=20240319134829) 10px 50% no-repeat;
    background-size: 20px auto; }
  h2.cupIcon {
    background: url(../img/icon_gnavi_04.png?bld=20240319134829) 10px 50% no-repeat;
    background-size: 20px auto; }
  h2:after {
    display: none; }



/*ダートグレード情報*/
.gRace {
  width: 100%;
  height: auto;
  margin: 0 auto 10px;
  padding: 0 12px;
  box-sizing: border-box;
  display: block;
  background: #fff; }

  .gRace .today{
    color: white;
    font-size: 14px;
    background: #c0504d;
    padding: 2px;
    text-align: center;
    width: 100%;
  }
  .gRace .fewday{
    color: white;
    font-size: 14px;
    text-align: center;
    background: #7030a0;
    padding: 2px;
    width: 100%;
  }

  .gRace a{
    text-decoration: none;
  }


  .gRace ul {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: block; }
  .gRace li {
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: block;
    background: #fff;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    position: relative; }
    .gRace li:after {
      content: "";
      width: auto;
      min-width: 3.2em;
      height: auto;
      padding: 2px 4px;
      margin: auto;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      display: inline-block;
      position: absolute;
      top: 5px;
      right: 5px;
      color: #fff;
      font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
      border-radius: 3px;
      letter-spacing: 0.02rem;
      text-align: center;
      transform: rotate(0.05deg); }
    .gRace li.jpn1:after {
      content: "JpnⅠ";
      background: #1d78c5; }
    .gRace li.jpn2:after {
      content: "JpnⅡ";
      background: #d63737; }
    .gRace li.jpn3:after {
      content: "JpnⅢ";
      background: #248250; }
    .gRace li.g1:after {
      content: "GⅠ";
      background: #1d78c5; }
    .gRace li.g2:after {
      content: "GⅡ";
      background: #d63737; }
    .gRace li.g3:after {
      content: "GⅢ";
      background: #248250; }
    .gRace li.g1Local:after {
      content: "GⅠ";
      background: #1a74bc; }
    .gRace li.jpn1Central:after {
      content: "JpnⅠ";
      background: #268300; }
    .gRace li.mare:before {
      content: "牝馬";
      width: auto;
      height: auto;
      padding: 2px 5px;
      margin: auto;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      display: block;
      background: #ffbbbb;
      position: absolute;
      bottom: 5px;
      left: 10px;
      color: #333;
      border-radius: 3px;
      letter-spacing: 0.2pt;
      text-align: center; }
    .gRace li p.name {
      width: 100%;
      height: auto;
      margin: 0 auto;
      padding: 3px 10px 3px 13px;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      display: block;
      font-size: 14px;
      letter-spacing: normal; }
    .gRace li p.date {
      padding: 5px 0 0 10px;
      box-sizing: border-box;
      font-size: 16px; }
    .gRace li p.date.near {
      padding: 3px 0 3px 10px;
      border-left: 5px solid #ffd700; }
    .gRace li p.date.near .num {
      padding: 0;
      box-sizing: border-box;
      font-size: 16px;
      font-weight: normal; }
    .gRace li p.course {
      width: auto;
      height: auto;
      padding: 3px 5px;
      margin: auto;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      display: inline-block;
      color: #333;
      border-radius: 3px;
      letter-spacing: 0.02rem;
      text-align: center;
      transform: rotate(0.05deg);
      position: absolute;
      top: 3px;
      left: 7.7em; }
    .gRace li p.course .red {
      color: #e05552;
      font-weight: bold;
      margin-left: 5px;
    }
    .gRace li .linkArea {
      width: 100%;
      height: auto;
      margin: 0 auto;
      padding: 5px 5px;
      box-sizing: border-box;
      display: block;
      border-top: 1px dashed #9f9f9f;
      background: #f0f0f0; }
      .gRace li .linkArea a {
        width: 23.5%;
        height: 30px;
        margin: 0 2% 0 0;
        padding: 0;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        display: block;
        font-size: 14px;
        line-height: 30px;
        background: #fff;
        float: left;
        color: #333;
        text-decoration: none;
        border-radius: 3px;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
        text-align: center; }
        .gRace li .linkArea a:last-child {
          margin: 0; }
        .gRace li .linkArea a:hover {
          transition-duration: 0.8s;
          background: #ffd700; }
        .gRace li .linkArea a.disable {
          background: #cacaca;
          box-shadow: none;
          cursor: text;
          color: #fff; }
          .gRace li .linkArea a.disable:hover {
            opacity: 1.0; }
    .gRace li a {
      width: auto;
      height: auto;
      margin: 0 auto;
      padding: 0;
      box-sizing: border-box;
      display: block; }



