@charset "UTF-8";
/* コンテンツここから */
/*---------------------------
  0. 共通
  1. note.html
    1.1 レース別メモ
    1.2 登録モーダル  .MemoInputModal
    1.3 上書きモーダル
    1.4 レース別メモ 記入フォーム
    1.5 ラップタイム
  2. note_past5.html
  3. 出馬表 競走馬モーダル
    3.1 一行メモ
---------------------------*/
/*======================================
共通
======================================*/
.NoteLabel {
  padding: 5px 8px;
  border-radius: 1em;
  font-weight: bold;
  color: #fff;
  text-align: center;
  font-size: 0.6875rem;
}
.NoteLabel.bk01 {
  background-color: #699EE6;
}
.NoteLabel.bk02 {
  background-color: #E6918F;
}
.NoteLabel.bk03 {
  background-color: #6A7291;
}
.NoteIcon {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  line-height: 0;
  font-size: 0;
  border-radius: 23px;
  background-color: #CACACA;
  color: transparent;
  padding: 0;
  border: none;
  outline: none;
  z-index: 10;
  padding: 0;
  cursor: pointer;
  pointer-events: none;
}
.NoteIcon::before {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0;
  right: 2px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  left: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  background: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.New_Comment .NoteIcon::before, .New_Comment .NoteIcon::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 2px;
  height: 12px;
  background-color: #fff;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
.New_Comment .NoteIcon::before {
  -webkit-transform: inherit;
          transform: inherit;
  border-top: none;
  border-right: none;
}
.New_Comment .NoteIcon::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

@media screen and (max-width: 540px) {
  .NoteLabel {
    padding: 1.33333vw 2.13333vw;
    font-size: 11px;
    font-size: 2.93333vw;
  }
  .New_Comment .NoteIcon::before, .New_Comment .NoteIcon::after {
    width: 0.53333vw;
    height: 3.2vw;
  }
}

/*-- 枠色 --*/
.Waku1 {
  background: #fff;
}
.Waku2 {
  background: #222;
  color: #fff;
}
.Waku3 {
  background: #dc3c3c;
  color: #fff;
}
.Waku4 {
  background: #2c53a9;
  color: #fff;
}
.Waku5 {
  background: #e4ca3b;
  color: #fff;
}
.Waku6 {
  background: #58af4a;
  color: #fff;
}
.Waku7 {
  background: #de8a26;
  color: #fff;
}
.Waku8 {
  background: #dc6179;
  color: #fff;
}

/*======================================
1. レース別メモ note.html
======================================*/
#Netkeiba_Race_Nar_Result .NoteTable_Container {
  padding: 0;
}
#Netkeiba_Race_Nar_Result #sp_nk_race_kekka {
  margin: 30px auto 30px!important;
}

.NoteTable_Container {
  padding: 10px 0 40px;
}
.NoteTable_Container .NoteBtn03 {
  display: block;
  min-width: 107px;
  color: #444;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid #BFBFBF;
  background: #fff;
  line-height: 2.16;
  border-radius: 2em;
  cursor: pointer;
}
.Note_Table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.Note_Table td {
  border: 1px solid #DADADA;
  vertical-align: middle;
}
.Note_Table .Horse_Name {
  padding: 11px 5px;
  min-width: 146px;
  font-size: 0.875rem;
  color: #666666;
  font-weight: bold;
}
.Note_Table .Comment {
  position: relative;
  min-width: 210px;
  padding: 5px 5px;
}
.Note_Table .Comment a {
  display: block;
}
.Note_Table .Comment .New_Comment .Comment_Text {
  margin-left: 28px;
  color: #C1C1C1;
}
.Note_Table .Comment .New_Comment .NoteIcon {
  right: auto;
  left: 5px;
  bottom: 7px;
}
.Note_Table .Comment .New_Comment .NoteIcon::before, .Note_Table .Comment .New_Comment .NoteIcon::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 2px;
  height: 12px;
  background-color: #fff;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.Note_Table .Comment .New_Comment .NoteIcon::before {
  -webkit-transform: inherit;
          transform: inherit;
  border-top: none;
  border-right: none;
}

.Note_Table .Comment .New_Comment .NoteIcon::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.Note_Table .Comment .NoteIcon {
  bottom: 5px;
  right: 10px;
}

.Note_Table .Comment .NoteLabel_Inner {
  display: block;
}

.Note_Table .Comment .NoteLabel {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 3px;
}

.Note_Table .Comment .Comment_Text {
  padding-right: 25px;
  line-height: 1.56;
  font-size: 0.875rem;
  color: #444;
  overflow-wrap: anywhere;
}

.Note_Table [class*="Waku"], .Stable_Time [class*="Waku"] {
  min-width: 21px;
  vertical-align: middle;
  padding: 0 1px;
  text-align: center;
  letter-spacing: -1px;
  margin-bottom: 10px;
  font-size: 0.8125rem;
}

