@charset "UTF-8";

html{
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
@media(max-width:767.9px){
  html{
    scroll-padding-top: 120px;
  }
}
:root{
  --swiper-theme-color:#ffd700;
}
.guideContent{
}
@media(max-width:767.9px){
  .guideContent{
    margin-top: 60px;
  }
  .guideContent.open{
    width: 100%;
    margin-top: 0;
    position: fixed;
    top: 60px;
    z-index: 20;
  }
}

.guideHeader *,
.guideBody * {
  box-sizing: border-box;
}

.guideBody img{
  vertical-align: bottom;
}

.guideHeader {
  background-color: #000000;;
  height: 50px;
  position: relative;
  z-index: 20;
}
@media(max-width:767.9px){
  .guideHeader {
    width: 100%;
  }
}

@media(min-width:768px){
#infoContainer.guideHeader.fixed{
  margin-top: 0;
  animation: header_move_in 0.5s ease-in-out;
  position: fixed;
  width: 100%;
  top: 80px;
  left: 0;
  z-index: 10;
}
}

.guideHeader__inner {
  width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

@media(max-width:767.9px){
  .guideHeader__inner {
    height: 50px;
    top: 0;
  }
  .guideKeiba .guideHeader__inner {
    top: 60px;
  }
}
@media(max-width:767.9px){
  .guideHeader__sp{
    position: fixed;
    width: 100%;
    z-index: 21;
    background-color: #000;
  }
}

#overlay02 {
  width: 100%;
  height: 100%;
  background: #000;
  margin: auto;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
  opacity: 0.9;
  z-index: 10;
}

@media(max-width:767.9px){
.guideHeader__inner .btnArea02 {
  width: 30px;
  height: 40px;
  margin: auto;
  padding: 0;
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  z-index: 132;
  cursor: pointer;
  display: block;
}

.guideHeader__inner .btnArea02 span {
  display: block;
  background: #fff;
  width: 20px;
  height: 2px;
  position: absolute;
  left: 5px;
  transition: all 0.3s;}

.guideHeader__inner .btnArea02 span:nth-child(1) {
  top: 10px; }
.guideHeader__inner .btnArea02 span:nth-child(2) {
  top: 18px; }
.guideHeader__inner .btnArea02 span:nth-child(3) {
  top: 18px; }
.guideHeader__inner .btnArea02 span:nth-child(4) {
  top: 26px; }

.guideHeader__inner .open span:nth-child(1) {
  opacity: 0; }
.guideHeader__inner .open span:nth-child(2) {
  transform: rotate(-135deg); }
.guideHeader__inner .open span:nth-child(3) {
  transform: rotate(-225deg); }
.guideHeader__inner .open span:nth-child(4) {
  opacity: 0; }
}
.subNavi{
  z-index: 10;
}

@media(max-width:767.9px){
  .guideHeader__inner {
    width: 100%;
    position: relative;
    z-index: 20;
  }
}

@media(min-width:768px){
  .guideHeader__inner {
    /*width: 100%;*/
  }
}

.guideHeader__title {
  margin: 0;
  width: auto;
}

@media(max-width:767.9px){
  .guideHeader__title {
    margin: 0 0 0 10px;
    position: relative;
  }
}

.guideHeader__title .guideHeader__titleLink{
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 50px;
  padding-left: 40px;
  display: block;
  position: relative;
}

@media(max-width:767.9px){
  .guideHeader__title .guideHeader__titleLink{
    font-size: 16px;
    padding-left: 25px;
  }
}

.guideHeader__title .guideHeader__titleLink:after {
  content: '';
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: 100%; 
  background-image: url(../img/icon_gnavi_06.png);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #ffffff;
  border-radius: 100%;
}

@media(max-width:767.9px){
  .guideHeader__title .guideHeader__titleLink:after {  
    width: 20px;
    height: 20px;
  }
}

.guideHeader__nav {
  height: 50px;
  position: absolute;
  top: 0;
  right: 0;
}
@media(max-width:767.9px){
  .guideHeader__nav.open{
    width: 100%;
    top: 50px;
  }
}


/*----------------------
競馬場ガイドTOP
*/

.guidenavi {
  display: flex;
  
}

@media(max-width:767.9px){
  .guidenavi {
    display: none;
    flex-direction: column;
  }
  .guideHeader__nav.open .guidenavi {
    display: flex;
  }
}

