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

/*固定ページの日付を非表示*/
.page .date-tags {
display: none;
}

/*下半分のマーカー色（km）*/
.marker-under {
  background: linear-gradient(transparent 60%, #d8d8d8 80%);
}
.marker-under-red {
  background: linear-gradient(transparent 60%, #ffd0d1 80%);
}
.marker-under-blue {
  background: linear-gradient(transparent 60%, #a8dafb 80%);
}

/* □■-----------------------------------------------------
/ 『エントリーカード』
-----------------------------------------------------■□ */
.entry-card-wrap.a-wrap,
.related-entry-card-wrap.a-wrap,
.prev-post.a-wrap,
.next-post.a-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.entry-card-wrap.a-wrap:nth-of-type(3n + 1),
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 1) {
	background-color: #fff;
	border: solid 2px #333333;
}
.entry-card-wrap.a-wrap:nth-of-type(3n + 2),
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 2) {
	background-color: #fff;
	border: solid 2px #333333;
}
.entry-card-wrap.a-wrap:nth-of-type(3n + 3),
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 3) {
	background-color: #fff;
	border: solid 2px #333333;
}

.entry-card-wrap.a-wrap:nth-of-type(3n + 1):hover,
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 1):hover {
	background-color: #9da5a0;
}
.entry-card-wrap.a-wrap:nth-of-type(3n + 2):hover,
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 2):hover {
	background-color: #9da5a0;
}
.entry-card-wrap.a-wrap:nth-of-type(3n + 3):hover,
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 3):hover {
	background-color: #9da5a0;
}

.entry-card-wrap.a-wrap:before,
.related-entry-card-wrap.a-wrap:before {
	position: absolute;
	width: 320px;
	height: 320px;
	transform: rotate(-45deg);
	right: -280px;
	bottom: -280px;
	content: "Read More";
	font-size: 80%;
	color: white;
	text-align: center;
	transition: all 0.4s;
	z-index: 1;
}

.entry-card-wrap.a-wrap:nth-of-type(3n + 1):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 1):before {
	background: #333333;
}
.entry-card-wrap.a-wrap:nth-of-type(3n + 2):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 2):before {
	background: #333333;
}
.entry-card-wrap.a-wrap:nth-of-type(3n + 3):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n + 3):before {
	background: #333333;
}

.entry-card-wrap.a-wrap:hover::before,
.related-entry-card-wrap.a-wrap:hover:before {
	right: -220px;
	bottom: -220px;
}

/* 見出しリセット */
/* H2 */
.article h2{
background:none;
padding: 0;
}
 
/* H3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}
 
/* H4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}

.sidebar h3{
border-top:none;
border-bottom:none;
padding: 0;
background:none;
}

/* 見出し1 */
.article h1 {
    font-size: 22px;
}

/* 見出し2 */
.article h2 {
  font-size: 22px;/*文字のサイズ*/
  background: #364736;/*背景色*/
  padding: .5em .7em;/*余白*/
  color: #FFF;
  margin-bottom: 15px;
  border-top: none;
  border-bottom: none;
}

/* 見出し3 */
.article h3 {
	padding: 0.5em 0.7em;
	border-top: dotted 3px #333333;
	border-bottom: dotted 3px #333333;
	border-left: none;
	border-right: none;
	font-size: 18px;
}

/* 見出し4 */
.article h4 {
  padding: 0.1em 0.5em;/*文字の上下 左右の余白*/
  background: #fff;/*背景色*/
  font-size: 16px;
}

.article h4:before {
	color: #333;/*左のアイコンの色*/
	content: '●';/*左のアイコンの種類*/
	margin-right: 0.5em;
}

.sidebar h3 {
  border-bottom: 2px solid #a0a3a0;
  padding:0 10px;
  font-size: 16px;
}

/*親カテゴリーのカスタマイズ*/
.widget_categories ul li a{
	font-size: 85%;
	margin: 0;
    position: relative;
    border-bottom: dotted 2px #ccc;
	padding: 0.5em;
}
.widget_categories ul li a::before{
  font-family: "Font Awesome 5 Free"; /*バージョン指定*/
  content: "\f138"; /* FontAwesomeのユニコード */
  color: #364736; /* アイコンの色 */
  padding-right: 6px; /*アイコン右側空間*/
  font-weight: 900; /*アイコンの太さ*/
}

.widget_categories > ul > li > a:first-child{ 
  border-top: none; /*最初の親カテゴリは上部ボーダーを消す*/
}

/*子カテゴリーのカスタマイズ*/
.widget_categories ul li a{ 
    font-size: 85%;
	margin: 0;
    position: relative;
    border-bottom: dotted 2px #ccc;
	padding: 0.5em;
}
.widget_categories ul li ul li a::before{ /*子カテゴリーのアイコン*/
  font-family: "Font Awesome 5 Free"; /*バージョン指定*/
  content: "\f138"; /* FontAwesomeのユニコード */
  color: #364736; /* アイコンの色 */
  padding-right: 6px; /*アイコン右側空間*/
  font-weight: 900; /*アイコンの太さ*/
}

/*メニューのカスタマイズ*/
.widget_nav_menu ul li a{ 
    font-size: 85%;
	margin: 0;
    position: relative;
    border-bottom: dotted 2px #ccc;
	padding: 0.5em;
}
.widget_nav_menu ul li a::before{
  font-family: "Font Awesome 5 Free"; /*バージョン指定*/
  content: "\f138"; /* FontAwesomeのユニコード */
  color: #364736; /* アイコンの色 */
  padding-right: 6px; /*アイコン右側空間*/
  font-weight: 900; /*アイコンの太さ*/
}
.widget_nav_menu > ul > li > a:first-child{ 
  border-top: none; /*最初の親カテゴリは上部ボーダーを消す*/
}

/* ヘッダーに影をつける */
#header-container {
	 border-bottom: 3px solid #a0a3a0;
}

.btn-wrap.btn-wrap-grey > a {
	background-color: #627962;
	box-shadow: 0 7px 10px -5px rgba(0,0,0,0.5);
}

/************************************
** ■ホバー時の背景色設定
************************************/
.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_pages ul li a:hover,
.widget_meta ul li a:hover,
.widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover,
.navi-in a:hover,
.navi-footer-in a:hover,
.a-wrap:hover,
.comment-reply-link:hover,
.recent-comments .a-wrap:hover .recent-comment-content,
.pagination a:hover,
.pagination-next-link:hover, .comment-btn:hover,
.pager-links a:hover span,
.pager-links a:hover span,
.mobile-menu-buttons .menu-button:hover,
.menu-drawer a:hover,
.bp-login-widget-register-link a:hover{
  background-color: #d7ded7; /*背景色*/
  transition: all 0.8s ease; /*アニメーション*/
  color: #333; /*フォントカラー*/
}