@media screen and (max-width: 540px) {
  .Note_Table [class*="Waku"], .Stable_Time [class*="Waku"] {
    min-width: auto;
    width: 5.6vw;
    padding: 0 0.26667vw;
  }
  .Note_Table .Horse_Name {
    width: 38.93333vw;
    min-width: auto;
    font-size: 14px;
    font-size: 3.73333vw;
  }
  .Note_Table .Comment {
    padding: 1.33333vw 1.33333vw;
    min-width: auto;
    width: 56vw;
  }
  .Note_Table .Comment .Comment_Text {
    padding-right: 5.8666666667vw;
    font-size: 14px;
    font-size: 3.73333vw;
  }
  .Note_Table .Comment .NoteLabel {
    margin-right: 1.33333vw;
  }
  .Note_Table .Comment .NoteIcon {
    bottom: 1.33333vw;
    right: 2.66667vw;
    width: 5.86667vw;
    height: 5.86667vw;
  }
  .Note_Table .Comment .NoteIcon::before {
    width: 1.6vw;
    height: 1.6vw;
  }
  .Note_Table .Comment .New_Comment .Comment_Text {
    margin-left: 7.46667vw;
  }
  .Note_Table .Comment .New_Comment .NoteIcon::before, .Note_Table .Comment .New_Comment .NoteIcon::after {
    width: 0.53333vw;
    height: 3.2vw;
  }
}

.MoreBtn_Inenr {
  position: relative;
  margin-top: 10px;
  z-index: 10;
}

.MoreBtn_Inenr::before {
  display: block;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  height: 80px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.9)), color-stop(50%, rgba(255, 255, 255, 0.9)), to(#fff));
  background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.9) 50%, #fff 100%);
  content: "";
}

.MoreBtn {
  display: block;
  width: 49%;
  min-width: 142px;
  margin: 0 auto;
  position: relative;
  color: #666;
  font-size: 61%;
  text-align: center;
  border: 1px solid #DADADA;
  background: #fff;
  border-radius: 1.27em;
  line-height: 2.55;
}
.MoreBtn::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: none;
  border-top: 2px solid #888;
  border-right: 2px solid #888;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: 12px;
  margin-top: -5px;
}

.MoreBtn .Icon_ArrowB {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: none;
  border-top: 2px solid #888;
  border-right: 2px solid #888;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: 12px;
  margin-top: -5px;
}

.MoreBtn02 {
  display: block;
  width: 78%;
  min-width: 142px;
  margin: 0 auto;
  position: relative;
  color: #666;
  font-size: 61%;
  text-align: center;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 1.27em;
  line-height: 2.55;
}

.MoreBtn02 .icon_Read01 {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-left: 13px;
  width: 11px;
  height: 12px;
  background: url("../img/icon_sprite_column.png") no-repeat;
  background-size: 70px auto;
  background-position: -26px -96px;
}

/*最初の隠しボタン*/
.NoteForm_Button {
  display: block;
  min-width: 142px;
  width: 95%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  color: #444;
  font-size: 14px;
  text-align: center;
  border: 1px solid #C8C8C8;
  background: #fff;
  border-radius: 4px;
  line-height: 2.7;
  cursor: pointer;
}
.NoteForm_Button_Text {
  margin-top: 5px;
  text-align: center;
  color: #6B6B6B;
  font-size: 11px;
}

/*---------------------------------
登録モーダル  .MemoInputModal
---------------------------------*/
.BetAddInputModal .ModalPopupInner01 .AplHeader_Wrap {
  height: 44px;
}

.BetAddInputModal .ModalPopupInner01 .AplHeader {
  top: 0;
  height: 44px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #d3d7d9;
}

.BetAddInputModal .AplHeader .Close_Link {
  display: block;
  height: 44px;
  top: 0;
  right: 15px;
  left: auto;
}

.BetAddInputModal .AplHeader .Close_Link .Icon_Close {
  display: inline-block;
  width: 44px;
  height: 44px;
}

.BetAddInputModal .AplHeader .Close_Link .Icon_Close:before,
.BetAddInputModal .AplHeader .Close_Link .Icon_Close:after {
  width: 20px;
  top: 21px;
  left: 11px;
}

body .Wrap.ViewOut {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative !important;
  top: 0!important;
  left: 0;
}

footer.ViewOut {
  opacity: 0;
}

.ModalOverlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 7200;
  -webkit-transition: opacity 0.7s, -webkit-transform 0s 0.5s;
  transition: opacity 0.7s, -webkit-transform 0s 0.5s;
  transition: opacity 0.7s, transform 0s 0.5s;
  transition: opacity 0.7s, transform 0s 0.5s, -webkit-transform 0s 0.5s;
}

