@media only screen and (min-width: 1200px) {
  #container {
    padding-inline: 40px;
  }
}

.switch-button {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (140px)[3];
  grid-template-columns: repeat(3, 140px);
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
  padding-block: 20px;
  justify-content: center;
}

@media only screen and (max-width: 767.98px) {
  .switch-button {
    -ms-grid-columns: (105px)[3];
    grid-template-columns: repeat(3, 105px);
    -webkit-column-gap: 10px;
       -moz-column-gap: 10px;
            column-gap: 10px;
    padding-block: 10px;
  }
}

.switch-button a {
  display: block;
  background: #fff;
  box-shadow: rgba(48, 48, 48, 0.15) 0px 2.5px 2.5px 0px;
  border-radius: 4px;
  padding: 10px 25px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

@media only screen and (max-width: 767.98px) {
  .switch-button a {
    padding: 5px;
    font-size: 14px;
  }
}

.switch-button a:hover {
  opacity: 0.75;
}

.switch-button .ch-141 {
  color: #303030;
}

.switch-button .ch-141.is-active {
  background: #303030;
  color: #fff;
}

.switch-button .ch-142 {
  color: #989898;
}

.switch-button .ch-142.is-active {
  background: #989898;
  color: #fff;
}

.switch-button .ch-4K {
  color: #d2a050;
}

.switch-button .ch-4K.is-active {
  background: linear-gradient(225deg, #e6c46f 0%, #c8913c 100%);
  color: #fff;
}

#rakuraku_epg .ch_box .ch_color01, #rakuraku_epg .ch_box .ch_color02, #rakuraku_epg .ch_box .ch_color03, #rakuraku_epg .ch_box .ch_color04, #rakuraku_epg .ch_box .ch_color05, #rakuraku_epg .ch_box .ch_color06, #rakuraku_epg .ch_box .ch_color07 {
  background: #fff !important;
  border-right: #c1c9e0 1px solid !important;
}

#rakuraku_epg .ch_box li {
  border-bottom: #c1c9e0 1px solid;
}

#rakuraku_epg .ch_box a {
  color: #303030 !important;
}

#rakuraku_epg .ch_box a .theday {
  color: #fff !important;
}

#rakuraku_epg .ch_box .theday {
  background: #ff2355 !important;
}

#ipg-rakuraku-epg {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}
