/*
Theme Name:original
*/
@charset "UTF-8";

*{
  border: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 16px;
  color: #464036;
  line-height: 1.6em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

html{
  background: url('./images/bk_8th_pc.png') no-repeat,linear-gradient(to bottom right, rgba(23,22,98,1), rgba(0,0,0,1));
  background-position: bottom center;
  background-size: contain;
  padding-top: 50px;
}

header{
  position:fixed;
  height: 50px;
  background: linear-gradient(to bottom right, rgba(200,36,36,1), rgba(238,73,73,1));
  z-index: 900;
  top: 0;
  width: 100%;
  display: block;
  box-shadow: 0 0 5px #630904;
}

img{
  display: block;
  width: 100%;
}

ul,ol{
  list-style: none;
}

a{
  text-decoration: none;
}

input{
  border: 1px solid #ccc;
  padding: 10px 10px 10px 44px;
  border-radius: 50px;
}
select{
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  white-space: nowrap;   /* 折り返さない */
  overflow: hidden;      /* はみ出した部分を隠す */
  text-overflow: ellipsis; /* …で省略 */
}
/* パソコン時、電話のリンクを許可しない */
a[href^="tel:"] {
    pointer-events: none;
}

footer{
  padding: 0 30px 30px 30px;
  position: relative;
}

/* ブレイクポイント毎のデザイン */
@media (max-width:768px) {
  *{
    border: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 14px;
    color: #464036;
    line-height: 1.6em;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  }

  html{
  background: url('./images/bk_8th_sp.png') no-repeat,linear-gradient(to bottom right, rgba(23,22,98,1), rgba(0,0,0,1));
    background-position: bottom center;
  /*background-size: 310%;*/
  background-size: 170%;
   padding-top: 50px;
  }

  header{
    position:fixed;
    height: 50px;
    background-color: #c70b00;
    z-index: 900;
    top: 0;
    width: 100%;
    display: block;
  }

  footer{
    padding: 30px;
  }
}

/* ---------------------------------------------------------------------- */
/* 共通クラス ここから↓*/
/* ---------------------------------------------------------------------- */
.showPc{
  display: block;
}
.showSp{
  display: none;
}

/* 外部リンク */
.link{
  text-decoration: underline;
  color: #c70b00;
  font-weight: bold;
}
/* 共通ボタン */
.btn-common1{
  display: block;
  max-width: 300px;
  padding: 20px;
  text-align: center;
  border-radius: 100px;
  background: linear-gradient(to bottom right, rgba(200,36,36,1), rgba(238,73,73,1));
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  transition: opacity 0.3s ease;
  margin: 0 auto;
}
.btn-common1:hover{
  opacity: 0.7;
  cursor: pointer;
}
.btn-common1:before,
.btn-common1:after{
  content: "♥";
  padding: 0 5px;
}

.main-message{
  font-family: Arial;
  font-size: 32px;
  font-weight: bold;
  line-height: 1em;
  display: block;
  padding: 5px 0 0 30px;
  color: #f7bac2;
  width: 240px;
}
.main-message span{
  display: block;
  font-family: Arial;
  font-size: 8px;
  font-weight: bold;
  line-height: 0.5em;
  color: #f7bac2;
}

.header-logo{
  width: 100%;
  position: relative;
}

/* ロゴ */
.logo{
  width: 100%;
  max-width: none;
  margin: 0 auto 2vw auto;
  border-radius: 0;
}

/* エミムさんのイラスト */
.emimu{
  position: absolute;
  right: -65px;
  top: -94px;
  width: 32%;
}
.emimu img{
  width: 100%;
  position: relative;
  z-index: -1;
}

.search-form-container{
  margin: 0 auto;
  width: 90%;
  max-width: 700px;
}

/* キーワード検索 */
.keyword-search{
  width: 100%;
  margin-bottom: 15px;
}

.keyword-search input{
  width: 100%;
  background: #fff url('https://cdn-icons-png.flaticon.com/512/622/622669.png') no-repeat 8px center;
  background-size: 16px 16px;
  background-position: 16px center;
}

/* アーティスト名とジャンル検索エリア */
.taxonomies-search{
  display: flex;
  justify-content: space-between;
}
.taxonomies-search select{
  width: 49%;
}

/* 検索ボタン */
.search-button{
  width: 70%;
  max-width: 220px;
  margin: 40px auto;
}
.search-button button{
  width: 100%;
  padding: 10px;
  text-align: center;
  border-radius: 100px;
  background: linear-gradient(to bottom right, rgba(200,36,36,1), rgba(238,73,73,1));
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  transition: opacity 0.3s ease;
}
.search-button button:hover{
  opacity: 0.7;
  cursor: pointer;
}
.search-button button:before,
.search-button button:after{
  content: "♥";
  padding: 0 5px;
}



/* 検索結果の外枠 */
.page-container{
  margin: 0 auto;
  width: 96%;
  max-width: 1500px;
}

/* 検索結果 */
.song-list{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 50px 0 0 0;
}
.song-item{
  width: 24%;
  border: 1px solid #ccc;
  border-radius: 3%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0 0.5% 2% 0.5%;
  background-color: rgba(255,255,255,1);
}
.song-item img{
  border-radius: 3% 3% 0 0;
}
.youtube-embed iframe{
  width: 100%;
  height: 12vw;
  border-radius: 3% 3% 0 0;
}
.song-item-inner{
  padding: 3% 5%;
}
.song-name{
  text-align: center;
  font-weight: bold;
  padding: 0 0 5% 0;
}
.song-name a{
  text-decoration: underline;
  color: #c70b00;
  font-weight: bold;
  font-size: 1.2em;
}
.song-artist a,
.song-genre a{
  font-size: 1em;
  text-decoration: underline;
}
.song-date{
  display: flex;
  font-size: 0.9rem;
  align-items: center;
  padding: 1px 0 0 0;
}
span.material-icons{
  font-size: 0.9rem;
  padding-right: 3%;
  color: #f8c4c4;
}
.youtube-button{
  display: block;
  width: 80%;
  max-width: 200px;
  margin: 3% auto 8% auto;
  text-align: center;
  background-color: #eee;
  border-radius: 5px;
  padding: 5px;
  font-weight: bold;
  font-size: 0.9em;
}
.youtube-button:before,
.youtube-button:after{
  content: "♥";
  padding: 0 5px;
  color: #c82424;
}

/* リンク */
.link-lists{
  display: flex;
  width: 300px;
  padding: 0 0 10px 20px;
}
.link-lists li a{
  display: flex;
  align-items: center;
}
.link-lists li:nth-child(1){
  width: 40px;
  padding: 0 10px 0 0;
}
.link-lists li:nth-child(2){
  width: 150px;
  padding: 0 10px;
}
.link-lists li:nth-child(3){
  width: 150px;
  padding: 0 10px;
}
.link-lists li img,
.link-lists li svg{
  width: 100%;
}
.home .link-lists{
  display: none;
}

/* 免責事項 */
.footer-disclaimer{
  display: flex;
}
.footer-disclaimer li{
  font-size: 12px;
  padding: 20px;
  background-color: rgba(255,255,255,0.5);
}
.footer-disclaimer li a{
  font-size: 12px;
  text-decoration: underline;
  color: #c82424;
}

/* Copyright */
.copyright{
  font-size: 12px;
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #fff;
}
/* ブレイクポイント毎のデザイン */
@media (max-width:768px) {
  .showPc{
    display: none;
  }
  .showSp{
    display: block;
  }

  .btn-common1{
    display: block;
  max-width: 200px;
  padding: 15px;
    text-align: center;
    border-radius: 100px;
    background: linear-gradient(to bottom right, rgba(200,36,36,1), rgba(238,73,73,1));
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s ease;
    margin: 0 auto;
  }
  .btn-common1:hover{
    opacity: 0.7;
    cursor: pointer;
  }
  .btn-common1:before,
  .btn-common1:after{
    content: "♥";
    padding: 0 5px;
  }

  /* ロゴ */
  .logo{
    width: 100%;
    max-width: none;
    margin: 0 auto 5vw auto;
    border-radius: 0;
  }

  .header-logo{
    width: 100%;
    position: relative;
  overflow: hidden;
  height: 55vh;
  margin-bottom: 5vw;
  }

  /* スマホだけ横スクロール */
  .hero-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .hero-scroll img {
    width: auto !important;
    max-width: none !important;
    height: 53vh;
    display: block;
  }

  .main-message{
    font-family: Arial;
    font-size: 32px;
    font-weight: bold;
    line-height: 1em;
    display: block;
  padding: 5px 0 0 15px;
    color: #f7bac2;
  }
  .main-message span{
    display: block;
    font-family: Arial;
    font-size: 8px;
    font-weight: bold;
    line-height: 0.5em;
    color: #f7bac2;
  }

  /* エミムさんのイラスト */
  .emimu{
    position: absolute;
  right: auto;
  left: 68%;
  top: -65%;
  width: 31%;
  }
  .emimu img{
    width: 100%;
    position: relative;
    z-index: -1;
  }

  .search-form-container{
    margin: 0 auto;
    width: 90%;
    max-width: 700px;
  }

  /* キーワード検索 */
  .keyword-search{
    width: 100%;
    margin-bottom: 10px;
  }
  .keyword-search input{
    width: 100%;
  }

  /* アーティスト名とジャンル検索エリア */
  .taxonomies-search{
    display: flex;
    justify-content: space-between;
  flex-direction: column;
  }
  .taxonomies-search select{
  width: 100%;
  margin-bottom: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background: white url('data:image/svg+xml;utf8,<svg fill="black" height="10" viewBox="0 0 24 24" width="10" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right center;
  background-size: 26px;
  padding: 10px 30px 10px 10px;
  }

  /* 検索ボタン */
  .search-button{
    width: 70%;
    max-width: 300px;
  margin: 20px auto 40px auto;
  }
  .search-button button{
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 100px;
    background-color: #c82424;
    color: #fff;
    font-weight: bold;
  }
  .search-button button:before,
  .search-button button:after{
    content: "♥";
    padding: 0 5px;
  }

  /* 検索結果の外枠 */
  .page-container{
    margin: 0 auto;
  width: 96%;
    max-width: 1500px;
  }

  /* 検索結果 */
  .song-list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  margin: 30px 0 0 0;
  justify-content: space-between;
  }
  .song-item{
  width: 90%;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0 auto 5% auto;
    background-color: rgba(255,255,255,1);
  }
  .song-item img{
    border-radius: 5% 5% 0 0;
  }
  .youtube-embed iframe{
    width: 100%;
    height: 49vw;
  border-radius: 20px 20px 0 0;
  }
  .song-item-inner{
    padding: 5%;
  }
  .song-name{
    text-align: center;
    font-weight: bold;
    padding: 0 0 5% 0;
  }
  .song-name a{
    text-decoration: underline;
    color: #c70b00;
    font-weight: bold;
    font-size: 1.4em;
  }
  .song-artist a,
  .song-genre a{
    font-size: 1.1em;
    text-decoration: underline;
  }
  .song-date{
    display: flex;
    font-size: 1.1em;
    align-items: center;
    padding: 5px 0 0 0;
    color: #888;
  }
  span.material-icons{
    font-size: 1.1em;
    padding-right: 2%;
    color: #f8c4c4;
  }
  .youtube-button{
    display: block;
    width: 80%;
    max-width: 200px;
  margin: 3% auto 10% auto;
    text-align: center;
    background-color: #eee;
    border-radius: 5px;
    padding: 8px 5px;
    font-weight: bold;
    font-size: 1em;
  }
  .youtube-button:before,
  .youtube-button:after{
    content: "♥";
    padding: 0 5px;
    color: #c82424;
  }

  /* リンク */
  .link-lists{
    display: flex;
    width: 300px;
    padding: 0 0 10px 20px;
  }
  .link-lists li a{
    display: flex;
    align-items: center;
  }
  .link-lists li:nth-child(1){
    width: 40px;
    padding: 0 10px 0 0;
  }
  .link-lists li:nth-child(2){
    width: 150px;
    padding: 0 10px;
  }
  .link-lists li:nth-child(3){
    width: 150px;
    padding: 0 10px;
  }
  .link-lists li img,
  .link-lists li svg{
    width: 100%;
  }

  /* 免責事項 */
  .footer-disclaimer{
    display: flex;
  flex-direction: column;
  }
  .footer-disclaimer li{
    font-size: 12px;
    padding: 20px;
    background-color: rgba(255,255,255,0.5);
  }
  .footer-disclaimer li a{
    font-size: 12px;
    text-decoration: underline;
    color: #c82424;
  }

  /* Copyright */
  .copyright{
  font-size: 10px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #fff;
  }
}
/* ---------------------------------------------------------------------- */
/* 共通クラス ここまで↑*/
/* ---------------------------------------------------------------------- */


/* ---------------------------------------------------------------------- */
/* ランキングページ ここから↓*/
/* ---------------------------------------------------------------------- */
#ranking-filter{
  margin-bottom: 10px;
}