.BetAddInputModal {
  background-color: #fff;
  width: 100%;
  max-width: 480px;
  padding-bottom: 20px;
  position: fixed;
  top: 200%;
  left: 50%;
  margin: 0;
  z-index: 7500;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
  -webkit-transition: all .4s;
  transition: all .4s;
}

.BetAddInputModal.OpenDraw {
  top: 10%;
  bottom: 0;
  -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
}

.ModalCloseBtn01 {
  position: absolute;
  left: 50%;
  bottom: -50px;
  width: 35px;
  height: 35px;
  margin-left: -13px;
  text-indent: 200%;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.MemoInputModal .Title_Sec {
  margin: 21px 10px;
}

.AddIframe {
  width: 100%;
  position: absolute;
  top: 44px;
  bottom: 0;
}

.AddIframe iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.CompModal {
  position: fixed;
  top: 200%;
  left: 50%;
  z-index: 7500;
  display: none;
  width: calc(100% - 20px);
  max-width: 480px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
  -webkit-transition: all .4s;
  transition: all .4s;
  border-radius: 4px;
  -webkit-animation: all .8s;
          animation: all .8s;
  opacity: 0;
}

.CompModal.OpenDraw {
  display: block;
  top: auto;
  bottom: 10px;
  -webkit-animation: fadeShow 125ms 250ms cubic-bezier(0.4, 0, 0.23, 1) forwards;
          animation: fadeShow 125ms 250ms cubic-bezier(0.4, 0, 0.23, 1) forwards;
}

/*-- チェックアニメーション --*/
@-webkit-keyframes fadeShow {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeShow {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.CompModal .CompTxt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 77.78%;
  padding: 0 10px;
  height: 40px;
}

.CompModal a {
  color: #fff;
  text-decoration: underline;
}

@media only screen and (min-width: 768px) {
  .BetAddInputModal {
    border-radius: 20px;
    min-height: 80vh;
  }
  .BetAddInputModal.OpenDraw {
    top: 50%;
    bottom: auto;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
  }
  .BetAddInputModal .AplHeader .Close_Link {
    right: 25px;
  }
  .BetAddInputModal .AplHeader .Close_Link .Icon_Close:before,
  .BetAddInputModal .AplHeader .Close_Link .Icon_Close:after {
    height: 2px;
    left: 15px;
  }
}

/*--------------------------
上書きモーダル
--------------------------*/
#ModalBg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 9000;
}

.default_popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 95%;
  max-height: 95%;
  overflow-y: auto;
  max-width: 355px;
  z-index: 9001;
  background: #fff;
  -webkit-transform: translate(-50%, -50%);
  /* Safari用 */
  transform: translate(-50%, -50%);
  border-radius: 10px;
  color: #444;
}

.default_popup .popUpHead {
  position: relative;
  padding: 37px 25px 26px;
  font-size: 1.125rem;
  line-height: 1.55;
}

.default_popup .popUpBody {
  padding: 0 56px 37px;
  font-size: 0.9375rem;
}

@media screen and (max-width: 540px) {
  .default_popup .popUpBody {
    padding: 0 14.93333vw 9.86667vw;
  }
}

.default_popup .popUpBody strong {
  display: block;
  margin-bottom: 10px;
}

.popUpButton_Inner {
  margin-bottom: 35px;
  text-align: center;
}

.popUpButton_Inner .popUpButton {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 5px;
  font-size: 1.125rem;
  padding: 8px 0px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
}

.popUpButton_Inner .popUpButton.Cancel_Btn02 {
  width: 133px;
  background-color: #E9E9E9;
  color: #333333;
}

.popUpButton_Inner .popUpButton.Save_Btn {
  width: 98px;
  margin-left: 10px;
  background-color: #3150BB;
  color: #fff;
  font-weight: bold;
}

