@charset "utf-8";

/* CSS Document */
img {
  -webkit-backface-visibility: hidden;
}

/* スマホ用CSS */
body {
  font-family: YakuHanJP_Noto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans CJK JP", "noto-sans-cjk-jp", "Noto Sans JP", Meiryo, sans-serif;
  background-color: #fff;
  font-size: 12px;
  color: #333333;
  line-height: 1.5;
}

/* Fonts - Dosis */
.nf600 {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
}

.nf900 {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.26);
  z-index: 299;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background: url("../img/head_bg_m.png");
}

a {
  color: #333333;
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  color: #01cbea;
  text-decoration: none;
  opacity: 0.7;
}

img {
  -webkit-backface-visibility: hidden;
}

.overlay {
  z-index: 298 !important;
}

.navbar-brand img {
  width: 150px;
}

:not(nav_sub_btn) > .nav_sub {
  padding-left: 1.5em;
}

.news_h {
  height: 20px;
  padding: 0px 15px;
  background: #01cbea;
  overflow: hidden;
}

.news_h a:hover {
  color: #fff;
}

.news_m {
  padding: 10px 15px;
  height: 180px;
  border: #01cbea 2px solid;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
}

.news_m_open {
  padding: 10px 15px;
  height: 180px;
  border: #01cbea 2px solid;
  background: #ffffff;
  border-bottom: 0;
}

.today {
  font-size: 21px;
  font-weight: bold;
  vertical-align: text-bottom;
  padding: 10px 0 0 40px;
  margin-left: 0px;
}

.today_wrap {
  color: #3c4fdc;
}

.today_day {
  font-size: 20px;
  font-weight: bold;
}

.today_week {
  line-height: 10px;
}

.stop {
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
  color: #ffffff;
  width: 62px;
  background: #ff0000;
  border-radius: 10px;
  text-align: center;
  margin: 5px 10px 5px 10px;
}

.open {
  /* 20210402 No.70対応 */
  //font-size: 18px;
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
  color: #ffffff;
  width: 62px;
  background: #ff931e;
  border-radius: 10px;
  text-align: center;
  margin: 5px 10px 5px 10px;
}

.closed {
  font-size: 14px;
  font-weight: bold;
  line-height: 23px;
  width: 62px;
  height: 40px;
  color: #ffffff;
  background: #192f60;
  border-radius: 10px;
  text-align: center;
  margin: 5px 10px 5px 10px;
}

.closed_jogai {
  font-size: 14px;
  font-weight: bold;
  line-height: 23px;
  width: 62px;
  height: 40px;
  color: #ffe000;
  background: #355da7;
  border-radius: 10px;
  text-align: center;
  margin: 5px 10px 5px 10px;
}

.closed_jogai span,
.closed span {
  display: block;
  font-weight: 400;
  font-size: 10px;
  line-height: 16px
}

/*sns*/
.sns_m {
  margin-top: 15px;
  height: 55px;
}

.sns_f {
  width: 25%;
  height: 40px;
  display: inline-block;
  text-align: center;
  padding: 4px;
  font-size: 22px;
  color: #fff;
  background: #132f7c;
}

.sns_t {
  width: 25%;
  height: 40px;
  display: inline-block;
  text-align: center;
  padding: 4px;
  font-size: 22px;
  color: #fff;
  background: #000;
}

.sns_i {
  width: 25%;
  height: 40px;
  display: inline-block;
  text-align: center;
  padding: 4px;
  font-size: 22px;
  color: #fff;
  background: #e7249e;
}

.sns_l {
  width: 25%;
  height: 40px;
  display: inline-block;
  text-align: center;
  padding: 4px;
  font-size: 22px;
  color: #fff;
  background: #39b54a;
}

.sns_f:hover {
  color: #fff;
}

.sns_t:hover {
  color: #fff;
}

.sns_i:hover {
  color: #fff;
}

.sns_l:hover {
  color: #fff;
}


/*カレンダー*/
.calendar {
  margin: auto;
  margin-top: 30px;
}

.calendar_m {
  background: #fff;
}

.calendar_t {
  min-width: 400px;
  height: 130px;
  margin: -15px 0 30px -15px;
  border-top: 110px solid #01cbea;
  border-right: 30px solid transparent;
  z-index: 20;
}

.calendar_t h4 {
  font-size: 16px;
  margin: -85px 0 0 40px;
}

.calendar_c {
  height: 130px;
  margin: -15px -15px 30px -15px;
  border-bottom: 110px solid #71e6ff;
  border-left: 30px solid transparent;
}

.calendar_c2 {
  margin: 25px 0 0 -30px;
  background: #fff;
}

.calendar_table {
  width: 100%;
}

.honjo {
  background: #01cbea;
}

.day {
  width: 3%;
}

.saturday {
  width: 3%;
  color: #3fa9f5;
  background: #ecf6f9;
}

.sunday {
  width: 3%;
  color: #ff1d25;
  background: #faecee;
}

.icon_SG {
  background: #ff7f7f;
}

.icon_G1 {
  background: #ffd064;
}

.icon_G2 {
  background: #8be88e;
}

.icon_G3 {
  background: #9999ff;
}

.icon_other {
  background: #d0d0d0;
}

