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


/************************************
**  固定ページの投稿日、更新日、投稿者名を非表示にする
************************************/
/*固定ページの投稿日、更新日、投稿者名を非表示にする*/
.page .date-tags,
.page .author-info {
    display: none;
}
/************************************
** 見出し用追加CSSのリセット用（リセットしないと反映されない）
************************************/
/*スタイルリセット用*/
main h2.wp-block-heading,
main h3.wp-block-heading,
main h4.wp-block-heading {
    color: initial;
    font-size: initial;
    padding: initial;
    display: initial;
    background-color: initial;
    background: initial;
    border: initial;
    border-radius: initial;
    font-weight: bold;
}
main h2.wp-block-heading:before,
main h3.wp-block-heading:before,
main h4.wp-block-heading:before,
main h2.wp-block-heading:after,
main h3.wp-block-heading:after,
main h4.wp-block-heading:after {
    color: initial;
    font-size: initial;
    padding: initial;
    display: initial;
    background-color: initial;
    background: initial;
    border: initial;
    border-radius: initial;
    margin: initial;
    content: initial;
    position: initial;
}
/************************************
**  見出し
************************************/
/*H2見出し*/
main h2.wp-block-heading {
    color: #43788e;/*文字色（白）*/
    font-size: 20px;/*文字サイズ*/
    padding: 20px;/*文字回りの余白（上下左右）*/
    display: block;
    position: relative;
}
main h2.wp-block-heading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #C2D6E9;/*背景色*/
    transform: skew(-10deg);/*背景の傾き*/
    z-index: -1;
}
main h2.wp-block-heading:after {
    content: '';
    position: absolute;
    border-left: 15px double #fff;/*左線（太さ 二重線 色）*/
    height: 100%;
    top: 0;
    right: 20px;
    transform: skew(-10deg);/*線の傾き*/
}
/*H3見出し*/
main h3.wp-block-heading {
    color: #43788e;/*文字色*/
    font-size: 18px;/*文字サイズ*/
    padding: 10px 25px;/*文字回りの余白（上下 左右）*/
    display: block;
    border-bottom: 2px solid #C2D6E9;/*下線（太さ 実線 色）*/
    position: relative;
}
main h3.wp-block-heading:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -7px;/*ひし形（左側）の上下位置*/
    left: 0;
    width: 12px;/*ひし形（左側）の幅*/
    height: 12px;/*ひし形（左側）の高さ*/
    background: #C2D6E9;/*ひし形（左側）の色*/
    transform: rotate(-45deg);/*ひし形（左側）の回転*/
}
main h3.wp-block-heading:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -7px;/*ひし形（右側）の上下位置*/
    right: 0;
    width: 12px;/*ひし形（右側）の幅*/
    height: 12px;/*ひし形（右側）の高さ*/
    background: #C2D6E9;/*ひし形（右側）の色*/
    transform: rotate(-45deg);/*ひし形（右側）の回転*/
}
/*H4見出し*/
main h4.wp-block-heading {
    color: #43788e;/*文字色*/
    font-size: 16px;/*文字サイズ*/
    display: block;
    position: relative;
    padding: 7px 30px;/*文字回りの余白（上下 左右）*/
}
main h4.wp-block-heading:before {
    font-family: FontAwesome;
    font-weight: 900;/*電球マークの太さ*/
    font-size: 35px;/*電球マークのサイズ*/
    color: #C2D6E9;/*電球マークの色*/
    left: 0px;
    bottom: 0;
    content:"\f0eb";
    position: absolute;
}
/************************************
**  PC(992px以上)で固定ページのアイキャッチを非表示
************************************/
/* PC(992px以上)で固定ページのアイキャッチを非表示 */
@media screen and (min-width: 992px) {
  .page .eye-catch {
    display: none;
  }
}
/************************************
**  メニューバーとコンテンツの隙間
************************************/
.content { 
margin-top: 0; 
}
/* フッター上の余白を消す（念のため） */
.footer {
  margin-top: 0;
}
/*--------------------------------------
  もしもの簡単リンクのカスタマイズ
--------------------------------------*/
.easyLink-box {
	margin-bottom: 1.5em!important;
}
.easyLink-info-btn {
	display: inline!important;
}
.easyLink-info-btn a{
	margin: 5px 10px 5px 0!important;
	padding: 0 12px!important;
        line-height: 35px!important;
	display: inline-block!important;
	width: auto!important;
	box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.25)!important;
	font-size: 1em!important;
}
.easyLink-info-btn-amazon{
	background:#ffb36b!important;
}
.easyLink-info-btn-rakuten{
	background:#ea7373!important;
}
.easyLink-info-btn-yahoo{
	background:#73c1ea!important;
}
.easyLink-info-btn a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0da";
    padding-right: 3px;
}

