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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.cocoon-custom-text-1{
	color: #2e7e74;
	font-weight: 900;
}

.article h1{
	font-size: 35px;
	font-weight: 900;
	color: #000000;
}

/*
.article h2{
	font-size: 18px;
	padding: 0.5em 0.5em 0.5em 1em;
	margin-top: 3em;
}
:*/
.article h2{
	font-size: 35px;
	font-weight: 900;
	padding: 0em 0em 0em 0em;
	margin-top: 3em;
	color: #000000;
	background: none;/*背景色を消す*/
	border:none;
}

.article h3{
	font-size: 16px;
	padding: 0em 0em 0em 0em;
	margin-top: 3em;
	color: #000000;
	background: none;/*背景色を消す*/
	border:none;
}

.widget-index-top-title {
    background-color: #2e7e74;
    padding: 3px 20px;
    margin: 10px 0 10px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
}

 /* エントリーカード */
.entry-card-title{
	font-size: 15px !important;
	}
.entry-card-snippet {
    font-size: 13px; /* 13px */
}
/*
.entry-date{
	font-size: 14px;
	font-weight: bold;
}
.fa-clock-o:before{
	display: none;
}
*/
/*
 * .entry-card-wrap {
	box-shadow: 0 0 5px 0 rgba(0,0,0,.1), 0 3px 5px 0 rgba(0,0,0,.2);
}

/* メインメニューアイテムのスタイル */
.widget_nav_menu .menu {
    list-style: none;
    padding: 0 0 0 2px;
    margin: 5px 0 0 15px;
    border-left: 1px solid #2e7e74;
}


.widget_nav_menu .menu-item {
    margin-bottom: 5px;
}

.widget_nav_menu .menu-item a {
    font-size: 12px; /* フォントサイズを小さく */
    font-weight: bold;
    color: #26685F; /* 文字色を白に */
    text-decoration: none;
    display: block;
    padding: 3px 6px; /* 縦幅を狭く */
	margin: 5px 0 0 10px;
    /*background-color: rgba(46,126,116,0.1); /* 背景色をメインカラーに */
    background-color: #fff;
	border: 1px solid #2e7e74;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

.widget_nav_menu .menu-item a:hover {
    background-color: #1f5e57; /* ホバー時の背景色を少し暗く */
    color: #fff;
}

/* サブメニューアイテムのスタイル */
.sidebar h3 {
    background-color: #2e7e74;
    padding: 3px 20px;
    margin: 10px 0 10px;
	color: #fff;
	font-size: 14px;
}

.widget_nav_menu .sub-menu {
    list-style: none;
    padding: 0 0 0 2px;
    margin: 5px 0 0 35px;
    border-left: 1px solid #2e7e74;
}

.widget_nav_menu .sub-menu .menu-item {
    margin-bottom: 5px;
}

.widget_nav_menu .sub-menu .menu-item a {
    font-size: 12px; /* フォントサイズをさらに小さく */
    font-weight: normal;
    padding: 3px 6px; /* 縦幅をさらに狭く */
    color: #26685F; /* サブメニューの文字色をメインカラーに */
    background-color: #fff; /* サブメニューの背景色を白に */
    border: 1px solid #2e7e74;
    border-radius: 3px;
}

.widget_nav_menu .sub-menu .menu-item a:hover {
    background-color: #2e7e74;
    color: #fff;
}

.header-search {
	position: relative;
}

.header-search .search-box {
	position: absolute;
	top: 50%;
	right: 16px;
	margin: 0;
	width: 280px;
	transform: translateY(-50%);
}

.header-search input[type="text"] {
	padding: 8px 14px 8px 40px;
	font-size: 14px;
	border: 1px solid #2e7e74;
	border-radius: 16px 16px 16px 16px / 50% 50% 50% 50%;
}

.header-search .search-submit {
	left: 3px;
	right: auto;
	color: #2e7e74;
}

#sidebar .header-search {
    display: none;
}

/* ブログカードの設定 */

.internal-blogcard-snippet{
	display: none;
}

.blogcard-title{
	font-size: 18px;
}

.internal-blogcard-footer{
	display: none
}

/************************************
** アイキャッチ画像を記事タイトルの上に移動する
************************************/

/*記事ヘッダーの枠組み*/
.article-header {
	display: flex; /*フレックスボックスレイアウト*/
	flex-direction: column; /*ブロック要素を縦に並べる*/
}

/*アイキャッチの枠組み*/
.eye-catch-wrap {
	order: -1; /*順番*/
	overflow: hidden; /*はみ出した部分を非表示 ※IE対策*/
}

/*アイキャッチ*/
.eye-catch {
	margin-bottom: 0; /*下の余白*/
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	.entry-card-title{
	font-size: 15px !important;
	}
	.entry-date{
	font-size: 13px !important;
	font-weight: bold;
	}
	.header-search .search-box {
		display: none;
	}
	.article h1{
	font-size: 30px;
	font-weight: bold;
	color: #000000;
	}
	
	.article h3{
	font-size: 17px;
	color: #000000;
	}
	.blogcard-title{
	font-size: 15px;
	}


}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.entry-date{
	font-size: 13px !important;
	font-weight: bold;
	}
	
	.article h2{
	font-size: 30px;
	color: #000000;
	}
	
	.article h3{
	font-size: 17px;
	color: #000000;
	}
	
	.blogcard-title{
	font-size: 15px;
	}


}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.entry-date{
	font-size: 13px !important;
	font-weight: bold;
	}
	.article h2{
	font-size: 30px;
	color: #000000;
	}
	
	.article h3{
	font-size: 17px;
	color: #000000;
	}
	
	.blogcard-title{
	font-size: 15px;
	}
	

}