.icon_mor {
  color: #ff9900;
  background: #ffff99;
  border-radius: 50%;
  width: 30px !important;
  height: 30px;
  display: inline-table;
}

.icon_sum {
  background: #ccff99;
  color: #ff1d25;
  border-radius: 50%;
  width: 30px !important;
  height: 30px;
  display: inline-table;
}

.icon_nig {
  background: #7ab8ff;
  color: #004666;
  border-radius: 50%;
  width: 30px !important;
  height: 30px;
  display: inline-table;
}

.icon_gir {
  background: #ff99ff;
  color: #e7249e;
  border-radius: 50%;
  width: 30px !important;
  height: 30px;
  display: inline-table;
}
.icon_sum {
  text-indent: -9999px;
  background: url(../img/icon_summer.svg) no-repeat center !important;
  width: 25px;
  height: 25px;
}
.icon_nig {
  text-indent: -9999px;
  background: url(../img/icon_nighter.svg) no-repeat center !important;
  width: 25px;
  height: 25px;
}
.icon_mor {
  text-indent: -9999px;
  background: url(../img/icon_morning.svg) no-repeat center !important;
  width: 25px;
  height: 25px;
}
.icon_gir {
  text-indent: -9999px;
  background: url(../img/icon_ladies.svg) no-repeat center !important;
  width: 25px;
  height: 25px;
}
.calendar td span {
  display: inline-block;
  vertical-align: middle;
}
.calendar td .icon_mor, .calendar td .icon_sum, .calendar td .icon_nig, .calendar td .icon_gir {
  width: 20px !important;
  height: 20px;
}

/*footer*/
#fsub-3.show,
#fsub-3.collapsing {
  flex-wrap: wrap;
  flex-flow: wrap;
  display: flex;
}

#fsub-3 li {
  width: 100%;
}

.link_sub a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.link_sub a:hover {
  color: #333;
}

@media only screen and (max-width:990px) {
  footer a {
    text-decoration: underline;
  }

  footer a:hover {
    color: #555;
  }

  footer h5 {
    font-size: 24px;
    padding: 5px 0;
  }

  .link_1 {
    padding-top: 5px;
    background: url("../img/bg_link_1_m.png");
    background-size: cover;
    cursor: pointer;
  }

  .link_2 {
    padding-top: 5px;
    background: url("../img/bg_link_2_m.png");
    background-size: cover;
    cursor: pointer;
  }

  .link_3 {
    padding-top: 5px;
    background: url("../img/bg_link_3_m.png");
    background-size: cover;
    cursor: pointer;
  }

  .link_4 {
    padding-top: 5px;
    background: url("../img/bg_link_4_m.png");
    background-size: cover;
    cursor: pointer;
  }

  .link_5 {
    padding-top: 5px;
    background: url("../img/bg_link_5_m.png");
    background-size: cover;
    cursor: pointer;
  }

  .link_6 {
    padding-top: 5px;
    background: url("../img/bg_link_6_m.png");
    background-size: cover;
  }

  .link_7 {
    padding-top: 5px;
    background: url("../img/bg_link_7_m.png");
    background-size: cover;
    cursor: pointer;
  }

  .link_sub {
    background-color: #ccccff;
    text-align: center;
    padding: 10px 0;
  }

  .link_sub a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .link_ban {
    /*20210331 No54対応*/
    //height: 300px;
    background-color: #eeeeff;
  }

  .copyright {
    background-color: #ccccff;
    padding: 5px;
    height: 30px;
    text-align: center;
  }

  /*右メニュー*/
  .fixed-right {/* 202205変更 */
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 40px;
    font-size: 0.55em;
    padding: 5px 0 5px 0;
    white-space: nowrap;
    z-index: 299;
    filter: drop-shadow(2px 2px 2px rgba(128, 128, 128, 0.6));
    display: flex;
    justify-content: flex-end;
  }

  .fr_b:hover {
    opacity: 0.5;
  }

  .fr_1 {
    width: 40px;
    height: 40px;
    color: #ffffff;
    background: #01cbea;
    margin-bottom: 5px;
    padding: 3px;
    border-radius: 10px 0 0 0;
  }

  .fr_2_wrap {/* 202205追加 */
    width: 100%;
  }
  @media only screen and (min-width:768px) {/* 202205追加 */
    .fr_2_wrap {
      max-width: 300px;
    }
  }
  .fr_2 {/* 202205変更 */
    width: 100%;
    height: 40px;
    color: #ffffff;
    background: #ef1238;
    margin-bottom: 5px;
    padding: 3px;
  }

  .fr_3 {
    width: 40px;
    height: 40px;
    color: #ffffff;
    background: #cccccc;
    margin-bottom: 5px;
    padding: 3px;
  }

  .fr_4 {
    width: 40px;
    height: 40px;
    color: #ffffff;
    background: #666666;
    margin-bottom: 5px;
    padding: 3px;
    border-radius: 0 10px 0 0;/* 202205変更 */
  }

  .fr_1 img,
  .fr_2 img,
  .fr_3 img,
  .fr_4 img {
    width: 35px;
  }
  .fr_2 img {/* 202205追加 */
    width: auto;
    height: 24px;
    margin-top: 3px;
  }

  footer ul {
    list-style: none;
    width: 100%;
    padding-left: 0;
    margin-bottom: 0;
  }

  footer ul li {
    border-top: 1px solid #ECECEC;
  }

  footer ul li a {
    position: relative;
    display: block;
    padding: 1.5em;
    color: #333;
    text-decoration: none;
    background: #fff;
    font-size: 14px;
  }

  footer ul li a:hover {
    color: #333;
    background: #f2f2f2;
  }
}

