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

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

/* 右側吹き出しブロック（.sbp-r）自体の幅を80%にし右寄りにする */
.entry-content .sbp-r,
.sbp-r {
  margin-left: auto !important;
  max-width: 80% !important;
  width: 80% !important;
}
/* 吹き出し内の文字を左揃えにする */
.sbp-r .speech-comment {
  text-align: left !important;
}

/* KaTeXインライン数式による行間被りを全自動で強制防止するCSS */
.entry-content p, 
.post-content p {
    line-height: 2.2 !important; /* 段落全体の行高を拡張して被りを物理防止 */
}
/* インラインのKaTeX数式に上下マージンを適用 */
.katex:not(.katex-display) {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-top: 0.2em !important;
    margin-bottom: 0.2em !important;
}

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

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

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