.venue-date-v2-wrap .venue-date-v2-main-head,
.venue-date-v2-wrap .venue-date-v2-head {
  display: block;
  margin: 16px 0 8px !important;
}

.venue-date-v2-section {
  margin-bottom: 22px;
}

.venue-date-v2-period {
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 8px;
}

.venue-date-v2-table {
  table-layout: fixed;
  width: 100%;
  font-size: 14px;
}

.venue-date-v2-table th {
  background-color: #e2fdf4 !important;
  color: #333 !important;
  text-align: center;
  font-weight: bold !important;
}

.venue-date-v2-table td {
  text-align: center;
  vertical-align: middle;
  font-weight: bold !important;
}

.venue-date-v2-table th,
.venue-date-v2-table td {
  padding: 10px 6px !important;
  line-height: 1.4 !important;
}

.venue-date-v2-table td:first-child {
  background-color: #e2fdf4 !important;
}

.venue-date-v2-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.venue-date-v2-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.venue-date-v2-details {
  margin: 8px 0 12px;
}

.venue-date-v2-details summary {
  cursor: pointer;
  font-weight: bold;
  background: #f4fbff;
  border: 1px solid #d7eef8;
  padding: 8px 10px;
  border-radius: 4px;
}

.venue-date-v2-back {
  margin-top: 12px;
  text-align: left;
}

.venue-date-v2-back a {
  font-size: 13px;
  color: #3498db;
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 767px) {
  .venue-date-v2-table th,
  .venue-date-v2-table td {
    padding: 8px 2px !important;
    line-height: 1.2 !important;
    font-size: 13px !important;
  }

  .venue-date-v2-table td:first-child {
    font-size: 12px !important;
  }

  .venue-date-v2-period {
    font-size: 12px;
  }

  .venue-date-v2-icon {
    width: 18px;
    height: 18px;
  }
}


.r-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.r-tabs button {
  padding: 6px 10px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
}

.r-tabs button.active {
  background: #3498db;
  color: #fff;
}

.r-content {
  display: none;
}


.venue-date-v2-rno-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 10px 0 12px;
}

.venue-date-v2-rno-tab {
  border: 1px solid #cfd8dc;
  background: #f7fbfd;
  padding: 8px 4px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

.venue-date-v2-rno-tab.is-active {
  background: #3498db;
  color: #fff;
  border-color: #3498db;
}

.venue-date-v2-rno-panel {
  display: none !important;
}

.venue-date-v2-rno-panel.is-active {
  display: block !important;
}

.venue-date-v2-rno-title {
  font-weight: bold;
  margin: 8px 0;
}

@media (max-width: 767px) {
  .venue-date-v2-rno-tabs {
    grid-template-columns: repeat(6, 1fr); 
    gap: 5px;
  }

  .venue-date-v2-rno-tab {
    padding: 7px 2px;
    font-size: 13px;
  }
}

.venue-date-v2-weather-table {
  table-layout: fixed;
  width: 100%;
}

.venue-date-v2-weather-table th,
.venue-date-v2-weather-table td {
  text-align: center;
}







.venue-date-v2-title {
  margin: 12px 0 16px;
  padding: 0;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #263238;
}

.venue-date-v2-title-name,
.venue-date-v2-title-label {
  font-size: 24px;
  font-weight: 800;
}

.venue-date-v2-title-name {
  margin-right: 4px;
}

@media (max-width: 767px) {
  .venue-date-v2-title {
    font-size: 24px;
  }

  .venue-date-v2-title-name,
  .venue-date-v2-title-label {
    font-size: 24px;
  }
}





.vd2-kimarite-rank-1 {
  background-color: #ffd6e7 !important;
}

.vd2-kimarite-rank-2 {
  background-color: #ffe0b2 !important;
}

.vd2-kimarite-rank-3 {
  background-color: #fff3b0 !important;
}




/* 出目ランキングの列幅固定 */
.venue-date-v2-ranking {
  table-layout: fixed;
  width: 100%;
}

/* 1列目（順位） */
.venue-date-v2-ranking th:nth-child(1),
.venue-date-v2-ranking td:nth-child(1) {
  width: 10%;
}

/* 2〜4列目 */
.venue-date-v2-ranking th:nth-child(2),
.venue-date-v2-ranking td:nth-child(2),
.venue-date-v2-ranking th:nth-child(3),
.venue-date-v2-ranking td:nth-child(3),
.venue-date-v2-ranking th:nth-child(4),
.venue-date-v2-ranking td:nth-child(4) {
  width: 30%;
}

.venue-date-v2-weather-table td:first-child {
  background-color: transparent !important;
}



/* 天気テーブルの列幅指定 */
.venue-date-v2-weather-table {
  table-layout: fixed;
  width: 100%;
}

/* 1列目（天気） */
.venue-date-v2-weather-table th:nth-child(1),
.venue-date-v2-weather-table td:nth-child(1) {
  width: 24%;
}

/* 2〜5列目 */
.venue-date-v2-weather-table th:nth-child(2),
.venue-date-v2-weather-table td:nth-child(2),
.venue-date-v2-weather-table th:nth-child(3),
.venue-date-v2-weather-table td:nth-child(3),
.venue-date-v2-weather-table th:nth-child(4),
.venue-date-v2-weather-table td:nth-child(4),
.venue-date-v2-weather-table th:nth-child(5),
.venue-date-v2-weather-table td:nth-child(5) {
  width: 19%;
}



/* 1コース逃げ（固定水色） */
.vd2-kimarite-nige-1 {
  background-color: #d0f0ff !important;
}