.guidenavi__item {
  display: block;
}

.guidenavi__item .guidenavi__link {
  display: flex;
  color: #ffffff;
  text-decoration: none;
  line-height: 50px;
  font-weight: 700;
  padding: 0 2em;
  height: 50px;
  transition: all 0.2s ease-in-out;
  border-bottom: 5px solid #000000;
  transition: all 0.2s ease-in-out;
}
@media(max-width:767.9px){
  .guidenavi__item .guidenavi__link {
    color: #ffffff;
    background: #888888;
    border-bottom: 1px dashed #444444;;
    border-left: 10px solid #333333;
    padding: 0 1em;
  }
}

.guidenavi__item.is-active .guidenavi__link {
  border-bottom: 5px solid #DAA520;
  color: #333333;
  background-color: #ffffff;
}
@media(max-width:767.9px){
  .guidenavi__item.is-active .guidenavi__link {
    border-bottom: 1px dashed #444444;
    border-left: 10px solid #DAA520;
    color: #ffffff;
    background-color: #333333;
  }
}

.guidenavi__item .guidenavi__link:hover {
  color: #333333;
  background-color: #ffffff;
  border-bottom: 5px solid #ffffff;
  opacity: 0.8;
}
@media(max-width:767.9px){
  .guidenavi__item .guidenavi__link:hover {
    border-bottom: none;
    color: #ffffff;
    background-color: #333333;
    border-bottom: 5px solid #DAA520;
  }
}

.guidenavi__item.is-active .guidenavi__link:hover {
  border-bottom: 5px solid #DAA520;
}

#mainContainer.guideBody {
  padding: 0 0 60px;
}

@media(min-width:768px){
  .guideKeiba.fixed + .guideBody{
    margin-top: 418px !important;
  }
  .fixed + .guideBody{
    margin-top: 301px !important;
  }
}

@media(max-width:767.9px){
  #mainContainer.guideBody{
    padding: 0 0 30px;
  }
  #mainContainer.guideBody.guideKeiba{
    padding: 160px 0 30px;
  }
}

.guideBody__inner{
  width: 980px;
  margin: 0 auto;
}

@media(max-width:767.9px){
  .guideBody__inner{
    width: auto;
    padding: 0 10px;
    margin-top: 10px;
  }
}

.guideHeader__courseTitle{
  font-size: 20px;
  border-bottom: 1px solid #333333;
  font-weight: 700;
  margin-bottom: 10px;
}

.guideCourseListBanners .guideHeader__inner{
}