.font_16 {
  font-size: 16px;
}

.font_14 {
  font-size: 14px;
}

.font_12 {
  font-size: 12px;
}

.white {
  color: #fff;
}

.black {
  color: #333;
}

.yellow {
  color: #ffff64;
}

.red {
  color: #ef1238;
}

.center {
  text-align: center
}

.align-left {
  text-align: left
}

.align-right {
  text-align: right
}

.u {
  text-decoration: underline;
  color: #3399CC;
}

div[name="news_html"] a {
  text-decoration: underline;
  color: #3399CC;
}

div[name="event_html"] a {
  text-decoration: underline;
  color: #3399CC;
}

a.u:hover {
  color: #66CCFF;
}

a.u:visited {
  color: #3399CC;
}

.b {
  font-weight: bold;
}

/* 出走表枠色 */
.waku1 {
  background-color: #fff;
}

.waku2 {
  background-color: #ccc;
}

.waku3 {
  background-color: #f99;
}

.waku4 {
  background-color: #7AB8FF;
}

.waku5 {
  background-color: #ff9;
}

.waku6 {
  background-color: #9f9;
}

h1 {
  width: 150px;
  white-space: nowrap;
  height: 40px;
  line-height: 1.8rem;
  margin-bottom: 0;
}
@media only screen and (max-width: 374px) {
  h1 {
    width: 120px;
  }
}

.top_60 {
  padding-top: 60px;
}

.top_90 {
  padding-top: 90px;
}

.top_130 {
  padding-top: 130px;
}

.bg_white {
  background: #fff;
}

button {
  padding: 0;
  border: none;
  background: transparent;
  line-height: 1.2;
}

button img {
  display: block;
}

.btn {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  margin: 5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn_sub {
  width: 100%;
  height: 50px;
  margin: 5px 0;
  border: #fff 1px solid;
  text-decoration: underline;
}

.btn_sub:hover {
  background: #fff;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.7;
}

/* shadow btn */
.btn {
  /*height: 44px;*/
  height: auto;
}

/* 20210408 No.132,157修正 */
.racerinfo_tab {
  font-size: 0.75rem;
}

.btn_01 {
  box-shadow: 3px 4px 0px 0px #28b1c9;
  background-color: #59e3ff !important;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 1px #04525c;
}

.btn_01:hover {
  background-color: #43dcf7;
  color: #fff !important;
}

.btn_01:active {
  position: relative;
  top: 1px;
}

.btn_03 {
  box-shadow: 3px 4px 0px 0px #447dbd;
  background-color: #7ab8ff !important;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 1px #2269b5;
}

.btn_03:hover {
  background-color: #76b4f7;
  color: #fff !important;
}

.btn_03:active {
  position: relative;
  top: 1px;
}

.btn_02 {
  box-shadow: 3px 4px 0px 0px #ab001f;
  background-color: #ef1237 !important;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 1px #b80929;
}

.btn_02:hover {
  background-color: #e0072f;
}

.btn_02:active {
  position: relative;
  top: 1px;
}

.btn_04 {
  background-color: #bfbfbf;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 1px #525252;
}

.btn_05 {
  box-shadow: 3px 4px 0px 0px #eb59a2;
  background-color: #ff99cc !important;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 1px #bd4983;
}

.btn_05:hover {
  background-color: #fa87c1;
  color: #fff !important;
}

.btn_05:active {
  position: relative;
  top: 1px;
}

.btn_06 {
  background-color: #ffe989 !important;
  box-shadow: 3px 4px 0px 0px #e3c131;
  color: #0075c2;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 1px #dcba52;
}

.btn_06:hover {
  background-color: #f2da70;
  color: #0075c2 !important;
}

.btn_06:active {
  position: relative;
  top: 1px;
}


/*水*/
.btn_01 {
  background-color: #71e6ff;
}

/*赤*/
.btn_02 {
  color: #fff;
  background-color: #ef1238;
}

.btn_02:hover {
  color: #fff;
}

/*青*/
.btn_03 {
  background-color: #7ab8ff;
}

.btn_03_outline {
  border: 2px solid #7ab8ff;
}

/*灰*/
.btn_04 {
  background-color: #cccccc;
}

/*pink*/
.btn_05 {
  background-color: #ff99cc;
}

/*画面サイズ判定切り替え*/
.sm_hidden {
  display: block;
}

.md_hidden {
  display: none;
}

@media only screen and (max-width:990px) {
  img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .img-auto {
    width: auto;
    max-width: 100%;
  }
}

/*画面サイズ判定切り替え*/

/*
  スタイルガイド
*/
#contents {
  margin-top: 0;
}

/*パンくず*/
#breadcrumbs {
  background-color: #c4e7ef;
  color: #555;
  font-size: 13px;
  margin-top: 50px;
  margin-bottom: 20px;
  padding: 10px 0;
}

