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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 20250624 タグ表示用 */
/*
.lead-tags {
  margin: 1em 0 2em;
  font-size: 0.95em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.lead-tags a {
  background: #f2f2f2;
  color: #333;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.lead-tags a:hover {
  background: #ddd;
}
*/

/*********************************************************************************************************
  判断用ミニパネルのスタイ*
  2025.06.29 専用クラス化: ofx-decision
*********************************************************************************************************/
.ofx-decision-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 2em 0;
  padding: 1em;
  background: #f8f8f8;
  border-radius: 10px;
  justify-content: space-between;
}

.ofx-decision-option {
  flex: 1 1 45%;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 1.2em;
  background: #fff;
  text-align: left;
  transition: border-color 0.3s;
}

.ofx-decision-option:hover {
  border-color: #3388cc;
}

.ofx-decision-title {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.05em;
  font-weight: bold;
  color: #333;
}

.ofx-decision-option p {
  font-size: 0.95em;
  margin-bottom: 1em;
}

.ofx-decision-option a {
  display: inline-block;
  padding: 0.6em 1em;
  background: #3388cc;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.ofx-decision-option a:hover {
  background: #2a6fa6;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .ofx-decision-option {
    flex-basis: 100%;
  }
}

/*********************************************************************************************************
  引用ブロックに”引用：”を追加
  2025.07.29
*********************************************************************************************************/
.wp-block-quote cite::before {
  content: "引用：";
  font-weight: bold;
  color: #666;
  margin-right: 4px;
}

/*********************************************************************************************************
  引用ブロックの引用をイタリックにしない
  2025.08.30
*********************************************************************************************************/
.wp-block-quote cite {
  font-style: normal;
}

/*********************************************************************************************************
  引用ブロックの引用をイタリックにしない
  2025.10.09
*********************************************************************************************************/
.widget_custom_html .widget-title {
  display: none;
}


/*********************************************************************************************************
  スタイリッシュな見出し
  2026.06.23
*********************************************************************************************************/
.article h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 2.4em;      /* ← 最適サイズ */
  line-height: 1.3;      /* 読みやすさ向上 */
  font-weight: 700;      /* タイトルらしい強さ */
  margin-bottom: 0.8em;  /* h2 との距離を調整 */
}

/* H2 見出し：背景なし＋上に水平線 */
.article h2 {
  background: none;
  border: none;
  padding: 1.2em 0 0.6em;
  margin-top: 3em;
  margin-bottom: 1.5em;
  position: relative;
  font-size: 2.0em;
  font-weight: 600;
}

.article h2::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e5e5; /* 薄い水平線 */
  position: absolute;
  top: 0;
  left: 0;
}

/* H3 見出し：さらに控えめな水平線 */
.article h3 {
  background: none;
  border: none;
  padding: 1em 0 0.4em;
  margin-top: 2.5em;
  margin-bottom: 1em;
  position: relative;
  font-size: 1.3em;
  font-weight: 600;
}

.article h3::before {
  content: "";
  display: block;
  width: 40%;
  height: 1px;
  background: #e8e8e8; /* H2よりさらに薄い */
  position: absolute;
  top: 0;
  left: 0;
}




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

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

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