@media screen and (max-width: 480px){
	div.easyLink-box div.easyLink-info p.easyLink-info-btn a {
		width: 100%!important;
		position: relative;
	}
	.easyLink-info-btn a:before {
		padding-right: 5px;
		right: 5px;
		position: absolute;		
	}
}
/************************************
****　プロフィール名の文字サイズ・文字色・フォントを変える
************************************/
.sidebar{
	background:#fff;
	font-size: 14px;
}
/* プロフィール全体 */
.nwa .author-box {
	border: none;
	padding: 0 20px;
}

/* アイコン */
.nwa .author-box .author-thumb{
	width: 110px;
}
.nwa .author-box .author-thumb img{
	box-shadow: 0 1px 3px rgba(0,0,0,.18)
}

/* 下側 */
.nwa .author-box .author-content {
	padding: 1em 0;
}


/* 名前 */
.author-box .author-name {
	margin-bottom: 1em;
}
.author-box .author-content .author-name a{
	color: #7E9286; /* リンク色にしない */
	font-size: 1.2em;
	font-weight: normal; /* 太字にしない */
	text-decoration: none; /* 下線をなくす */
	letter-spacing: 0.2em; /* 字間を広く */
}

/* プロフィール文 */
.author-description{
	margin-bottom: 16px;
}
.author-description p{
	margin: 0 0 0.5em 0;
	text-align: left;
	line-height: 1.5;
}

/* SNSボタン */
.author-follows{
	padding: 12px 0;
	background-color: #c2d6e9;
}
.author-follows::before{
	content: 'Follow Me';
	color: #333;
	font-family: お好きなフォント(設定する場合);
	letter-spacing: 0.2em; /* 字間を広く */
}
.author-box .sns-follow-buttons a.follow-button{
	width: 40px;
	height: 40px;
	margin: 6px 10px 2px 2px;
	border-radius: 20px;
	color: #333;
	border-color: #333;
	font-size: 24px;
	line-height: 1.6;
}
.author-box a.follow-button span::before {
	font-size: 22px;
}

/* SNSボタン マウスオーバーしたとき */
.author-box .sns-follow-buttons a.follow-button:hover{
	background-color: transparent;
	opacity: 0.6; /* 薄く */
	transform: scale(1.1); /* 1.1倍の大きさに */
}
/************************************
**  サイドバーの親カテゴリ（トップ階層）
************************************/
/* サイドバーのカテゴリウィジェット全体 */
.sidebar .widget_categories {
	  background-color: #fff; /* 全体背景は透明に */
  padding: 0;                    /* 必要なら微調整 */
}

/* サイドバーの親カテゴリ（トップ階層） */
.sidebar .widget_categories > ul > li > a {
  font-weight: bold;             /* 太字 */
  background-color: #ffffff;     /* フッターと同じ濃いベージュ系 */
  color: #222;                   /* 文字色 */
  padding: 4px 8px;              /* 少し余白 */
  border-radius: 6px;            /* 角丸 */
  display: block;
  transition: all 0.3s ease;
}

/* 親カテゴリホバー時 */
.sidebar .widget_categories > ul > li > a:hover {
  background-color: #c2d6e9;        /* 白に変化 */
  color: #fff;                   /* 文字色 */
}

