@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;
}
/* AdSense 自動広告の横はみ出し防止 */
.google-auto-placed{
  width:100% !important;
  max-width:100% !important;
}

.google-auto-placed ins.adsbygoogle{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}

/* 生成された iframe / ホスト要素を親幅に収める */
.google-auto-placed [id^="aswift_"]{
  max-width:100% !important;
  overflow:hidden !important;
}

.google-auto-placed iframe{
  max-width:100% !important;
}
.google-auto-placed,
.adsbygoogle{
    max-width:100%;
    overflow:visible;
}

.google-auto-placed iframe{
    max-width:100% !important;
}
/* グローバルナビ */
/*** 全体　***/

/* サブメニューに影を付ける */
.navi-in>ul .sub-menu {
  margin-top: 1px;
  box-shadow: 0 2px 2px 0 rgba(0 0 0 / 14%), 0 3px 1px -2px rgba(0 0 0 / 20%), 0 1px 5px 0 rgba(0 0 0 / 12%);
  background: #fff;
}

/*** マウスオーバー時のアニメーション ***/
/* マウスオーバー時、背景の色を変える */
.navi-in a:hover {
  transform: translateY(1px);
  background: #f5f5f5;
}

/* メインメニューのアニメーション */
.item-label:after {
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%;
  height: 2px;
  background: #757575;
  content: '';
  transition: all .4s;
}

.menu-header .menu-item:hover .item-label:after {
  width: 100%;
}

/* メインメニューのアニメーション -矢印変化- */
.navi-in .has-icon {
  right: 16px;
  opacity: unset;
  font-size: 20px;
}

.navi-in .has-icon .fa-angle-down {
  transition: all .4s ease-out;
}

.menu-header .menu-item:hover .fa-angle-down {
  transform: translateY(6px);
}

/* サブメニューのアニメーション -下線- */
.sub-menu .item-label:after {
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%!important;
  height: 2px;
  background: #757575;
  content: '';
  transition: all .4s;
}

.sub-menu .menu-item:hover .item-label:after {
  width: 100%!important;
}

/* サブメニューのアニメーション -フォント- */
.sub-menu .item-label {
  text-align: center;
  transition: font-size .4s;
}

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

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

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