/*======================================
レース別メモ 記入フォーム
======================================*/
.NoteForm_Cont input {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.NoteForm_Cont input[type=checkbox] {
  display: none;
}

.NoteForm_Head {
  margin: 0 14px 18px;
}

.NoteForm_Head .Race_Day {
  font-size: 0.8125rem;
  color: #666;
}

.NoteForm_Head .Race_Place {
  font-size: 0.8125rem;
  color: #666;
}

.NoteForm_Head .Race_R {
  font-size: 0.8125rem;
  color: #666;
}

.NoteForm_Head .Race_Name {
  font-size: 1rem;
  font-weight: bold;
  color: #444;
}

.NoteCheck_Inner {
  margin-bottom: 10px;
  padding-left: 13px;
  white-space: normal;
}

.NoteCheck_Label {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 10px;
  border-radius: 12px;
  font-size: 0.875rem;
  background-color: #E9E9E9;
  vertical-align: middle;
  cursor: pointer;
}

.NoteCheck_Label.bk01,
.NoteCheck_Label.bk02,
.NoteCheck_Label.bk03 {
  padding: 5px 7px;
  color: #444;
}

.SelectedHorse {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

.Horse_Note_Modal .NoteCheck_Label.bk01,
.SelectedHorse .NoteCheck_Label.bk01 {
  padding: 5px 15px 5px 27px;
  font-weight: bold;
}

.Horse_Note_Modal .NoteCheck_Label.bk01::before,
.SelectedHorse .NoteCheck_Label.bk01::before {
  position: absolute;
  top: 50%;
  left: 9px;
  display: block;
  margin-top: -7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #888888;
  border-bottom: 2px solid #888888;
  border-radius: 1px;
  content: '';
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.Horse_Note_Modal .NoteCheck:checked + .NoteCheck_Label.bk01:before,
.SelectedHorse .NoteCheck:checked + .NoteCheck_Label.bk01:before {
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.Horse_Note_Modal .NoteCheck:checked + .bk01,
.SelectedHorse .NoteCheck:checked + .bk01 {
  background-color: #3951B5;
}

.NoteCheck:checked + .bk01 {
  background-color: #699EE6;
  color: #fff;
  font-weight: bold;
}

.NoteCheck:checked + .bk02 {
  background-color: #E4918E;
  color: #fff;
  font-weight: bold;
}

.NoteCheck:checked + .bk03 {
  background-color: #6A7291;
  color: #fff;
  font-weight: bold;
}

.NoteTextarea_Inner {
  position: relative;
  padding: 0 10px;
}

.NoteTextarea {
  width: 100%;
  height: 180px;
  padding: 13px 15px;
  line-height: 1.44;
  border: solid 1px #CACACA;
  border-radius: 4px;
  color: #444444;
  font-size: 1.0625rem;
}

.NoteTextarea:focus-visible {
  outline: 1px solid #3251BC;
}

.Counter_Text {
  position: absolute;
  bottom: 17px;
  left: 14px;
  color: #444444;
  font-size: 0.8125rem;
}

.Counter_Text.Error {
  color: #EF5350;
}

.NoteButton_Inner {
  margin-top: 18px;
  text-align: right;
}

.NoteButton_Inner .NoteBtn01 {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  margin: 0;
  border-radius: 5px;
  font-size: 0.875rem;
  padding: 5px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
}

.NoteButton_Inner .NoteBtn01.Cancel_Btn01 {
  width: 102px;
  background-color: #E9E9E9;
  color: #333333;
}

.NoteButton_Inner .NoteBtn01.Save_Btn {
  margin-left: 10px;
  width: 76px;
  background-color: #3150BB;
  color: #fff;
  font-weight: bold;
}

/*ラップタイム*/
.Note_ResultBox.Race_ResultBox {
  padding: 10px 0 10px 10px;
}

.Note_ResultBox .RaceCommon_Table {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-y: hidden;
}

.Note_ResultBox .RaceCommon_Table.Race_HaronTime tr td {
  padding: 9px 34px 7px;
}

/*======================================
2.出馬表 メモ機能 note_past5.html
======================================*/
body#Netkeiba_Race_Shutuba .Wrap {
  overflow: visible;
}
.Shutuba_Table .HorseList > dd + div + dd {
  border-left: 1px solid #E3E5EB;
}

.Shutuba_Table .Cancel {
  text-align: left;
  background-color: #F3F3F3;
}
.Shutuba_Table .HorseList.Cancel > dt + dt{
  margin-left: -0.5px;
}


ul.RaceInfo_Tab02_v2 li {
  position: relative;
}

ul.RaceInfo_Tab02_v2 li.NaviAlert::after {
  position: absolute;
  content: "";
  display: block;
  right: 3px;
  left: auto;
  top: -3px;
  border-radius: 1em;
  width: 8px;
  height: 8px;
  background: #DD5E56;
}

.TableHorizontal .Shutuba_Note_Table .HorseList > dd {
  text-align: left;
  font-weight: 300;
}

.TableHorizontal .Header dt {
  padding: 5px 1px;
  font-weight: 300;
  height: 64px;
}

.TableHorizontal .Header .HorseWaku {
  position: sticky;
  position: -webkit-sticky;
  position: sticky;
  left: -1px;
  text-align: center;
  z-index: 50;
}

.TableHorizontal .Header .HorseName_Stick,
.TableHorizontal .Shutuba_Table .HorseList [class*="HorseName_Stick"]{
  display: none;
  position: -webkit-sticky;
  position: sticky;
  left: 18px!important;
  z-index: 50;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.TableHorizontal  .HorseList .HorseName_Stick{
  font-size: 0.6875rem !important;
}
.TableHorizontal .Header .HorseName_Stick.stickyCol,
.TableHorizontal .Shutuba_Table .HorseList [class*="HorseName_Stick"].stickyCol{
  display: flex;
}
.TableHorizontal .HorseList .HorseName_Stick a {
  color: #fff;
}
.TableHorizontal .HorseList .HorseName_Stick.Waku a, 
.TableHorizontal .HorseList .HorseName_Stick.Waku1 a{
  color: #555;
}

.TableHorizontal .Header .Horse_Name {
  padding: 12px 5px;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
}

.TableHorizontal .Header .Horse_Memo {
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  padding: 5px 5px 6px 5px;
}

.TableHorizontal .Header .Horse_Memo .Memo_Item02 {
  display: block;
  font-weight: 600;
}

.TableHorizontal .Header .Race_Memo {
  display: table;
  text-align: left;
}

.TableHorizontal .Header .Race_Memo .Memo_Item01 {
  display: block;
  padding: 2px 5px 17px;
  font-size: 0.9375rem;
}

.TableHorizontal .Header .Race_Memo .Memo_Item02 {
  display: block;
  padding: 0 0 0 5px;
  font-weight: 600;
  font-size: 0.8125rem;
}

.TableHorizontal .Shutuba_Note_Table .Header .Past {
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  padding: 5px 6px 6px 5px;
  font-weight: 600;
}

.Shutuba_Note_Table .Horse_Comment {
  position: relative;
}
.Shutuba_Note_Table .Horse_Comment::before {
  content: "";
  border-bottom: 1.6em solid transparent;
  border-right: 1.6em solid #D6FFA2;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.Shutuba_Note_Table .Horse_Comment .NoteIcon {
  bottom: 5px;
  right: 8px;
}
.Shutuba_Note_Table .Horse_Comment.New_Comment::before {
  content: none;
}
.Shutuba_Note_Table .Horse_Comment.New_Comment .Horse_Comment_Text {
  color: #DADADA;
  text-indent: initial;
}
.Shutuba_Note_Table .Horse_Comment.New_Comment .Horse_Comment_Text::before {
  content: none;
}

.Shutuba_Note_Table .Horse_Comment a {
  display: block;
  height: 100%;
  padding: 5px 8px 5px 8px;
}

.Shutuba_Note_Table .Horse_Comment_Text {
  /* display: block; */
  position: relative;
  line-height: 1.44;
  font-size: 0.9375rem;
  color: #444;
  white-space: initial;
  /* text-indent: 1.1em; */
  /* overflow-wrap: anywhere; */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow-wrap: break-word;
}
.Shutuba_Note_Table .Horse_Comment_Text::before {
  background: url("../img/icon/icon_note.png") no-repeat;
  background-size: contain;
  content: "";
  width: 13px;
  height: 16px;
  display: inline-block;
  margin-right: 3px;
  position: relative;
  top: 1px;
}

.Shutuba_Note_Table .HorseCheckBtn {
  width: 37px;
  height: 37px;
  border-radius: 4px;
}

.Shutuba_Note_Table .Shutuba_Table_Btn01 {
  font-weight: 300;
}

.TableHorizontal .Shutuba_Note_Table .HorseList .Horse_Info {
  white-space: initial;
}
.TableHorizontal .Shutuba_Note_Table .HorseList .Horse_Info .Icon_Note {
  display: inline-block;
  margin-bottom: 10px;
}

/*出馬表*/
.Shutuba_Note_Table .HorseList > dd {
  text-align: left;
}

.Shutuba_Note_Table .Horse_Info .Favorite {
  display: inline;
  /* position: absolute;
  top: 1px;
  right: 5px; */
}

.Shutuba_Note_Table .Horse_Info .Favorite.disp_none {
  display: none;
}

.Shutuba_Note_Table .Horse_Info .Favorite a::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 14px;
  background-image: url(../img/icon/icon_fav01.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center 0;
}

.Shutuba_Note_Table .Horse_Info .Favorite a span {
  display: inline-block;
  width: 15px;
  height: 12px;
  text-indent: 40px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.Shutuba_Note_Table .Horse_Info .Horse01_a {
  /* max-width: 9em; */
  white-space: inherit;
  font-size: 1rem;
}

.Shutuba_Note_Table .Horse_Info .Horse01_a > .Mark {
  display: inline-block;
  font-size: 13px;
  color: #fff;
  background: #111;
  border-radius: 50%;
  text-align: center;
  margin-left: 2px;
  line-height: 17px;
  width: 17px;
  height: 17px;
  position: relative;
  top: -1px;
}

.Shutuba_Note_Table .Horse_Info .Horse02_a {
  margin-bottom: 10px;
}

.Shutuba_Note_Table .Horse_Info .Horse02_a span {
  color: #777;
  font-size: 0.6875rem;
  font-weight: 600;
}

.Shutuba_Note_Table .Horse_Info .Horse03_a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.Shutuba_Note_Table .Horse_Info .Horse03_a .Num01 {
  font-size: 0.6875rem;
  color: #777;
}

.Shutuba_Note_Table .Horse_Info .Horse03_a .Num02 {
  font-size: 0.75rem;
  color: #555;
  font-weight: 600;
}

.Shutuba_Note_Table .Race_Note {
  position: relative;
  padding: 6px 7px;
  text-align: left;
}

/* .Shutuba_Note_Table .Race_Note.DataLine_Now {
  border-right: 3px solid #555;
} */
.Shutuba_Note_Table .Race_Note.DataLine_Now::after {
  background: #555;
  content: "";
  display: block;
  width: 3px;
  height: 90%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.Shutuba_Note_Table .Race_Note .DataLine {
  position: relative;
  height: 67px;
}

.Shutuba_Note_Table .Race_Note .Data01 {
  margin-bottom: 5px;
  display: block;
  color: #666666;
  font-size: 0.8125rem;
}

.Shutuba_Note_Table .Race_Note .Data02 {
  display: inline-block;
  margin-bottom: 5px;
  margin-right: 5px;
  color: #444444;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 187px;
}

.Shutuba_Note_Table .Race_Note .Data03 {
  margin-bottom: 7px;
  display: block;
  color: #666666;
  font-size: 0.8125rem;
}

.Shutuba_Note_Table .Race_Note .Data04 .Num {
  position: relative;
  /* top: -2px; */
  top: -10px;
  display: inline-block;
  background: #e3ebf0;
  border: 1px solid #b2b2b2;
  padding: 2px 0;
  width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #666666;
}

.Shutuba_Note_Table .Race_Note .Data04 .Num.Ranking_1 {
  background: #ffef84 !important;
  border: 1px solid #ccB834 !important;
}

.Shutuba_Note_Table .Race_Note .Data04 .Num.Ranking_2 {
  background: #d8f6ff !important;
  border: 1px solid #6aacce !important;
}

.Shutuba_Note_Table .Race_Note .Data04 .Num.Ranking_3 {
  background: #ffd4d4 !important;
  border: 1px solid #ff9494 !important;
}

.Shutuba_Note_Table .Race_Note .NoteLabel {
  position: absolute;
  right: 7px;
  top: -3px;
  padding: 4px 8px;
  font-size: 0.625rem;
}

.Shutuba_Note_Table .Race_Note .Race_Note_Inner {
  position: relative;
  height: 45px;
}
.Shutuba_Note_Table .Race_Note .Race_Note_Inner::before {
  content: "";
  border-bottom: 1.6em solid transparent;
  border-right: 1.6em solid #D6FFA2;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: -7px;
  /* margin-top: -66px; */
  margin-top: -73px;
  z-index: 2;
}
.Shutuba_Note_Table .Race_Note .Race_Note_Inner.New_Comment::before {
  content: none;
}
.Shutuba_Note_Table .Race_Note .Race_Note_Inner.New_Comment .Race_Note_Text {
  color: #DADADA;
  text-indent: initial;
}
.Shutuba_Note_Table .Race_Note .Race_Note_Inner.New_Comment .Race_Note_Text::before {
  content: none;
}
.Shutuba_Note_Table .Race_Note .Race_Note_Inner a {
  display: block;
  height: 100%;
  white-space: initial;
}

.Shutuba_Note_Table .Race_Note .Race_Note_Inner .NoteIcon {
  bottom: -2px;
  right: 0px;
}

.Shutuba_Note_Table .Race_Note .Race_Note_Text {
  /* display: block; */
  position: relative;
  color: #444444;
  line-height: 1.46;
  font-size: 0.9375rem;
  /* overflow-wrap: anywhere; */
  /* text-indent: 1.1em; */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: break-word;
}
.Shutuba_Note_Table .Race_Note .Race_Note_Text::before {
  background: url("../img/icon/icon_note.png") no-repeat;
  background-size: contain;
  content: "";
  width: 13px;
  height: 16px;
  display: inline-block;
  margin-right: 3px;
  position: relative;
  top: 1px;
}

/*ラベルある時のアイコン・フラッグ処理*/
.TableHorizontal .Shutuba_Note_Table .HorseList > dd:has(.NoteLabel) .Race_Note_Inner::before {
  content: "";
}
.TableHorizontal .Shutuba_Note_Table .HorseList > dd:has(.NoteLabel) .Race_Note_Text::before {
  content: "";
}
.TableHorizontal .Shutuba_Note_Table .HorseList > dd:has(.NoteLabel) .Race_Note_Inner.New_Comment .Race_Note_Text {
  text-indent: 1.1em;
}

.Shutuba_Note_Table .HorseList .Rest {
  line-height: 1.4;
  min-width: 168px;
}

.Shutuba_Note_Table .HorseList .Rest > span {
  margin: 0;
  display: block;
  line-height: 1.3;
  font-size: 12px;
}

.Shutuba_Note_Table .HorseList .Rest > span:nth-child(1) {
  white-space: normal;
  font-size: 14px;
}


/* ========== 選んだ馬のオッズを見る崩れ修正 ======== */
.Shutuba_Form_Footer.Phase01_Btn {
  margin: 15px 20px 0;
}
button.SubmitBtn.Type_B:before {
  content: none;
}


/*======================================
3. 出馬表 競走馬モーダル
======================================*/
.AplHeader {
  position: relative;
  z-index: 0;
}

/*一行メモ*/
.Horse_Note_Box {
  position: relative;
  margin: 0 10px 0;
  background-color: #F3F3F3;
  border-radius: 4px;
  font-size: 0.9375rem;
}

.Horse_Note_Box.All_Text a {
  pointer-events: all;
}
.Horse_Note_Box.All_Text a .Note_Text {
  display: block;
}
.Horse_Note_Box.All_Text .NoteIcon::after {
  transform: translateX(-50%) rotate(45deg);
}

.Horse_Note_Box a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 43px;
  padding: 14px 35px 14px 18px;
  color: #444;
  pointer-events: none;
}

.Horse_Note_Box a .Note_Text {
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow-wrap: break-word;
  line-height: 1.2;
}

.Horse_Note_Box a .NoteLabel {
  position: inherit;
  display: inline-block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 10px;
  flex-shrink: 0;
}

.Horse_Note_Box a .NoteLabel + .NoteLabel {
  display: none;
}

.Horse_Note_Box .NoteIcon {
  background-color: transparent;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 20px;
}

.Horse_Note_Box .NoteIcon::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 2%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #888;
  border-right: 1px solid #888;
  -webkit-transform: translateX(-50%) rotate(135deg);
  transform: translateX(-50%) rotate(135deg);
  pointer-events: none;
}

.Horse_Note_Box .NoteIcon::before {
  border: none;
}

.Horse_Note_Box.New_Comment .NoteIcon {
  background-color: #CACACA;
  right: 3%;
}

.Horse_Note_Box.New_Comment .NoteIcon::before, .Horse_Note_Box.New_Comment .NoteIcon::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 2px;
  height: 12px;
  background-color: #fff;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.Horse_Note_Box.New_Comment .NoteIcon::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  border: none;
}

.Horse_Note_Box.New_Comment a {
  color: #C1C1C1;
}

.Horse_Note_Box.Label_All .NoteLabel + .NoteLabel {
  display: block;
}

/*タブメニュー 4カラム調節*/
.Tab01 ul.Tab_Col4 li:nth-of-type(4n) {
  border-bottom: 1px solid #888;
  margin-bottom: -1px;
}
.Tab01 ul {
  background-color: #DDDDDD
}


.Note_TitleBtn {
  position: relative;
  display: block;
  padding-left: 20px;
  min-width: 116px;
  color: #888;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid #BFBFBF;
  background: #fff;
  line-height: 2.16;
  border-radius: 2em;
  cursor: pointer;
}
.Note_TitleBtn::before {
  background: url("../img//icon/icon_note.png") no-repeat;
  content: "";
  display: block;
  width: 13px;
  height: 16px;
  position: absolute;
  background-size: contain;
  top: 14%;
  left: 13%;
}


@media screen and (max-width: 540px) {
  .Horse_Note_Box {
    font-size: 15px;
    font-size: 4vw;
  }
  .Horse_Note_Box a {
    padding: 3.73333vw 9.33333vw 3.73333vw 4.8vw;
  }
  .Horse_Note_Box a .NoteLabel {
    margin-right: 2.66667vw;
  }
  .Horse_Note_Box.New_Comment .NoteIcon {
    right: 3%;
  }
}



/* =================================================_======
■競走馬詳細　調教タイム
　共通
======================================================= */
.Unit_Race .RaseDetail {
  position: relative;
  padding: 10px 11px;
  background-color: #eaeaea;
  border-top: 1px solid #cacaca;
  border-bottom: 1px solid #cacaca;
}
.Unit_Race > ul > li.DB_Stable_Time + li.DB_Stable_Time{
  margin-top:60px;
}
.Unit_Race .RaseDetail dl dt {
  font-size: 88.89%;
}
.Unit_Race .RaseDetail dl dt a {
  font-weight: bold;
  line-height: 1.2em;
}
.Unit_Race .RaseDetail dl dt a span{
  position: relative;
  top: 2px;
}
.Unit_Race .RaseDetail dl dd {
  font-size: 61.11%;
  font-weight: bold;
  color: #666666;
  margin-bottom: 6px;
}

/*高額対応追加分*/
.Horse_Note .Unit_Race .RaseDetail dl dt a span {
  top: 0;
}
.Horse_Note .Unit_Race .RaseDetail .NoteLabel_Inner {
  position: absolute;
  top: 0;
  right: 2%;
  margin-top: 10px;
  max-width: calc(100% - 230px);
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.Horse_Note .Unit_Race .RaseDetail .NoteLabel {
  display: inline-block;
}
.Horse_Note .Unit_Race .RaseDetail .NoteLabel + .NoteLabel {
  margin-left: 5px;
}

.Horse_Note .Unit_Race ul li .RaceComment {
  padding: 15px 24px;
}

.Horse_Note .Unit_Race ul li .RaceComment .RaceComment_Text {
  font-size: 1rem;
  line-height: 1.56;
  color: #444;
}


@media screen and (max-width: 540px) {
  .Horse_Note .Unit_Race .RaseDetail dl dd {
    font-size: 11px;
    font-size: 2.93333vw;
  }

  .Horse_Note .Unit_Race .RaseDetail .NoteLabel_Inner {
    margin-top: 1.33333vw;
    /* max-width: none; */
    max-width: 44vw;
  }

  .Horse_Note .Unit_Race .RaseDetail .NoteLabel {
    padding: 1.06667vw 1.86667vw;
    font-size: 10px;
    font-size: 2.66667vw;
  }

  .Horse_Note .Unit_Race .RaseDetail .NoteLabel + .NoteLabel {
    margin-left: 1.06667vw;
  }
}
@media screen and (max-width: 360px) {
  .Horse_Note .Unit_Race .RaseDetail .NoteLabel_Inner {
    max-width: 37.86667vw;
  }
}

/*メモ*/
.Horse_Note .Horse_Note_Box {
  min-height: 43px;
  padding: 14px 35px 14px 18px;
  color: #444;
  line-height: 1.2;
}

.Horse_Note .Title_Sec {
  margin-top: 0;
}

.Horse_Note [id^="UserHorseNote-"] + .Title_Sec{
  margin-top: 40px;
}


/*======================================
ログイン導線 ポップアップ
======================================*/
body#Netkeiba_Race_Nar_Result #cboxOverlay,
body#Netkeiba_Race_Shutuba #cboxOverlay,
body#Netkeiba_Race_Nar_Movie #cboxOverlay {
  background: rgba(0, 0, 0, 0.4);
}
body#Netkeiba_Race_Shutuba #cboxWrapper #cboxClose,
body#Netkeiba_Race_Nar_Movie #cboxWrapper #cboxClose{
  position: absolute;
	top: -3px;
	right: -5px;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}
body#Netkeiba_Race_Shutuba #cboxWrapper #cboxClose::before, #cboxWrapper #cboxClose::after,
body#Netkeiba_Race_Nar_Movie #cboxWrapper #cboxClose::before, #cboxWrapper #cboxClose::after{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 3px;
}
body#Netkeiba_Race_Shutuba #cboxWrapper #cboxClose::before,
body#Netkeiba_Race_Nar_Movie #cboxWrapper #cboxClose::before{
	background-color: #fff;
  border-radius: 3px;
	transform: translate(-50%, -50%) rotate(45deg);
}
body#Netkeiba_Race_Shutuba #cboxWrapper #cboxClose:after,
body#Netkeiba_Race_Nar_Movie #cboxWrapper #cboxClose:after{
	background-color: #fff;
  border-radius: 3px;
	transform: translate(-50%, -50%) rotate(-45deg);
}