/* 子カテゴリ（階層下） */
.sidebar .widget_categories li ul li a {
  font-weight: normal;           /* 親より目立たない */
  background-color:      /* フッターの子カテゴリと同じ淡いベージュ */
  color: #333;
  padding: 4px 12px;             /* 階層感のため少し右にずらす */
  border-radius: 6px;
  display: block;
}

/* 子カテゴリホバー時 */
.sidebar .widget_categories li ul li a:hover {
  background-color: #C3D5C7;
  color: #333;
}

/************************************
**  ロードマップウィジェットのカスタマイズ
************************************/
/* 1. ロードマップウィジェット全体の基本設定（細く・詰める） */
.widget_nav_menu ul li a {
    font-weight: normal !important; /* 全リンクを細く */
    font-size: 15px !important;    /* ミッションのサイズ */
    text-decoration: none;
}

.widget_nav_menu ul li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important; /* 行間を狭く */
    list-style: none !important;
}

/* 2. 「親項目（Level 1）」だけを太字・大きくする */
/* menu-item-has-childrenというクラスを持つ「親」だけを指定 */
.widget_nav_menu .menu-item-has-children > a {
    font-weight: bold !important;  /* 親だけ太字 */
    font-size: 18px !important;    /* 親だけ大きく */
    display: block;
    margin-bottom: 5px !important; /* ミッションとの隙間 */
}

/* 3. 「子項目（ミッション）」の先頭位置を揃えて細くする */
.widget_nav_menu .sub-menu li {
    padding-left: 0 !important;    /* 左端を揃える */
    margin-top: 2px !important;    /* ミッション同士の行間 */
}

.widget_nav_menu .sub-menu li a {
    font-weight: normal !important; /* ミッションは確実に細文字 */
    font-size: 14px !important;    /* ミッションは少し小さめが綺麗 */
}
/* 子要素（ミッション）の行間と上下余白を最小限にする */
.widget_nav_menu .sub-menu li {
    line-height: 1.3 !important;   /* 1.0が文字の高さギリギリです */
    margin-top: -1px !important;    /* マイナス指定でさらに上に詰められます */
    margin-bottom: -2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* リンク自体の上下余白も削る */
.widget_nav_menu .sub-menu li a {
    display: block;
    padding: 2px 0 !important; /* この2pxを0に近づけるとさらに詰まります */
}
/************************************
**  メインとサイドバーの隙間を白く埋める4/01
************************************/
/* メインとサイドバーの隙間を白く埋める */
#content-in {
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 0;
}

/* メインとサイドバー自体の背景も白に固定（隙間と同化させる） */
.main, .sidebar {
    background-color: #fff !important;
}
/************************************
** フッターウィジェットのおしゃれカスタマイズ
************************************/
/* 1. フッター全体の背景色と文字色 */
.footer {
    background-color: #f7f9fb; /* 汚れにくい淡いグレー系 */
    color: #444;
    padding: 60px 0 40px;
    border-top: 1px solid #e1e8ed;
}

/* 2. 3カラムの幅と間隔を調整 */
.footer-widgets {
    display: flex;
    justify-content: space-between;
    max-width: 1200px; /* 他のパーツと幅を揃える */
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. ウィジェットの見出しデザイン */
.footer .widget-title {
    font-size: 18px;
    font-weight: bold;
    color: #43788e; /* 見出しと同じ色で統一感 */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer .widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #C2D6E9; /* アクセントライン */
}

/* 4. リスト（カテゴリーなど）の装飾 */
.footer .widget ul li {
    border-bottom: 1px dashed #dce4e9;
    padding: 8px 0;
}

.footer .widget ul li a {
    text-decoration: none;
    color: #666;
    transition: 0.3s;
}

.footer .widget ul li a:hover {
    color: #43788e;
    padding-left: 5px; /* ホバー時に少し動く */
}

/* 5. スマホでは1列に並べる */
@media screen and (max-width: 1023px) {
    .footer-widgets {
        display: block;
    }
    .footer-widget-item {
        width: 100% !important;
        margin-bottom: 40px;
    }
}