@charset "Shift_JIS";

/**
 * common
 */
 
.a-display {
  display: inline;
}
.ac {
  text-align: center;
}

.f-xx-small {
  font-size: xx-small;
}

.f-x-small {
  font-size: 1rem;
}

.f-small {
  font-size: 1.3rem;
}

.f-medium {
  font-size: 1.6rem;
}

.f-large {
  font-size: 1.8rem;
}

.kaisaibi {
  font-size: 1.6rem;
  padding: 7px 0 7px 10px;
}

/* 映像（ssi）リンクボタンサイズ */
img.ssiBtnImg {
  width: 37px;
  height: 30px;
}

/*===========================================================================================================*/
/*ここより開催選択画面用   */
/*===========================================================================================================*/

#raceketuka {
  padding-bottom: 15px;
}

#juushou {
  padding-bottom: 15px;
}

.kaisaiJushoMain {
  padding: 0 5px 5px;
  width: 97%;
  display:table;
}

.kaisaiJushoMain div {
  width: 100%;
  border-collapse: collapse;
  background: #eee;
  display:table-cell;
}

/*レース映像セル*/
.kaisaiVideoDiv {
  width: 37px;
  padding-top: 4px;
  display:table-cell;
  vertical-align: middle;
}

.kaisaiJushoTitle {
  width: 100%;
  padding:0 0 3px 10px;
  /* フォント */
  color: #00f;
  font-size: 1.8rem;
}

.kaisaiJushoTitle a {

  text-decoration: none;
}

.kaisaiJushoTitle div {

  /* 行の高さ */
  line-height: 10px;

  padding: 3px 0;

  /* フォント */
  color: #00f;
  font-size: 1rem;
}

.btnRaceOpenSelection {
  /* サイズ */
  line-height: 39px;
  width: 290px;
  height: 39px;

  /* 枠線 */
  border-style: solid;
  border-width: 1px;
  border-color: #ccc #999 #999 #ccc;

  /* 角丸 */
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;

  /* 背景 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #fff), color-stop(45%, #f5f5f5) , color-stop(50%, #ededed));
  background: -moz-linear-gradient(top, #fff 1%, #f5f5f5 45%, #ededed 50%);
  background: linear-gradient(to bottom, #fff 1%, #f5f5f5 45%, #ededed 50%);

}

.btnRaceOpenSelection a{
  color: #000;

  /* フォント */
  font-size: 1.3rem;
  font-weight: bold;

  /* 文字装飾 */
  text-decoration: none;

  /* 配置 */
  text-align: center;

  /* 空白・改行の扱い */
  white-space: nowrap;

}

/*レース映像セル*/
.kaisaiVideoTd {
  width: 37px;
  padding-top: 4px;
}

.kaisaiWin5Img {
    height: 18px;
    width: 44px;
    margin: 4px;
}

/* グレードアイコン */
img.kaisaiGradeIcon {
  width: 22px;
  height: 11px;
  vertical-align: 3%;
}

div.kaisaiSpaceDiv {
  padding-top: 20px;
}

/*===========================================================================================================*/
/*ここよりレース選択画面用 */
/*===========================================================================================================*/

.sentakuMainDiv {
  padding: 0 5px 3px;
}

.sentakuMainTbl {
  width: 100%;
  border-collapse: collapse;
}

.sentakuMainTbl table tr {
  padding: 2px;
  border: 0px solid #999;
}

.sentakuRaceNoTd {
  padding: 0;
}

/*レース情報*/
.sentakuRaceInfoTd {
  padding:0 0 0 5px;
  background: #eee;
  font-weight: bold;
  font-size: 1.3rem;
  width: 100%;
  vertical-align: middle;
}

.sentakuRaceInfoTd div{
  line-height: 13px;
  padding: 2px 0 0 0;
  color: #000;
  font-weight: normal;
  font-size: 1rem;
}