.guideKeiba .guideHeader__header{
  background-color: #333;
  color: #ffffff;
}
@media(min-width:1000.01px){
  .guideKeiba .guideHeader__header{
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }
}
@media(max-width:1000px){
  .guideHeader__header{
    width: 100%;
  }
}
@media(max-width:767.9px){
  .guideKeiba .guideHeader__header{
    margin-top: 60px;
  }
}
.guideHeader__header_inner{
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media(min-width:768px){
  .fixed .guideHeader__header_inner{
    height: auto;
  }
}
@media(max-width:767.9px){
  .guideHeader__header_inner{
    padding: 5px 10px;
    height: auto;
    position: relative;
  }
}

.guideKeiba .guideHeader__courseTitle{
  font-size: 36px;
  margin: 0;
  border-bottom: none;
  padding-bottom: 0;
  width: auto;
}
@media(min-width:768px){
  .fixed.guideKeiba .guideHeader__courseTitle{
    font-size: 24px;
  }
}
@media(max-width:767.9px){
  .guideKeiba .guideHeader__courseTitle{
    font-size: 24px;
  }
}

.guideCourseListBanners .guideHeader__courseTitle{
  border-bottom: 1px solid #333333;
}

@media(max-width:767.9px){
  .guideCourseListBanners .guideBody__title{
  }
}

.guideBody__title {
  font-size: 20px;
  border-bottom: 1px solid #333333;
  font-weight: 700;
  margin-bottom: 10px;
}

.guideBody__contTitle{
  margin-bottom: 20px;
  border-bottom: 1px solid #333333;
  font-size: 24px;
  font-weight: 700;
}
@media(max-width:767.9px){
  .guideBody__contTitle{
    font-size: 20px;
  }
}

.guideHeader__links{
  display: flex;
  align-items: center;
}
@media(max-width:540px){
  .guideHeader__links{
    gap: 5px;
    flex-direction: column;
    align-items: flex-end;
  }
}
.guideHeader .guideHeader__btn{
  position: relative;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 1em 2.5em 1em 1em;
  display: flex;
  align-items: center;
  border-radius: 3px;
  color: #fff;
  line-height: 30px;
  font-size: 14px;
  text-decoration: none;
  margin-right: 1em;
  background-color: #1a74bc;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@media(max-width:767.9px){
  .guideHeader .guideHeader__btn{
    font-size: 12px;
    padding: 0.5em 1.5em 0.5em 0.5em;
    height: 25px;
    min-height: 25px;
  }
}

.guideHeader .guideHeader__btn::after{
  content: '';
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url(../img/arrow-up-right-from-square-solid.svg);
  top: 50%;
  transform: translateY(-50%);
  right: 1em;
  transition: opacity 0.2s ease-in-out;
}
@media(max-width:767.9px){
  .guideHeader .guideHeader__btn::after{
    right: 0.5em;
  }
}

.guideHeader .guideHeader__btn:hover{
  opacity: 0.5;
}

.snslinks{
  display: flex;
  height: calc(22px + 2em);
}
@media(max-width:767.9px){
  .snslinks{
    height:30px;
  }
}

.snslinks__item{
  display: flex;
  justify-content: center;
  align-self: center;
}
@media(max-width:767.9px){
  .snslinks__item{

  }
}

.snslinks__link{
  display: flex;
  justify-content: center;
  align-self: center;
  transition: opacity 0.2s ease-in-out;
  padding: 1em;
  height: calc(22px + 2em);
}
@media(max-width:767.9px){
  .snslinks__link{
    padding: 0.2em 0.8em;
    height: auto;
  }
}

.snslinks__link:hover{
  opacity: 0.5;
}

.snslinks__item.--youtube .snslinks__link img{
  width: 31px;
}
@media(max-width:767.9px){
  .snslinks__item.--youtube .snslinks__link img{
    width: auto;
  }
}

.snslinks__link img{
  width: 22px;
  height: 22px;
}
@media(max-width:767.9px){
  .snslinks__link img{
    width: auto;
    height: 18px;
  }
}

.guideHeader__subnav {
  border-bottom: 1px solid #333333;
  background-color: #f0f0f0;
}
@media(min-width:1000.01px){
  .guideHeader__subnav {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }
}

@media(max-width:1000px){
  .guideHeader__subnav {
    border-bottom: none;
    width: 100%;
  }
}

@media(max-width:767.9px){
  .guideHeader__subnav .subNavi{
    top: 0;  padding-left: 10px;
    position: relative;
  }
}

.keibanavi {
  width: 100%;
  margin: 0 auto;
}
@media(min-width:1000.01px){
  .keibanavi {
    max-width: 980px;
  }
}
@media(max-width:1000px){
}

.keibanav__items {
  display: flex;
  flex-wrap: nowrap;
}

@media(max-width:767.9px){
  .subNavi .sNaviWrapper.keibanav__items {
    width: 870px;
    display: flex;
    height: 45px;
    border-bottom: none;
    background-color: transparent;
  }
}

.keibanav__item {

}

.keibanav__item .keibanav__link {
  color: #333333;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  padding: 10px 23px;
  display: block;
  height: 34px;
  transition: all 0.2s ease-in-out;
}
@media(max-width:767.9px){
  .keibanav__item .keibanav__link {
    height: 45px;
    line-height: 25px;
  }
}


.keibanav__item .keibanav__link:hover {
  color: #333333;
  background-color: #ffffff;
}



/*------------------------------------------------------------------
　競馬場リスト
--------------------------------------------------------------------
*/

#mainContainer.guideIndex{
  margin-top: 30px;
}
@media(max-width:767.9px){
  #mainContainer.guideIndex{
    padding: 0 0 60px;
    margin-top: 10px;
  }
}

.keibalist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

.keibalist__item {
  display: block;
}
@media(max-width:767.9px){
  .keibalist__item {
    width: calc(33.33% - (20px / 3));
  }
}

.keibalist__item .keibalist__link {
  aspect-ratio: 16 / 9;
  width: 188px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #333333;
  font-size: 20px;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease-in-out;
  position: relative;
  white-space: nowrap;
}
@media(max-width:767.9px){
  .keibalist__item .keibalist__link {
    width: 100%;
    font-size: 18px;
  }
}

