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

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

/* 記事本文内のすべてのテーブル（再利用ブロック内含む）を幅100%に強制 */
.entry-content table {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    word-break: break-all; /* 枠からはみ出しを防ぐ */
}

/* ブロックエディタのテーブル外枠（figureタグ）も100%にする */
.entry-content .wp-block-table {
    width: 100% !important;
}


/* 
* ヘッダーロゴ左寄せ
*/
.logo {
  text-align: left;
}


/* 画像キャプションを中央寄せ復旧 */
.wp-block-image figcaption {
  text-align: center;
}

/* テーブルのセル中央揃え修正復旧 */
.wp-block-table th.has-text-align-center,
.wp-block-table td.has-text-align-center {
    text-align: center !important;
}

/* テーブル下のキャプションを中央揃え復旧 */
.wp-block-table > figcaption.wp-element-caption {
    text-align: center;
}


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

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

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