@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){
  /*必要ならばここにコードを書く*/
}


/* ===== 防災コンパス カスタム修正 (2026-09-09) ===== */
.entry-content .wp-block-table th,
.entry-content table th { color: #fff; }
.entry-content p:has(> script) { margin: 0; line-height: 0; }

.entry-content .wp-block-table table,
.entry-content table { border: 1px solid #ccc; }

/* 比較表の数値列（先頭列以外）を中央ぞろえに統一 */
.entry-content .wp-block-table th:not(:first-child),
.entry-content .wp-block-table td:not(:first-child) {
  text-align: center;
}

/* 比較表がコンテナ幅いっぱいに広がらず右側に余白ができる問題を解消 */
.entry-content .wp-block-table table {
  width: 100% !important;
  table-layout: auto;
}

/* H2とH3が同系色の帯で見分けにくい問題を解消：H3は帯をやめて左ボーダー＋濃色文字に変更 */
.entry-content h3 {
  background: none !important;
  color: #33415C !important;
  border-left: 5px solid #007EAF;
  padding: 6px 10px !important;
}

/* cache-bust 1789011811489 */

/* モバイル幅で比較表が横スクロール前提になっていた問題を解消：パディング・文字サイズを縮小して収める */
@media screen and (max-width: 480px) {
  .entry-content .wp-block-table th,
  .entry-content .wp-block-table td {
    padding: 4px 3px !important;
    font-size: 12px !important;
  }
}

@media screen and (max-width: 480px) { .entry-content table th, .entry-content table td { padding: 4px 3px !important; font-size: 12px !important; } }