#breadcrumbs a {
  color: #555;
  text-decoration: underline;
}

#breadcrumbs a + *::before {
  content: ">";
  margin: 0 0.5em;
}

.breadcrumbs_list {
  margin: 0 15px;
}

.section {
  margin-bottom: 30px;
}

#contents h2 {
  text-align: center;
  padding: 0.25em;
  border-top: 2px solid #72c0de;
  border-bottom: 2px solid #72c0de;
  font-weight: 600;
  margin-bottom: 1.5em;
}

#contents h3 {
  background-color: #72c0de;
  padding: 0.5em 0.75em;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5em;
}

#contents h4 {
  color: #1da2d5;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5em;
}

#contents h5 {
  border-bottom: 2px dashed #72c0de;
  padding: 0 0.5em 0.5em;
  margin-bottom: 1.5em;
  font-size: 1.3rem;
  font-weight: 600;
}

#contents h6 {
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 1.25em;
}

/* Youtube埋め込みレスポンシブ対応 */
.yt_box {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.yt_box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 前後ナビゲーション */
#pagenav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 2rem;
}

#pagenav h3 {
  margin-bottom: 0;
  flex-grow: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

#pagenav a,
#pagenav button {
  padding: 0.75em 1rem;
  background-color: #17a2b8;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 990px) {
  #pagenav {
    flex-wrap: wrap;
  }

  #pagenav h3 {
    text-align: left;
    width: 100%;
    order: -1;
  }

  #pagenav a {
    min-height: 40px;
    display: flex;
    align-items: center;
    width: 50%;
    justify-content: center;
  }

  #pagenav a:last-child,
  #pagenav button:last-child {
    border-left: 1px solid #fff;
  }
}

/*Table*/
.table thead tr {
  background-color: #c1e9f6;
}

.table thead th {
  vertical-align: middle;
}

.table-striped tbody tr:nth-child(2n-1) {
  background-color: #fff;
}

.table-striped tbody tr:nth-child(2n) {
  background-color: #e7f4f8;
}

.table-responsive th {
  white-space: nowrap;
}

.table-responsive th.title {
  white-space: normal;
}

/* インデックス付き一覧 */
.side_nav span {
  display: block;
  padding: 0.25em 0.75em;
  line-height: 1.2em;
  position: relative;
  color: #0c5d7c;
  font-weight: 600;
  margin-bottom: 10px;
}

.side_nav span::after {
  content: "";
  display: block;
  height: 30px;
  width: 100%;
  border-top: 30px solid #d4e9f1;
  border-right: 30px solid transparent;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.side_nav_link {
  padding: 0;
  list-style: none;
}

.side_nav_link a {
  display: block;
  padding: 0.25em 0.75em;
  color: #0c5d7c;
}

.side_nav_link li:not(:last-child) a {
  border-bottom: 1px dashed #72c0de;
}

.topics_tile {
  position: relative;
  margin-bottom: 15px;
}

.topics_tile a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.topics_tile:hover {
  opacity: 0.8;
  cursor: pointer;
  color: #17a2b8;
}

.topics_tile h1 {
  text-indent: 0;
  height: auto;
  font-size: 1.2rem;
  font-weight: 600;
}

.topics_tile img {
  width: 100%;
}

.topics_list .topics_line {
  position: relative;
  padding: 0.75em;
  border-bottom: 1px dashed #72c0de;
}

.topics_line:nth-child(2n) {
  background-color: #f1f1f1;
}

.topics_list .topics_line a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.topics_list .topics_line:hover {
  cursor: pointer;
  color: #17a2b8;
}

.topics_list .topics_line.oshirase_fixed {
  background-image: url("../img/icon_pin.svg") !important;
  background-position: right 10px top 8px !important;
  background-repeat: no-repeat !important;
  background-size: 1.5rem auto !important;
  padding-right: 30px;
}

.topics_list h1 {
  text-indent: 0;
  height: auto;
  font-size: 1em;
  margin-bottom: 0;
  /*20210324 No.113対応*/
  white-space: pre-line;
  width: auto;
  word-wrap: break-word;
}

.event_list .topics_line h1 {
  border-left: 5px solid #72c0de;
  padding: 0.25em 0.5em;
  font-size: 1.25rem;
  font-weight: 600;
}

.icon_event {
  color: #fff;
  background: #f6a111 !important;
  display: inline-block;
  width: 60px;
  text-align: center;
  padding-top: 2px;
  margin-right: 10px;
  line-height: 2em;
}

.icon_important {
  color: #fff;
  background: #ef1238 !important;
  display: inline-block;
  width: 60px;
  text-align: center;
  padding-top: 2px;
  margin-right: 10px;
  line-height: 2em;
}

.icon_news {
  color: #fff;
  background: #119af6 !important;
  display: inline-block;
  width: 60px;
  text-align: center;
  padding-top: 2px;
  margin-right: 10px;
  line-height: 2em;
}

.icon_koushin {
  color: #fff;
  background: #555 !important;
  display: inline-block;
  width: 60px;
  text-align: center;
  padding-top: 2px;
  margin-right: 10px;
  line-height: 2em;
}


/* web指定席予約 */
.reserve_table {
  width: 100%;
  text-align: center;
}

.reserve_table .btn-primary {
  background-color: #fff !important;
  color: #2d7cc7 !important;
}

.reserve_table .btn-primary.active {
  background-color: #2d7cc7 !important;
  color: #fff !important;
}

.reserve_table td .btn span {
  font-size: 0.9em;
}

@media screen and (max-width: 990px) {
  .reserve_table {
    display: block;
  }

  .reserve_table tr {
    display: block;
    width: 50%;
  }

  .reserve_table tbody {
    display: flex;
    flex-wrap: wrap;
  }

  .reserve_table td {
    display: block;
    height: 65px;
  }

  .reserve_table td .btn {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .reserve_table td .btn br {
    display: none;
  }

  .reserve_table td .btn span {
    padding-left: 10px;
  }

  .reserve_table th {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    margin: 17px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
  }

  .reserve_table_name {
    display: none !important;
  }
}


/*PhotoGallery*/
.pg_tile {
  margin-bottom: 15px;
  position: relative;
}

.pg_tile h1 {
  text-indent: 0;
  height: auto;
  font-size: 1.3rem;
  white-space: normal;
  width: auto;
  margin-left: 0;
}

.pg_tile img {
  width: 100%;
}

.pg_tile a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main_photo {
  max-width: 1000px;
  margin: 0 auto 30px;
  position: relative;
}

.main_photo span {
  position: absolute;
  left: -20px;
  top: 20px;
  background-color: #17a2b8;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1.5rem;
  z-index: 1;
}

.main_photo img {
  width: 100%;
}

.main_photo figure {
  position: relative;
  display: block;
}

.main_photo .winner {
  width: 70%;
  display: inline-block;
  margin: auto;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  min-width: 310px;
  background-color: rgba(255, 255, 255.5);
  padding: 0.25em;
  text-align: center;
  font-size: 1.5rem;
  border-radius: 0.25em;
  box-shadow: 0 10px 10px rgba(0, 0, 0, .5);
}

.main_photo .winner::before {
  content: "\f521";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-block;
  color: #db2;
  font-size: 1.7rem;
  margin-right: 0.5rem;

}

#pagelink {
  display: flex;
  justify-content: space-around;
}

#pagelink a {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 990px) {
  #pagelink {
    flex-wrap: wrap;
  }

  #pagelink a {
    width: 30%;
  }

  #pagelink a:not(:nth-child(3n)) {
    margin-right: 10px;
  }
}