.keibalist__item .keibalist__link:hover {
  opacity: 0.5;
}

.keibalist__text{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-weight: 700;
}

.keibalist__img{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 16 / 9;
}

.keibalist__img img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/*----------------------
競馬場
*/

.outline {
  margin-top: 30px;
}
@media(max-width:767.9px){
  .outline {
    margin-top: 30px;
  }
}

.outline__inner {
  position: relative;
  overflow: hidden;
}

.outline__info {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 435px;
}
@media(max-width:767.9px){
  .outline__info {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
  }
}

.outline__title {
}

.outline__text p{
  padding: 0;
}

.outline__slider {

}
@media(max-width:767.9px){
  .outline__slider {
    position: relative;
  }
}


.olslider {
  max-width: 100%;
}

.olslider__wrapper {
  height: auto;
  align-items: flex-end;
}
@media(max-width:767.9px){
  .olslider__wrapper {
  }
}

.olslider__item {
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
  transition: opacity 0.2s ease-in-out;
  aspect-ratio: 3/2;
}
@media(min-width:768px){

}

@media(max-width:767.9px){
  .olslider__item {
    opacity: 1;
    height: auto;
  }
}

.olslider__item.swiper-slide-active,
.olslider__item:has(+ .swiper-slide-active){
  width: 223.3335px !important;
}
@media(max-width:767.9px){
  .olslider__item.swiper-slide-active,
  .olslider__item:has(+ .swiper-slide-active){
    width: 100% !important;
  }
}

.olslider__item.swiper-slide-active + .olslider__item{
  opacity:1;
  width: 513.333px !important;
}
@media(max-width:767.9px){
  .olslider__item.swiper-slide-active + .olslider__item{
    width: 100% !important;
    height: auto;
  }
}

.olslider__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagenation{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
@media(min-width:768px){
  .swiper-pagenation.specialSeat__pagenation{
    display: none;
  }
}

.swiper-pagination-bullet{
  width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,15px));
  height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size, 15px));
}

.swiper-button-next, .swiper-button-prev{
  top: 74%;
  height: 80px;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.5);
  padding: 20px;
  z-index: 8;
}
@media(max-width:767.9px){
  .swiper-button-next, .swiper-button-prev{
    top: 50%;
  }
}

.swiper-button-next.facilities__next,.facilities__prev.swiper-button-prev{
  top: 65%;
}
@media(max-width:767.9px){
  .swiper-button-next.facilities__next,.facilities__prev.swiper-button-prev{
    top: 50%;
  }
}


.outline02 {
  margin-top: 30px;
}
@media(max-width:767.9px){
  .outline02 {
    margin-top: 30px;
  }
}
.olslider02{
  max-width: 100%;
  overflow: hidden;
}
.outline02__info{
  margin-bottom: 30px;
}
.outline02__text p{
  padding: 0;
}
.outline02__slider{
  position: relative;
}
.olslider02__item{
  opacity: 0.1;
  transition: opacity 0.2s ease-in-out;
}
.olslider02__item.swiper-slide-active{
  opacity: 1;
}
.olslider02__item img{
  width: 100%;
}

.outline02__slider .swiper-button-next, .outline02__slider .swiper-button-prev{
  top: 50%;
  height: 80px;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.5);
  padding: 20px;
  z-index: 8;
}
@media(max-width:767.9px){
  .outline02__slider .swiper-button-next, .outline02__slider .swiper-button-prev{
    top: 50%;
  }
}


/*------------------------------------------------------------------
　場内施設
--------------------------------------------------------------------
*/

.facilities {
  position: relative;
  margin-top: 30px;
}
@media(max-width:767.9px){
  .facilities {
  }
}

.facilities__inner {
  overflow: hidden;
}

.facilities__title {

}

.guideBody__title {

}

.facilities__container {

}

.swiper {

}

.facilities__wrapper {

}

.swiper__wrapper {

}

.facilities__item {

}

.facilities__item img {
}

.facCard {
  background: #f0f0f0;
  padding: 20px;
  height: 100%;
}
@media(max-width:767.9px){
  .facCard {
    padding: 20px;
  }
}

.swiper-slide {

}

.facCard__img {
  margin-bottom: 20px;
  padding: 0;
}

