@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/* タイル4列 */
.ect-3-columns {
  justify-content: space-around;
}
.ect-3-columns .entry-card-wrap {
 width: 19%;
}
.ect-3-columns .entry-card-snippet {
  max-height: 4em;
  overflow: hidden;
}

.ect-3-columns .ad-area {
  width: 19%;
}
/* タイル同士の幅を広げる */
.entry-card, .related-entry-card {
  position: relative;
  height: 100%;
  margin: 5px;
}
/* タイルカードのサムネを同じ比率で揃える（16:9例） */
.ect-tile-card .entry-card-thumb{
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ect-tile-card .entry-card-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 記事下（ボトム）のSNSシェア全体を左寄せ */
.sns-share.ss-bottom {
  text-align: left;
}

/* ボタン群の左寄せ（環境差に備えて複数指定） */
.sns-share.ss-bottom .sns-share-buttons,
.sns-share.ss-bottom .share-buttons,
.sns-share.ss-bottom ul {
  justify-content: flex-start !important;
  text-align: left;
  margin-left: 0;
}

/* シェアメッセージも左寄せしたい場合 */
.sns-share.ss-bottom .sns-share-message {
  text-align: left !important;
}