.fav-wrap {
  max-width: 960px;
  margin: 66px auto 100px;
  display: grid;
  justify-content: center;
  align-content: center;
  grid-column-gap: 24px;
  grid-template-columns: 222px 714px;
}

.fav-wrap button,
.favlist-sp-wrap button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

@media screen and (max-width: 834px) {
  .fav-wrap {
    display: block;
    margin: 0;
  }
}

/* aside */

.favlist {
  background: #fff;
  border-radius: 3px;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.05));
}

.favlist li a {
  display: block;
  width: 100%;
  padding: 17px 37px 17px 25px;
  color: #333;
}

.favlist li a:hover {
  opacity: 0.7;
}

.favlist li a::before {
  padding-right: 10px;
  color: #666;
}

.favlist li.favlist-active {
  color: #3a52ac;
  background: #e1e9f8;
}

.favlist li.favlist-active a {
  color: #3a52ac;
}

.favlist li.favlist-active a::before {
  color: #3a52ac;
}

.favlist li.favlist-active a:hover {
  opacity: 1;
}

.favlist-playlist {
  border-top: 1px solid #e9e9e9;
}


.favlist-playlist h1 {
  padding: 20px 30px 20px 20px;
  font-weight: normal;
}

.favlist-playlist button[data-modal="addToList"] {
  width: calc(100% - 40px);
  height: 44px;
  margin: 0 20px;
  color: #666;
  border-radius: 22px;
  background-color: #e1e9f8;
}

.favlist-playlist .playlist-toc {
  padding: 10px 0 20px;
}

.favlist-playlist .playlist-toc li {
  position: relative;
}

.favlist-playlist .playlist-toc li a {
  padding-left: 50px;
  position: relative;
}

.favlist-playlist .playlist-toc li a::before {
  position: absolute;
  top: 20px;
  left: 25px;
}

.favlist-playlist .playlist-toc .list-menu {
  position: absolute;
  right: 7px;
  top: 13px;
  display: block;
  width: 24px;
  height: 24px;
  border: #bbb 1px solid;
  border-radius: 3px;
  transform: rotate(90deg);
  font-size: 12px;
  cursor: pointer;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.favlist-playlist .playlist-toc .list-menu:hover {
  opacity: .7;
}

.favlist-playlist .playlist-toc h2 {
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

.list-menu {
  width: 24px;
  position: absolute;
  top: 15px;
  right: 10px;
  color: #666;
}

@media screen and (max-width: 834px) {
  #fav-wrap aside.detail-left {
    display: none;
  }
}

/* list-detail */
.list-detail {
  margin-bottom: 60px;
  padding: 30px 20px;
  background: #fff;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.05));
  will-change: filter;
}

.list-detail-header {
  display: flex;
  margin-bottom: 60px;
}

.list-detail-header-thumbnail {
  flex: 1 0 284px;
  margin-right: 24px;
  max-width: 284px;
}

.list-detail-header-title {
  position: relative;
}

.list-detail-header-title h1 {
  margin-bottom: 15px;
  font-size: 18px;
  word-break: break-all;
}

.list-detail-header-title .list-menu {
  display: none;
}

.list-detail-header-title-info {
  color: #666;
  font-size: 12px;
}

.list-detail-header-title-info .list-info-numreg {
  margin-right: 1rem;
}

.fav-wrap button.list-play-all {
  width: 235px;
  height: 36px;
  margin-top: 37px;
  background-color: #d52484;
  color: #fff;
  border-radius: 18px;
}

.fav-wrap button.list-play-all>span {
  position: relative;
  padding-left: 25px;
}

.fav-wrap button.list-play-all>span::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}

.list-detail-registered {
  margin-bottom: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid #aaa;
}

.list-detail .cp_ipselect.cp_sl01 {
  width: 300px;
  float: none;
  margin: 0 0 10px;
}

@media screen and (max-width: 834px) {
  /*
  .list-detail-header-title .list-menu {
    display: block;
  }
  */

  .list-detail {
    margin-bottom: 35px;
    padding: 0 0 35px;
    filter: none;
  }

  .list-detail-header {
    margin-bottom: 25px;
    background: #f4f4f4;
  }

  .list-detail-header-thumbnail {
    display: none;
  }

  .list-detail-header-title {
    padding: 25px 20px;
    width: 100%;
  }

  .list-detail-header-title h1 {
    margin-bottom: 10px;
    padding-right: 60px;
    font-size: 14px;
  }

  .list-detail-header-title .list-menu {
    top: 25px;
  }

  .fav-wrap button.list-play-all {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 20px;
    bottom: -20px;
  }

  .fav-wrap button.list-play-all {
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
    border-radius: 50%;
  }

  .fav-wrap button.list-play-all>span {
    padding-left: 0;
  }

  .fav-wrap button.list-play-all>span::before {
    top: auto;
    left: -5px;
  }

  .fav-wrap button.list-play-all span span {
    display: none;
  }

  .list-detail-registered {
    margin: 0 20px 15px;
    padding-bottom: 8px;
    font-size: 1.1rem;
  }

  .list-detail .cp_ipselect.cp_sl01 {
    width: auto;
    margin: 0 20px 10px;
  }
}