.comment {
  margin-bottom: 30px;
}

.photo_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.photo_box {
  width: 30%;
  margin-bottom: 15px;
}

.photo_box img {
  max-width: 100%;
}

/* 施行者情報 */
.sekousha_list {
  display: flex;
  flex-wrap: wrap;
}

.sekousha_list dt {
  width: 30%;
  padding: 0.5em;
  border-bottom: 1px solid #eee;
  background-color: #c4e7ef;
}

.sekousha_list dd {
  width: 70%;
  padding: 0.5em;
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
}

/* 埼玉支部選手 */
.racer_list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.racer_box {
  /* 20210408 No.116対応 */
  /*width: 30%;*/
  width: 33%;
  text-align: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  padding: 5px;
  white-space: nowrap;
}

.racer_box:not(:nth-child(3n)) {
  /* 20210408 No.116対応 */
  /*margin-right: auto;*/
}

.racer_box a {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.racer_info {
  width: 100%;
  box-sizing: border-box;
  background-color: #c4e7ef;
  background: linear-gradient(217deg, #c4e7ef, #72c0de);
  padding: 10px;
  margin: auto;
  text-align: left;
  position: relative;
}

.favorite {
  position: absolute;
  right: 10px;
  top: -10px;
  z-index: 2;
}

checkbox.favorite label {
  display: inline;
  cursor: pointer;
}

.favorite input[type=checkbox] {
  display: none;
}

.favorite input[type=checkbox] + label {
  font-size: 20px;
  cursor: pointer;
}

.favorite input[type=checkbox] + label::before {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-family: 'Font Awesome 5 Free';
  content: "\f004";
  font-size: 24px;
  color: #fff;
  background-color: #666;
  border-radius: 40px;
  transition: all 0.15s;
}

.favorite input[type=checkbox] + label::after {
  content: "お気に入り選手に登録";
  background-color: #17a2b8;
  color: #fff;
  font-size: 13px;
  display: inline-block;
  position: absolute;
  width: 12em;
  padding: 0.25em 0.5em;
  margin: auto;
  left: -4.5em;
  top: -2.2em;
  text-align: center;
  border-radius: 1em;
  transition: all 0.15s;
  opacity: 0;
}

.favorite input[type=checkbox] + label:hover::before {
  background-color: #17a2b8;
}

.favorite input[type=checkbox] + label:hover::after {
  opacity: 0.9;
}

.favorite input[type=checkbox]:checked + label::before {
  font-family: 'Font Awesome 5 Free';
  content: "\f004";
  font-weight: 900;
  background-color: #17a2b8;
  color: #fff;
}

/* 20210415 No.94修正 */
.favoriteIcon_md ::before{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-family: 'Font Awesome 5 Free';
  content: "\f004";
  font-size: 16px;
  color: #fff;
  background-color: #666;
  border-radius: 40px;
  transition: all 0.15s;
}

/* 20210415 No.94修正 */
.favoriteIcon_sm ::before{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-family: 'Font Awesome 5 Free';
  content: "\f004";
  font-size: 13px;
  color: #fff;
  background-color: #666;
  border-radius: 40px;
  transition: all 0.15s;
}

/* ルーキーラベル */
.racer_box.rookie::after {
  content: "NEW!";
  display: block;
  position: absolute;
  top: 2px;
  left: -5px;
  background: #ff5722;
  color: #fff;
  font-size: 0.8rem;
  padding: 0 0.5rem;
  width: 4em;
  margin: auto;
  font-style: italic;
  letter-spacing: 0.05em;
}

.racer_nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.racer_nav a:not(:first-child) {
  margin-left: 0.25rem;
}

.racer_profile {
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
}

.racer_photo {
  text-align: center;
}

.racer_profile dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.racer_profile dl dt {
  width: 35%;
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 0.5rem;
  color: #3aa5ce;
}

.racer_profile dl dd {
  width: 65%;
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 0.5rem;
  margin: 0;
  font-weight: 600;
  text-align: center;
}

/* 選手インタビュー */
div[name="racer_interview"] {
  margin-bottom: 20px;
}

.yt_box_interview {
  width: 100%;
  display: inline-block;
  position: relative;
}

.yt_box_interview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div[name="racer_comment"] {
  margin-left: 20px;
}

@media only screen and (max-width: 990px) {
  div[name="interview_comment"],.d-flex {
    display: unset !important;
  }

  .yt_box_interview {
    width: 100%;
    position: relative;
    padding-bottom: 59.683% !important;
  }

  .yt_box_interview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  div[name="racer_comment"] {
    margin-left: 0;
  }
  div[name="racer_comment"] {
    margin-left: unset;
  }
}

.win_recoad {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.win_recoad li {
  width: 30%;
  height: 1.8em;
  margin: 3px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  background-color: #e4e4e4;
  color: #777777;
  text-shadow: 1px 1px 1px rgb(255 255 255 / 50%);
  border-radius: 6px;
  border: 2px solid #bbb;
}

.win_recoad li.wr_on {
  background: linear-gradient(#fddd3e, #927d15);
  color: #fff;
  text-shadow: 1px 1px 1px rgb(0 0 0 / 50%);
  border: 2px solid #b5a866;
}

#kako3 .disp_on, #yotei .disp_on {
  display: table-cell;
}
#kako3 .disp_off, #yotei .disp_off {
  display: none;
}

#kako3 .table-striped tbody tr:nth-child(4n+1),
#kako3 .table-striped tbody tr:nth-child(4n+2),
#yotei .table-striped tbody tr:nth-child(4n+1),
#yotei .table-striped tbody tr:nth-child(4n+2){
  background-color: #fff;
}

#kako3 .table-striped tbody tr:nth-child(4n+3),
#kako3 .table-striped tbody tr:nth-child(4n+4),
#yotei .table-striped tbody tr:nth-child(4n+3),
#yotei .table-striped tbody tr:nth-child(4n+4){
  background-color: #e7f4f8;
}