.facCard__img img {
  width: 100%;
}

.facCard__title {
  padding-bottom: 0;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 16px;
}

.facCard__txt {
  margin-bottom: 20px;
  padding: 0;
}


/*------------------------------------------------------------------
　特別観覧席情報
--------------------------------------------------------------------
*/

.special{
  position: relative;
  margin-top: 30px;
}
@media(max-width:767.9px){
  .special {
  }
}

.special__inner {

}

.special__title {

}

.special__lead {
  padding: 0;
}

.guide__btn {
  margin-top: 20px;
  padding: 0;
}

.guide__btn a{
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  padding: 0.5em 2.5em 0.5em 1em;
  background-color: #B8981F;
  position: relative;
  transition: opacity 0.2s ease-in-out;
}

.guide__btn a::after {
  content: '';
  display: block;
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../img/arrow-up-right-from-square-solid.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 16px;
  height: 16px;
}

.guide__btn a:hover {
  opacity: 0.5;
}

.specialSeat {
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
@media(min-width:768px){
  .specialSeat__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
}

.specialSeat__item {
  background: #f0f0f0;
  padding: 20px;
}
@media(min-width:768px){
  .specialSeat__item {
  }
}
@media(max-width:767.9px){
  .specialSeat__item {
    width: 100%;
  }
}

.specialSeat__title {
  
}
@media(max-width:767.9px){
  .specialSeat__title {
    font-weight: 700;
    font-size: 16px;
  }
}

.specialSeat__txt {
  padding: 0;
}

@media(min-width:768px){
  .specialSeat__next.swiper-button-next, .specialSeat__prev.swiper-button-prev{
    display: none;
  }
}

@media(max-width:767.9px){
  .specialSeat__next.swiper-button-next, .specialSeat__prev.swiper-button-prev{
    top: 50%;
    height: 80px;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.5);
    padding: 20px;
    z-index: 8;
  }
}

/*------------------------------------------------------------------
　アクセス
--------------------------------------------------------------------
*/

.access {
  margin-top: 30px;
}
@media(max-width:767.9px){
  .access {
  }
}

.access__inner {

}

.access__title {

}

.access__gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.access__gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.access__info {
  margin-top: 30px;
  background-color: #f0f0f0;
  margin-left: calc(-50vw + 50%);
  width: 100vw;
}
@media(max-width:767.9px){
  .access__info {
    width: 100%;
    padding: 0 10px;
  }
}

.accessInfo {
  max-width: 980px;
  margin: 30px auto 0;
  padding: 30px;
}
@media(max-width:767.9px){
  .accessInfo {
    padding: 20px;
  }
}

.accessInfo__items {

}

.accessInfo__title {
  font-weight: 700;
  font-size: 18px;
  margin-top: 20px;
}

.accessInfo__title:first-child {
  margin-top: 0;
}

.accessInfo__txt {
  padding-left: 1em;
}



/*------------------------------------------------------------------
　個人協賛競走
--------------------------------------------------------------------
*/

.personal {
  margin-top: 30px;
}
@media(max-width:767.9px){
  .personal {
  }
}

.personal__inner {

}

.personal__title {

}

.personal__howto {

}

.personal__title{
  margin-top: 20px;
}

.personal__txt {
  padding: 0;
}

.personal__btn {

}



/*------------------------------------------------------------------
　ソート
--------------------------------------------------------------------
*/

.guideSort{
  display: grid;
  grid-template-columns: 155px 155px 155px 155px 320px;
  gap: 10px;
  margin-bottom: 10px;
}

@media(max-width:767.9px){
  .guideSort{
    grid-template-columns: repeat(3, calc(calc(100% - 20px) / 3));
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas:
    ". . ."
    ". sort sort"; 
  }
  .guideCorseRecord .guideSort{
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
  }
}

.guideSort select{
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 24px 0 8px;
  border-radius: 3px;
  background: url(../img/icon_arr_down_bk.png) right 8px top 50% no-repeat #fff;
  border: 1px solid #cacaca;
  display: block;
  line-height: 35px;
}