.entry-list {
  display: block;
  position: relative;
  width: 100%;
}

.entry-list li {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9e9e9;
}
.entry-list .info-chapter li {
  border-bottom: none;
  margin-right: 5px;
}

.entry-list li a {
  display: flex;
  width: 95%;
  align-items: flex-start;
  padding: 30px 10px 30px 0;
}

.entry-list li a:hover {
  opacity: 0.7;
}

.entry-list-btn {
  position: absolute;
  right: 0;
}

.entry-list-btn .icon-three-point {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
}

.entry-list li .list-menu {
  top: 50%;
  right: 0;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}

.entry-list li .list-menu:hover {
  background: #f2f6fc;
}

.entry-list li .list-menu:focus {
  background: #f2f6fc;
}

.entry-list li .icon-list-action {
  font-weight: bold;
}

.entry-list li .list-menu-panel {
  display: none;
  position: absolute;
  top: 21px;
  right: 0;
  width: 170px;
  padding: 6px 0;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 15%);
  border-radius: 5px;
  background: #fff;
}

.entry-list li .list-menu-panel li {
  border-bottom: 0;
  padding: 10px 15px;
  cursor: pointer;
}

.entry-list li .list-menu-panel li:hover {
  background: #f2f6fc;
  opacity: 1;
}

.entry-list-thumbnail {
  margin-right: 24px;
  position: relative;
  flex: 1 0 201px;
  max-width: 201px;
}

.entry-list-thumbnail span {
  padding: 2px 3px;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
}

.entry-list-thumbnail .entry-list-thumbnail-watched {
  position: absolute;
  left: 2px;
  bottom: 2px;
  background: rgba(51, 51, 51, 0.65);
}

.entry-list-thumbnail .entry-list-thumbnail-time {
  position: absolute;
  right: 2px;
  bottom: 2px;
  background: #333;
}

.entry-list-title .info-chapter {
  margin-bottom: 10px;
  color: #666;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.entry-list-title h2 {
  font-weight: normal;
  font-size: 18px;
}

@media screen and (max-width: 834px) {
  .entry-list {
    padding: 0 20px;
  }


  .entry-list li a {
    margin-right: 25px;
    padding: 15px 10px 15px 0;
  }

  .entry-list li .list-menu {
    width: 25px;
    height: 25px;
  }

  .entry-list li .list-menu-panel {
    top: 18px;
    width: 120px;
    padding: 0;
  }

  .entry-list li .list-menu-panel li {
    padding: 10px;
    font-size: 14px;
  }

  .entry-list-thumbnail {
    margin-right: 10px;
    flex: 1 0 45%;
    max-width: 48%;
    min-width: 48%;
  }

  .entry-list-thumbnail span {
    font-size: 10px;
  }

  .entry-list-title .info-chapter {
    font-size: 10px;
    font-size: 0.75rem;
  }

  .entry-list-title h2 {
    font-size: 12px;
  }
}

/* お気に入りリストページ（SPのみで使用） */
/* favlist-sp-wrap */
.favlist-sp-wrap {
  max-width: 960px;
  display: block;
  margin: 66px auto 100px;
}

.favlist-sp {
  padding: 5px 20px 0;
  background: #fff;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.05));
}

.favlist-sp li {
  position: relative;
  border-bottom: 1px solid #dadada;
}

.favlist-sp li:last-of-type {
  border-bottom: none;
}

.favlist-sp li a {
  display: flex;
  padding: 15px 0;
}

.favlist-sp-thumbnail {
  margin-right: 15px;
  flex: 0 1 24.8%;
}

.favlist-sp-info h1,
.favlist-sp-info h2 {
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
}

.favlist-sp-info h1::before,
.favlist-sp-info h2::before {
  padding-right: 5px;
}

.favlist-sp-playlist {
  margin-bottom: 35px;
  padding: 40px 20px 35px;
  background: #fff;
}

.favlist-sp-playlist > h1 {
  margin-bottom: 15px;
  padding: 0 0 10px;
  border-bottom: 1px solid #aaa;
  font-weight: normal;
}