@media only screen and (max-width:990px) {
  .racer_profile {
    flex-flow: row;
    justify-content: space-between;
  }

  .racer_photo {
    width: 34%;
  }

  .racer_profile dl {
    width: 63%;
    margin-top: 0;
  }

  .racer_profile dl dt {
    width: 36%;
    padding: 0.25rem;
  }

  .racer_profile dl dd {
    width: 64%;
    padding: 0.25rem;
  }
  
  /* 20210408 No.116対応 */
  .favorite {
    position: absolute;
    right: 5px;
    top: -10px;
    z-index: 2;
  }
  #kako3 .disp_on, #yotei .disp_on{
    display: none;
  }
  #kako3 .disp_off, #yotei .disp_off{
    display: table-cell;
  }
  #kako3 .table-striped thead tr:nth-child(odd) th {
    border-bottom: 0px;
  }
  #kako3 .table-striped thead tr:nth-child(even) th {
    border-top: 0px;
  }
  #kako3 .table-striped tbody tr:nth-child(4n+2) td,
  #yotei .table-striped tbody tr:nth-child(4n+2) td{
    border-top: 0px;
  }
  #kako3 .table-striped tbody tr:nth-child(4n+4) td,
  #yotei .table-striped tbody tr:nth-child(4n+4) td{
    border-top: 0px;
  }
}

/* 出走表 */
.pdf_td {
  width: 35%;
}

.pdf_box {
  display: flex;
  flex-wrap: wrap;
}

.pdf_box .btn {
  max-width: 150px;
}

/* 20210409 No.36対応 */
@media only screen and (max-width:990px) {
  .pdf_box {
    white-space: nowrap;
  }

  .pdf_box .btn {
    width: 30%;
    font-size: 12px
  }
  
  .pdf_box .sm_btn_hensei {
    min-width: 115px;
  }
  
  #sm_pdf_list h3 {
    font-size: 1rem;
    margin-top: 1.5rem;
  }
}

