/*****************   sticky-header   ****************/

#sticky-header {
  position: fixed;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: 100%;
  height: 60px;
  z-index: 10000;
  align-items: center;
  font-weight: normal;
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", 'Noto Sans JP', sans-serif;
}

#sticky-header p,
#sticky-header h2 {
  color: #454E53;
}

#sticky-header h2 {
  line-height: calc(22px*1.6);
  border: none;
}

#sticky-header .icon {
  height: 50px;
  width: calc(50px/490*662);
}

#sticky-header .text {
  height: 40px;
  margin-left: 10px;
}

#sticky-header .head a {
  margin-right: auto;
  display: flex;
  align-items: center;
}

#sticky-header select {
  font-family: inherit;
  font-size: inherit;
  height: 40px;
  background: none;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
}

#sticky-header select option {
  background: none;
}

#sticky-header fieldset {
  border: none;
  transition: .2s;
  background: #FFF;
  padding: 5px 20px 5px;
  position: relative;
  font-size: 14px;
  height: 30px;
  margin: 0;
}

#sticky-header fieldset::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 40px 0;
  border-color: transparent #FFF transparent transparent;
}

#sticky-header input {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  cursor: pointer;
  z-index: 20000;
  pointer-events: all;
}

#sticky-header label {
  display: inline-block;
  height: 30px;
  padding: 0 5px;
  cursor: pointer;
  pointer-events: all;
}

#sticky-header input:checked + label {
  font-weight: bold;
}

#sticky-header > div.head {
  display: flex;
  width: 100%;
  flex-basis: 100%;
  z-index: 11000;
  align-items: center;
  padding: 0 20px;
  background: #FFF;
  height: 60px;
}

#sticky-header button.clicked {
  height: 60px;
  border-radius: 0;
}


#toggle-pin, #toggle-live {
  border: none;
  background-color: #454E53;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 10px;
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
  line-height: 35px;
  height: 35px;
  transition: .2s;
  outline: none;
  cursor: pointer;
}

#toggle-pin.toggle-pin-clicked,
#toggle-live.toggle-live-clicked {
  height: 60px;
  background: #454E53;
  border-radius: 0; 
}



#sticky-header fieldset.fold {
  transform: translateY(-120%);
  z-index: 9000;
  pointer-events: none;
}

@media screen and (max-width: 790px) {
  #sticky-header {
    position: fixed;
    display: flex;
  }

  #sticky-header div.head {
    padding: 0 5px;
  }

  #sticky-header .icon {
    height: 35px;
    width: calc(35px/490*662);
  }

  #sticky-header .text {
    height: 32px;
    margin-left: 5px;
  }

  #sticky-header select {
    display: none;
  }

  #sticky-header fieldset {
    padding: 5px 10px 5px;
  }
}


div#pin-list {
  box-sizing: border-box;
  display: block;
  position: fixed;
  top: 60px;
  right: 0;
  background: #F9FAFA;
  max-width: 25rem;
  width: 100%;
  height: calc(100vh - 60px);
  overflow-y: auto;
  transition: transform .1s ease-out;
  z-index: 20000;
}

div#pin-list.hidden {
  transform: translateX(100%);
}

#pin-list .no-pins {
  margin-top: 2rem;
  text-align: center;
  display: none;
  font-weight: bold;
  font-size: 1rem;
}

#pin-list .no-pins.shown {
  display: block;
}

#pin-list ul {
  list-style: none;
  padding: 0 0 1rem;
  margin: 0;
}

#pin-list li {
  position: relative;
  border-bottom: solid 1px #DFDFDF;
}

#pin-list a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 1rem 1.5rem;
}

#pin-list .type {
  display: inline-block;
  background: white;
  height: 2rem;
  line-height: 2rem;
  padding-right: .81rem;
  padding-left: .81rem;
  font-size: .875rem;
  font-weight: bold;
  border-radius: 3px;
  width: 3rem;
  text-align: center;
}

#pin-list .type-article {
  color: #B0D8E4;
}

#pin-list .type-movie {
  color: #AFD7AA;
}

#pin-list .type-live {
  color: #E2AFBF;
}



