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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出し２をカスタマイズ */
.article h2 {
  position: relative;
  background: #006bb4;
  padding: 7px 12px 7px 22px;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  border-left: 10px solid #004a84;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* ←影を濃く */
  margin-bottom: 20px;
  background: linear-gradient(90deg, #006bb4, #007fd4);
  letter-spacing: 0.5px;
  margin-top: 30px;
  margin-bottom: 25px;

}

.article h2:before {
  font-family: "Font Awesome 5 Free";
  content: "\f058";
  display: inline-block;
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #006bb4;
  font-weight: 900;
  width: 50px;
  text-align: center;
  height: 50px;
  line-height: 50px;
  font-size: 30px;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white; 
  border-radius: 50%;
}

h3 {
  background: #e0f0f9; /* 明るめの水色（H2と同系色で差を出す） */
  color: #005580;       /* 文字色も少し薄めの落ち着いた色に */
  padding: 4px 10px;
  font-size: 18px;      /* 少し小さめにして段階感を出す */
  font-weight: 500;     /* 太さをやや控えめに */
  border-left: 3px solid #89c2e0;
  border-radius: 3px;
  margin-top: 15px;
  margin-bottom: 6px;
  line-height: 1.2;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

}
h4 {
  background: #f5f9fc; /* かなり淡いブルーグレー系（目立ちすぎない） */
  color: #333;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: normal;
  border-left: 3px solid #b3d4ef; /* 控えめなアクセントカラー */
  border-radius: 3px;
  margin-top: 15px;
  margin-bottom: 10px;
}

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

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

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

/* 表のヘッダー部分の文字色だけを変更（背景はそのまま） */
figure.wp-block-table table.has-fixed-layout thead th {
  color: #ffffff !important;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* 念のため、thead内の全ての要素にも適用 */
figure.wp-block-table table.has-fixed-layout thead th * {
  color: #ffffff !important;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
