@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.date-tags {
    display: none;
}

.sns-follow-message, .sns-share-message {
    display: none;
}

.sns-buttons {
    display: none;
}

.footer-meta {
    display: none;
}

.tagline {
    display: none;
}

.copyright {
    display: none;
}

.comment-area {
    display: none;
}

/*動画下部についているタグクラウドの見た目を整えるCSS*/
.post-tags {
  margin-top: 1em;
  padding: 0.5em 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.post-tag-link {
  display: inline-block;
  background-color: #f2f2f2;
  color: #333;
  font-size: 0.9em;
  padding: 0.4em 0.8em;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-tag-link:hover {
  background-color: #0073aa;
  color: #fff;
}

/*関連キャストの自動挿入の見た目を整えるCSS*/
.player-card {
  display: flex;
  align-items: flex-start;
  background: #f5f5f5;
  padding: 20px;
  border: 1px solid #ccc;
  max-width: 1000px;
  max-height: 220px;
  margin: 20px auto;
  gap: 20px;
  overflow: hidden; 
}

.player-images {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.square-img {
  width: 320px;
  height: 180px;
  object-fit: cover;
}

.vertical-img {
  width: 140px;
  height: 180px;
  object-fit: cover;
}

.player-info {
  flex: 1;
}

.player-header {
  font-size: 18px;
  margin-bottom: 5px;
}

.player-name {
  margin-right: 10px;
}

.player-stats {
  font-size: 16px;
}

.player-comment {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* 3行でカット（60字程度） */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.player-button {
  display: block;
  margin: auto;
  padding: 6px 24px;
  border: 3px solid #cc1f24;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  text-align: center;
  width: 180px;
  background-color: #dbdbdb;
  font-weight: bold;
}

/*サイトタイトル*/
.logo {
    background-color: #b51414;
}

.site-name-text {
	font-weight: bold;
	color:#fff;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*547px以下*/
@media screen and (max-width: 547px){
/*キャスト紹介コンテンツのスマホ版CSS*/
  .player-card {
    flex-direction: column; /* 縦並びに変更 */
    max-height: none;       /* 高さ制限解除（必要に応じて） */
  }

  .player-images {
    flex-direction: row; /* 画像を横並びに変更 */
    justify-content: center;
  }
	
  .player-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .player-button {
    margin-top: 10px;
  }
}
