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

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


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

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

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

/* @import url("marker.css"); */
/* @import url("decoration.css"); */

/* メディアライブラリから貼り付けた画像（wp-image系）の強制拡大を阻止 */
.entry-content img[class*="wp-image-"],
.entry-content img.pimg-asset .entry-content img.gdb-asset {
    width: auto !important;      /* 横幅をコンテンツに合わせず自動に */
    height: auto !important;     /* 高さを維持 */
    max-width: 100% !important;  /* 親要素より大きい時だけ縮小 */
    display: inline-block;       /* ブロック要素化による強制拡大を防止 */
}

/* テーブル内の画像が巨大化するのを防ぐ（特に重要） */
.entry-content td img {
    width: auto !important;
}


/* サイトタイトル表示を強制復活させる最終命令 */
.logo.logo-header.logo-text .site-name-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important; /* 黒文字 */
    font-size: 24px !important;
    height: auto !important;
    width: auto !important;
}

/* リンクエリアの高さが0になるのを防ぐ */
.site-name-text-link {
    display: block !important;
    height: auto !important;
    padding: 10px !important;
}