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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* タイル4列 */
.ect-2-columns {
  justify-content: space-around;
}
.ect-2-columns .entry-card-wrap {
 width: 24%;
}
.ect-2-columns .entry-card-snippet {
  max-height: 4em;
  overflow: hidden;
}

.ect-2-columns .ad-area {
  width: 24%;
}
/* タイル2列 */
@media screen and (max-width: 480px){
.ect-2-columns {
  justify-content: space-around;
}
.ect-2-columns .entry-card-wrap {
 width: 45% !important;
}
.ect-2-columns .entry-card-snippet {
  max-height: 4em;
  overflow: hidden;
}
}
.ect-2-columns .ad-area {
  width: 45% !important;
}
/* タイル同士の幅を広げる */
.entry-card, .related-entry-card {
  position: relative;
  height: 100%;
  margin: 1px;
}
/* SNSアイコン中央寄せ */
@media screen and (max-width:834px){
	.one{
	margin-left:-26px;
	
}}
/* マップレスポンシブ */
iframe[src*="www.google.com/maps/embed"] {
	aspect-ratio: 4 / 3;
	width: 100%;
	height: auto;
}
/* レビュー全体を中央配置 */
#shinobi_reviews{
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* 集計エリア */
#shinobi_reviews #shinobi_aggregate_rating{
    width:100%;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
}

/* 各レビュー */
#shinobi_reviews #review_group{
    width:100%;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
}

/* レビューカード */
#shinobi_reviews .review{
    margin-left:auto;
    margin-right:auto;
}
/* 目次のルビ非表示 */
.toc rt {
    display:none;
}
/* Shinobi Reviews の星だけ Cocoon の擬似要素を無効化 */
#xs_review_stars .star::before,
#xs_review_stars .star-li::before{
    content:none !important;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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