.songs-list{
  width: 100%;
  margin: 10px 0;
}
.songs-list > li{
  display: flex;
  align-items: center;
  padding: 5px;
  border-bottom: 1px dotted #ccc;
}
.songs-list > li:last-child{
  border-bottom: 0;
  border-radius: 0 0 10px 10px;
}
.songs-list > li span{
  padding: 5px;
}
.songs-list > li > div{
  display: flex;
  align-items: center;
  width: calc(100% - 100px);
  justify-content: space-between;
}
/* ヘッダー（li） */
.songs-list-header{
  background-color: #c70b00;
  text-align: center;
  border-radius: 10px 10px 0 0;
}
/* リスト（li） */
.songs-list-item{
  background-color: #fff;
}
.songs-list-header span{
  color: #fff;
  font-weight: bold;
}
/* No */
.songs-list-no{
  width: 50px;
  text-align: center;
}
/* 曲名 */
.songs-list-song-name{
  width: 40%;
}
.songs-list-song-name a{
  text-decoration: underline;
  color: #c70b00;
  font-weight: bold;
}
/* アーティスト */
.songs-list-artist-name{
  width: 30%;
}
/* ジャンル */
.songs-list-genre-name{
  width: 30%;
}
/* 件数 */
.songs-list-count{
  width:50px;
}
.songs-list-item .songs-list-count{
  text-align: right;
}