#pin-list .time {
  line-height: 2rem;
  margin-left: 1rem;
  font-size: .875rem;
}

#pin-list h2 {
  background: inherit;
  margin: .5rem 0;
  padding: 0;
  font-size: 1rem;
  font-weight: bold;
}

#pin-list .item p {
  line-height: 1.5;
  font-size: .875rem;
  margin: 0;
}

#pin-list .close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  border: none;
  background: inherit;
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", 'Noto Sans JP', sans-serif;
}


div#streaming-list {
  box-sizing: border-box;
  display: block;
  position: fixed;
  top: 60px;
  right: 0;
  background: #F9FAFA;
  color: #575F65;
  max-width: 25rem;
  width: 100%;
  height: calc(100vh - 60px);
  overflow-y: auto;
  transition: transform .1s ease-out;
  z-index: 20000;
}

div#streaming-list.hidden {
  transform: translateX(100%);
}

#streaming-list .live > h2 {
  color: #FF5252;
  font-size: 1.2rem;
  padding: .5rem 0;
  margin: 0;
  border-bottom: solid 1px #DFDFDF;
  padding-left: 1.5rem;
  font-weight: bold;
}

#streaming-list .live > h2 img {
  line-height: 1.2rem;
  vertical-align: sub;
  margin-right: .8rem;
}

#streaming-list .upcoming > h2 {
  font-size: 1.2rem;
  padding: .5rem 0;
  margin: 0;
  border-bottom: solid 1px #DFDFDF;
  padding-left: 2rem;
  font-weight: bold;
}

#streaming-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

#streaming-list li {
  border-bottom: solid 1px #DFDFDF;
}

#streaming-list li a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: .5rem 1rem;
  transition: 0.4s;
}

#pin-list li a {
  transition: .4s;
}

#streaming-list li a:hover,
#pin-list li a:hover {
  background-color: #F2F2F2;
}

#streaming-list .time {
  font-weight: bold;
  font-size: .875rem;
}

#streaming-list .title {
  background: inherit;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: bold;
}

#streaming-list p {
  margin: 0;
  line-height: 1.5;
  font-size: 1rem;
}

#streaming-list a > img {
  margin-left: 1rem;
  margin-top: .2rem;
}

#streaming-list .live > h2,
#streaming-list .upcoming > h2 {
  font-weight: bold;
  background-color: #F9FAFA;
}

#streaming-list .scheduled {
  transform: scale(1.3);
  margin-right: 15px;
}

#streaming-list p {
  padding: 2rem 1.5rem 1rem;
  height: 3rem;
  text-align: center;
  font-weight: bold;
  display: none;
}

#streaming-list p.shown {
  display: block;
}

#streaming-list > a {
  margin: 2rem auto;
  padding: .6rem 2rem;
  color: #454E53;
  background-color: #F2F2F2;
  font-weight: bold;
  width: 7rem;
  text-align: center;
  display: block;
  text-decoration: none;
  font-size: 1rem;
}

#sticky-header ::-webkit-scrollbar {
  width: 5px;
}

/*スクロールバーの軌道*/
#sticky-header ::-webkit-scrollbar-track {
border-radius: 5px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}

/*スクロールバーの動く部分*/
#sticky-header ::-webkit-scrollbar-thumb {
background-color: var(--color-font);
border-radius: 5px;
box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}

/*****************   bottom-navigation   ****************/


#bottom-nav {
  display: none;
}

