@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){
  /*必要ならばここにコードを書く*/
}

/**480px以下**/
@media screen and (max-width: 480px){
  .ullist > li:before {
    top:11px;/*高さの位置調整*/
  }
}
/**ボタンボックスメニュー**/
.box-menu{
	padding: 0;
	min-height: 0;
}

.box-menu:hover{
	box-shadow:none;
	opacity: 0.8;
} 

.box-menu-label,
.box-menu-description{
	display: none;
}

.box-menu-icon *{
	margin: 0;
	max-width: 100%;
	max-height: 300px;
}
/**ボタンボックスメニュー中央配置**/
.box-menu:first-child {
    margin-left: auto;
}

.box-menu:last-child{
    margin-right: auto;
}

/**ボタンボックスメニュー間に余白**/
@media screen and (min-width: 600px){
.wwa .box-menu{
	margin-right: 4.5%;
}
}
/**固定ページ日付削除**/
.page .date-tags {
display: none;
}
/* 記事一覧カテゴリーラベル非表示 */
.entry-card .cat-label{
display: none;
}
/* 関連記事カテゴリーラベル非表示 */
.related-entry-card .cat-label{
display: none;
}
/************************************
** マーカーの色
************************************/
.marker { /*黄色マーカー*/
 background-color: #fce2c4;
}
.marker-red { /*赤色マーカー*/
 background-color: #f2a0a1;
}
.marker-blue { /*青色マーカー*/
 background-color: #C1E4E9;
}
.marker-under { /*黄色アンダーラインマーカー*/
 background: linear-gradient(transparent 65%,#fce2c4 65%);
}
.marker-under-red { /*赤色アンダーラインマーカー*/
 background: linear-gradient(transparent 65%, #f2a0a1 65%);
}
.marker-under-blue { /*青色アンダーラインマーカー*/
 background: linear-gradient(transparent 65%, #C1E4E9 65%);
}

/* ===================================================
   目次カスタマイズ（目次のみ）
   =================================================== */

/* H2目次（文字太字） */
.toc-list > li > a {
  font-weight: bold;
  font-size: 1em;   /* 好きなサイズに調整 */
  color: #595857;      /* H2文字色 */
}

/* H3目次（細字＋青二重矢印アイコン） */
.toc-list > li > ul > li > a {
  font-weight: normal;
  font-size: 0.9em;
  color: #595857; 
  padding-left: 1em; /* H3階層インデント */
}

/* H3目次アイコン */
.toc-list > li > ul > li > a::before {
  content: "\f101";                 /* Font Awesome angle-double-right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #eebbcb;                   /* アイコン色 */
  margin-right: 0.5em;              /* アイコンと文字の間隔 */
  font-size: 0.8em;                 /* アイコンサイズ */
}

/* 目次タイトル */
.toc-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #eebbcb;
  margin-bottom: 0.5em;
}

/* ===================================================
   記事本文の見出し（目次には影響なし）
   =================================================== */

/* H2見出し */
.entry-content h2 {
  background-color: var(--h2-color, #fef4f4) !important;
  box-shadow: 0 0 0 5px var(--h2-color, #fef4f4) !important;
  border: dashed 2px #eb6ea5 !important;
  color: #7c6e5d !important;
  padding: 0.6em !important;
  margin: 2em 0 1.5em !important;
}

/* H3見出し */
.entry-content h3 {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0.3em 0 !important;
  border-bottom: dotted 6px #eebbcb !important;
  color: #7c6e5d !important;
}

.entry-content h3::before,
.entry-content h3::after {
  content: none !important;
  display: none !important;
}

/* H4見出し */
.entry-content h4 {
  display: block !important;
  border-bottom: solid 3px #ee827c !important;
  padding-bottom: 0.2em !important;
  color: #7c6e5d !important;
  margin: 1.2em 0 0.8em !important;
  background: none !important;
  box-shadow: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  text-shadow: none !important;
  position: relative;
  z-index: 1;
}

.entry-content h4::before,
.entry-content h4::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

/* H5見出し（吹き出し風） */
.entry-content h5 {
  --baloon-color: #89c3eb;
  position: relative;
  border: 3px solid var(--baloon-color);
  color: #333;
  padding: 0.5em 1em;
  display: inline-block;
  margin: 1em 0;
  border-radius: 6px;
}

.entry-content h5::before,
.entry-content h5::after {
  position: absolute;
  content: '';
  left: 1em;
  width: 0;
  height: 0;
  border-width: 14px 12px 0;
  border-style: solid;
}

.entry-content h5::before {
  bottom: -14px;
  border-color: var(--baloon-color) transparent transparent;
}

.entry-content h5::after {
  bottom: -10px;
  border-color: #fff transparent transparent;
}

/* ===================================================
   グローバルメニュー・サイドバー・著者情報
   =================================================== */
.navi-in .menu-header .item-label {
  font-size: 20px;
  font-weight: bold;
}

.nwa .author-box .author-description {
  font-size: 0.8em;
}

.nwa .author-box .author-name {
  font-size: 1.1em;
}

.widget-sidebar ul li a {
  font-size: 0.9em;
}

/* ===================================================
   装飾用ボックス・点滅・箇条書き下線
   =================================================== */

/* 点滅アニメーション */
@keyframes blinking {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.blink {
  animation: blinking 1s ease-in-out infinite alternate;
}

/* 箇条書き下線 */
.under-line > li {
  border-bottom: 1px dashed #ccc;
}

/* ピンクボックス */
.box6-pink {
  position: relative;
  padding: 2em 2em 1.7em;
  margin: 2.5em auto;
  background-color: #fdf1f4;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  border-radius: 4px;
  max-width: 600px;
}

.box6-pink .box-title {
  position: absolute;
  top: -22px;
  left: 30px;
  padding: 0.2em 2em;
  color: #f27398;
  font-weight: bold;
  font-size: 18px;
  background-color: rgba(255,255,255,.1);
  border-left: 2px dotted rgba(0,0,0,.1);
  border-right: 2px dotted rgba(0,0,0,.1);
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  transform: rotate(-3deg);
}

.box6-pink p {
  margin: 0;
  padding: 0;
}

/* リストの点 */
.ullist {
  list-style: none !important;
  line-height: 1.8;
}

.ullist > li { 
  position: relative;
}

.ullist > li:before {
  content: '';
  position: absolute;
  background-color: #f2a0a1 !important; /* セミコロン必須 */
  width: 8px;
  height: 8px;
  top: 11px;
  left: -1em;
  border-radius: 50%;
}