/* ブレイクポイント毎のデザイン */
@media (max-width:768px) {
  .songs-list{
    width: 100%;
    margin: 10px 0;
  }
  .songs-list > li{
    display: flex;
    align-items: center;
    padding: 5px;
    border-bottom: 1px dotted #ccc;
  }
  .songs-list > li:last-child{
    border-bottom: 0;
    border-radius: 0 0 10px 10px;
  }
  .songs-list > li span{
    padding: 5px;
  }
  .songs-list > li div span{
  padding: 0;
  }
  .songs-list > li > div{
    display: flex;
    align-items: center;
    width: calc(100% - 100px);
    justify-content: space-between;
  flex-direction: column;
  }
  /* ヘッダー（li） */
  .songs-list-header{
    background-color: #c70b00;
    text-align: center;
    border-radius: 10px 10px 0 0;
  }
  /* リスト（li） */
  .songs-list-item{
    background-color: #fff;
  }
  .songs-list-header span{
    color: #fff;
    font-weight: bold;
  }
  /* No */
  .songs-list-no{
    width: 50px;
    text-align: center;
  }
  /* 曲名 */
  .songs-list-song-name{
  width: 100%;
  }
  /* アーティスト */
  .songs-list-artist-name{
  width: 100%;
  }
  /* ジャンル */
  .songs-list-genre-name{
  width: 100%;
  }
  /* 件数 */
  .songs-list-count{
    width:50px;
  }
  .songs-list-item .songs-list-count{
    text-align: right;
  }
}
/* ---------------------------------------------------------------------- */
/* ランキングページ ここまで↑*/
/* ---------------------------------------------------------------------- */

