* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #d7f6e6;
}

.schedule-container {
  width: 100%;
  overflow-x: auto;
  padding: 8px 0;
}

.schedule-wrapper {
  width: 1600px;
  height: 900px;
  margin: 0 auto;
  padding: 24px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, #b6f3d1 0%, transparent 45%),
    radial-gradient(circle at bottom left, #9ee8c3 0%, transparent 50%),
    linear-gradient(135deg, #c9f5df, #a8e9c8);
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.schedule-header h1 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px 20px;
  border-radius: 18px;
  border: 3px solid #d9fff0;
  background: linear-gradient(180deg, #39bf96 0%, #2fae88 100%);
  color: #ffffff;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 2px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

.schedule-title-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.schedule-display-name {
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  text-align: right;
}

.schedule-header span {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

.schedule-main {
  height: calc(100% - 112px);
  display: flex;
  gap: 8px;
}

.schedule-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 56px;
  padding-bottom: 2px;
  gap: 14px;
}

.schedule-day {
  flex: 0 0 72px;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  background: #ffffff;
  border: 2px solid #d8f3e6;
  border-radius: 26px;
  padding: 4px 8px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.schedule-date {
  width: 148px;
  min-width: 148px;
  border-radius: 999px;
  background: linear-gradient(180deg, #37c39a 0%, #26ae88 100%);
  color: #ffffff;
  padding: 6px 8px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.schedule-date-main {
  font-size: 30px;
  font-weight: 900;
  line-height: 0.95;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.schedule-date-dow {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  min-width: 4.5em;
  text-align: center;
}

.schedule-item,
.schedule-off {
  flex: 1;
  height: 100%;
  max-height: 100%;
  width: 100%;
  margin-left: 0;
  border-radius: 999px;
}

.schedule-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 60px;
  max-height: 60px;
  gap: 8px;
  min-height: 60px;
  padding: 6px 10px;
  background: #ffffff;
  border: 2px solid #8edfc1;
  box-shadow: inset 0 0 0 1px #e9fff4;
  color: #0b5d43;
  text-align: left;
}


.schedule-item-link {
  display: block;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.schedule-item.is-archive {
  border-color: #6fd7b0;
  box-shadow: inset 0 0 0 1px #f0fff8;
}
.schedule-game-art {
  width: 34px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 auto;
}

.schedule-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.schedule-time {
  font-size: 12px;
  font-weight: 800;
  color: #0b6a4d;
  text-align: left;
}

.schedule-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  color: #0f7658;
  text-shadow: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.schedule-off {
  justify-content: center;
  display: flex;
  height: 60px;
  max-height: 60px;
  align-items: center;
  min-height: 60px;
  background: #ffffff;
  border: 2px solid #ffd5d9;
  color: #ff4c58;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.schedule-right {
  width: 600px;
  min-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-right img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.schedule-download-btn {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(19, 132, 104, 0.82);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.schedule-download-btn:hover {
  background: rgba(25, 150, 118, 0.9);
}

.schedule-download-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

@media (max-width: 1700px) {
  .schedule-container {
    overflow-x: hidden;
    padding: 8px;
  }

  .schedule-wrapper {
    width: 100%;
    max-width: 1600px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    padding: clamp(14px, 1.5vw, 24px);
  }

  .schedule-main {
    height: calc(100% - clamp(90px, 9vw, 112px));
  }
}

@media (max-width: 1200px) {
  .schedule-header {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }

  .schedule-header h1 {
    min-width: 100%;
    font-size: clamp(34px, 5vw, 48px);
    padding: 10px 14px;
  }

  .schedule-header span {
    font-size: clamp(24px, 3.6vw, 36px);
  }

  .schedule-display-name {
    font-size: clamp(18px, 2.4vw, 24px);
  }

  .schedule-download-btn {
    margin-left: auto;
    font-size: 16px;
    padding: 8px 14px;
  }

  .schedule-main {
    gap: 10px;
  }

  .schedule-left {
    padding-top: 8px;
    gap: 10px;
  }

  .schedule-day {
    height: 64px;
    min-height: 64px;
    max-height: 64px;
  }

  .schedule-date {
    width: 124px;
    min-width: 124px;
  }

  .schedule-date-main {
    font-size: 24px;
  }

  .schedule-date-dow {
    font-size: 11px;
  }

  .schedule-item,
  .schedule-off {
    height: 54px;
    min-height: 54px;
    max-height: 54px;
  }

  .schedule-title {
    font-size: 14px;
  }

  .schedule-right {
    width: 34%;
    min-width: 260px;
  }
}

@media (max-width: 900px) {
  .schedule-wrapper {
    aspect-ratio: auto;
    height: auto;
  }

  .schedule-main {
    height: auto;
    flex-direction: column;
    gap: 12px;
  }

  .schedule-left {
    padding-top: 0;
    padding-bottom: 0;
    gap: 10px;
  }

  .schedule-day {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 6px;
  }

  .schedule-date {
    width: 110px;
    min-width: 110px;
  }

  .schedule-item,
  .schedule-off {
    height: auto;
    min-height: 52px;
    max-height: none;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .schedule-title {
    -webkit-line-clamp: 3;
  }

  .schedule-right {
    width: 100%;
    min-width: 0;
    min-height: 220px;
  }

  .schedule-right img {
    max-height: 280px;
  }
}