.guideSortList{
  display: flex;
  align-items: center;
  border: 1px solid #cacaca;
  border-radius: 3px;
  padding: 10px;
  height: 44px;
  margin-bottom: 0;
}
#js-sort-order.guideSortList{
  max-width: 155px;
}
@media(max-width:767.9px){
  #js-sort-order.guideSortList{
    max-width: 49%;
  }
}
@media(max-width:600px){
  #js-sort-order.guideSortList{
    max-width: 48.5%;
  }
}
@media(max-width:440px){
  #js-sort-order.guideSortList{
    max-width: unset;
    min-width: 10em;
  }
}

.guideSortList__wrapper{
  display: flex;
}
@media(max-width:767.9px){
  .guideSortList__wrapper{
    grid-area: sort;
  }
}
.guideSortList__title{
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  line-height: 1;
  padding-bottom: 0;
  padding-right: 0.5em;
}
@media(max-width:360px){
  .guideSortList__title{
    font-size: 11px;
  }
}

@media(max-width:767.9px){
  fieldset.guideSortList{
  }
}

.guideSortList__item{
  display: flex;
  align-items: center;
  padding: 0;
}

.guideSortList__item:nth-child(1){
  width: 6em;
  margin-right: 5px;
}

@media(max-width:767.9px){
  .guideSortList__item:nth-child(1){
    width: 5.5em;
    margin-right: 5px;
  }
  }

.guideSortList__item:nth-child(2){
  width: 7em;
}

@media(max-width:767.9px){
  .guideSortList__item:nth-child(2){
    width: 6.5em;
  }
}

.guideSortList__item input{
  position: absolute;
  opacity: 0;
}

.guideSortList__item input + .guideSortList__label{
  cursor: pointer;
}

.guideSortList__item input + .guideSortList__label::before{
  content: '';
  background: #ffffff;
  border-radius: 100%;
  border: 1px solid #cacaca;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  margin-right: 1em; 
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
  top: -2px;
}

@media(max-width:767.9px){
  .guideSortList__item input + .guideSortList__label::before{
    width: 1em;
    height: 1em;
    top: 1px;
  }
}

.guideSortList__item input:checked + .guideSortList__label::before{
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #ffffff;
}

@media(max-width:767.9px){
  .guideSortList__item input:checked + .guideSortList__label::before{
    box-shadow: inset 0 0 0 3px #ffffff;
  }
}

.guideSortList__item input:focus + .guideSortList__label::before{
  outline: none;
  border-color: #3197EE;
}

.guideSortList__item input:disabled + .guideSortList__label::before{
  box-shadow: inset 0 0 0 4px #ffffff;
  border-color: #ffffff;
  background: #ffffff;
}

@media(max-width:767.9px){
  .guideSortList__item input:disabled + .guideSortList__label::before{
    box-shadow: inset 0 0 0 3px #ffffff;
  }
}

.guideSortList__item input:empty + .guideSortList__label::before{
  margin-right: 4px;
}

/*------------------------------------------------------------------
　ガイドリスト
--------------------------------------------------------------------
*/

.guideList {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 20px;
  width: 100%;
}