/* ---------------------------------------------------------------------- */
/* 404ページ ここから↓*/
/* ---------------------------------------------------------------------- */
.error-img{
  width: 90%;
  max-width: 900px;
  margin: 6% auto 3% auto;
  padding: 5%;
  background-color: rgba(255,255,255,0.5);
  border-radius: 30px;
}

/* ブレイクポイント毎のデザイン */
@media (max-width:768px) {
  .error-img{
    width: 90%;
    max-width: 900px;
  margin: 10% auto 7% auto;
    padding: 5%;
    background-color: rgba(255,255,255,0.5);
  border-radius: 20px;
  }
}
/* ---------------------------------------------------------------------- */
/* 404ページ ここまで↑*/
/* ---------------------------------------------------------------------- */


.sns-ico-lists{
  display: flex;
  width: 90%;
  max-width: 500px;
  margin: 30px auto;
  justify-content: center;
}
.sns-ico-lists li{
  width: 25%;
}
.sns-ico-lists li a{
  display: flex;
  width: 50px;
  height: 50px;
  border-radius: 60px;
  background: rgba(255,255,255,0.6);
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.sns-ico-lists li a img{
  width: 50%;
}

/* ページネーション */
.pagination{
  display: flex;
  justify-content: center;
  padding: 15px 0;
}
.page-numbers{
  padding: 15px;
  font-weight: bold;
  color: #c70b00;
}
.current{
  background: url('./images/heart.png') no-repeat;
  background-size: contain;
  background-position: center center;
  color: #fff;
  font-weight: bold;
}

.common-h2{
  text-align: center;
  font-size: 40px;
  color: #fff;
}
/* ブレイクポイント毎のデザイン */
@media (max-width:768px) {
  .common-h2{
    text-align: center;
    font-size: 7vw;
    color: #fff;
  }
}

/* 楽曲リクエストページ */
.request-lists{
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  margin: 50px auto;
}
.request-lists li{
  background-color: rgba(255,255,255,1);
  border-radius: 0 30px 30px 0;
  padding: 30px;
  margin: 0 0 50px 0;
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.request-youtube{
  width: 47%;
}

.request-lists li > section{
  padding: 20px;
  width: 48%;
}
.request-lists li > section h3{
  font-size: 28px;
  line-height: 1em;
  padding: 5px 10px;
  border-left: 5px solid #464036;
}
.request-lists li > section span{
  display: block;
  margin: 5px 0 20px 0;
  color: rgba(165,128,51,1);
}
.request-lists .btn-common1{
  margin: 30px auto 0 auto;
}
.request-lists blockquote{
    position:relative;
    border-top:1px solid #7A87B0;
    border-bottom:1px solid #7A87B0;
    padding:10px 20px;
    margin: 20px 0;
}
.request-lists blockquote:before{
    position:absolute;
    background-color:#FFFFFF;
    color:#7A87B0;
    font-family:'FontAwesome';
    content:'\f10d';
    line-height:1;
    text-align:center;
    top:-20px;
    left:-10px;
    padding:10px;
    font-size:20px;
}
.request-lists blockquote {
    position: relative; /* <- これ必須 */
}

.request-lists blockquote:after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* solidアイコン */
    font-size: 20px;
    color: #7A87B0;
    background-color: #FFFFFF;
    padding: 10px;
    line-height: 1;
    text-align: center;

    position: absolute;
    right: -10px;
    bottom: -20px;
}

.request-lists blockquote cite {
    display: block;
    padding-right: 30px;
    font-size: 0.8rem;
    text-align: right;
    color: #808080;
}


@media (max-width:768px) {
  /* 楽曲リクエストページ */
  .request-lists{
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    margin: 50px auto;
  }
  .request-lists li{
    background-color: rgba(255,255,255,1);
  border-radius: 0 0 30px 30px;
  padding: 0;
    margin: 0 0 50px 0;
    width: 100%;
    display: flex;
  flex-direction: column-reverse;
    justify-content: space-between;
  }
  .request-youtube{
  width: 100%;
  height: 50vw;
  }

  .request-lists li > section{
  padding: 30px;
  width: 100%;
  }
  .request-lists li > section h3{
  font-size: 20px;
    line-height: 1em;
    padding: 5px 10px;
    border-left: 5px solid #464036;
  }
  .request-lists li > section span{
    display: block;
    margin: 5px 0 20px 0;
    color: rgba(165,128,51,1);
  font-size: 14px;
  }
  .request-lists .btn-common1{
    margin: 30px auto 0 auto;
  }
}


/* 写真ギャラリー */
.photo-gallery-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* タグ全体 */
.x-tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0;
  padding: 20px;
  list-style: none;
  background-color: #fff0f5; /* 薄いピンク背景 */
  border-radius: 12px;
}