/* レース展望 */
.pickup_box {
  display: flex;
  justify-content: space-evenly;
}

.pickup_racer {
  text-align: center;
}

.pickup_racer .racer_touban {
  background-color: #01cbea;
}

.pickup_racer .racer_name {
  font-size: 1.2rem;
}

.pickup_racer .racer_shibu {
  font-size: 0.8rem;
}

/* 20210329 No.18修正 */
/* 出目データ */
.deme_box span {
  display: inline-block;
  padding: 0rem 0.5rem;
  border: 1px solid #aaa;
}

/* 20210329 No.19修正 */
/* 高配当ランキング */
.haitou_box span {
  display: inline-block;
  padding: 0rem 0.25rem;
  border: 1px solid #aaa;
}

/* 20210329 No.37修正 */
/* レース結果一覧 */
.race_result_box span {
  display: inline-block;
  padding: 0rem 0.5rem;
  border: 1px solid #aaa;
}

/* 20210401 No.112修正 */
.underline_num {
  text-decoration: underline;
}

/* 開催日程表 */
.calendar_nav {
  background-color: #71e6ff;
}

.calendar_nav button {
  background-color: #17a2b8;
  color: #fff;
}

.calendar_head {
  width: 100%;
  text-align: center;
}

.calendar_legend {
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
}

.legends_box {
  display: flex;
  margin-bottom: 10px;
}

.legends_box:not(:last-child) {
  margin-right: 10px;
}

@media only screen and (max-width:990px) {

  .calendar_table,
  .calendar_table tbody,
  .calendar_table th,
  .calendar_table td {
    border-collapse: separate;
    border-spacing: 0;
  }

  .calendar_table,
  .calendar_table tbody {
    display: flex;
    width: 100%;
  }

  .calendar_table tr {
    display: block;
    width: 100%;
  }

  .calendar_table th {
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .calendar_table th br {
    display: none;
  }

  .calendar_table .race_thead {
    width: 60px;
  }

  .calendar_table#honjo .race_tbody {
    width: calc(100% - 60px);
  }

  .calendar_table#tajo .race_tbody {
    width: calc((100% - 60px) / 8);
  }

  .calendar_table .race_tbody td {
    display: flex;
    width: 100%;
    height: 2rem;
    justify-content: center;
    align-items: center;
    flex-flow: column;
  }

  .calendar_table .race_thead .honjo,
  .calendar_table .race_thead .tajo {
    display: none;
  }

  /* アイコン */
  .sc_race {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-width: 30px;
  }

  /* 開催期間セル結合 */
  .day1 {
    height: calc(2rem * 1) !important;
  }

  .day2 {
    height: calc(2rem * 2) !important;
  }

  .day3 {
    height: calc(2rem * 3) !important;
  }

  .day4 {
    height: calc(2rem * 4) !important;
  }

  .day5 {
    height: calc(2rem * 5) !important;
  }

  .day6 {
    height: calc(2rem * 6) !important;
  }

  .day7 {
    height: calc(2rem * 7) !important;
  }
}

/* FAQ */

.qa_icon {
  width: 3rem;
  height: 3rem;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  background-color: #999;
  border-radius: 2rem;
  padding-top: 6px;
  margin-right: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.qa_box:not(:last-child) {
  border-bottom: 2px dashed #72c0de;
}

.qa_box h4 {
  font-size: 1.2rem !important;
}

.qa_icon_q {
  background-color: #01cbea;
  padding-top: 8px;
}

.qa_icon_a {
  background-color: #ff5572;
  margin-bottom: 10px;
}

@media only screen and (max-width:768px) {
  .qa_box h4 br {
    display: none;
  }
}

/* 多言語ページ */
.lang_kaisai {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: auto;
}

.lang_kaisai.open {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: #ff931e;
  border-radius: 10px;
  text-align: center;
  margin: 0;
  box-shadow: 0 0 15px rgba(255, 147, 30, .8);
}

.lang_kaisai.closed {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: #192f60;
  border-radius: 10px;
  text-align: center;
  margin: 0;
  box-shadow: 0 0 15px rgb(25 47 96 / 80%);
}

.lang_kaisai.closed_jogai {
  font-size: 18px;
  font-weight: bold;
  color: #ffe000;
  background: #355da7;
  border-radius: 10px;
  text-align: center;
  margin: 0;
}

.lang_kaisai .today_day {
  font-size: 4.5rem;
  line-height: 4.5rem;
  font-weight: bold;
  text-shadow: 0 0 15px rgb(25 47 96 / 80%);
}

.lang_kaisai .today_week {
  background-color: #fff;
  color: #ff931e;
  width: 11.5rem;
  line-height: 1em;
  padding: 0.25rem 3rem;
  border-radius: 1em;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.lang_kaisai .h1,
.lang_kaisai .h1 span {
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 0 15px rgba(0, 0, 0, .2);
}

.lang_kaisai .open_txt,
.lang_kaisai .close_txt {
  font-size: 3.3rem !important;
  line-height: 1.2;
  display: none;
}

.lang_kaisai.open .open_txt {
  display: inline;
}

.lang_kaisai.closed .h1 span,
.lang_kaisai.closed_jogai .h1 span {
  color: #fff;
}

.lang_kaisai.closed .close_txt,
.lang_kaisai.closed_jogai .close_txt {
  display: inline;
}

.lang_menu a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.6rem;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(20, 153, 170, .8);
  background: -webkit-linear-gradient(top, rgba(240, 249, 255, 0.95) 0%, rgba(113, 230, 255, 0.95) 100%);
  background: linear-gradient(to bottom, rgba(240, 249, 255, 0.95) 0%, rgba(113, 230, 255, 0.95) 100%);
}

.lang_menu a > span {
  font-size: 0.7em;
  color: #555;
  padding-top: 0.5rem;
  display: block;
  width: 100%;
}

.lang_mv {
  background-image: url(../img/bg_langmenu01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 50px;
}

.img-circle {
  width: 50px;
  height: 50px;
  object-fit: cover;
}


/* 欠場 */
tr.ketsu,
tr.ketsu th,
tr.ketsu td {
  background-color: #aaa !important;
  color: #666;
}

.link_ban img {
    width: 100%;
    max-height: 43px;
}

/* モーダル共通 */
.modal-open {
    overflow: hidden !important;
}

.modal-content {
  padding: 30px 0 15px;
  background-color: #e7f4f8;
}

.modal-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 20px;
}

.modal-title::after {
  display: block;
  position: relative;
  content: "";
  border-bottom: 5px solid #01cbea;
  width: 12rem;
  margin: 1rem auto 1rem;
}

.modal-content button.close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
}

