@charset "utf-8";

/* ------------------------------
   基本
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

#sp {
  margin: 0 auto;
  width: 100%;
  padding: 0;
  background: #fff;
}

#sp a img:hover {
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: alpha(opacity=70);
}

#sp img {
  vertical-align: text-bottom;
  pointer-events: none;
}

#sp a {
  color: #333;
}

/* ------------------------------
   タイトル
------------------------------ */
#sp #sp-tl {
  width: 100%;
  margin: 0;
  padding: 10px 0 5px 0;
  background:url(../img/bg.png) bottom right no-repeat;
  background-size: cover;
  position: relative;
  text-align: center;
}

#sp #sp-tl h1 {
  width: 93.173vw;
  margin: 0 auto;
  padding: 0 0 0 0;
}

#sp #sp-tl h1 img {
  width: 100%;
  vertical-align: bottom;
}

/* ------------------------------
   作品セクション
------------------------------ */
#sp .sakuhin-section{
  width: 100%;
  max-width: 1000px;
  margin: 20px auto 0;
}

/* ------------------------------
   カテゴリ見出し
------------------------------ */
#sp .category-title {
  width: 100%;
  margin: 0 0 20px;
  padding: 6px 20px;
  background: #5170ff;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
}

#sp .category-title small {
  font-size: 20px;
}

/* ------------------------------
   作品リスト
------------------------------ */
#sp .sakuhin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 35px 20px;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto 35px;
}

#sp .sakuhin-list a {
  display: block;
}

/* ------------------------------
   作品カード
------------------------------ */
#sp .sakuhin-card {
  display: flex;
  flex-direction: column;
  width: calc((100% - 40px) / 3);
  color: #333;
  text-decoration: none;
}

/* ------------------------------
   作品画像
------------------------------ */
#sp .sakuhin-image {
  width: 100%;
  height: auto;
}

#sp .sakuhin-image img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
}

/* ------------------------------
   作品テキスト部分
------------------------------ */
#sp .sakuhin-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 0;
}

#sp .sakuhin-title, 
#sp .sakuhin-title2 {
  display: block;
  margin: 0;
  min-height: 1.5em;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  font-feature-settings: "palt";
  text-decoration: underline;
}

#sp .sakuhin-title small, 
#sp .sakuhin-title2 small {
  font-size: 17px;
}

#sp .sakuhin-title:hover, 
#sp .sakuhin-title2:hover {
  color: #d7002a;
}

/* ------------------------------
   放送日
------------------------------ */
#sp .sakuhin-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.4;
}

#sp .sakuhin-meta .airdate {
  white-space: nowrap;
}

/* ------------------------------
   初放送アイコン
------------------------------ */
#sp .first-broadcast {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

#sp .first-broadcast.jp {
  background: #c90827;
}
#sp .first-broadcast.tv {
  background: #bba132;
}
#sp .first-broadcast.cs {
  background: #288848;
}
#sp .first-broadcast.ba {
  background: #c279b1;
}

/*アイコンを画像にする場合
#sp .first-broadcast {
  height: 20px;
  flex-shrink: 0;
}

#sp .first-broadcast img {
  display: block;
  width: 100%;
  height: 100%;
} */

/* ------------------------------
   お知らせリンク
------------------------------ */
#sp p.oshirase {
  width: 90vw;	
  max-width: 1000px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: #333;
}

#sp p.oshirase big {
  font-size: 24px;
}

#sp p.oshirase a {
  color: #333;
  text-decoration: underline;
}

#sp p.oshirase a:hover {
  color: #d7002a;
}

/* ------------------------------
   スカパー！バナー
------------------------------ */
#sp .bnr_skp {
  width: 90vw;
  margin: 40px auto 45px;
  padding: 0;
}

#sp .bnr_skp a {
  width: 100%;
  display: block;
  cursor: pointer;
}

#sp .bnr_skp img {
  width: 100%;
}

/* ------------------------------
   SNS
------------------------------ */
#sp .btnArea {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 45px 0;
}

#sp .snsLink {
  width: 90vw;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

#sp .snsLink ul {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
}

#sp .snsLink ul li {
  width: 27.188vw;
}

#sp .snsLink ul li a {
  width: 27.188vw;
  border-radius: 3px;
  display: block;
}

#sp .snsLink ul li.x a {
  padding: 1.837vw 0;
  background-color: #000;
}

#sp .snsLink ul li.fb a {
  padding: 1.837vw 0;
  background-color: #0078ee;
}

#sp .snsLink ul li.line a {
  padding: 1.837vw 0;
  background-color: #00cc33;
}

#sp .snsLink ul li img {
  width: 6.250vw;
}

/* ------------------------------
   コピーライト
------------------------------ */
#sp p.copy-txt {
  width: 90vw;	
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 45px 0;
  font-size: 12px;
  text-align: left;
}

/* ------------------------------
   PC
------------------------------ */
@media (min-width: 1001px) {
  #sp #sp-tl {
    background:url(../img/bg.png) top center no-repeat;
    background-size: cover;
  }
  #sp #sp-tl h1 {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 0 0 0;
  }
  #sp .category-title {
    margin: 0 0 20px;
  }
	#sp .sakuhin-list {
    margin-left: 0;
    margin-right: 0;
  }
/*
  タイトル部分を一定の高さにする。
  2行分の高さを確保することで、
  タイトルが1行でも2行でも
  下の放送日位置を揃える。
*/
  #sp .sakuhin-title2 {
    min-height: calc(1.5em * 2);
  }
  #sp .bnr_skp {
    max-width: 861px;
    padding: 0;
  }
  #sp .snsLink {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }
  #sp .snsLink ul li {
    width: 286px;
  }
  #sp .snsLink ul li a {
    width: 286px;
    border-radius: 5px;
  }
  #sp .snsLink ul li.x a {
    padding: 8px 0;
  }
  #sp .snsLink ul li.fb a {
    padding: 8px 0;
  }
  #sp .snsLink ul li.line a {
    padding: 9px 0;
  }
  #sp .snsLink ul li img {
    width: 30px;
  }
}

/* ------------------------------
   タブレット
------------------------------ */
@media (min-width: 601px) and (max-width: 1000px) {
  #sp .sakuhin-list {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
  #sp .sakuhin-card {
    width: calc((100% - 20px) / 2);
  }
}

/* ------------------------------
   スマホ
------------------------------ */
@media (max-width: 600px) {
  #sp .category-title {
    padding: 6px 20px;
    font-size: 16px;
  }
  #sp .category-title small {
    font-size: 14px;
  }	
  #sp .sakuhin-list {
    width: auto;
    margin-left: 15px;
    margin-right: 15px;	
    margin-bottom: 30px;
    gap: 25px 15px;	
  }
  #sp .sakuhin-card {
    width: calc((100% - 15px) / 2);
  }
  #sp .sakuhin-title, 
  #sp .sakuhin-title2 {
    font-size: 15px;
    line-height: 1.4;
  }
  #sp .sakuhin-title2 {
    min-height: 1.5em;
  }
  #sp .sakuhin-title small, 
  #sp .sakuhin-title2 small {
    font-size: 14px;
  }
  #sp .sakuhin-meta {
    gap: 4px;
    margin-top: 4px;
    font-size: 14px;
  }
  #sp .first-broadcast {
    width: 90px;
    height: 16px;
    font-size: 10px;
  }
}