@media(max-width:767.9px){
  .guideList {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.guideList__item {
  order: 0;
}

.guideList__item.filtered-out {
  display: none;
}

.guideList__item .guideList__link {
  display: block;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 1px 1px 5px rgba(51, 51, 51, .2);
  border: 1px solid rgba(51, 51, 51, .2);
  box-sizing: border-box;
}
.guideList__link:hover{
  box-shadow: none;
}
.guideList__link::before {
  content: '成績詳細はこちら';
  text-decoration: underline;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: #333333;
  width: 100%;
  color: #ffffff;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}
@media(max-width:767.9px){
  .guideList__link::before {
    content: '成績詳細は\Aこちら';
    text-align: center;
    white-space: pre;
    font-size: 10px;
  }
}
.guideList__link:hover::before {
  opacity: 0.7;
}

.guideList__img {
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  padding: 0;
}

.guideList__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guideList__name {
  padding: 5px 0 5px;
  margin: 0 5px 5px;
  width: calc(100% - 10px);
  font-size: 16px;
  font-weight: 700;
  position: relative;
}
.guideList__name::after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #DAA520;
  bottom: 0;
}
.guideList__link:hover .guideList__name::after {
  animation: lineAnimation 0.5s ease-in-out;
}

@keyframes lineAnimation {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@media(max-width:767.9px){
  .guideList__name {
    font-size: 12px;
  }
}
@media(max-width:420px){
  .guideList__name {
    font-size: 11px;
  }
}
@media(max-width:360px){
  .guideList__name {
    font-size: 10px;
  }
}

.guideList__firigana{
  display: none;
}






/*------------------------------------------------------------------
　騎手一覧
--------------------------------------------------------------------
*/

#mainContainer.guideJockey {
  margin-top: 30px;
}
@media(max-width:767.9px){
  #mainContainer.guideJockey {
    margin-top: 0;
  }
}
.guideBody__header_inner{
  border-bottom: 1px solid #333333;
  margin-bottom: 10px;
  display: flex;
  padding-bottom: 5px;
}
.guideJockey .guideBody__title,
.guideJockeyUniform .guideBody__title{
  border-bottom:none;
  margin: 0 1em 0 0;
  width: auto;
}

.guideChange{
  display: flex;
  gap: 10px;
}

.guideChange__item{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  height: 100%;
  font-weight: 700;
  width: 100px;
  position: relative;
}
@media(max-width:360px){
  .guideChange__item{
    width: 80px;
  }
}
.is-active.guideChange__item{
  background-color: #daa520;
  color: #ffffff;
  border-color: #daa520;
}/*
.is-active.guideChange__item::after{
  content: '';
  display: block;
  position: absolute;
  bottom: calc(tan(60deg) * 8px / 2 * -1);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: #daa520;
  height: calc(tan(60deg) * 8px / 2);
  width: 8px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}*/
.guideChange__item p.guideChange__btn,
.guideChange__item a.guideChange__btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.guideChange__item p.guideChange__btn{
  color: #ffffff;
  border: 2px solid #daa520;
}
.guideChange__item a.guideChange__btn{
  text-decoration: none;
  color: #333333;
  border: 2px solid #cacaca;
}
.guideChange__item a.guideChange__btn:hover{
  background-color: #daa520;
  color: #ffffff;
  border: 2px solid #daa520;
  opacity: 0.8;
}


/*------------------------------------------------------------------
　騎手服一覧
--------------------------------------------------------------------
*/

#mainContainer.guideJockeyUniform {
  margin-top: 30px;
}
@media(max-width:767.9px){
  #mainContainer.guideJockeyUniform {
    margin-top: 0;
  }
}

/*------------------------------------------------------------------
　コース一覧
--------------------------------------------------------------------
*/

.guideCourseList {
}
@media(min-width:768px){
  #mainContainer.guideCourseList {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
@media(max-width:767.9px){
  .guideCourseList {
    margin-bottom: 30px;
  }
}

.guideCourseList__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
}

.guideCourseList__item {
  
}

.guideCourseList__link {
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4em;
  border: 1px solid #9f9f9f;
  border-radius: 5px;
}

.guideCourseList__link:hover {
  text-decoration: none;
}

.courseCont__wrapper {

}

.courseCont {
  width: 930px;
  margin: 30px auto;
}


@media(max-width:767.9px){
  .courseCont {
    width: 100%;
  }
}

.courseCont__title {
  font-size: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid #333333;
  margin-bottom: 30px;
  font-weight: 700;
}

@media(max-width:767.9px){
  .courseCont__title {
    margin-bottom: 10px;
  }
}

.courseCont__txt {
  margin-bottom: 30px;
  padding: 0;
}

@media(max-width:767.9px){
  .courseCont__txt {
    margin-bottom: 10px;
  }
}

.courseCont__cont {
  display: flex;
  width: 100%;
  gap: 50px;
}

@media(max-width:767.9px){
  .courseCont__cont {
    flex-direction: column;
    gap: 10px;
  }
}

.courseCont__course {
  width: 50%;
}

@media(max-width:767.9px){
  .courseCont__course {
    width: 100%;
  }
}

.courseCont__course img{
  width: 400px;
  height: auto;
  margin: 0 25px 0;
  padding: 0;
  display: block;
}

@media(max-width:767.9px){
  .courseCont__course img{
    width: 100%;
    margin: 0;
  }
}

.courseCont__data {
  width: 50%;
  overflow: auto;
}

.courseCont__data tbody th,
.courseCont__data tbody td{
  text-align: left;
}

@media(max-width:767.9px){
  .courseCont__data {
    width: 100%;
  }
}

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

.guideTab__thead {
  background: #555;
  color: #fff;
  padding: 7px 0;
  text-align: center;
  border-right: 1px solid #9f9f9f;
}

