
.schedule_calendar_slider_outer {
  position: relative;
  width: 100%;
  /* padding: 0 2vw; */
}

.schedule_calendar_slider {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

.schedule_calendar_list {
  display: flex;
  flex-direction: column;
  width: 100%;
}


.schedule_calendar_item_row {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 0.5rem 2vw;
  min-width: 0;
  background-color: #fff;
  font-size: 0.875rem;
  gap : 1rem;
}
.schedule_calendar_item_row:nth-child(odd) {
  background-color: #f4f4fc;
}
.schedule_calendar_item_row:first-child {
    border-top:1px solid #efefef;
}
.schedule_calendar_item_row:last-child {
    border-bottom:1px solid #efefef;
}
.schedule_calendar_item_row.today {
  background: #fff7c0 !important;
}
.schedule_calendar_item_row.today .schedule_calendar_item {
  color: #ffb400 !important;
}

.schedule_calendar_item_row.sunday,
.schedule_calendar_item_row.holiday {
  background: #ffe8f1;
}
.schedule_calendar_item_row.sunday .schedule_calendar_item,
.schedule_calendar_item_row.holiday .schedule_calendar_item {
  color: #ff6b81;
}

.schedule_calendar_item_row.saturday {
  background: #e4f6ff;
}
.schedule_calendar_item_row.saturday .schedule_calendar_item {
  color: #1e90ff;
}


.schedule_calendar_item_row.weekday {
  /* background: #fff; */
}

.schedule_calendar_content {
  flex: 1;
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  align-items: stretch;
  border-left: none;
}

@media (max-width: 900px) {
  .schedule_calendar_content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .schedule_calendar_content {
    grid-template-columns: 1fr;
  }
}
/* アイテム自体の幅・マージン調整（a.itemなど） */
.schedule_calendar_content > .item {
  width: 100%;
  margin: 0;
  display: block;
  padding: 0.4rem 1rem;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(0, 0, 0, 0.06);
}
.schedule_calendar_content>.item:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.schedule_calendar_content>.item .title {
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.schedule_calendar_content>.item .delivery_time {
  color: #6CCCFF;
  font-weight: bold;
  margin-bottom: 0.4rem;
  font-family: futura-pt, sans-serif;
}
.schedule_calendar_content>.item .delivery_time::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url('data: image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="88.917" height="97" viewBox="0 0 88.917 97"><path id="title-head-svg" d="M37.993,28.935c1.869,1.409,5.209,3.933,9.108,2.644,4.876-1.612,6.413-9.2,4.848-15.425C50.1,8.8,45.235-.132,35.936-.008c-1.49.7-2.981.9-3.967,2.057-6.762,7.93.72,22.884,6.023,26.884ZM71.782,41.716c13.3-2.638,8.363-29.531-5.436-29.529-4.732,1.917-6.545,2.546-8.08,7.639C55.359,29.47,62.133,43.63,71.782,41.716ZM15.516,42.3c2.5,1.516,7.056,3.43,10.724,1.616,3.912-1.935,4.873-8.391,2.938-13.222-2.8-6.984-8.92-15.393-18.657-15.278-1.72.705-3.141.726-4.407,1.763C3.939,18.961,3.4,23.728,4.351,27.319A24.242,24.242,0,0,0,15.516,42.3ZM88.088,59.2C85.4,51.473,79.449,48.544,71.341,46.27c-3.073-.862-6.332-1.177-8.814-2.644-5.321-3.145-7.885-8.853-16.454-8.814l-4.26.735a19.3,19.3,0,0,0-10.871,8.08c-4.325,7.137.928,12.661-.294,20.126q-1.615,7.785-3.232,15.572C26.031,88.005,33.5,95.665,40.049,96.806,50.431,98.613,56.19,86.671,61.792,82.7c8.291-5.873,22.273-4.285,26.443-14.4C89.336,65.637,88.965,61.719,88.088,59.2ZM8.17,46.858c-3.034,1.193-5.193,1.125-6.758,3.673-6.442,10.492,10.629,26.8,21.155,20.861,4.168-2.353,4.963-8.468,2.791-13.516A18.22,18.22,0,0,0,8.17,46.858Z" transform="translate(0.001 0.009)" fill="%236CCCFF" /></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0.3rem;
  vertical-align: middle;
}



.schedule_calendar_content>.item .now_on_air {
  background-color: #f66463;
  color: #fff;
  font-weight: bold;
  padding: 0.2rem 0.8rem;
  margin-left: 1rem;
  border-radius: 999px;
  animation: nowonair-blink 1.5s ease-in-out infinite;
  opacity: 1;
}

@keyframes nowonair-blink {
  0% {
    opacity: 0.1;
  }

  40% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 0.1;
  }
}





/* 日付と曜日 */
.schedule_calendar_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 60px;
}
@media (max-width: 768px) {
  .schedule_calendar_item {
    width: 50px;
  }
}
.schedule_calendar_item .num {
  font-weight: bold;
  width: 2em;
  text-align: center;
  font-size: 1.25rem;
}

/* UI */
.calendar_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 3px;
    width: calc(100% - 4vw);
    margin: 0 auto;
    background-color: #6CCCFF;
    border-radius: 99px;
    color: #fff;
    margin-bottom: 30px;

}

.calendar_nav_btn {
    width: auto;
    height: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 0;
}

.calendar_nav_btn:disabled {
    pointer-events: none;
    opacity: 0.3;
}

.calendar_nav_btn::after {
    content: '';
    display: block;
    width: 30px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.calendar_nav_btn.next::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 15.03 20.32"><path d="M0,1.16C0,.06.74-.33,1.65.29l12.7,8.73c.91.62.91,1.64,0,2.27L1.65,20.02c-.91.62-1.65.23-1.65-.87C0,19.15,0,1.16,0,1.16Z" fill="%236CCCFF" /></svg>');
    margin-left: 10%;
}

.calendar_nav_btn.prev::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 15.03 20.32"><path d="M15.03,19.15c0,1.1-.74,1.49-1.65.87L.68,11.29c-.91-.62-.91-1.64,0-2.27L13.38.29c.91-.62,1.65-.23,1.65.87v18h0Z" fill="%236CCCFF"/></svg>');
    margin-right: 10%;
}

.calendar_nav_current {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    font-family: futura-pt, sans-serif;
}