.sentakuRaceInfoTd a{
  color: #03c;
  text-decoration: none;
}

/*レース番号*/
span.btnRaceNo {
  display: block;

  line-height: 48px;

  /* サイズ */
  width: 38px;
  height: 52px;

  /* 枠線 */
  border-style: solid;
  border-width: 2px;
  border-color: #999;

  /* 角丸 */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

  /* 背景 */
  background: -webkit-gradient(linear, left top, left bottom, from(#7f7f7f), to(#191919));
  background: -moz-linear-gradient(top, #7f7f7f, #191919);
  background: linear-gradient(to bottom, #7f7f7f, #191919);

  /* フォント */
  color: #fff;
  font-weight: bold;

  /* 文字装飾 */
  text-decoration: none;

  /* 配置 */
  text-align: center;

  /* 空白・改行の扱い */
  white-space: nowrap;
}

.btnRaceNo a{
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
}


/*WIN5リンク*/
.sentakuWin5Link {
  width: 280px;
  /*padding: 10px 0 10px;*/

  /* 中枠 */
  padding: 12px 7px 10px;

  /* 枠線 */
  border-style: solid;
  border-width: 1px;
  border-color: #ccc #999 #999 #ccc;

  /* 角丸 */
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;

  /* 背景 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #fff), color-stop(45%, #f5f5f5) , color-stop(50%, #ededed));
  background: -moz-linear-gradient(top, #fff 1%, #f5f5f5 45%, #ededed 50%);
  background: linear-gradient(to bottom, #fff 1%, #f5f5f5 45%, #ededed 50%);

}

/* 画面下部のWIN5リンクボタン */
.sentakuWin5Link a {
  color: #000;

  /* フォント */
  font-size: 1.3rem;
  font-weight: bold;

  text-align: center;

  /* 文字装飾 */
  text-decoration: none;

  /* 空白・改行の扱い */
  white-space: nowrap;

}

.sentakuWin5Link img {
  width: 39px;
  height: 16px;
  vertical-align: middle;
}

/*win5ロゴ+レース番号*/
.sentakuWin5LogoImg {
  width: 43px;
  float: right;
}

/*レース映像セル*/
.sentakuVideoTd {
  text-align: right;
  padding: 3px 2px 0 2px;
  border-spacing: 0;
  background: #eee;
  font-size: 1.3rem;
  white-space: nowrap;
  vertical-align: middle;
}

.sentakuVideoimg{
  width: 37px;
  height: 30px;
}

/* グレードアイコン */
img.sentakuGradeIcon {
  width: 22px;
  height: 11px;
  vertical-align: -10%;
}

/* 払戻金一覧ボタンがない場合のスペース */
div.spaceDiv {
  padding-top: 4px;
}

/*===========================================================================================================*/
/*ここよりレース結果画面用(レース結果一覧画面でも使用)   */
/*===========================================================================================================*/

img.umakigo {
  width: 14px;
  height: 14px;
  vertical-align: -7%;
}

img.kekkaWin5Logo {
  width: 60px;
  vertical-align: -30%;
  max-width: initial;
}

#kekkaRaceInfo {
  margin: 0px;
}

/* レース名 */
h3.titleBox {
  font-weight: bold;
  font-size: 1.6rem;
  width: 100%;
  height: 38px;
  margin: 0;
  background: -moz-linear-gradient(top, #fff, #edeccd);
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#edeccd));
  background: linear-gradient(to bottom, #fff, #edeccd);
}

h3.titleBox span {
  display: inline-block;
}

span.titleRaceNo {
  padding: 10px 0 0 6px;
  height:30px;
}

span.titleRaceName {
  padding: 10px 0 0 2px;
  height:30px;
}

span.titleRaceNameNormal {
  padding: 12px 0 0 2px;
  font-size: 1.3rem;
  height:30px;
  vertical-align:10%;
}

#kekkaRaceInfo .kekkaRaceJoken {
  line-height: 120%;
  /*font-size: 11px;*/
  font-size: 1.3rem;
  padding-top: 3px;
  padding-left: 5px;
}

/* グレードアイコン */
img.kekkaGradeIcon {
  width: 22px;
  height: 11px;
  vertical-align: 1%;
}

/* 映像リンクボタン〜出馬表、オッズボタン表示エリア */
div.kekkaLinkBtnsArea {
  margin: 0;
  padding:0 2px;
  display: flex;
  justify-content: flex-end;
}

ul.kekkaLinkBtnsArea {
  padding: 0 5px 0;
  max-height: 30px;
  min-height: 30px;
}

/* 出馬表、オッズボタン */
a.nonImgBtn {
  /* テーブルのセルとして表示 */
  display: table-cell;

  /* サイズ */
  min-width: 34px;
  max-height: 30px;
  
  padding-left: 1px;
  padding-right: 1px;

  /* 角丸 */
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;

  /* 背景 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #3a3aaa), color-stop(45%, #3030a0) , color-stop(50%, #229));
  background: -moz-linear-gradient(top, #3a3aaa 1%, #3030a0 45%, #229 50%);
  background: linear-gradient(to bottom, #3a3aaa 1%, #3030a0 45%, #229 50%);

  /* フォント */
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;

  /* 空白・改行の扱い */
  white-space: nowrap;

  line-height: 30px;
}

/* SSI画像ボタンセル */
li.imgBtnTd {
  display: table-cell; 
  line-height: 10px;
  width: 41px;
  padding: 0 1px;
  margin: 0;
  border-spacing: 0;
}

/* 出馬表、オッズボタンセル */
li.NoImgBtnTd {
  display: table-cell; 
  line-height: 30px;
  width: 44px;
  padding: 0;
  margin: 0;
  border-spacing: 0;
}

/*レース結果メインテーブル*/
.kekkaTbl {
  padding: 0 5px 0;
  margin: 2px 0 0 0;
}

.kekkaTbl table {
  font-size: 1.2rem;
  color: #222;
  width: 100%;
}

.kekkaTbl table tr td {
  padding: 2px;
  border: 1px solid #999;
}

.kekkaTbl table th {
  line-height: 11pt;
  padding: 2px;
  border: 1px solid #999;
  background: #D9D9B0;
  font-weight: bold;
  vertical-align: middle;
}

.kekkaTbl table th.tyakuTh {
  text-align: center;
  width: 9%;
}

.kekkaTbl table th.wakuTh {
  text-align: center;
  width: 5%;
}

.kekkaTbl table th.ubanTh {
  text-align: center;
  width: 7%;
}

.kekkaTbl table th.umaTh {
  text-align: left;
  width: 79%;
}

.kekkaTbl table td a {
  display: inline;
  text-decoration: none;
}

.kekkaTbl table td.tyakuTd {
  line-height: 15pt;
  font-weight: bold;
  font-size: 1.3rem;
  text-align: center;
  background: #fff;
  width: 5%;
  vertical-align: middle;
}

.kekkaTbl table td.wakuTd {
  text-align: center;
  width: 5%;
  vertical-align: middle;
}

.kekkaTbl table td.ubanTd {
  line-height: 15pt;
  text-align: center;
  background: #EDEDDA;
  width: 5%;
  vertical-align: middle;
}

.kekkaTbl table td.ubanTd.keshi {
  color: #D20000;
}

.kekkaTbl table td.umaTd {
  /*white-space: nowrap;*/
  text-align: left;
  background: #fff;
}

.kekkaTbl table span {
  font-size: 1.3rem;
  line-height: 120%;
}

.kekkaTbl table span.bamei {
  font-size: 1.6rem;
}

.kekkaTbl table span.ninki {
  float: right;
}

/*タイム*/
.kekkaTime {
  margin: 15px  0 0 0;
  padding: 0 5px 0;
}

.kekkaTime span {
  line-height: 20px;
}

caption.timeTitle {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: left;
}

.kekkaTime table {
  width: 100%;
  border: 1px solid #cdcdcd;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.3rem;
}

.kekkaTime table th {
  border: 1px solid #cdcdcd;
  background: #edeccd;
  font-weight: normal;
  padding: 2px;
  text-align: left;
  width: 25%;
  vertical-align: middle;
  white-space: nowrap;
}

.kekkaTime table td {
  border: 1px solid #cdcdcd;
  padding: 2px;
  font-size: 1.2rem;
  width: 75%;
}

/*コーナー通過順位*/
.kekkaCorner {
  margin: 15px 0 0;
  padding: 0 5px;
}

.kekkaCorner span {
  line-height: 20px;
}

span.cornerTitle {
  font-size: 1.3rem;
  font-weight: bold;
}

.kekkaCorner ul {
  display: table;
  width: 100%;
  font-size: 1.3rem;
}

.kekkaCorner li {
  border: 1px solid #cdcdcd;
  line-height: 16px;
}

.kekkaCorner li.corner {
  padding: 0 0 1px 2px;
  background: #edeccd;
  height: 18px;
}

.kekkaCorner li.ctj {
  padding: 2px;
  font-size: 1.2rem;
  border-top: none;
  border-bottom: none;
}

.kekkaCorner li.ctj:nth-last-child(1) {
  border-bottom: 1px solid #cdcdcd;;
}

.kekkaCorner strong {
  font-weight: bold;
  color: #D20000;
}

/*払戻金*/
.kekkaHaraimodoshi {
  margin: 15px  0 0 0;
  padding: 0 5px 0;
}

.kekkaHaraimodoshi span {
  line-height: 20px;
}

.haraimodoshiTitle {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: left;
}

.kekkaHaraimodoshi table {
  width: 100%;
  border: 1px solid #cdcdcd;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.3rem;
}

.kekkaHaraimodoshi table th {
  border: 1px solid #cdcdcd;
  background: #edeccd;
  font-weight: normal;
  padding: 5px 1px;
  text-align: center;
  width: 15%;
  vertical-align: middle;
}

.kekkaHaraimodoshi table td {
  padding: 0 2px;
  border: 1px solid #cdcdcd;
  line-height: 18px;
  vertical-align: middle;
}

.kekkaHaraimodoshi table td.horseNum {
  width: 23%;
  text-align: center;
}

.kekkaHaraimodoshi table td.dividend {
  width: 35%;
  text-align: right;
}

.kekkaHaraimodoshi table td.popular {
  width: 27%;
  text-align: right;
}

.kekkaHaraimodoshi table td.haraimodoshiTop {
  border-top: 1px solid #cdcdcd;
  border-bottom: 0;
  border-left: 1px solid #cdcdcd;
  border-right: 1px solid #cdcdcd;
}


.kekkaHaraimodoshi table td.haraimodoshiMiddle {
  border-top: 0;
  border-bottom: 0;
  border-left: 1px solid #cdcdcd;
  border-right: 1px solid #cdcdcd;
}



.kekkaHaraimodoshi table td.haraimodoshiBottom {
  border-top: 0;
  border-bottom: 1px solid #cdcdcd;
  border-left: 1px solid #cdcdcd;
  border-right: 1px solid #cdcdcd;
}


/*返還情報*/
.kekkaHenkan {
  margin: 15px 0 0;
  padding: 0 5px;
}

.kekkaHenkan ul {
  display: table;
  width: 100%;
  border: 1px solid #cdcdcd;
  border-collapse: collapse;
}

.kekkaHenkan li {
  display: table-cell;
  border: 1px solid #cdcdcd;
  line-height: 16px;
}

.kekkaHenkan li.cell_title {
  width: 15%;
  background: #edeccd;
  padding: 5px 1px;
  text-align: center;
}

.kekkaHenkan li.cell_data {
  width: 85%;
  padding: 5px;
  color: #D20000;
}

/* 勝馬プロフィール */
.horse_prof_main {
  margin: 15px 0 0;
  padding: 0 5px;
}

span.winProfTitle {
  font-size: 1.3rem;
  font-weight: bold;
}

div.winProfTable {
  margin-top: 1px;
  border: 1px solid #999;
  border-collapse: collapse;
}

ul.winProfHeader {
  padding: 3px 2px 2px;
  background: #737373;
  color: #fff;
  text-align: left;
  line-height: 115%;
  font-weight: bold;
}

span.win_bamei {
  display: inline;
  font-size: 1.3rem;
}

span.win_bdy {
  font-size: 75%;
  white-space: nowrap;
}

span.win_age {
  font-size: 90%;
  padding-left: 0.5em;
  white-space: nowrap;
}

ul.prof_item {
  display: flex;
  margin-top: 3px;
  padding: 0 0 1px 5px;
  font-size: 90%;
}

ul.prof_item > li.cell_title { white-space: nowrap; }

/* 競走中の出来事 */
.kekkaKiji {
  margin: 15px 0 0 0;
  padding: 0 5px 0;
}

.kekkaKiji span {
  line-height: 20px;
}

span.kijiTitle {
  font-size: 1.3rem;
  font-weight: bold;
}

.kijiArea{
  background: #fff;
  border: 1px solid #cdcdcd;
}

.kijiArea ul {
  width: 95%;
  margin : 0 0 0 1.5em;
  list-style: disc outside;
  font-size: 1.2rem;
  line-height: 130%;
}

img.brincar {
  width: 14px;
  height: 14px;
}

/* ゴール前写真 */
.race_photo_area {
    margin-top: 20px; /* スマホ向けに調整 */
}

.race_photo_area ul {
    padding: 0;
    list-style: none;
}

.race_photo_area li {
    position: relative;
    text-align: center;
    overflow: hidden;
    max-width: 100%; /* スマホの画面幅に合わせる */
}

.race_photo_area span {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
}

.race_photo_area img {
    max-width: 100%;
    height: auto;
    border: 0;
}

/*===========================================================================================================*/
/*ここより過去レース結果検索画面用   */
/*===========================================================================================================*/
#kakorace {
  padding-bottom: 15px;
}

#kakorace table {
  margin: 0 auto;
  text-align: center;
}


#kensakukekka {
  padding-bottom: 15px;
}


.kakoMain {
  padding: 5px 0 5px 0;
}

.kakoMain table {
  margin: 0 auto;
}

.kakoMain table.kakoKensakuAreaTbl {
  border-spacing: 7px;
}

.kakoMain table.kakoKensakuAreaTbl td{
  font-size: 1.6rem;
}

.kakoMain table.kakoNengetuAreaTbl {
  width: 95%;
  height: 25px;
  padding: 0 5px 0;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: center;
}

/* 年月ボタンの真ん中の年月セル（リンクなし） */
div.negetuCells {
  line-height: 25px;
  
  /* 中枠 */
  padding: 3px 0;
  margin: 0 1px;

  /* 枠線 */
  border-style: solid;
  border-width: 1px;
  border-color: #ccc #999 #999 #ccc;

  /* 背景 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #EEE8AA), color-stop(45%, #EEE8AA) , color-stop(90%, #BDB76B));
  background: -moz-linear-gradient(top, #EEE8AA 1%, #EEE8AA 45%, #BDB76B 90%);
  background: linear-gradient(to bottom, #EEE8AA 1%, #EEE8AA 45%, #BDB76B 90%);

  /* フォント */
  color: #000;
  font-size: 1.3rem;
  text-align: center;

  text-decoration: none;

  /* 空白・改行の扱い */
  white-space: nowrap;
}

/* 年月ボタンの空白セル用 */
.kakoMain table.kakoNengetuAreaTbl div.emptyCells {
  min-width: 44px;
  visibility: hidden;
}

/* 年月ボタンの「前月」「前年」「翌年」「翌月」ボタン用 */
.kakoMain table.kakoNengetuAreaTbl a {
  line-height: 25px;
  min-width: 44px;
  
  /* 中枠 */
  padding: 3px 0;
  margin: 0 1px;

  /* 枠線 */
  border-style: solid;
  border-width: 1px;
  border-color: #ccc #999 #999 #ccc;

  /* 背景 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #DCDCDC), color-stop(45%, #D3D3D3) , color-stop(90%, #C0C0C0));
  background: -moz-linear-gradient(top, #DCDCDC 1%, #D3D3D3 45%, #C0C0C0 90%);
  background: linear-gradient(to bottom, #DCDCDC 1%, #D3D3D3 45%, #C0C0C0 90%);

  /* フォント */
  color: #000;
  font-size: 1.3rem;
  text-align: center;

  text-decoration: none;
}

.kakoMain .kakoKekkaAreaTbl {
  height: 30px;
  margin: 0;
  padding: 0 10px;
}

.kakoMain .kakoKekkaAreaTbl a {
  line-height: 30px;
  /*background: #fff;*/
  color: #00f;
  text-indent: 5px;
  text-decoration: none;
}

a.kensakuBtn {
  width: 62px;
  height: 33px;
  line-height: 25px;

  margin: 10px auto 10px;
  padding: 3px 0;

  border-style: solid;
  border-width: 1px;
  border-color: #888 #555 #555 #888;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #7f7f7f), color-stop(45%, #4c4c4c) , color-stop(50%, #191919));
  background: -moz-linear-gradient(top, #7f7f7f 1%, #4c4c4c 45%, #191919 50%);
  background: linear-gradient(to bottom, #7f7f7f 1%, #4c4c4c 45%, #191919 50%);

  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  text-align: center;
}

.noDataMsg {
  width: 95%;
  padding: 0 5px;
  font-size: 1.6rem;
}

/* 検索結果の開催日ごとの区切り線 */
.kugiri{
  margin: 0;
  width:100%;
  border-top: 4px solid #b2d09d; 
}

/* 年・月選択リスト */
.nengestuList {
  min-width: 50px;
  min-height: 30px;
  font-size: 1.6rem;
}

/* 重賞レース名 */
span.kakoRaceName {
  font-size: 1.8rem;
}

/* グレードアイコン */
img.kakoGradeIcon {
  width: 22px;
  height: 11px;
  vertical-align: 5%;
}

/* 検索結果の余白調整（開催日が変わる前に余白を追加） */
div.kakoSpace {
  height: 2px;
}

/* 検索結果の背景色設定（奇数用） */
div.kakoOddBack {
  background-color: #fff;
}

/* 検索結果の背景色設定（偶数用） */
div.kakoEvenBack {
  background-color: #fff;
}

/*===========================================================================================================*/
/*ここよりレース結果一覧画面用   */
/*===========================================================================================================*/
div.pageTopLink {
  text-align: right;
  padding: 0.5rem 0 1.0rem;
}

.pageTopLink a {
  display: inline;
  padding-right: 3px; 
  font-size: 1.2rem;
  text-decoration: none;
}

div[id^="kekkaRaceInfo_"] {
  margin: 0px;
}

div[id^="kekkaRaceInfo_"] .kekkaRaceJoken {
  line-height: 120%;
  font-size: 1.3rem;
  padding-top: 3px;
  padding-left: 5px;
}

.raceSelectArea.fixed {
    background: none;
    min-height: 73px;
}

.raceSelectArea.fixed > .inner {
    position: fixed;
    width: 100%;
    z-index: 500;
    top: 98px;
    left: 0;
    background-color: #FFF;
    padding: 0 1px;
}