@media only screen and (max-width:990px) {

  .modal-body .table th,
  .modal-body .table td {
    padding: 0.25rem;
  }

  .table-fixed tr:first-child th:first-child,
  .table-fixed tr:nth-child(6n+1) th:first-child {
    position: sticky;
    position: -webkit-sticky;
    left: -1px;
    z-index: 100;
  }

  .table-fixed thead tr:first-child th:first-child {
    background-color: #01cbea;
  }
}

.race_info {
  background: #01cbea;
}

.modal-content .table thead tr {
    background-color: #01cbea;
}

.modal-content .table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.modal-content .table-striped tbody tr:nth-child(2n-1) {
  background-color: rgba(0, 0, 0, 0.05);
}

.modal-content .table-striped tbody tr:nth-child(2n) {
  background-color: #fff;
}

/* 20210408 No.97修正 */
.event_b {
  border: none;
  border-bottom: 1px dashed #9999ff;
}

/* 20210330 No.54対応 */

.banner_sm {
  display: flex;
}

.banner_sm .carousel-item.active, .carousel-item-next, .carousel-item-prev {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.banner_sm .carousel-indicators {
  margin-block-end: 0;
}

#banner_sm_campaign {
  width: 100%;
  height: 130px;
}

#banner_sm_campaign a {
  width: 100%;
  height: 43px;
}

#banner_sm_campaign a img {
  margin-bottom: 5px;
}

#banner_sm_common {
  width: 100%;
  height: 130px;
}

#banner_sm_common a {
  width: 100%;
  height: 43px;
}

#banner_sm_common a img {
  margin-bottom: 5px;
}
.banner_md {
  display: none;
}

/* 20210407 No.25対応 */
.race-class-select .btn {
  max-width: 100px;
  border-color: #2d7cc7;
  color: #2d7cc7;
}

.race-class-select .active {
  background-color: #2d7cc7;
  color: #fff;
}

/*動画サイズを親要素に合わせる*/
.show_yt_box_interview iframe {
    width: 100%;
    height: 100%;
}
/*何も表示しない*/
.hide_interview, .hide_comment, .hide_yt_box_interview, .hide_iframe {
    display: none;
}
/*コメントのみ表示*/
.show_comment {
    display:block;
}
/*動画のみ表示*/
.show_interview {
    display: block;
}
.show_interview .show_yt_box_interview {
    display: inline-block;
    width: 100%;
    height: calc((100vw - 30px) * 0.563);
}
/*動画＋コメント表示*/
.show_interview_comment {
    display: block;
}
.show_interview_comment .show_yt_box_interview {
    display:block;
    width: 100%;
    height: calc((100vw - 30px) * 0.563);
}
.show_comment_interview {
    display:block;
}

/*モーター整備状況標示*/
div.run2 {
	background-color:#ffc0cb;
}
div[name="mente_table"] th.toban,
div[name="mente_table"] td.toban,
div[name="mente_table"] th.racer,
div[name="mente_table"] td.racer,
div[name="mente_table"] th.kyu,
div[name="mente_table"] td.kyu
{
	display: none;

}

@media only screen and (max-width:768px) {

div[name="mente_table"] th,
div[name="mente_table"] td
{
  padding: 0.1rem;
}
div[name="mente_table"] th.toban,
div[name="mente_table"] td.toban,
div[name="mente_table"] th.kyu,
div[name="mente_table"] td.kyu
{
	display: none;

}
@media only screen and (max-width:375px) {

div[name="mente_table"] th,
div[name="mente_table"] td
{
  font-size: 10px;	
  padding: 0.1rem;
}
div[name="mente_table"] th.toban,
div[name="mente_table"] td.toban,
div[name="mente_table"] th.kyu,
div[name="mente_table"] td.kyu
{
	display: none;

}
