@charset "utf-8";

/* CSS Document */
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: 16px;
  color: #4c4948;
  line-height: 1.5;
}

a {
  color: #4c4948;
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  color: #01cbea;
  text-decoration: none;
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-backface-visibility: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.26);
  z-index: 301;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.head_container {
  font-size: 18px;
  padding-top: 8px;
}

#top .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.row {
  margin: 0;
}

.main {
  margin-top: 60px;
}

/*お知らせ*/
.news {
  padding: 40px 0;
}

.news_list {
  border-bottom: dotted 1px;
}

.icon_event {
  font-size: 16px;
  color: #fff;
  background: #f6a111;
  display: inline-block;
  height: 30px;
  width: 70px;
  text-align: center;
  padding-top: 2px;
  margin-right: 10px;
}

.icon_important {
  font-size: 16px;
  color: #fff;
  background: #ef1238;
  display: inline-block;
  height: 30px;
  width: 70px;
  text-align: center;
  padding-top: 2px;
  margin-right: 10px;
}

.icon_news {
  font-size: 16px;
  color: #fff;
  background: #119af6;
  display: inline-block;
  height: 30px;
  width: 70px;
  text-align: center;
  padding-top: 2px;
  margin-right: 10px;
}

.calendar {
  padding: 40px 0;
}

.calendar-data {
  min-height: 480px;
  background: #EEE;
}

.access {
  padding: 40px 0;
}

.map {
  min-height: 400px;
  padding: 15px 0;
}

/*footer*/
footer {
  min-width: 100%;
  max-width: 100%;
  margin: auto;
  font-size: 10px;
  height: 40px;
  background-color: #192f60;
}

.copyright {
  color: #FFF;
  padding: 12px;
  text-align: center;
}

.white {
  color: #fff;
}

.black {
  color: #333;
}

.yellow {
  color: #ffff64;
}

.center {
  text-align: center
}

.align-left {
  text-align: left
}

.align-right {
  text-align: right
}

.u {
  text-decoration: underline;
  color: #3399CC;
}

a.u:hover {
  color: #66CCFF;
}

a.u:visited {
  color: #3399CC;
}

.b {
  font-weight: bold;
}

h1 {
  background-repeat: no-repeat;
  overflow: hidden;
  text-indent: 100%;
  width: 100%;
  height: 25px;
  white-space: nowrap;
  background: url("../img/wwp/logo_wwp.png") no-repeat left top;
  background-size: contain;
  margin-top: 5px;
}

h2 {
  font-size: 20px;
  text-align: center;
}

.title_guide h2 {
  color: #202388;
  padding: 1rem 0;
  margin: 1rem 0;
  border-top: 2px solid #e71223;
  border-bottom: 2px solid #e71223;
}

h3 {
  font-size: 14px;
}

p {
  font-size: 10px;
}

ul {
  list-style: none;
  padding-left: 0;
}

button {
  padding: 0;
  border: none;
  background: transparent;
  line-height: 1.2;
}

button img {
  display: block;
}

.btn {
  width: 100%;
  height: 60px;
  border-radius: 10px;
  margin: 10px 0;
}

.btn_sub:hover {
  background: #fff;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.7;
}

/*ピンク*/
.btn_01 {
  background-color: #ff7f7f;
  color: #FFF;
  font-size: 24px;
}

/*カレンダー*/
.calendar {
  margin: auto;
  padding-top: 30px;
  max-width: 1200px;
}

.calendar_month {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

/* Fonts - Dosis */
.nf600 {
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
}

.nf900 {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
}

.calendar_c2 {
  padding: 0;
}

.calendar_table {
  width: 100%;
  background: #fff;
}

.calendar_legend {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
  justify-content: flex-start;
  width: 100%;
}

.legends_box {
  display: flex;
  margin-bottom: 8px;
}

.calendar_legend:nth-child(2) .legends_box {
  margin-bottom: 0;
}

.legends_box:not(:last-child) {
  margin-right: 10px;
}

.calendar_table th {
  min-width: 30px;
}

.calendar_table td {
  font-size: 16px;
}


.calendar_title {
  background: #01cbea;
}

.calendar_title span {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -webkit-text-orientation: upright;
  text-orientation: upright;
}

.day {
  width: 3%;
}

.saturday {
  width: 3%;
  color: #3fa9f5;
  background: #ecf6f9;
}

.sunday {
  width: 3%;
  color: #ff1d25;
  background: #faecee;
}

.sc_race {
  margin: 5px 10px;
  padding: 5px 0;
  text-align: center;
  width: 30px;
}

.sc_info {
  margin: 5px 0 0 0;
  padding: 5px 0;
  text-align: center;
}

.icon_SG {
  background: #ff7f7f;
}

.icon_G1 {
  background: #ffd064;
}

.icon_G2 {
  background: #8be88e;
}

.icon_G3 {
  background: #9999ff;
}

.icon_other {
  background: #d0d0d0;
}

.sc_race > span {
  width: 30px;
  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;
}
/*20210310追記*/
.calendar_table td span { 
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

#pagenav button {
    padding: 0.75em 1rem;
    background-color: #01cbea;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.note-list {
    margin-top: -18px;
}

@media only screen and (max-width:990px) {

  /* guide */
  #guide h3 {
    font-size: 22px;
    font-weight: bold;
  }

  #guide .table,
  #guide .table thead,
  #guide .table tbody,
  #guide .table tr,
  #guide .table th,
  #guide .table td {
    display: block;
    width: 100%;
  }
}


/*画面サイズ判定切り替え*/
.sm_hidden {
  display: block;
}

.md_hidden {
  display: none;
}

/* アンカー位置調整 */
.anc_fix {
    margin-top: -110px;
    padding-top: 110px;
}

@media only screen and (min-width:991px) {

  /* PC用 */
  .sm_hidden {
    display: none;
  }

  .md_hidden {
    display: block;
  }

  body {
    font-size: 18px;
  }

  header {
    height: 110px;
    min-width: 1380px;
  }

  .head_container {
    height: 110px;
    font-size: 24px;
    padding-top: 35px;
  }

  .main {
    margin-top: 110px;
  }

  /*お知らせ*/
  .news {
    padding: 80px 25px;
  }

  .calendar {
    padding: 80px 25px;
  }

  .access {
    padding: 80px 25px;
  }

  .news h2 {
    position: absolute;
    top: 50%;
    min-height: 60px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .map {
    min-height: 400px;
    padding: 15px;
  }

  footer {
    min-width: 1380px;
    font-size: 16px;
    height: 50px;
  }

  h1 {
    height: 40px;
    margin-top: 0px;
  }

  h2 {
    font-size: 52px;
    margin-bottom: 20px;
    text-align: left;
  }

  h3 {
    font-size: 36px;
  }

  p {
    font-size: 20px;
  }

  .font_26 {
    font-size: 26px;
  }

  .font_64 {
    font-size: 64px;
  }

  /* 発売レースカレンダー */
  .calendar_month {
    text-align: right;
  }

  .calendar_legend {
    justify-content: space-between;
  }
}
