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

/************************************
** 子テーマ用のスタイルを書く
************************************/
}
/* YouTube埋め込みの重なり対策 */
.entry-content iframe,
.widget iframe {
  position: relative;
  z-index: 300; /* 他の要素より大きい値に設定 */
}

/* もしモバイルフッターボタンなど特定の要素と重なる場合 */
.mobile-footer-buttons {
  z-index: 500; /* 動画よりさらに大きい値に設定 */
}

/* YouTube埋め込みとコンテンツの間に余白を追加 */
.wp-block-embed-youtube {
    margin-bottom: 20px; /* 必要に応じて数値を調整 */
    margin-top: 20px;
}

/* AdSense広告ユニットに余白を追加（広告を囲む要素のクラス名を確認してください） */
.ad-space {
    margin-top: 20px; /* 必要に応じて数値を調整 */
    margin-bottom: 20px;
}