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

/*キャプションを中央揃え*/
figcaption {
  text-align: center;	
}

/*引用の参照サイトを右寄せ*/
blockquote cite {
  display: block;
  text-align: right;
  margin-bottom: 1em;
}
blockquote.wp-block-quote {
  border-left-color: #ffce80;
}

/*コメント欄の不要要素を非表示*/
/*https://ponhiro.com/customize-comment/*/
.comment-form-email,
.comment-form-url,
.comment-notes {
  display:none;
}

/*フォントが継承されるように*/
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

/*reCAPTCHAのロゴを非表示に*/
.grecaptcha-badge {
  visibility: hidden; 
}

/*未配信の広告枠を非表示に*/
ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

/* PR表記調整 */
.pr-label-l {
  padding: .1em;
}

/* CLS改善のため広告用スペースを空ける */
.widget-index-top.widget_pc_ad ins {
  height: 90px;
}
.widget-index-middle.widget_pc_ad ins {
  height: 246px;
}
.widget-index-middle.widget_mobile_ad ins {
  height: 185px;
}
.ad-index-bottom ins {
  height: 345px;
}
.widget-sidebar ins {
  height: 280px;
}

/* ニコニコ動画埋め込みのサイズ */
iframe[src*="embed.nicovideo.jp"] {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}