/* ================================================
   競輪場特集 supported by ラブリン — 共通スタイルシート
   トーン＆マナー: アソビュー！本体準拠
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: #333;
  background: #F5F5F5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Layout Container --- */
.page-wrap {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,.04);
  overflow-x: clip;
}

/* --- Header / Logo --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.site-header__logo {
  font-size: 14px;
  font-weight: 700;
  color: #FF6719;
  letter-spacing: .02em;
}
.site-header__logo a { color: inherit; text-decoration: none; }
.site-header__logo span { color: #FF6719; }
.site-header__sep { color: #ccc; font-weight: 300; }
.site-header__dl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #FF6719;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, opacity .2s;
}
.site-header__dl:hover { opacity: .85; }

/* --- Key Visual --- */
.kv {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FF6B9D 0%, #E6002D 50%, #FF8C42 100%);
}
.kv__title {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 10px 16px;
  color: #333;
  background: #fff;
}
.kv__img { width: 100%; display: block; }
.kv__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 30px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%);
}
.kv__catch {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  letter-spacing: .04em;
}
.kv__sub {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
  letter-spacing: .06em;
}

/* --- Anchor Nav --- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 16px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.anchor-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #FF6719;
  background: #FFF3EB;
  border: 1.5px solid #FF6719;
  transition: all .2s;
  white-space: nowrap;
}
.anchor-nav__item:hover,
.anchor-nav__item:active {
  background: #FF6719;
  color: #fff;
}

/* --- Section Common --- */
.section {
  padding: 48px 24px;
}
.section--gray { background: #F5F5F5; }
.section--pink { background: #FAFAFA; }
.section--dark { background: #333; color: #fff; }

.section__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #FF6719;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}
.section__title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-top: 6px;
  line-height: 1.5;
}
.section__title--white { color: #fff; }
.section__lead {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

/* --- Guide Cards (楽しみ方ガイド) --- */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.guide-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.guide-card__img {
  display: none;
}
.guide-card__body { padding: 20px 22px 22px; }
.guide-card__num {
  display: inline-block;
  width: 28px; height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #FF6719;
}
.guide-card__heading {
  font-size: 17px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.4;
}
.guide-card__text {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  line-height: 1.7;
}

/* --- Event Cards (注目イベント) --- */
.event-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 28px 0 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.event-scroll::-webkit-scrollbar { display: none; }

.event-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: transform .2s;
}
.event-card:hover { transform: translateY(-2px); }
.event-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #E8F4FD, #FCE4EC);
}
.event-card__body { padding: 14px 16px 16px; }
.event-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.event-card__meta {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}
.event-card__badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
}
.event-card__badge--new { background: #FF6719; color: #fff; }
.event-card__badge--recommend { background: #FF6719; color: #fff; }
.event-card__badge--ending { background: #888; color: #fff; }

/* --- Area Tabs (エリアタブ) --- */
.area-tabs {
  display: flex;
  gap: 0;
  background: #F5F5F5;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 28px;
}
.area-tab {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #777;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.area-tab.is-active {
  color: #fff;
  background: #FF6719;
}
.area-tab:hover:not(.is-active) { background: #eee; }

.area-panel { display: none; margin-top: 24px; }
.area-panel.is-active { display: block; }

.area-heading {
  font-size: 16px;
  font-weight: 700;
  padding: 10px 0;
  margin-bottom: 16px;
  border-bottom: 2px solid #FF6719;
  color: #333;
}

/* --- Facility Card (施設カード) --- */
.facility-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.facility-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.facility-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.facility-card__img {
  display: none;
}
.facility-card__body {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.facility-card__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.facility-card__sub {
  font-size: 11px;
  color: #888;
}
.facility-card__location {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.facility-card__desc {
  font-size: 12px;
  color: #555;
  margin-top: 8px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.facility-card__tags {
  display: none;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.tag--kids     { background: #E8F5E9; color: #2E7D32; }
.tag--facility { background: #E3F2FD; color: #1565C0; }
.tag--exp      { background: #FFF3E0; color: #E65100; }
.tag--recommend{ background: #FFF3EB; color: #FF6719; }

.facility-card__link {
  display: none;
}

/* --- Loverin CTA Block --- */
.loverin-cta {
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  background: linear-gradient(135deg, #FF6B9D 0%, #E6002D 100%);
  color: #fff;
  margin-top: 30px;
}
.loverin-cta--dark {
  background: linear-gradient(135deg, #333 0%, #555 100%);
}
.loverin-cta__heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.loverin-cta__app-name {
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
  opacity: .9;
}
.loverin-cta__features {
  text-align: left;
  margin: 20px auto 0;
  max-width: 340px;
}
.loverin-cta__features li {
  font-size: 14px;
  padding: 6px 0;
  line-height: 1.6;
}
.loverin-cta__features li::before {
  content: '●';
  margin-right: 8px;
  font-size: 8px;
  vertical-align: middle;
}
.loverin-cta__bonus {
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(255,255,255,.2);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}
.loverin-cta__bonus strong { font-size: 22px; }
.loverin-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.loverin-cta__btn {
  display: inline-block;
  transition: transform .2s;
}
.loverin-cta__btn:hover { transform: scale(1.05); }
.loverin-cta__btn img {
  height: 48px;
  width: auto;
  display: block;
}
.loverin-cta__note {
  font-size: 12px;
  margin-top: 14px;
  opacity: .8;
}
.loverin-cta__more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
}

/* --- Loverin Feature Cards --- */
.loverin-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.loverin-feature-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 24px 18px;
  text-align: center;
  color: #fff;
  transition: transform .2s, background .2s;
}
.loverin-feature-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.13);
}
.loverin-feature-card__img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.loverin-feature-card__icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.loverin-feature-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.loverin-feature-card__desc {
  font-size: 12px;
  line-height: 1.6;
  opacity: .85;
}

/* --- Detail Page: Hero --- */
.detail-hero {
  padding: 36px 24px 28px;
  background: #FAFAFA;
  text-align: center;
}
.detail-hero__img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}
.detail-hero__name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}
.detail-hero__sub {
  font-size: 14px;
  color: #888;
  margin-top: 4px;
}
.detail-hero__location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
.detail-hero__access-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #FF6719;
  border-bottom: 1px dashed #FF6719;
}

/* --- Detail Page: Event List --- */
.detail-event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.detail-event {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.detail-event__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #E8F4FD, #FCE4EC);
}
.detail-event__body { padding: 18px 20px 20px; }
.detail-event__title {
  font-size: 17px;
  font-weight: 700;
}
.detail-event__date {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}
.detail-event__desc {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  line-height: 1.6;
}
.detail-event__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.detail-event__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #FF6719;
}

/* --- Detail Page: Info Table --- */
.info-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 110px;
  font-weight: 700;
  color: #555;
  background: #fafafa;
  white-space: nowrap;
}
.info-table td a {
  color: #FF6719;
  font-weight: 600;
}

/* --- Detail Page: Map --- */
.map-embed {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eee;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Detail Page: Access --- */
.access-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}
.access-table th,
.access-table td {
  padding: 10px 14px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.access-table th {
  width: 80px;
  font-weight: 700;
  color: #FF6719;
}

/* --- Index: Event Calendar Table (rcal-style) --- */
.ecal-table {
  margin-top: 24px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.ecal-venue {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid #e8e8e8;
}
.ecal-venue:last-child { border-bottom: none; }
.ecal-venue__name {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #FF6719;
  text-decoration: none;
  background: #f8f8fa;
  border-right: 1px solid #e8e8e8;
  line-height: 1.3;
}
.ecal-venue__name:hover { text-decoration: underline; background: #f0f0f5; }
.ecal-venue__events {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.ecal-event {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.ecal-event:last-child { border-bottom: none; }
.ecal-event__info {
  flex: 1;
  min-width: 0;
}
.ecal-event__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.ecal-event__date {
  font-size: 12px;
  color: #333;
  font-weight: 600;
  margin-top: 3px;
}
.ecal-event__desc {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin-top: 6px;
}

@media (max-width: 750px) {
  .ecal-venue {
    grid-template-columns: 100px 1fr;
  }
  .ecal-venue__name {
    font-size: 12px;
    padding: 8px 10px;
  }
  .ecal-event {
    padding: 8px 10px;
    gap: 8px;
  }
  .ecal-event__name { font-size: 12px; }
  .ecal-event__date { font-size: 11px; }
  .ecal-event__desc { font-size: 11px; }
}

/* --- Detail Page: Event (3-column grid + list) --- */
.detail-event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.detail-event-grid .detail-event {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.detail-event-grid .detail-event__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #E8F4FD, #FCE4EC);
}
.detail-event-grid .detail-event__body {
  padding: 12px 14px 14px;
}
.detail-event-grid .detail-event__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.detail-event-grid .detail-event__venue {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #FF6719;
  margin-top: 6px;
}
.detail-event-grid .detail-event__venue a {
  color: #FF6719;
  text-decoration: none;
}
.detail-event-grid .detail-event__venue a:hover {
  text-decoration: underline;
}
.detail-event-grid .detail-event__date {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}
.detail-event-grid .detail-event__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.detail-event-grid .detail-event__tags .tag {
  font-size: 10px;
  padding: 2px 6px;
}

/* Event list (no image) */
.detail-event-noimg {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.detail-event-noimg .detail-event-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.detail-event-noimg .detail-event-row:last-child {
  border-bottom: none;
}
.detail-event-row__date {
  flex-shrink: 0;
  font-size: 12px;
  color: #888;
  min-width: 90px;
  padding-top: 1px;
}
.detail-event-row__body {
  flex: 1;
  min-width: 0;
}
.detail-event-row__venue {
  font-size: 12px;
  font-weight: 700;
  color: #FF6719;
}
.detail-event-row__venue a {
  color: #FF6719;
  text-decoration: none;
}
.detail-event-row__venue a:hover {
  text-decoration: underline;
}
.detail-event-row__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.detail-event-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.detail-event-row__tags .tag {
  font-size: 10px;
  padding: 2px 6px;
}

/* --- Detail Page: Gourmet (3-column grid + list) --- */
.gourmet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.gourmet-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.gourmet-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
}
.gourmet-card__body { padding: 10px 12px 14px; }
.gourmet-card__name { font-size: 14px; font-weight: 700; }
.gourmet-card__price { font-size: 13px; color: #FF6719; font-weight: 700; margin-top: 2px; }
.gourmet-card__desc { font-size: 12px; color: #888; margin-top: 4px; }

/* Gourmet list (no image) */
.gourmet-noimg {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.gourmet-noimg .gourmet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.gourmet-noimg .gourmet-row:last-child {
  border-bottom: none;
}
.gourmet-row__name {
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}
.gourmet-row__price {
  font-size: 13px;
  color: #FF6719;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 12px;
}
.gourmet-row__desc {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* --- Detail Page: Related Facilities --- */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.related-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: transform .2s;
}
.related-card:hover { transform: translateY(-2px); }
.related-card__img {
  display: none;
}
.related-card__body { padding: 10px 12px 14px; }
.related-card__name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.related-card__area { font-size: 12px; color: #888; margin-top: 2px; }

.back-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #FF6719;
}

/* --- Detail Page: Highlight Box --- */
.highlight-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: #FFF8F0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}
.highlight-box strong { color: #333; }

/* --- Q&A --- */
.qa-list { margin-top: 24px; }
.qa-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}
.qa-q {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.qa-q::before {
  content: 'Q.';
  color: #FF6719;
  font-weight: 700;
  flex-shrink: 0;
}
.qa-q::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  color: #ccc;
  flex-shrink: 0;
  transition: transform .2s;
}
.qa-item.is-open .qa-q::after { content: '−'; }
.qa-a {
  display: none;
  padding: 10px 0 0 30px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
.qa-item.is-open .qa-a { display: block; }

/* --- Footer --- */
.site-footer {
  padding: 24px 20px;
  text-align: center;
  background: #F5F5F5;
  color: #999;
  font-size: 12px;
}
.site-footer__company {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}

/* --- Utility --- */
.mt-0  { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.text-center { text-align: center; }

/* --- Responsive (SP) --- */
@media (max-width: 750px) {
  .page-wrap { box-shadow: none; }
  .kv__catch { font-size: 22px; }
  .kv__sub { font-size: 12px; }
  .anchor-nav { gap: 6px; padding: 14px 12px; }
  .anchor-nav__item { padding: 8px 14px; font-size: 12px; }
  .section { padding: 36px 18px; }
  .section__title { font-size: 18px; }
  .guide-card__heading { font-size: 16px; }
  .event-card { flex: 0 0 220px; }
  .area-tab { font-size: 12px; padding: 10px 6px; }
  .facility-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .facility-card__name { font-size: 13px; }
  .facility-card__desc { font-size: 11px; -webkit-line-clamp: 2; }
  .facility-card__link { font-size: 12px; padding: 8px; }
  .detail-hero__name { font-size: 22px; }
  .detail-event-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .detail-event-grid .detail-event__title { font-size: 12px; }
  .gourmet-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .loverin-cta { padding: 28px 18px; }
  .loverin-cta__heading { font-size: 18px; }
  .loverin-cta__buttons { flex-direction: column; align-items: center; }
  .loverin-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .loverin-feature-card { padding: 18px 14px; }
  .loverin-feature-card__icon { font-size: 26px; }
  .loverin-feature-card__title { font-size: 13px; }
  .loverin-feature-card__desc { font-size: 11px; }
}

/* --- Race Section --- */
.section--race { background: #FAFAFA; }

.race-section__heading {
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FF6719;
  color: #333;
}
.race-section__note {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

/* Grade Badges — 競輪固有のブランドカラーを維持 */
.race-grade {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  white-space: nowrap;
}
.race-grade--gp  { background: #FFD700; color: #333; }
.race-grade--g1  { background: #E6002D; color: #fff; }
.race-grade--g2  { background: #1565C0; color: #fff; }
.race-grade--g3  { background: #2E7D32; color: #fff; }
.race-grade--f1  { background: #FF8C42; color: #fff; }
.race-grade--f2  { background: #9E9E9E; color: #fff; }

/* Race Session Cards */
.race-session-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.race-session-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.race-session {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border-left: 4px solid #ccc;
  transition: transform .2s;
}
.race-session:hover { transform: translateY(-2px); }
.race-session--live { border-left-color: #E6002D; }
.race-session--upcoming { border-left-color: #1565C0; }
.race-session--ended { border-left-color: #9E9E9E; opacity: .7; }
.race-session__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.race-session__status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.race-session--live .race-session__status {
  background: #FFEBEE;
  color: #E6002D;
}
.race-session--upcoming .race-session__status {
  background: #E3F2FD;
  color: #1565C0;
}
.race-session--ended .race-session__status {
  background: #F5F5F5;
  color: #9E9E9E;
}
.race-session__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.race-session__venue {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}
.race-session__date {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}
.race-session__format {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
.race-session__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #FF6719;
}

/* Race Calendar */
.race-calendar {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.race-cal__month-label {
  font-size: 14px;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
}
.race-cal__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.race-cal__scroll::-webkit-scrollbar { height: 4px; }
.race-cal__scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.race-cal__table {
  border-collapse: collapse;
  white-space: nowrap;
}
.race-cal__table th,
.race-cal__table td {
  width: 32px;
  min-width: 32px;
  height: 32px;
  text-align: center;
  font-size: 12px;
  border: 1px solid #e8e8e8;
}
.race-cal__table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #666;
}
.race-cal__table td {
  background: #fff;
  color: #ccc;
}
.race-cal__day--active {
  background: #FF6719 !important;
  color: #fff !important;
  font-weight: 700;
}

/* Race Grade Table */
.race-grade-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}
.race-grade-table thead th {
  padding: 10px 12px;
  background: #f5f5f5;
  font-weight: 700;
  color: #555;
  text-align: left;
  border-bottom: 2px solid #ddd;
}
.race-grade-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.race-grade-table__name {
  font-weight: 700;
  color: #333;
}

/* Race Grade Cards (top page) */
.race-grade-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.race-grade-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: transform .2s;
}
.race-grade-card:hover { transform: translateY(-2px); }
.race-grade-card__body { flex: 1; }
.race-grade-card__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.race-grade-card__meta {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.race-grade-card__link {
  font-size: 14px;
  font-weight: 700;
  color: #FF6719;
  flex-shrink: 0;
}

/* Top page calendar */
.top-cal {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.top-cal::-webkit-scrollbar { display: none; }
.top-cal__month {
  flex: 1;
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.top-cal__month-label {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 10px;
}
.top-cal__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  margin-bottom: 4px;
}
.top-cal__dow span:first-child { color: #E6002D; }
.top-cal__dow span:last-child { color: #1565C0; }
.top-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.top-cal__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #f8f8f8;
  cursor: default;
  position: relative;
  min-height: 36px;
}
.top-cal__cell--blank {
  background: transparent;
}
.top-cal__day {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  line-height: 1;
}
.top-cal__count {
  font-size: 9px;
  font-weight: 700;
  color: #FF6719;
  line-height: 1;
  margin-top: 2px;
}
.top-cal__cell--active {
  background: #FFF3EB;
  border: 1px solid #FFD6B3;
}
.top-cal__cell--active .top-cal__day {
  color: #333;
  font-weight: 700;
}
.top-cal__cell--today {
  background: #FF6719 !important;
  border-color: #FF6719 !important;
}
.top-cal__cell--today .top-cal__day {
  color: #fff !important;
}
.top-cal__cell--today .top-cal__count {
  color: #FFD6B3 !important;
}

/* Race section responsive */
@media (max-width: 750px) {
  .race-session-grid { grid-template-columns: 1fr; }
  .race-session { padding: 14px 16px; }
  .race-session__name { font-size: 14px; }
  .race-cal__table th,
  .race-cal__table td { width: 28px; min-width: 28px; height: 28px; font-size: 11px; }
  .top-cal { flex-direction: column; }
  .top-cal__month { min-width: unset; }
}

/* ===== Race Calendar (WinTicket style) ===== */
.rcal-tabs {
  display: flex;
  gap: 0;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  border: 1px solid #ddd;
  border-bottom: none;
  overflow: hidden;
}
.rcal-tab {
  flex: 1;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  background: #f5f5f5;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  text-align: center;
}
.rcal-tab:hover { color: #555; background: #eee; }
.rcal-tab.is-active {
  color: #FF6719;
  background: #fff;
  border-bottom-color: #FF6719;
}

.rcal-panel {
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.rcal-panel.is-active { display: block; }

/* Region block */
.rcal-region {
  border-bottom: 1px solid #ddd;
}
.rcal-region:last-child { border-bottom: none; }
.rcal-region__label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #333;
  padding: 7px 16px;
  margin: 0;
  letter-spacing: .05em;
}

/* Venue row */
.rcal-venue {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid #e8e8e8;
  min-height: 50px;
}
.rcal-venue:last-child { border-bottom: none; }
.rcal-venue__name {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #FF6719;
  text-decoration: none;
  background: #f8f8fa;
  border-right: 1px solid #e8e8e8;
  line-height: 1.3;
}
.rcal-venue__name:hover { text-decoration: underline; background: #f0f0f5; }

.rcal-venue__races {
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* Individual race row */
.rcal-race {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.rcal-race:last-child { border-bottom: none; }
.rcal-race .race-grade {
  flex-shrink: 0;
  min-width: 38px;
  text-align: center;
  font-size: 10px;
  padding: 3px 7px;
}
.rcal-race__info {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-width: 0;
}
.rcal-race__name {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}
.rcal-race__date {
  font-size: 12px;
  color: #777;
  white-space: nowrap;
}
.rcal-race__format {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #1565C0;
  background: #E3F2FD;
  padding: 2px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.rcal-race__format--ended {
  color: #9E9E9E;
  background: #F5F5F5;
}

/* No race */
.rcal-race--none {
  padding: 12px 14px;
}
.rcal-race__none-text {
  font-size: 12px;
  color: #bbb;
}

/* Detail page: venue-detail (no left column, full-width rows) */
.rcal-venue-detail {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.rcal-venue-detail .rcal-race {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}
.rcal-venue-detail .rcal-race:last-child { border-bottom: none; }
.rcal-race__extlink {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #FF6719;
  white-space: nowrap;
}
.rcal-race__extlink:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 750px) {
  .rcal-venue {
    grid-template-columns: 100px 1fr;
  }
  .rcal-venue__name {
    font-size: 12px;
    padding: 8px 10px;
  }
  .rcal-race {
    padding: 8px 10px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .rcal-race__name {
    font-size: 12px;
    max-width: 180px;
  }
  .rcal-race__date { font-size: 11px; }
  .rcal-race__format { font-size: 10px; }
}

/* --- Placeholder images (dev only) --- */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,.3);
  letter-spacing: .04em;
}

/* --- Cost comparison table --- */
.compare-table {
  display: none;
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th,
.compare-table td {
  padding: 10px 8px;
  text-align: center;
  border: 1px solid #eee;
}
.compare-table thead th {
  background: #F5F5F5;
  font-weight: 700;
  color: #555;
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: #555;
}
.compare-table .highlight-col {
  background: #FFF3EB;
  color: #FF6719;
  font-weight: 700;
}

/* --- Breadcrumb (Desktop only) --- */
.breadcrumb {
  display: none;
  padding: 10px 24px;
  font-size: 12px;
  color: #888;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.breadcrumb a {
  color: #FF6719;
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep {
  margin: 0 6px;
  color: #ccc;
}
@media (min-width: 769px) {
  .breadcrumb { display: block; }
}

/* --- Notice (のめり込み防止) --- */
.notice {
  padding: 14px 20px;
  background: #f5f5f5;
  font-size: 11px;
  color: #999;
  text-align: center;
  line-height: 1.7;
}

/* --- Feature Section: 施設の特徴・魅力 --- */
.section--feature { background: #FAFAFA; }
.feature-block { margin-top: 28px; padding: 22px 20px; background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.feature-block__heading { font-size: 16px; font-weight: 700; color: #333; padding-bottom: 8px; border-bottom: 2px solid #FF6719; margin-bottom: 12px; }
.feature-block__text { font-size: 14px; color: #555; line-height: 1.7; }
.feature-specs { display: flex; gap: 10px; margin-bottom: 14px; }
.feature-spec { flex: 1; text-align: center; padding: 12px 8px; background: #F5F5F5; border-radius: 8px; }
.feature-spec__label { display: block; font-size: 11px; font-weight: 700; color: #888; margin-bottom: 4px; }
.feature-spec__value { display: block; font-size: 16px; font-weight: 700; color: #FF6719; }
.feature-unique-list { list-style: none; }
.feature-unique-list__item { position: relative; padding: 8px 0 8px 20px; font-size: 14px; color: #555; line-height: 1.7; border-bottom: 1px solid #f0f0f0; }
.feature-unique-list__item:last-child { border-bottom: none; }
.feature-unique-list__item::before { content: ''; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: #FF6719; }
.feature-spots { display: flex; flex-direction: column; gap: 10px; }
.feature-spot { padding: 12px 16px; background: #F5F5F5; border-radius: 8px; }
.feature-spot__name { font-size: 14px; font-weight: 700; color: #333; }
.feature-spot__desc { font-size: 13px; color: #777; margin-top: 2px; line-height: 1.6; }
@media (max-width: 750px) { .feature-specs { flex-direction: column; gap: 8px; } .feature-spec { padding: 10px 8px; } .feature-spec__value { font-size: 15px; } .feature-block { padding: 18px 16px; } }