/* li全体 */
.x-tag-item {
  flex: 1 0 auto;
  border-radius: 12px;
  transition: 0.3s;
}

/* チェックボックスは完全非表示 */
.x-tag-item input[type="checkbox"] {
  display: none;
}

/* labelをli全体に広げる */
.x-tag-item label {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background-color: #ff7f7f; /* 初期薄赤 */
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

/* チェック済みのli */
.x-tag-item:has(input[type="checkbox"]:checked) label {
  background-color: #c70b00; /* 濃赤 */
  color: #fff;
  font-weight: bold;
}
.x-tag-item:has(input[type="checkbox"]:checked) label span{
  color: #fff;
}

/* ハートを追加 */
.x-tag-item:has(input[type="checkbox"]:checked) label::after {
  content: " ♥";
  margin-left: 6px;
  color: #fff;
  animation: pop-heart 0.3s ease;
}

/* ハートアニメーション */
@keyframes pop-heart {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* PC用：hover対応端末のみ */
@media (hover: hover) {
  .x-tag-item label:hover {
    background-color: #c70b00; /* 濃赤 */
  }
  .x-tag-item label:hover span{
    color: #fff;
  }
}

/* スマホなどhoverなし端末：チェックされていない場合は初期色 */
@media (hover: none) {
  .x-tag-item:not(:has(input[type="checkbox"]:checked)) label {
    background-color: #ff7f7f; /* 薄赤 */
  }
}

/* ---------------------------------------------------------------------- */
/* Videos フィルターUI ここから↓ */
/* ---------------------------------------------------------------------- */
.video-filter-lead,
.selected-sub-filter-title {
  text-align: center;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.video-filter-area {
  margin: 0 auto;
}

.selected-sub-filter-area {
  margin: 0 auto 25px auto;
  padding: 18px 20px;
  background-color: rgba(255,255,255,0.65);
  border-radius: 18px;
}

.selected-sub-filter-title {
  color: #c70b00;
  margin-bottom: 12px;
}

.selected-sub-filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.selected-sub-filter-chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, rgba(200,36,36,1), rgba(238,73,73,1));
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.12);
}


