/********************************************************************************************
*                                    改版履歴                                                *
*                                                                                            *
*    変更日            変更者            変更内容                     備考(障害番号等)       *
*    2019/09/02        S.Hou             軽量化対応                   NAR15                  *
*    2021/02/01        E.Sai             重賞競走出馬表CSS追加        情報サイトリニューアル *
*********************************************************************************************/

@charset "UTF-8";

/*ブロック*/

iframe{
  width:100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display:inline-block;
  overflow: hidden;
}

html.inFrame {
  min-width: auto;
  width: 320px;
  height: auto;
  overflow: hidden;
}

body{
  width:100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display:block;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "メイリオ", Meiryo, "Helvetica Neue", "Segoe UI", sans-serif;
}

/*レース情報*/
article.raceInfo {
  width: 320px;
  height: auto;
  margin: 0 auto;
  padding: 34px 0 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  position: relative;
  background:none;
}

.raceInfo .tabArea {
  width: 100%;
  height: 30px;
  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: 28px;
  margin: 4px 0 0 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  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:hover {
  transition-duration: 0.8s;
}
.raceInfo .tabArea li label {
  width: 100%;
  height: 28px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  line-height: 28px;
  font-size: 13px;
  font-weight: bold;
}

.raceInfo table {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  border-right: 1px solid #9f9f9f;
  border-left: 1px solid #9f9f9f;
  border-bottom: 1px solid #9f9f9f;
  border-top: 3px solid #ffd700;
  display: none;
}

input.raceInfoRadio {
  display: none;
}

.raceInfo input#raceInfoRadioYesterday:checked~.tabArea li#linkForRaceInfoYesterday,
.raceInfo input#raceInfoRadioToday:checked~.tabArea li#linkForRaceInfoToday,
.raceInfo input#raceInfoRadioTomorrow:checked~.tabArea li#linkForRaceInfoTomorrow {
  height: 32px;
  line-height: 32px;
  margin: 0 0 0 0;
  background: #ffd700;
  color: #333;
  box-shadow: none;
}

.raceInfo input#raceInfoRadioYesterday:checked~.tabArea li#linkForRaceInfoYesterday label,
.raceInfo input#raceInfoRadioToday:checked~.tabArea li#linkForRaceInfoToday label,
.raceInfo input#raceInfoRadioTomorrow:checked~.tabArea li#linkForRaceInfoTomorrow label {
  height: 32px;
  line-height: 32px;
  color: #333;
}

.raceInfo input#raceInfoRadioYesterday:not(:checked)~.tabArea li#linkForRaceInfoYesterday:hover,
.raceInfo input#raceInfoRadioToday:not(:checked)~.tabArea li#linkForRaceInfoToday:hover,
.raceInfo input#raceInfoRadioTomorrow:not(:checked)~.tabArea li#linkForRaceInfoTomorrow:hover {
  opacity: 0.7;
}

.raceInfo input#raceInfoRadioYesterday:checked~table#raceInfoYesterday,
.raceInfo input#raceInfoRadioToday:checked~table#raceInfoToday,
.raceInfo input#raceInfoRadioTomorrow:checked~table#raceInfoTomorrow {
  display: flex;
}

.raceInfo table tr:nth-child(even) {
  background: #f0f0f0;
}

.raceInfo table tr:nth-child(odd) {
  background: #ffffff;
}

.raceInfo table td {
  padding: 7px 5px;
  text-align: center;
}

/* .raceInfo table td:nth-child(1) {
  width: 60px;
  font-size: 16px;
  padding: 7px 0 7px 5px;
  text-align: left;
  font-weight: bold;
}

.raceInfo table td:nth-child(2) {
  width: 30px;
  padding: 10px 0;
}

.raceInfo table td:nth-child(3) {
  width: 40px;
  font-size: 13px;
  line-height: 1.1;
} */

.raceInfo table td:nth-child(4) {
  width: 180px;
}

.raceInfo table td:nth-child(4) a {
  width: 32%;
  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);
}

.raceInfo table td:nth-child(4) a:last-child {
  margin: 0;
}

.raceInfo table td:nth-child(4) a:hover {
  transition-duration: 0.8s;
  background: #ffd700;
}

.raceInfo table td:nth-child(4) a.disable {
  background: #cacaca;
  box-shadow: none;
  cursor: text;
  color: #fff;
}

.raceInfo table td:nth-child(4) a.disable:hover {
  opacity: 1.0;
}

.raceInfo .raceTime {
  width: 25px;
  height: 25px;
  margin: 0 auto;
  padding: 0;
  display: block;
  background: #ddd;
  border-radius: 50%;
}

.raceInfo .raceTime.night {
  background: url(../img/icon_nightrace.png?bld=20251121111641) 50% 50% no-repeat #1a74bc;
}



/*トップページ用見出し*/
h2 {
  width: 100%;
  height: 40px;
  margin: 0 auto;
  padding: 0 0 0 35px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: block;
  font-size: 20px;
  line-height: 40px; }
  h2:after {
    content: none; }
  h2.dirtIcon {
    background: url(../img/icon_gnavi_03.png?bld=20251121111641) 0 50% no-repeat;
    background-size: 25px auto; }
  h2.cupIcon {
    background: url(../img/icon_gnavi_04.png?bld=20251121111641) 0 50% no-repeat;
    background-size: 25px auto; }

/*重賞競走出馬表*/
.gRace {
  width: 100%;
  height: auto;
  margin: 0 auto 0;
  padding: 0 2px;
  box-sizing: border-box;
  display: block;
  background: none; }

  .gRace .today{
    color: white;
    font-size: 14px;
    background: #c0504d;
    padding: 2px;
    text-align: center;
    width: 316px;
  }
  .gRace .fewday{
    color: white;
    font-size: 14px;
    text-align: center;
    background: #7030a0;
    padding: 2px;
    width: 316px;
  }

  .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: 316px;
    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:hover {
      transition-duration: 0.8s;
      background: #ffd700;
    }
    .gRace li:after {
      content: "";
      width: auto;
      min-width: 4.0rem;
      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;
      font-weight: bold;
      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: #ff6235; }
    .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;
      font-weight: bold;
      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-weight: bold;
      font-size: 16px;
      letter-spacing: normal; }
    .gRace li p.date {
      padding: 5px 0 5px 10px;
      box-sizing: border-box;
      font-size: 15px;
      font-weight: bold;
      letter-spacing: -0.1em; }
    .gRace li p.date.near {
      padding: 3px 0 3px 10px;
      border-left: 5px solid #ffd700; 
      font-size: 14px;
      letter-spacing: -0.1em;}
    .gRace li p.date.near .num {
      padding: 0;
      box-sizing: border-box;
      font-size: 15px;
      font-weight: bold; 
      letter-spacing: -0.05em;}
    .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;
      font-size: 13px;
      font-weight: bold;
      letter-spacing: 0.02rem;
      text-align: center;
      transform: rotate(0.05deg);
      position: absolute;
      top: 3px;
      left: 6.2rem; }
    .gRace li p.course .red {
      color: #e05552;
      font-weight: bold;
      margin-left: 5px;
    }
    .gRace li .linkArea {
      width: 100%;
      height: auto;
      margin: 0 auto;
      padding: 8px 10px;
      box-sizing: border-box;
      display: block;
      border-top: 1px dashed #9f9f9f;
      background: #f0f0f0; }
      .gRace li .linkArea a {
        width: 23.5%;
        height: 25px;
        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: 25px;
        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; }