.favlist-sp-playlist-sort {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.favlist-sp-playlist-sort .cp_ipselect.cp_sl01 {
  margin: 0;
}

.favlist-sp-playlist-sort .cp_ipselect.cp_sl01::before {
  top: 50%;
  transform: translateY(-50%);
}

.favlist-sp-playlist-sort .cp_ipselect.cp_sl01 select {
  height: 44px;
}

.favlist-sp-wrap button[data-modal="addToList"] {
  margin: 0 20px;
  padding: 10px 30px;
  color: #666;
  border-radius: 22px;
  background-color: #e1e9f8;
}
@media screen and (max-width: 375px) {
  .favlist-sp-wrap button[data-modal="addToList"] {
    margin: 0 20px;
    padding: 10px;
  }
  .favlist-sp-info .icon-playlist {
    width: 190px;
  }
}
@media screen and (max-width: 320px) {
  .favlist-sp-info .icon-playlist {
    width: 155px;
  }
}

.favlist-sp-playlist .favlist-sp {
  padding: 0;
  filter: none;
}

.favlist-sp-playlist .favlist-sp li .favlist-sp-info h1,
.favlist-sp-playlist .favlist-sp li .favlist-sp-info h2 {
  padding-left: 20px;
  position: relative;
}

.favlist-sp-playlist .favlist-sp li .favlist-sp-info h1::before,
.favlist-sp-playlist .favlist-sp li .favlist-sp-info h2::before {
  position: absolute;
  top: 2px;
  left: 0;
}

.favlist-sp-playlist .favlist-sp li .list-menu {
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
}

.favlist-sp-info .icon-playlist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 230px;
}

.favlist-sp-playlist .favlist-sp li:last-of-type {
  border-bottom: 1px solid #dadada;
}

@media screen and (max-width: 834px) {
  .favlist-sp-wrap {
    margin: 0;
  }

  .favlist-sp .favlist-sp-thumbnail {
    flex: 0 0 93px;
  }

  .favlist-sp-info h1,
  .favlist-sp-info h2 {
    font-size: 14px;
  }

  .favlist-sp-info .list-detail-header-title-info {
    margin-right: 40px;
    font-size: 10px;
  }

  .favlist-sp .list-menu {
    position: absolute;
    right: 0;
    top: 50%;
    display: block;
    width: 30px;
    height: 30px;
    border: #bbb 1px solid;
    border-radius: 3px;
    transform: translateY(-50%) rotate(90deg);
    font-size: 16px;
  }

  .favlist-sp-playlist > h1,
  .favlist-sp-playlist > h2 {
    font-size: 14px;
  }

  .favlist-sp-playlist-sort .cp_ipselect.cp_sl01 {
    flex-basis: calc(50% - 9px);
    font-size: 11px;
  }

  .favlist-sp-playlist-sort .cp_ipselect.cp_sl01 select {
    height: 35px;
  }

  .favlist-sp-wrap button[data-modal="addToList"] {
    height: 35px;
    margin: 0;
    flex-basis: calc(50% - 9px);
    font-size: 11px;
  }
}

/* お気に入りリストモーダル */
.list-modal-bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 998;
  cursor: pointer;
}

.js-list-modal {
  display: none;
  min-width: 300px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 3px;
  filter: drop-shadow(0, 2px, 2px, rgba(0, 0, 0, 0.05));
  z-index: 999;
}

.js-list-modal input,
.js-list-modal button {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  appearance: none;
}

.js-list-modal button {
  cursor: pointer;
}

.js-list-modal h1 {
  margin-bottom: 20px;
  padding: 18px 25px;
  border-bottom: 1px solid #e9e9e9;
  font-weight: normal;
}

.js-list-delete-modal h1 {
  margin-bottom: 0;
  padding: 25px 20px;
  text-align: center;
  border-bottom: none;
  font-weight: bold;
}

.js-list-delete-modal ul {
  display: flex;
  padding: 0 20px 30px;
}

.js-list-delete-modal ul li {
  text-align: center;
}

.js-list-delete-modal ul li:first-of-type {
  flex: 0 0 50%;
  margin-right: 30px;
  border-bottom: 0;
}

.js-list-delete-modal ul li button {
  height: 40px;
}

.js-list-delete-modal ul li button.delete {
  width: 100%;
  color: #fff;
  background: #1f2c5c;
  border-radius: 20px;
}

.js-list-delete-modal h1 {
  margin-bottom: 0;
  padding: 25px 20px;
  text-align: center;
  border-bottom: none;
  font-weight: bold;
}

.list-delete ul {
  padding: 15px 20px 30px;
}

.list-delete ul li {
  text-align: center;
}

.list-delete ul li button {
  height: 40px;
}

.list-delete ul li button.delete {
  width: 100%;
  color: #fff;
  background: #1f2c5c;
  border-radius: 20px;
}

.list-delete ul li:last-of-type {
  border-bottom: none;
  margin-top: 10px;
}

.list-delete ul li a {
  display: block;
  padding: 20px 20px 20px 45px;
  cursor: pointer;
  position: relative;
}

.list-delete ul li a:hover {
  opacity: 0.5;
}