.selected-sub-filter-edit-button {
  padding: 9px 18px;
  border-radius: 999px;
  background-color: #fff;
  color: #c70b00;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid #c70b00;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.selected-sub-filter-edit-button::before {
  content: "↻ ";
  color: #c70b00;
}

@media (hover: hover) {
  .selected-sub-filter-edit-button:hover {
    background-color: #fff0f5;
  }
}

.video-sub-filter-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.video-sub-filter-modal.is-open {
  display: block;
}

.video-sub-filter-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.45);
}

.video-sub-filter-dialog {
  position: relative;
  width: 92%;
  max-width: 920px;
  max-height: 82vh;
  overflow-y: auto;
  margin: 8vh auto 0 auto;
  padding: 34px 28px 28px 28px;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.video-sub-filter-dialog h3 {
  text-align: center;
  font-size: 24px;
  line-height: 1.3em;
  color: #c70b00;
  margin-bottom: 6px;
}

.video-sub-filter-note {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-bottom: 18px;
}

.video-sub-filter-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #eee;
  color: #c70b00;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.video-sub-filter-list {
  max-height: 48vh;
  overflow-y: auto;
  margin: 20px 0;
}

.video-sub-filter-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.video-sub-filter-clear,
.video-sub-filter-apply {
  min-width: 180px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

.video-sub-filter-clear {
  background-color: #eee;
  color: #c70b00;
}

.video-sub-filter-apply {
  background: linear-gradient(to bottom right, rgba(200,36,36,1), rgba(238,73,73,1));
  color: #fff;
}

body.video-filter-modal-open {
  overflow: hidden;
}

@media (max-width:768px) {
  .video-filter-area {
    width: 96%;
    margin: 20px auto 0 auto;
  }

  .video-filter-area .x-tag-filter {
    gap: 8px;
    padding: 14px;
  }

  .video-filter-area .x-tag-item label {
    padding: 12px 10px;
    font-size: 13px;
  }

  .video-sub-filter-dialog {
    width: 94%;
    max-height: 86vh;
    margin-top: 7vh;
    padding: 32px 16px 20px 16px;
    border-radius: 20px;
  }

  .video-sub-filter-dialog h3 {
    font-size: 20px;
  }

  .video-sub-filter-list {
    max-height: 52vh;
  }

  .video-sub-filter-actions {
    flex-direction: column;
  }

  .video-sub-filter-clear,
  .video-sub-filter-apply {
    width: 100%;
  }
}
/* ---------------------------------------------------------------------- */
/* Videos フィルターUI ここまで↑ */
/* ---------------------------------------------------------------------- */


/* 公開年フィルター */
.video-filter-year {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin: 20px 0 25px 0;
  padding: 0 20px;
}

.video-year-filter-label {
  1color: #c70b00;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}

.video-year-filter-select {
  min-width: 180px;
  padding: 10px 36px 10px 14px;
  border: 2px solid #c70b00;
  border-radius: 999px;
  background-color: #fff;
  color: #c70b00;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width:768px) {
  .video-filter-year {
    padding: 0 14px;
  }

  .video-year-filter-select {
    min-width: 150px;
  }
}