@media screen and (max-width: 700px) {
  #bottom-nav {
    position: fixed;
    bottom: 0;
    height: 60px;
    width: 100%;
    background-color: #FFF;
    margin: 0;
    display: block;
    transition: 0.4s ease-out;
    z-index: 1000;
  }

  #bottom-nav ul {
    display: flex;
    justify-content: space-around;
    font-size: 10px;
    height: 60px;
    align-items: flex-end;
    box-shadow: 0 0 4px 0px #b0b0b0;
    font-weight: bold;
    position: relative;
    z-index: 1000;
  }

  #bottom-nav li {
    width: 70px;
    line-height: 1em;
    position: relative;
    text-align: center;
    height: 1em;
    padding: 42px 0 8px 0;
  }

  #bottom-nav li:first-child {
    margin-left: 26px;
  }

  #bottom-nav li.pin::before,
  #bottom-nav li.live::before,
  #bottom-nav li.guidance::before,
  #bottom-nav li.language::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  #bottom-nav li.pin::before {
    background: url("/img/iconset.svg") no-repeat;
    background-position: -30px -30px;
    background-size: 180px 120px;
    width: 30px;
    height: 30px;
    top: 5px;
  }

  #bottom-nav li.live::before {
    background: url("/img/iconset.svg") no-repeat;
    background-position: 0px -60px;
    background-size: 180px 120px;
    width: 30px;
    height: 30px;
    top: 5px;
  }

  #bottom-nav li.guidance::before {
    background: url("/img/iconset.svg") no-repeat;
    background-position: -30px -60px;
    background-size: 180px 120px;
    width: 30px;
    height: 30px;
    top: 5px;
  }

  #bottom-nav li.language::before {
    background: url("/img/iconset.svg") no-repeat;
    background-position: -60px -60px;
    background-size: 180px 120px;
    width: 30px;
    height: 30px;
    top: 5px;
  }

  #bottom-nav span.fold-button {
    background: url("/img/foldButton.svg") no-repeat;
    background-size: contain;
    width: 26px;
    height: 60px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2000;
  }

  #bottom-nav.close {
    transform: translateX(105%);
  }

  #bottom-nav .board-wrapper {
    height: 85vh;
    width: 400vw;
    display: flex;
    background-color: #FFF;
    position: absolute;
    bottom: -85vh;
  }

  #bottom-nav .board-wrapper.open {
    bottom: 0;
  }

  #bottom-nav .board-wrapper section {
    width: 100vw;
    padding: 10px;
  }

  #bottom-nav .active-bar {
    width: 70px;
    height: 3px;
    background-color: #575F65;
    display: none;
    position: absolute;
    bottom: 0;
    z-index: 2000;
  }
}

footer {
  color: white;
  background: #121F4A;
  padding: 20px 0 10px;
  font-size: 14px;
  font-weight: normal;
  position: relative;
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", 'Noto Sans JP', sans-serif;
}

footer .copyright {
  margin: 0 auto;
  text-align: center;
}

footer .jasrac {
  position: absolute;
  bottom: 10px;
  right: 20px;
  margin: 0;
}

footer a {
  text-decoration: none;
  color: #FFF;
}

footer ul {
  max-width: 1000px;
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
  list-style-type: none;
  padding: 0;
}

footer ul.link li {
  display: flex;
  padding: 0 20px 0 0;
  align-items: center;
}

footer ul.link li:not(:last-child)::after {
  content: "";
  height: 14px;
  width: 1px;
  background: #FFF;
  display: inline-block;
  margin-left: 20px;
}

footer ul.social-icon li {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0D163B;
  transition: .3s;
  cursor: pointer;
}

footer ul.social-icon li:not(:last-child) {
  margin-right: 20px;
}

footer ul.social-icon li a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

footer ul.social-icon li img {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

footer ul.social-icon .twitter-icon:hover {
  background: #55acee;
}

footer ul.social-icon .facebook-icon:hover {
  background: #3B5998;
}

footer ul.social-icon .instagram-icon:hover {
  position: relative;
  overflow: hidden;
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
}

footer ul.social-icon .instagram-icon:hover::before {
  content: "";
  width: 60px;
  height: 60px;
  background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
  background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
  position: absolute;
  top: 23px;
  left: -18px;
  z-index: 1;
}

footer ul.social-icon .instagram-icon img {
  z-index: 2;
}

footer ul.social-icon .youtube-icon:hover {
  background: #FF0000;
}

@media screen and (max-width: 900px) {
  footer .jasrac {
    position: absolute;
    bottom: 105px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 270px;
  }

  footer .social-icon {
    margin-top: 45px;
  }
}

@media screen and (max-width: 432px) {
  header #streaming-list,
  header #pin-list {
    max-width: 27rem;
  }
}