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

/************************************
** 子テーマ用のスタイルを書く
************************************/

.navi {
    background: linear-gradient(70deg, #212A65, #3F6EB4, #212A65);
  /* background-color: var(--cocoon-white-color); */
}



/* ===== 基本フォント調整 ===== */
.article {
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.03em;
}


/* ========================================
   見出しデザイン
======================================== */

/*エントリー・アーカイブの見出し*/
.entry-title,
.archive-title {
  font-size: 36px;
  margin: 16px 0;
  line-height: 1.5;

    background: linear-gradient(70deg, #212A65, #3F6EB4, #212A65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}



/* ===== h2 ===== */
.article h2 {
  position: relative;
  padding: 18px 22px;
  margin: 50px 0 25px;
  background: linear-gradient(70deg, #212A65, #3F6EB4, #212A65);
  color: #fff;
  font-weight: 700;
}

/* ===== h3 ===== */
.article h3 {
  margin: 35px 0 18px;
  padding-bottom: 8px;
  border-top:0;
  border-left:0;
  border-right:0;
  border-bottom: 4px solid #C44C30;
  font-size: 22px;
  font-weight: 700;
  color: #C44C30;
}

/* ===== h4 ===== */
.article h4 {
  margin: 25px 0 10px;
  font-weight: bold;
  color: #333;
}

/* ========================================
   太文字・斜体
======================================== */

/* ===== 太字を下線付きに ===== */
.article strong,
.article b {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ===== 斜体を赤文字＋下線 ===== */
.article em,
.article i {
  font-style: italic;
  font-weight: 700;
  color: #C44C30;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* =====================================
   箇条書き：枠＋区切り線デザイン
===================================== */

.article .wp-block-list {
  list-style-type: disc;
  list-style-position: inside;
  padding: 1em;
  border: 2px solid #2589d0;
  border-radius: 6px;
  margin: 25px 0;
}

/* 各項目 */
.article .wp-block-list li {
  padding: .5em;
}

/* 区切り線（最後以外） */
.article .wp-block-list li:not(:last-child) {
  border-bottom: 1px dashed #2589d0;
}

/* マーカー色変更 */
.article .wp-block-list li::marker {
  color: #2589d0;
  font-size: 1.1em;
}



/* ========================================
   下線・マーカー
======================================== */

/* 強調下線 */
.underline-strong {
  border-bottom: 3px solid #ff3b3b;
  padding-bottom: 2px;
}

/* グラデ下線 */
.underline-gradient {
  background: linear-gradient(transparent 65%, #ffe600 65%);
}

/* マーカー（黄） */
.marker-yellow {
  background: linear-gradient(transparent 60%, #fff36b 60%);
}

/* マーカー（青） */
.marker-blue {
  background: linear-gradient(transparent 60%, #8fd3ff 60%);
}


/* ========================================
   囲いボックス
======================================== */

.box-point {
  background: #f8fbff;
  border-left: 6px solid #00d4ff;
  padding: 22px;
  margin: 35px 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.box-dark {
  background: #111;
  color: #fff;
  padding: 22px;
  margin: 35px 0;
  border-radius: 8px;
}


/* ========================================
   吹き出しカスタム（Cocoon）
======================================== */

.speech-balloon {
  border-radius: 14px;
  padding: 15px 20px;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 左吹き出し */
.sbp-l .speech-balloon {
  background: #f1f7ff;
  border: 1px solid #cde3ff;
}

/* 右吹き出し */
.sbp-r .speech-balloon {
  background: #111;
  color: #fff;
}


/* ========================================
   テーブルデザイン
======================================== */

.article table {
  border-collapse: collapse;
  width: 100%;
  margin: 35px 0;
  font-size: 15px;
}

.article table th {
  background: #111;
  color: #fff;
  padding: 14px;
}

.article table td {
  padding: 14px;
  border: 1px solid #eee;
}

.article table tr:nth-child(even) {
  background: #f9f9f9;
}


/* ========================================
   リストデザイン
======================================== */

.article ul {
  padding-left: 20px;
}

.article ul li {
  margin-bottom: 8px;
}

.article ol li {
  margin-bottom: 8px;
}


/* ========================================
   引用ブロック
======================================== */

blockquote {
  border-left: 5px solid #00d4ff;
  padding: 15px 20px;
  background: #f5faff;
  margin: 30px 0;
  font-style: normal;
}
/* ========================================
   引用ブロック
======================================== */

.wp-block-heading{
  /* background-color:#002561 !important; */
}
/************************************
** サイドバーのスタイル
************************************/
.sidebar h2,
.sidebar h3 {
  color: #fff;
  background: linear-gradient(70deg, #212A65, #3F6EB4, #212A65);
  /* background-color: var(--cocoon-xx-thin-color); */
  padding: 12px;
  margin: 16px 0;
  border-radius: var(--cocoon-badge-border-radius);
}




/************************************
** 目次
************************************/

/* ===== 全体ボックス ===== */
.toc {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 14px;
  padding: 24px 28px;
  font-size: 0.95em;
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.1),
    0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}

/* ===== タイトル ===== */
.toc-title {
  font-size: 1.1em;
  text-align: center;
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;

  background: linear-gradient(90deg, #00d4ff, #4f7dc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== リストリセット ===== */
.toc ul {
  list-style: none;
  padding-left: 0;
}

/* ===== 各項目 ===== */
.toc li {
  margin: 8px 0;
  padding-left: 14px;
  position: relative;
}

/* ネオン風ドット */
.toc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00d4ff;
}

/* ===== リンク ===== */
.toc a {
  color: #d1eaff;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ===== ホバー時 ===== */
.toc a:hover {
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0,212,255,0.7);
}

/* ===== サブ階層 ===== */
.toc .toc-list ul {
  margin-top: 6px;
  padding-left: 16px;
  border-left: 1px solid rgba(0,212,255,0.2);
}


/* ========================================
* ヘッダーロゴ(テキスト)の反対側に問い合わせボタン表示
======================================== */
div#header-in {
  /* ヘッダーロゴ(テキスト)と問い合わせボタンを横並び */
  flex-direction: row;
}
.header-in .logo-header {
  /* ヘッダーロゴ(テキスト)と問い合わせボタンの位置を両端にする */
  margin-right: auto;
}

/* お問い合わせボタン */
/* お問い合わせボタン */
.header-contact-btn {
  /* オレンジグラデ（上→下） */
  background: linear-gradient(
    to bottom,
    #ff9a2f 0%,
    #ff7a00 100%
  );

  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 50rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  margin: 10px 10px 0 0;

  /* アニメーション準備 */
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;

  /* ほんのり立体感 */
  box-shadow: 0 4px 10px rgba(255,122,0,0.25);
}

/* 枠線・影リセット（テーマ対策） */
.header-contact-btn {
  border: none !important;
}

/* hover */
.header-contact-btn:hover {

  /* グラデ上下反転 */
  background: linear-gradient(
    to bottom,
    #ff7a00 0%,
    #ff9a2f 100%
  );

  color: #fff;

  /* 少し拡大 */
  transform: scale(1.08);

  /* 浮き上がり感 */
  box-shadow: 0 8px 18px rgba(255,122,0,0.35);
}



/* ========================================
   スマホ最適化
======================================== */

@media (max-width: 768px) {

  .article {
    font-size: 15px;
  }

  .article h2 {
    font-size: 20px;
    padding: 14px;
  }

  .article h3 {
    font-size: 18px;
  }

  .speech-balloon {
    font-size: 14px;
  }

  .box-point,
  .box-dark {
    padding: 18px;
  }

	  .header-contact {
    display: none;
  }
	
}




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

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

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