body#Netkeiba_Race_Nar_Result #cboxWrapper #cboxLoadedContent,
body#Netkeiba_Race_Shutuba #cboxWrapper #cboxLoadedContent,
body#Netkeiba_Race_Nar_Movie #cboxWrapper #cboxLoadedContent {
	border: none;
	border-radius: 4px;
  margin-top: 28px;
}
body#Netkeiba_Race_Shutuba #cboxWrapper #cboxLoadedContent {
  background-color: #fff;
}

.Front_Title .icon_caution {
  display: inline-block;
    background: url(../img/icon/icon_sprite_db_S.png);
    background-repeat: no-repeat;
    background-size: 55px 1000px;
    background-position: -9px -112px;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: sub;
}
.Bookmark_Popup_Box .Front_Title h2 {
  padding: 8px 10px;
  color: #444
}
.Bookmark_Popup_Box .Popup_Lead {
  padding: 16px 18px 25px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #444
}
.Bookmark_Popup_Box .Popup_Lead02 {
  font-size: 77.78%;
}
.Bookmark_Popup_Box .btn_regist {
  font-size: 15px;
}
.alignR {
  text-align: right;
}

.note_form_limit .Bookmark_Popup_Box {
  height: 270px;
}
.Bookmark_Popup_Box .btn_regist.regist01 {
  background: #7A4AB1;
}
.Bookmark_Popup_Box .btn_regist.regist02 {
  background: #fff;
  border: solid 1px #3251BC;
  color: #3251BC;
}