.list-delete ul li a::before {
  width: 3rem;
  position: absolute;
  top: calc(50% + 1px);
  left: 20px;
  transform: translateY(-50%);
  color: #666;
}

.list-delete ul li a.icon-playlist::before {
  top: calc(50% + 3px);
}

.newlist-modal-action,
.js-list-title-modal-action {
  margin-bottom: 30px;
  padding: 0 25px;
}

.js-list-modal input {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid #d5ddec;
}

.newlist-modal-action ul,
.js-list-title-modal-action ul {
  margin-top: 30px;
}

.newlist-modal-action ul li,
.js-list-title-modal-action ul li {
  margin-bottom: 20px;
  text-align: center;
}

.newlist-modal-action ul li:last-of-type,
.js-list-title-modal-action ul li:last-of-type {
  margin-bottom: 0;
}

.js-newlist-add,
.js-list-title-save {
  width: 100%;
  height: 36px;
  background: #1f2c5c;
  color: #fff;
  border-radius: 18px;
}

.js-newlist-add:disabled,
.js-list-title-save:disabled {
  background: rgba(31, 44, 92, 0.2);
  cursor: default;
}

.list-menu-modal-action li {
  border-top: #e9e9e9 1px solid;
  padding: 18px 20px;
  font-size: 13px;
}

.list-menu-modal-action li:first-child {
  border-top: 0;
}

.list-menu-modal-action li a::before {
  margin-right: 10px;
}

.list-modal-close.is-cancel {
  background: none;
  color: #666;
}

.list-modal-close.is-close {
  width: 20px;
  height: 20px;
  position: absolute;
  top: -30px;
  right: 5px;
  background: none;
}

.list-modal-close.is-close span {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.list-modal-close.is-close span::before,
.list-modal-close.is-close span::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
}

.list-modal-close.is-close span::before {
  right: 50%;
  transform: translateX(50%) rotate(45deg);
}

.list-modal-close.is-close span::after {
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

@media screen and (max-width: 834px) {
  .js-list-modal {
    min-width: auto;
    width: 75%;
  }

  .js-list-modal {
    padding: 0;
  }

  .newlist-modal-action,
  .js-list-title-modal-action {
    padding: 0 20px;
  }
}

/* お気に入り登録用モーダル */
/* 新規リスト作成用モーダル */
.js-registration-modal {
  display: none;
}

.js-registration-modal input,
.js-registration-modal button {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  appearance: none;
}

.js-registration-modal-inner {
  width: 300px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 3px;
  filter: drop-shadow(0, 2px, 2px, rgba(0, 0, 0, 0.05));
  z-index: 999;
}

.js-registration-modal-inner button {
  cursor: pointer;
}

.js-registration-modal-inner h1 {
  margin-bottom: 20px;
  padding: 18px 25px;
  border-bottom: 1px solid #e9e9e9;
  font-weight: normal;
}

.js-registration-modal-inner .registration-modal-action {
  margin-bottom: 30px;
  padding: 0 25px;
}

.js-registration-modal-inner .registration-modal-action ul {
  margin: 20px 0;
}

.js-registration-modal-inner .registration-modal-action ul li {
  margin-bottom: 10px;
}

.js-registration-modal-inner .registration-modal-action ul li:last-of-type {
  margin-bottom: 0;
}

.registration-list {
  display: flex;
  align-items: center;
}

.registration-list span:nth-of-type(2){
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-basis: calc(100% - 20px);
}

.checkbox-parts {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
  margin-right: 12px;
  min-width: 15px;
  position: relative;
  border: 1px solid #666;
  border-radius: 3px;
}

#registration-list-name:checked + .checkbox-parts {
  background: #d52484;
  border: none;
}

#registration-list-name:checked + .checkbox-parts::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 5px;
  width: 6px;
  height: 12px;
  transform: rotate(45deg);
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}

.registration-list input#registration-list-name {
  display: none;
}

.registration-list .icon-heart::before {
  padding-right: 3px;
  color: #666;
  font-size: 14px;
}

.js-registration-modal .item-signup {
  width: 100%;
  height: 36px;
  margin-bottom: 10px;
  background: #1f2c5c;
  color: #fff;
  border-radius: 18px;
}

.js-registration-modal .add-list {
  width: 100%;
  height: 36px;
  background: #fff;
  color: #666;
  border: 1px solid #bbb;
  border-radius: 18px;
}

@media screen and (max-width: 834px) {
  .js-registration-modal-inner {
    /* width: 75%; */
    width: 100%;
  }

  .js-registration-modal-inner h1 {
    padding: 18px 20px;
  }

  .js-registration-modal-inner .registration-modal-action {
    padding: 0 20px;
  }
}

/* お気に入り編集用モーダル */
.js-list-modal-switch {
  cursor: pointer;
}