.guideTab__thead th {
  border-left: 1px solid #9f9f9f;
  border-bottom: 1px solid #9f9f9f;
  padding: 0.5em;
  text-align: center;
  font-weight: 700;
}

.guideTab__tbody {
  border-right: 1px solid #9f9f9f;
}

.guideTab__tbody tr {
  border-bottom: 1px solid #9f9f9f;
}
.guideTab__tbody tr.filtered-out{
  display: none;
}

.guideTab__tbody tr:nth-child(2n-1){
  background: #f0f0f0;
}

.guideTab__tbody th,
.guideTab__tbody td {
  border-left: 1px solid #9f9f9f;
  padding: 0.5em;
}

.guideTab__tbody th{
  text-align: center;
}

.guideTab__tbody td{
  text-align: left;
}

/* ヘッダーのフォーカスとソート状態のスタイル */
.guideTab th.focus {
  background-color: #000000;
  cursor: pointer;
  border-right: 1px solid #9f9f9f;
  border-top: 1px solid #9f9f9f;
}

.guideTab th.asc::after, th.desc::after {
  content: "";
  padding-left: 5px; /* 矢印とテキストの間隔 */
}



.guideCorseRecord .guideTab thead th::after{
  content: "↑↓";
  color: #999999;
  padding-left: 0.5em;

}
.guideCorseRecord .guideTab th.asc::after {
  content: "↑"; /* 昇順の矢印 */
  color: #ffffff;
}

.guideCorseRecord .guideTab th.desc::after {
  content: "↓"; /* 降順の矢印 */
  color: #ffffff;
}


/*------------------------------------------------------------------
　コースレコード一覧
--------------------------------------------------------------------
*/

#mainContainer.guideCorseRecord{
  margin-top: 30px;
}
@media(max-width:767.9px){
  #mainContainer.guideCorseRecord {
    margin-top: 0;
  }
}

.courseRecord {
  overflow:auto;
}

.courseRecord__tab{
}/*
@media(max-width:767.9px){
  .courseRecord__tab.fixed-table {
    position: fixed;
    top: 120px;
  }
}
@media(min-width:768px){
  .courseRecord__tab.fixed-table {
    position: fixed;
    top: 100px;
  }
}*/
.guideTab td,
.guideTab th{
  white-space: nowrap;
}

.courseRecord__tab td span{
  display: none;
}
.courseRecord__tab th:nth-child(1){
  width: 7em;
}
.courseRecord__tab th:nth-child(2){
  width: 6em;
}
.courseRecord__tab th:nth-child(3){
  width: 6em;
}
.courseRecord__tab th:nth-child(4){
  width: 7em;
}
.courseRecord__tab th:nth-child(5){
}
.courseRecord__tab th:nth-child(6){
  width: 8em;
}
.courseRecord__tab th:nth-child(7){
  width: 6em;
}
.courseRecord__tab td:nth-child(1){
  text-align: center;
}
.courseRecord__tab td:nth-child(2){
  text-align: center;
}
.courseRecord__tab td:nth-child(3){
  text-align: right;
}
.courseRecord__tab td:nth-child(4){
  text-align: center;
}
.courseRecord__tab td:nth-child(5){
  text-align: left;
}
.courseRecord__tab td:nth-child(6){
  text-align: left;
}
.courseRecord__tab td:nth-child(7){
  text-align: left;
}




/*------------------------------------------------------------------
　場外発売場
--------------------------------------------------------------------
*/

#mainContainer.offsiteSales{
  margin-top: 30px;
}
@media(max-width:767.9px){
  #mainContainer.offsiteSales {
    margin-top: 0;
  }
}

.offsiteMaps{
  width: 100%;
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 30px;
}

.offsiteMaps iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.offsiteList{
  overflow: auto;
}

.offsiteList__tab th:nth-child(1){
}
.offsiteList__tab th:nth-child(2){
  width: 12em;
}
.offsiteList__tab th:nth-child(3){
  width: 34em;
}
.offsiteList__tab th:nth-child(4){
  width: 5em;
}
.offsiteList__tab td:nth-child(1){
}
.offsiteList__tab td:nth-child(2){
}
.offsiteList__tab td:nth-child(3){
}
.offsiteList__tab td:nth-child(4){
  text-align: center;
}

@media(max-width:767.9px){
  .guideBody__body .scroll-hint-icon{
    top: 60px;
  }
}