/*
* Yuma CSS - モバイルファースト
* 基本スタイルはモバイル向けに記述し、PC向けはメディアクエリでオーバーライド
*/

.db button {
  -webkit-tap-highlight-color: transparent; /* タップ時のハイライトを透明にする */
}

:root {
  --db: #0CCDE9;
}
.db .section-title{border-color: var(--db);}

.grade_label{
  display: inline-block;
  margin-left: 5px;
  padding: 0.3em 0.6em 0.1em;
  border-radius: 100px;
  line-height: 1;
  font-size: 0.8em;
  font-family:var(--roboto);
  background-color: var(--main-black);
  color: var(--white);
  font-weight: 500;
  vertical-align: middle;
  line-height: 1.3;
  position: relative;
  top: -1px;
}
.grade_label.g3{background-color: var(--g3);}
.grade_label.g2{background-color: var(--g2);}
.grade_label.g1{background-color: var(--g1);}


/* 系統カラー */
.blood_11300497 {background-color: #fffd9a!important;}/* ニアークティック系 */
.blood_11300917 {background-color: #d0d2ff!important;}/* セントサイモン系 */
.blood_11300980 {background-color: #fbbdb8!important;}/* マンノウォー系*/
.blood_11300493 {background-color: #c0ffc0!important;}/* ナスルーラ系 */
.blood_11300494 {background-color: #c3f9f8!important;}/* ネイティヴダンサー系*/
.blood_11301018 {background-color: #f9cff8!important;}/* ロイヤルチャージャー系 */
.blood_11300912 {background-color: #fee6b3!important;} /* その他エクリプス系 */
.blood_11301098 {background-color: #dcdcdc!important;}/* トゥルビヨン系*/
.bgR {
  background-color: #fff0f0;
}

.bg-1st{background: #fce8ec;}
.bg-2nd{background: #e8f7ff;}
.bg-3rd{background: #fff3dd;}


.db_margin-w-auto{margin: 0 auto; text-align: center;}

.mt20{margin-top: 20px;}
.mb10{margin-bottom: 10px;}
.mt8{margin-top: 8px;}

.db_accordion-content{
display: none;
padding: 20px 0;
}
.db_accordion-header.el_btn_underLine-gray{
  display: block;
  margin: 0 auto;
}


.db .global_container{
  margin-top: 0;
}

.db #tabsNav{
  display: none;
}

.db .nav-item.active::before, .nav-item:hover::before {
  content: none;
}

.db .main-nav{
  border-bottom: none;
}

.db  .sub-nav-item.active{
color: var(--db);
}

.db  .sub-nav-item:hover{
  color: var(--db);
}

.db #sub-nav-indicator_db {
  position: absolute;
  bottom: 0;
  height: 3px;
  background-color: var(--db);
  transition: all 0.3s ease;
}

.db_all-container{
  margin: 15px 0;
}


.db_all-container.indivPage{
  margin-top: 0;
}

.db_innerWrap{
  margin: 0 10px;
}

.db_searchForm{
  width: 100%;
  border:1px solid var(--global-gray-30);
  padding: 8px;
  border-radius: 5px;
}

.db_searchForm::placeholder {
color: var(--global-gray-30);
font-size: 0.9rem;
}

.db_searchOpt-gri{
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-size: 1rem;
  line-height: 1;
  color: var(--global-gray-50);
}

.db_search_radioOpt{
  flex-basis:calc(25% - 12px);
  flex-grow: 1; 
  display:flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  cursor: pointer;
}

.db_search_radioOpt:hover{
  opacity: 0.7;
}

.db_search_radioOpt .item{
  appearance: none;
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid var(--global-gray-30);
  border-radius: 2px;
  cursor: pointer;
}

.db_search_radioOpt .item:checked {
  background-color: var(--db);
  border: 1px solid var(--db);
}

.db_search_radioOpt .item:checked::after {
  content: "";
  position: absolute;
  top: 0.25em;
  left: 0.2em;
  width: 0.7em;
  height: 0.35em;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.el_db_btn_search{
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background: var(--db);
  color: var(--white);
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 1.2rem;
  font-weight: bold;
  width: 100%;
}

.el_db_btn_search:hover{opacity: 0.7;}

.el_db_btn_search .ico img{
  width: 1.2em;
  height: 1.2em;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(21deg) brightness(105%) contrast(103%);
}

.db_detailSearch_wrap{
  margin: 30px 0;
}

.detailSearch_checkTable{
  width: 100%;
  color: var(--global-gray-50);
}

.detailSearch_checkTable th,.detailSearch_checkTable td{
  border: 1px solid var(--global-gray-30);
  padding: 10px;
  box-sizing: border-box;
}

.detailSearch_checkTable th{
  background:#F0FFFD;
  font-size: 0.9rem;
  width: calc(1.8rem + 21px);
  font-weight: normal;
  line-height: 1.4;
}

.detailSearch_checkTable th.checkTable_header{
  background: var(--db);
  border-radius: 5px 5px 0 0;
  font-size: 1.1rem;
  color: var(--white);
  padding: 10px;
  text-align: center;
  border: none;
}

.detailSearch_checkTable .db_searchForm{
  background: var(--global-gray-10);
}

.detailSearch_checkTable .db_searchOpt-gri{
  margin: 10px 0 0;
  justify-content: flex-start;
  align-items: center;
}

.detailSearch_checkTable .db_search_radioOpt{
  flex-basis:auto;
  flex-grow: 0;
}

.detailSearch_pullDown{
  display: inline-flex;
  align-items: center;
  position: relative;
}

.detailSearch_pullDown::after {
  position: absolute;
  right: 8px;
  width: 10px;
  height: 7px;
  background-color: var(--global-gray-50);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
}

.detailSearch_pullDown select {
  appearance: none;
  /* height: 2.8em; */
  padding: 5px 26px 5px 8px;
  border: 1px solid var(--global-gray-30);
  border-radius: 3px;
  background-color: var(--global-gray-10);
  color: var(--global-gray-50);
  font-size: 0.9rem;
  cursor: pointer;
}

.w100 .detailSearch_pullDown{
  width: 100%;
}

.w100 .detailSearch_pullDown select{
  width: 100%;
}

.detailSearch_btn_clear{
  color: var(--global-gray-50);
  border-bottom: 2px solid var(--global-gray-50);
  font-weight: bold;
  padding-bottom: 5px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 auto;
  cursor: pointer;
  top: 8px;
  position: relative;
}

.detailSearch_btn_clear:hover{opacity: 0.7;}

.detailSearch_btn_clear .ico img{
  width: 1em;
  height: auto;
  filter: brightness(0) saturate(100%) invert(48%) sepia(2%) saturate(16%) hue-rotate(15deg) brightness(96%) contrast(85%);
}

.detailSearch_checkTable .el_db_btn_search{margin-top: 25px;}
.db_caption{
  font-size: 0.8rem;
  color: var(--global-gray-50);
  text-align: right;
  margin-top: 8px;
}

a.db_caption{text-decoration: underline; cursor: pointer;}

a.db_caption:hover{opacity: 0.7;}

.el_ttl_db{
    text-align: left;
    margin: 0 10px;
    font-size: 1.4rem;
    border-bottom: 4px solid var(--db);
    padding:8px 0;
    line-height: 1.4;
}

.db_searchResult_wrap{
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap:20px;
}
.db_link{
  color: var(--db);
  text-decoration: underline;
  font-family: var(--roboto);
}

.db_searchResult_section .section-title{
  margin: 0 10px 10px;
}

.db_txt-noResult{
  font-size: 1rem;
  color: var(--global-gray-50);
  margin: 0 10px;
}

.section-title .db_link{
  margin-left: 5px;
}

.db_overflow-x{
  margin-left:10px;
  padding-right: 10px;
  overflow-x: scroll;
}

.db_overflow-x::-webkit-scrollbar{
  width:6px;
  height: 6px;
  border-radius: 100px;
}
.db_overflow-x::-webkit-scrollbar-track{
  background: none;
  border-radius: 100px;
}
.db_overflow-x::-webkit-scrollbar-thumb{
  background: var(--global-gray-20);
  border-radius: 100px;
}

.db_resultList_table{
  table-layout: fixed;
  margin-bottom: 4px;
}

.db_resultList_table th,.db_resultList_table td{
  border: 1px solid var(--global-gray-30);
  padding: 3px;
  text-wrap: nowrap;
  font-size: 0.9rem;
  font-family: var(--roboto);
}

.db_resultList_table thead th{
  font-weight: normal;
  background: var(--db);
  color: var(--white);
}

.db_resultList_table tbody th{
  background: #F0FFFD;
  font-weight: normal;
}

.db_resultList_table a{
  color: var(--blue);
}

.db_resultList_table tbody th.retire{
  background: var(--global-gray-30);
}

.horse-results-table tbody th.retire{
  background: var(--global-gray-30);
}

.db_resultList_table tr:nth-child(2n){
  background: #f7f7f7;
}

.db_searchResult_section .ttl_wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resultNum{
  color: var(--global-gray-50);
  font-size: 0.9rem;
  text-align: right;
  margin-right: 10px;
}

/* ページネーション */
nav.el_db_pager {
  display: flex;
  justify-content: center;
  margin: 15px 10px;
}
.db_pager-list{
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 丸数字・矢印共通 */
.el_db_pager a,
.el_db_pager button,
.el_db_pager span.num {
  width: calc(1em + 20px);
  height: calc(1em + 20px);
  border-radius: 50%;
  font-family: var(--roboto);
  font-size: 1.2rem;
  font-weight: bold;
  border: 1px solid var(--global-gray-50);
  background: var(--white);
  color: var(--global-gray-50);
  display: grid;
  place-items: center;
  text-decoration: none;
  line-height: 1;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
}

/* ホバー */
.el_db_pager a:hover,
.el_db_pager button:hover { opacity: 0.7; }

/* 現在ページ */
.el_db_pager span.num.current {
  background: var(--global-gray-50);
  color: var(--white);
  border:none;
  cursor: default;
}

/* …はそのままテキスト */
.el_db_pager .ellipsis {
  font-size: 1.2rem;
  color: var(--global-gray-50);
  margin: 0 4px;
}

/* 矢印 */
.el_db_pager .arrow {
  background: var(--global-gray-50);
  position: relative;
}

.el_db_pager .arrow::after{
  content: "";
  position: absolute;
  width: 0.7em;
  height: 0.7em;
}

.el_db_pager .arrow.prev::after{
  border-bottom: solid 2px var(--white);
    border-right: solid 2px var(--white);
    transform: rotate(-225deg);
    top: calc(0.35em + 5px);
    left: calc(0.35em + 8px);
    bottom: 0;
}

.el_db_pager .arrow.next::after{
  border-bottom: solid 2px var(--white);
    border-right: solid 2px var(--white);
    transform: rotate(-45deg);
    top: calc(0.35em + 5px);
    right: calc(0.35em + 8px);
    bottom: 0;
}

.db_inPage-navi_wrap{
  display: flex;
  justify-content: center;
  align-items:center;
  gap:10px;
}

.db_inPage-navi_wrap a{
  display: inline-block;
  background: var(--white);
  color: var(--global-gray-50);
  border: 1px solid var(--global-gray-50);
  padding: 8px 15px;
  line-height: 1;
  text-align: center;
  font-size: 0.8rem;
  border-radius: 100px;
}

.db_inPage-navi_wrap a.current{
  background: var(--db);
  color: var(--white);
  border: none;
}

.db_ranking_wrap{
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap:20px;
}

.db_ranking_section .ttl,.db_favorite_section .ttl{
  font-size: 1rem;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--db);
}

.db_ranking_table{
  margin: 8px 0;
  width: 100%;
}

.db_ranking_table thead th,.db_favorite_table thead th{
  border: none;
  font-size: 0.7rem;
  font-weight: normal;
  color: var(--global-gray-50);
  text-align: center;
  padding: 3px;
  white-space: nowrap;
}

.db_ranking_table tbody th,.db_ranking_table tbody td,.db_favorite_table tbody th,.db_favorite_table tbody td{
  border: 1px solid var(--global-gray-30);
  padding: 5px 8px;
  text-align: center;
  font-size: 0.9rem;
}

.db_ranking_table tbody th,.db_favorite_table tbody th{font-weight: normal;}

.db_ranking_table tbody th.top3{
  font-weight: bold;
  font-family: var(--roboto);
  font-size: 1.2rem;
  width: 0;
  white-space: nowrap;
  color: var(--white);
}

.db_ranking_table tbody th.top3.first{
  background: #00A6F4;
}

.db_ranking_table tbody th.top3.second{
  background: #00D3F2;
}

.db_ranking_table tbody th.top3.third{
  background:#91EBF5;
}

.db_ranking_table tbody td.top3{
  font-size: 1rem;
}

.db_ranking_table a{color: var(--blue);}

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

.db_ranking_table tbody td.winsNum{
  text-align: right;
  font-family: var(--roboto);
  font-size: 1rem;
}

.db_ranking_table tbody td.top3.winsNum{
  font-size: 1.1rem;
}

.ranking_moreBtn{
  margin-top: 10px;
}

.ranking_moreBtn .el_btn__radius-fill-gray{
  font-size: 0.9rem;
}

.db_overflow-x .db_ranking_table{
  margin-bottom: 4px;
  padding-right: 10px;
}


.db_overflow-x .db_ranking_table th,.db_overflow-x .db_ranking_table td{
  white-space: nowrap;
}

.db_favorite_table{
  width: 100%;
  margin: 8px 0 5px;
  table-layout: auto;
}

.db_favorite_wrap{
  display: flex;
  flex-direction: column;
  gap:30px;
}

.db_favorite_section .db_caption{
  font-size: 0.7rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.db_favorite_section  .ttl{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.db_favo_searchBtn{
  font-size: 0.8rem;
  line-height: 1;
  font-weight: normal;
  color: var(--db);
  padding: 5px 15px;
  border: 1px solid var(--db);
  background: #F0FFFD;
  border-radius: 5px;
}

.db_favo_searchBtn:hover{opacity: 0.7;}

.db_favorite_table .delete{
  width: 44px;
  max-width: 44px;
}

.db_btn_delete{cursor: pointer;}

.db_btn_delete:hover{opacity: 0.7;}

.db_favorite_table a{color: var(--blue);}

.db_favorite_table .name{
  font-weight: bold;
  font-size: 1rem;
  background: var(--global-gray-10);
  white-space: nowrap;
  text-align: left;
}

.db_favorite_table .name.human{
  width: auto;
  min-width: calc(6rem +  35px);
}

.db_favorite_table .rank{
  width: 0;
  white-space: nowrap;
}

.db_favorite_table .rank span{
  font-size: 70%;
}

.db_favorite_table .result{
  font-size: 0.8rem;
  background: none;
  color: var(--main-black);
  width: 0;
  white-space: nowrap;
}

.db_favorite_table .earn{
  text-align: right;
  font-size: 0.8rem;
  width: 0;
  white-space: nowrap;
}

.db_favorite_table .schedule_th{
  width: 0;
  white-space: nowrap;
  text-align: left;
  color: var(--global-gray-50);
  background: #F0FFFD;
}

.db_favorite_table td.schedule_wrap{
  padding: 0;
}

table.schedule{border: none;}

table.schedule th,table.schedule td{
  border: none;
  font-size: 0.8rem;
  padding:8px;
}

table.schedule th{
  border-right: 1px solid var(--global-gray-30);
}

table.schedule td{
  text-align: left;
}

.db_favorite_table tr.top{
  border-top: 2px solid var(--db);
}

.favorite_moreBtn{
  font-size: 0.9rem;
  padding: 8px 45px 8px 30px;
}

.el_btn__radius-fill-gray.arrow.down,.el_btn__radius-fill-gray.arrow.up{
  padding: 8px 45px 8px 30px;
}

.bl_db_entryHorse-mail_wrap{
  margin: 20px auto 0;
  max-width: 500px;
}

.db_entryHorse-mail_box{
  border: 2px solid var(--red);
  border-radius: 5px;
  padding: 10px;
  max-width: 500px;
}

.db_entryHorse-mail_box .ttl{
  color: var(--red);
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
  display: block;
  border: none;
  padding: 0;
}

.db_entryHorse-mail_box .caption{
  text-align: center;
  font-size: 0.8rem;
  margin-top: 5px;
}

.entryh-mail_wrap{
  margin: 8px auto;
  text-align: center;
}

.entryh-mail_wrap select{
  -webkit-appearance: none;
  appearance: none; /* デフォルトの矢印を非表示 */
  border: none;
  background: none;
  color: var(--global-gray-50);
  outline: none;
  width: 100%;
}

.entryh-mail_wrap select::-ms-expand {
  display: none; /* デフォルトの矢印を非表示(IE用) */
}

.entryh-mail_wrap .select_wrap{
  position: relative;
  color: var(--global-gray-50);
  font-size: 0.9rem;
  padding:5px 8px;
  background: #F0FFFD;
  border: 1px solid var(--global-gray-30);
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  min-width: calc(10em + 16px);
  text-align: left;
}

.entryh-mail_wrap .select_wrap:hover{opacity: 0.7;}

.entryh-mail_wrap .select_wrap::after{
  display: block;
  content: "";
  position: absolute;
  top:calc(8px + 0.4em);
  right: 8px;
  border-right: 0.4em solid transparent;
  border-left: 0.4em solid transparent;
  border-top: 0.4em solid var(--global-gray-50);
  border-bottom: 0;
  pointer-events: none;
}

.entryh-mail_wrap .entryh-mail_btn{
  padding: 9px 15px;
  border-radius: 5px;
  background: var(--global-gray-50);
  color: var(--white);
  position: relative;
  font-size: 0.9rem;
  line-height: 1;
  padding-right: calc(16px + 0.5em);
}

.entryh-mail_wrap .entryh-mail_btn:hover{opacity: 0.7;}

.entryh-mail_wrap .entryh-mail_btn::after{
  content: "";
  width: 0.5em;
  height: 0.5em;
  border: 0;
  border-bottom: solid 1px var(--white);
  border-right: solid 1px var(--white);
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  right: 8px;
  bottom: 0;
  margin: auto;
}

.db_completeTxt{
  color: #00c19c;
  font-size: 0.8rem;
  text-align: center;
}

.db_completeTxt .ico{
  display: inline-block;
    height: 1em;
    width: 1em;
    margin-right: 3px;
    position: relative;
    top: 0.15rem;
}

.db_completeTxt .ico img{
  display: inline-block;
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(47%) sepia(94%) saturate(1250%) hue-rotate(132deg) brightness(98%) contrast(101%);
}

.bl_db_favo_searchRec-wrap{
  margin: 15px auto;
}

.searchRec_ttl{
  font-size: 1.1rem;
  text-align: center;
  font-weight: bold;
}

.searchRec_subTxt{
  font-size: 0.8rem;
  text-align: center;
  margin-top: 5px;
}

.searchRec_formWrap{
  margin: 15px auto;
  max-width: 500px;
}

.searchRec__formInner{
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.searchRec_form__ttl{
  text-align: center;
  color: var(--db);
  font-size: 1rem;
}

.searchRec__formInput{
  font-size: 0.9rem;
    padding: 8px;
    border-radius: 3px;
    background: #F0FFFD;
    line-height: 1.5;
    border: 1px solid var(--global-gray-30);
    color: var(--main-black);
    flex-grow: 1;
}

.searchRec__formInput::placeholder{
  color: var(--global-gray-30);
}

.searchRec__formBtn{
  flex-shrink: 0;
  font-size: 0.9rem;
  padding: 9px 15px;
  background: var(--db);
  color: var(--white);
  border-radius: 3px;
  display: flex;
  gap:3px;
  align-items: center;
  justify-content: center;
}

.searchRec__formBtn:hover{opacity: 0.7;}

.searchRec__formBtn .ico img {
  width: 1.2em;
  height: 1.2em;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(21deg) brightness(105%) contrast(103%);
}

/* 削除確認モーダルのスタイル */
.delete-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.delete-confirm-overlay.show, .search-confirm-overlay.show{
  display: flex;
  opacity: 1;
}

.delete-confirm-modal {
  background: white;
  border-radius: 16px;
  padding: 32px 24px 24px;
  max-width: 320px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.delete-confirm-overlay.show .delete-confirm-modal {
  transform: scale(1);
}

.modal-close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-close-button:hover {
  background-color: #f5f5f5;
}

.delete-confirm-content {
  text-align: center;
  margin-bottom: 20px;
}

.delete-confirm-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

.delete-confirm-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirm-delete-button,
.cancel-delete-button {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.confirm-delete-button {
  background-color: #ff4444;
  color: white;
  order: 1;
}

.confirm-delete-button:hover {
  background-color: #e63939;
  transform: translateY(-1px);
}

.cancel-delete-button {
  background-color: #f5f5f5;
  color: #666;
  order: 2;
}

.cancel-delete-button:hover {
  background-color: #e9e9e9;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .delete-confirm-modal {
      width: 95%;
      margin: 20px;
  }
}

/* 削除完了モーダルのスタイル */
.delete-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.delete-success-overlay.show {
  display: flex;
  opacity: 1;
}

.delete-success-modal {
  background: white;
  border-radius: 16px;
  padding: 32px 24px 24px;
  max-width: 320px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.delete-success-overlay.show .delete-success-modal {
  transform: scale(1);
}

.delete-success-content {
  text-align: center;
  margin-bottom: 24px;
}

.delete-success-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.delete-success-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.success-ok-button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #4CAF50;
  color: white;
}

.success-ok-button:hover {
  background-color: #45a049;
  transform: translateY(-1px);
}

.aiKaime_deleteBox{
margin-top: 15px;
}

.deleteBox_ttl{
color: var(--db);
font-size: 1.2rem;
font-weight: bold;
padding: 5px 10px;
text-align: center;
width: 100%;
}


.aiKaime_deleteBox .searchRec__formInput{
  width: 100%;
}

.aiKaime_deleteBox .searchRec__formBtn{
  width: 100%;
}

.aiKaime_deleteBox .searchRec__formInner{
  flex-direction: column;
  gap: 8px;
}

.db_searchParts_wrap{
  width: 100%;
}

.db_searchParts-btn{
  width: 100%;
  background: var(--db);
  color: var(--white);
  font-size: 1.1rem;
  padding: 7px 15px;
  text-align: left;
  display: flex;
  gap: 5px;
  align-items: center;
  position: relative;
}

.db_searchParts-btn:hover{opacity: 0.7;}

.db_searchParts-btn.down::after{
  content: "";
  position: absolute;
  width: 0.7em;
  height: 0.7em;
  border: 0;
  border-bottom: solid 2px var(--white);
  border-right: solid 2px var(--white);
  transform: rotate(45deg);
  position: absolute;
  top: -0.3em;
  right: 15px;
  bottom: 0;
  margin: auto;
}

.db_searchParts-btn.up::after{
  content: "";
  position: absolute;
  width: 0.7em;
  height: 0.7em;
  border: 0;
  border-bottom: solid 2px var(--white);
  border-right: solid 2px var(--white);
  transform: rotate(225deg);
  position: absolute;
  top: 0.3em;
  right: 15px;
  bottom: 0;
  margin: auto;
}

.db_searchParts-btn .ico img{
  width: 1.2em;
    height: 1.2em;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(21deg) brightness(105%) contrast(103%);
}

.db_searchParts-content{
  border-bottom: 1px solid var(--global-gray-30);
}

.db_indivPage_header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 2px solid var(--db);
}

.indivH_nameWrap{
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.indivH_horseName{
  display: flex;
  gap: 5px;
  font-size: 1.3rem;
}

.db_indivPage_header .favorite {
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border-radius: 50%;
  border: 1px solid var(--global-gray-30);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
}

.db_indivPage_header .favorite:hover{
  opacity: 0.7;
}

.db_indivPage_header .favorite:active {
	transform: translateY(1px);
  }

.db_indivPage_header .favorite img{
  width: 20px;
  height: 20px;
}

.indivH_horseName .uniform img{
  width: 30px;
  height: auto;
}

.indivH_horseName_caption{
  font-size: 0.8rem;
  color: var(--global-gray-50);
}

.db_indivPage_navigation{
  background: var(--global-gray-10);
  padding: 8px;
}

.db_indivPage_navigation .db_inPage-navi_wrap a{
  color: var(--global-gray-30);
  border: 1px solid var(--global-gray-30);
}

.db_indivPage_navigation .db_inPage-navi_wrap a.current{
    color: var(--white);
    border: none;
}

.db_indivPage_container{
  display: flex;
  flex-direction: column;
  gap:20px;
  margin: 15px 0;
}

.indiv_nextRace__box{
  border: 1px solid var(--global-gray-30);
  border-radius: 5px;
  padding: 8px;
}

.nextRace_horseNum{
  font-family: var(--roboto);
  font-weight: bold;
  text-align: center;
  padding: 5px;
  line-height: 1;
  font-size: 1.3rem;
  width: calc(1.5rem + 10px);
  height: calc(1.5rem + 10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.indiv_basic-data__table{
  color: var(--global-gray-50);
  font-size: 0.9rem;
  width: 100%;
}

.indiv_basic-data__table a{
  color: var(--blue);
}

.indiv_basic-data__table th,.indiv_basic-data__table td{
  border: 1px solid var(--global-gray-30);
  padding: 5px 8px;
}

.indiv_basic-data__table td{
  border-left: none;
}

.indiv_basic-data__table th{
  border-right: none;
  background: var(--db);
  color: var(--white);
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
}

.HorseBloodTable{
  width: 100%;
  border: 1px solid var(--global-gray-30);
  font-size: 10px;
  line-height: 120%;
}

.HorseBloodTable a{color: var(--blue);}

.HorseBloodTable td, .HorseBloodTable th {
  padding: .2em .4em;
  text-align: left;
  vertical-align: middle;
  border-bottom: solid 1px var(--global-gray-30);
  border-right: solid 1px var(--global-gray-30);
}

#indiv_result-data .section-title{margin-bottom: 10px;}

.result_1year__header{
  background: var(--db);
  color: var(--white);
  text-align: center;
  font-family: var(--roboto);
  font-weight: bold;
  padding: 5px;
  line-height: 1;
  font-size: 1.1rem;
}

.result_1race{
  border-bottom: 1px solid var(--global-gray-30);
  padding: 10px;
}

.result_1race .upper-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.result_1race .rank {
  border: 2px solid var(--global-gray-30);
  padding: 0.1rem 0.6rem;
  font-size: 1.1rem;
  font-weight: bold;
  vertical-align: middle;
  border-radius: 5px;
  background: #FFFFFF;
  width: calc(1.1rem + 1.2rem);
  height:  calc(1.1rem + 1.2rem);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--main-black);
}
.result_1race .day {
  font-size: 0.8rem;
  line-height: 1.4;
}
.result_1race .race-name {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.result_1race .lower-row {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  align-items: center;
}

.result_1race .lap-box {
  display: flex;
  align-items: center;
  gap: 5px;
}

.result_1race .lap {
  padding: 0.1rem 0.2rem;
  max-width: 80px;
  background: #FFFFFF;
  text-align: center;
  font-size: 0.8rem;
  margin: 3px 0;
  border: 1px solid var(--global-gray-30);
}

.horse-results-box h4 {
  font-size: 0.9rem;
  padding-bottom: 5px;
  font-weight: normal;
}

.horse-results-box-2rows {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.horse-results-box-2rows div {
  width: 100%;
}

.horse-results-box{
  padding: 10px 0 10px;
}

.horse-results-box.pt0{
  padding-top: 0;
}

.horse-results-table{
  width: 100%;
    border: 1px solid var(--global-gray-30);
}

.horse-results-table th {
  padding: 0.5rem;
  background: #F0FFFD;
  color: var(--global-gray-50);
  border-right: 1px solid var(--global-gray-30);
  border-top: 1px solid var(--global-gray-30);
  font-weight: normal;
  font-size: 0.9rem;
  width: 42%;
  white-space: nowrap;
}

.horse-results-table th:last-of-type {
  border-right: 1px solid var(--global-gray-30);
}

.horse-results-table td {
  padding: 0.5rem;
  border: 1px solid var(--global-gray-30);
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  white-space: nowrap;
}

.horse-results-table.one-row{
  table-layout: fixed;
}

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

.horse-results-table thead th{
  background: var(--db);
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.3rem 0.1rem;
  width: 0;
  white-space: nowrap;
}

/* 枠番 色*/
.horse-results-table .waku1 {
  background-color: #FFFFFF;
  color: #000000;
}
.horse-results-table .waku2 {
  background-color: #000000;
  color: #FFFFFF;
}
.horse-results-table .waku3 {
  background-color: #FF2B2B;
  color: #FFFFFF;
}
.horse-results-table .waku4 {
  background-color: #2B66FF;
  color: #FFFFFF;
}
.horse-results-table .waku5 {
  background-color: #FFFF2B;
  color: #000000;
}
.horse-results-table .waku6 {
  background-color: #2BFF2B;
  color: #000000;
}
.horse-results-table .waku7, .waku7{
  background-color: #FF8C00;
  color: #FFFFFF;
}
.horse-results-table .waku8, .waku8{
  background-color: #FF66CC;
  color: #FFFFFF;
}

.indivP_personName_caption{
  font-size: 0.8rem;
  color: var(--global-gray-50);
}
.indivP_personName{
  font-size: 1.4rem;
  display: flex;
  gap: 8px;
  align-items: center;
}

.indivP_personName .post{
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--white);
  background: var(--db);
  line-height: 1;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.indivP_personName .sub{
  font-size: 0.9rem;
  font-weight: 600;
}

.post.jky{
background: #FF637E;
}

.post.trnr{
  background:#FFA726;
}

.db_jky_rideSched{
  display: flex;
  gap:10px;
  flex-wrap: wrap;
}

.db_jky_rideSched .unit{
  border-radius: 5px;
  border: 1px solid var(--global-gray-30);
  box-sizing: border-box;
  width: calc((100% - 20px) / 3);
}

.db_jky_rideSched .unit .date_wrap{
  background: var(--global-gray-10);
  padding: 8px;
  border-bottom: 1px solid var(--global-gray-30);
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.db_jky_rideSched .unit .date_wrap .raceTtl-box__numWrap{
  border-radius: 5px;
}

.db_jky_rideSched .unit .date_wrap .raceTtl-box__numWrap .place{
  line-height: 1.2;
}

.db_jky_rideSched .unit .date_wrap .raceTtl-box__numWrap{
  width: calc(1.1rem + 16px);
}

.db_jky_rideSched .unit .date_wrap .rideNum{
  font-family: var(--roboto);
  font-weight: bold;
  color: var(--global-gray-50);
  font-size: 1.4rem;
  line-height: 1;
  text-align: center;
}

.db_jky_rideSched .unit .date_wrap .rideNum .date{
  font-weight: normal;
  font-size: 0.8rem;
  line-height: 1.7;
}

.db_jky_rideSched .unit .date_wrap .rideNum .kura{
  font-size: 0.75em;
  font-weight: 600;
  margin-left: 2px;
}

.link_wrap{
  padding:8px;
  border-radius: 0 0 5px 5px;
 display: flex;
 justify-content: center;
 align-items: center;
}

.link_wrap a{
  color: var(--blue);
  font-size: 0.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:3px;
}

.link_wrap a .arrow{
position: relative;
width: 0.6em;
height: 0.6em;
}

.link_wrap a .arrow::after{
  content: "";
  width: 0.6em;
    height: 0.6em;
    border: 0;
    border-bottom: solid 2px var(--blue);
    border-right: solid 2px var(--blue);
    transform: rotate(-45deg);
    position: absolute;
    top: 0.1em;
    right: 0;
    bottom: 0;
    margin: auto;
}

.horse-results-table.jky-result td{
  text-align: right;
  font-family: var(--roboto);
  font-size: 1rem;
}

.db_inPage-navi_wrap.schedule a {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: none;
  color: var(--main-black);
  padding: 10px 15px;
  line-height: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  font-family: var(--roboto);
  border-radius:5px;
}

.db_inPage-navi_wrap.schedule a.current{
  background: var(--menuBar-100);
}

.db_inPage-navi_wrap.schedule a .week {
  background-color: #ffebee;
  color: #FF5A34;
  border-radius: 100px;
  font-size: 0.6em;
  line-height: 1;
  width: calc(0.6em + 12px);
  height: calc(0.6em + 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2em;
}

.db_inPage-navi_wrap.schedule a .week.sat {
  background-color: #def2ff;
  color: #3471ff;
}

.db_indivPage_navigation.schedule {
  background: var(--global-gray-20);
}

.db_entrySchedList__wrap{
  padding:15px 8px;
  background: var(--global-gray-10);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entrySched_race{
  background: var(--white);
  border: 1px solid var(--global-gray-30);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
}

.entrySched_race .left{
  display: flex;
  align-items: center;
  gap: 8px;
}


.entrySched_race .left .detail{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entrySched_race .left .detail .name{
  display: flex;
  gap: 5px;
  align-items: center;
}

.entrySched_race .left .detail .name a{
  color: var(--blue);
  font-weight: bold;
  font-size: 1.1rem;
}

.entrySched_race .left .detail .caption{
  font-size: 0.8rem;
  color: var(--global-gray-50);
  line-height: 1;
  display: flex;
  gap: 8px;
  align-items: center;
}

.entrySched_race .left .detail .caption .ninki{
  color: var(--red);
}

.entrySched_race__resultNum{
  font-family: var(--roboto);
  font-weight: bold;
  border: 1px solid var(--global-gray-30);
  border-radius: 3px;
  padding: 5px;
  font-size:1.2rem;
  width: calc(2.3rem + 12px);
  height: calc(2.3rem + 12px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--global-gray-50);
}

.entrySched_race__resultNum .chaku{
  font-size: 70%;
  font-weight: 600;
}

.db_todayRecovery-rate{
  margin: 20px 10px;
  max-width: 500px;
}

.db_todayRecovery-rate .horse-results-table th{
  font-size: 0.9rem;
}

.db_todayRecovery-rate .horse-results-table td{
  font-family: var(--roboto);
  font-weight: bold;
  font-size: 1.2rem;
}

.db_todayRecovery-rate .horse-results-table tr:nth-child(odd){
  background: none;
}

.db_header__byYear-result{
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.db_header__byYear-result .section-title{
  margin-bottom: 0;
  line-height: calc(1.5em + 6px);
}

.db_header__byYear-result .detailSearch_pullDown select{
  background: var(--white);
  padding-right: 46px;
}

.jkyResurlt_1day__header{
  background: var(--global-gray-10);
  padding: 8px;
  color: var(--global-gray-50);
  font-weight: normal;
  font-size: 0.8rem;
}

.jkyResurlt_1day__header .dow{
  padding: 2px 8px;
  color: var(--white);
  background: var(--red);
  font-size: 1em;
  line-height: 1;
  margin-right: 8px;
}

.jkyResurlt_1day__header .dow.sat{
  background: #155DFC;
}

.result_1race .rank_rate{
  color: var(--global-gray-50);
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.result_1race .inner{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.result_1race .course{
  font-weight: bold;
  font-size: 0.8rem;
}

.result_1race .lower-row{
  gap: 5px;
  flex-wrap: wrap;
}

.result_1race .nextRace_horseNum{
  font-size: 0.8rem;
  padding: 4px;
  width: calc(0.8rem + 8px);
  height: calc(0.88rem + 8px);
}

.horse-results-table.affiliation{
  table-layout: auto;
}

.horse-results-table a{
  color: var(--blue);
}

.horse-results-table.affiliation th a{
  font-weight: bold;
}

table td.min{
  width: 0;
  white-space: nowrap;
}

.horse-results-table td.text-right{
  text-align: right;
}

.db_indivP_horseList__navi{
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 10px;
  max-width: 500px;
}

.db_horseList__stateWrap{
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--global-gray-50);
  align-items: center;
}

.db_horseList__stateWrap .db_search_radioOpt{
  flex-basis:auto;
  flex-grow:0 ;
}

.db_horseList__sortWrap{
  display: flex;
  border: 1px solid var(--menuBar-100);
  font-size: 0.9rem;
  color: var(--menuBar-100);
  border-radius: 5px;
  box-sizing: border-box;
}

.db_horseList__sortWrap button{
  width: 50%;
  padding: 8px;
  text-align: center;
  box-sizing: border-box;
}

.db_horseList__sortWrap button.current{
  background: var(--menuBar-100);
  color: var(--white);
}

.db_horseList__sortWrap button:first-child{
  border-right: 1px solid var(--menuBar-100);
  border-radius: 4px 0 0 4px;
}

.db_horseList__sortWrap button:last-child{
  border-radius: 0 4px 4px 0;
}


/* PC表示用のレスポンシブスタイル (768px〜) */
@media (min-width: 768px) {
  
  .ranking_moreBtn .el_btn__radius-fill-gray{
    padding: 8px 45px 8px 30px;
  }

  .db_searchForm{
    padding:15px;
  }

  .el_db_btn_search{
    padding: 10px 20px;
  }

  .db .global_container{
    margin-top: 30px;
  }

  .db_overflow-x{
    overflow-x: visible;
  }

  .db_searchResult_wrap{
    gap:30px;
  }

  .db_ranking_wrap{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 20px;
  }

  .db_ranking_wrap .db_ranking_section{
    width: calc(50% - 10px);
  }

  .db  .sub-nav-item{
    font-size: 1rem;
  }

  .horse-results-box h4{
    font-size: 1rem;
  }

  .horse-results-table thead th {
    font-size: 0.9rem;
}
.horse-results-table th {
  font-size: 1rem;
}

  .horse-results-table td{
    font-size: 1rem;
  }

  .indiv_basic-data__table{
    font-size: 1rem;
  }

  .HorseBloodTable{
    font-size: 0.8rem;
    line-height:1.4;
  }

  .HorseBloodTable td, .HorseBloodTable th {
    padding: 8px;
  }

  .result_1year__header {
    padding: 8px;
    line-height: 1;
    font-size: 1.2rem;
}

.db_jky_rideSched .unit .date_wrap .raceTtl-box__numWrap{
  width: calc(2.4rem + 16px);
  height: calc(2.4rem + 16px);
}

.db_jky_rideSched .unit .date_wrap .rideNum .date {
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.5;
}

.db_jky_rideSched .unit .date_wrap .rideNum {
  font-size: 1.6rem;
  line-height: 1;
}

.link_wrap {
  padding: 10px;
}

.link_wrap a {
  font-size: 1rem;
}

.db_entrySchedList__wrap{
  margin: 20px auto;
  max-width: 500px;
  border-radius: 8px;
  padding: 15px;
}

.db_inPage-navi_wrap.schedule a{
  font-size: 1.2rem;
}

.db_todayRecovery-rate{
  margin: 20px auto;
  max-width: 500px;
}

.db_indivP_horseList__navi{
  margin: 0 auto 10px;
  }

  .db_horseList__stateWrap{
    justify-content: center;
  }

  .jkyResurlt_1day__header{
    font-size: 1rem;
  }

  .result_1race .race-name .name{
    font-size: 1.1rem;
  }

  .result_1race .course{
    font-size: 1rem;
  }

  .result_1race .rank{
    font-size: 1.3rem;
    width: calc(1.3rem + 1.2rem);
    height:calc(1.3rem + 1.2rem) ;
  }

  .result_1race .lower-row{
    font-size: 0.9rem;
  }

  .result_1race .nextRace_horseNum{
    font-size: 0.9rem;
    width: calc(0.9rem + 8px);
    height:calc(0.9rem + 8px) ;
  }

}