/* =========================
  🔧 日付タブ
========================= */
.date-tabs {
  margin: 20px 0;
  text-align: center;
}

.date-tab-btn {
  margin: 4px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: #eee;
  cursor: pointer;
}

.date-tab-btn.is-active {
  background: #333;
  color: #fff;
}


/* =========================
  🔧 フッター
========================= */
.site-footer {
  width: 100%;
  margin-top: 40px;
  padding: 20px 0;
  background: #f7f8ff;
  border-top: 2px solid #999;
  border-bottom: 1px solid #ccc;
  font-size: 12px;
  text-align: center;
  box-sizing: border-box;
}

.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #888;
  margin-bottom: 15px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #00061b;
  text-decoration: none;
}

.footer-links a + a::before {
  content: "｜";
  margin-right: 10px;
  color: #dadada;
}

.footer-links a:hover {
  text-decoration: underline;
}


/* =========================
  🔧 root
========================= */
#root {
  width: 100%;
  max-width: 964px;
  margin: 0 auto;
}


/* =========================
  🔧 カード（重要）
========================= */
#root div[style*="border:2px"] {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}


/* =========================
  🔧 グリッド（最重要）
========================= */
#root div[style*="grid-template-columns"] {
  justify-content: center;
  justify-items: center;
}





#root div[style*="border:2px"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: auto !important;
  margin: 0 auto;
}



#root div[style*="grid-template-columns"] {
  justify-content: center;
}




@media (max-width: 620px) {
  #root {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  #root div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    justify-content: center;
  }
}











/* 🔧 3列（PC） */
@media (min-width: 920px) {
  #root div[style*="grid-template-columns"] {
   grid-template-columns: repeat(3, 1fr) !important;
    justify-content: center;
  }
}

/* 🔧 2列（タブレット） */
@media (min-width: 600px) and (max-width: 919px) {
  #root div[style*="grid-template-columns"] {
   grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: center;
  }
}

/* 🔧 1列（スマホ） */
@media (max-width: 599px) {
  #root div[style*="grid-template-columns"] {
   grid-template-columns: 1fr !important;
    justify-content: center;
  }
}



#root img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


#root div[style*="grid-template-columns"] > * {
  min-width: 0;
}




h1,
p {
  text-align: center;
}












.simple-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.simple-page-title {
  margin-bottom: 24px;
}

.simple-page-subtitle {
  margin-top: 32px;
  margin-bottom: 12px;
}

.simple-page-text {
  margin-bottom: 16px;
}

.simple-page-list {
  display: inline-block;
  text-align: left;
  margin: 0 auto 24px;
  padding-left: 1.5em;
}

.simple-page-back-link {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #D3EFFF;
  color: #00061b;
  text-decoration: none;
  border: 1px solid #b7dff7;
  font-weight: bold;
}









a[href="index.html"] {

  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #d3efff;
  color: #4B4B69;
  text-decoration: none;
  border: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
  margin-left: auto;
  margin-right: auto;
 }

a[href="index.html"]:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}











.simple-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.simple-page-title {
  margin-bottom: 24px;
}

.simple-page-subtitle {
  margin-top: 32px;
  margin-bottom: 12px;
}

.simple-page-text {
  margin-bottom: 16px;
  line-height: 1.7;
}

.simple-page-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

.simple-page-btn-wrap {
  text-align: center;
  margin-top: 24px;
}

.simple-page-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
}

.simple-page-btn.primary {
  background: #eff2ff;
  color: #4B4B69;
}

.simple-page-btn.secondary {
  background: #D3EFFF;
  color: #4B4B69;
}

.simple-page-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}











/* =========================
  🔧 共通ページレイアウト
========================= */
.simple-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}


/* =========================
  🔧 タイトル・本文
========================= */
.simple-page-title {
  margin-bottom: 24px;
}

.simple-page-text {
  margin-bottom: 16px;
  line-height: 1.7;
}


/* =========================
  🔧 ボタン
========================= */
.simple-page-btn-wrap {
  text-align: center;
  margin-top: 24px;
}

.simple-page-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  background: #E97EA1;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
}

.simple-page-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}









/* 🔧 日付見出しバーを中央寄せ */
#root div[style*="background: #333"],
#root div[style*="background:#333"] {
  width: fit-content !important;
  min-width: 320px;
  margin-left: auto !important;
  margin-right: auto !important;
}




















（直前5行）
/* =========================
  🔧 schedule view
========================= */
.schedule-date-heading {
  margin: 32px 0;
  padding: 10px;
  background: #333;
  color: #fff;
  text-align: center;
  width: fit-content;
  min-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-grid {

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

.schedule-card {
  border: 2px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.schedule-card-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  gap: 8px;
}

.schedule-place-wrap {
  font-weight: bold;
}

.schedule-grade-badge {
  margin-left: 6px;
  font-size: 11px;
  color: #fff;
  background: #007bff;
  padding: 2px 6px;
  border-radius: 4px;
}

.schedule-day-label {
  margin-left: 4px;
  font-size: 11px;
  color: #666;
}

.schedule-thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.schedule-thumb-link {
  display: block;
}

.schedule-thumb-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.schedule-thumb-empty {
  width: 100%;
  height: 140px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
  border-radius: 8px;
}

.schedule-cast-text {
  font-size: 13px;
  margin-top: 6px;
   min-height: 20px;
}

@media (max-width: 599px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-date-heading {
    min-width: 0;
    width: auto;
  }
}




@media (max-width: 900px) {
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}