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

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

/*見出しデザインリセット*/
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
	background-color:initial;/*背景色リセット*/
	border:initial;/*上下左右の枠線リセット*/
	border-radius:initial;/*角の丸みリセット*/
}

/* 全見出し共通のスタイル */
.article h2, .article h3, .article h4, .article h5, .article h6 {
    font-family: 'Arial', sans-serif;
    margin: 2em 0 1em;
    line-height: 1.4;
}

/* 見出し5のスタイル */
.article h5 {
    background-color: #F5E6D3; /* ピーチフィズ */
    color: #91826F;
    padding: 10px 15px;
    border-radius: 5px;
    position: relative;
}

.article h5::before,
.article h5::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #A59683;
}

.article h5::before {
    top: 5px;
}

.article h5::after {
    bottom: 5px;
}

/* 見出し2のスタイル */
.article h2 {
    color: #91826F;
    border-bottom: 2px solid #F5E6D3;
    padding-bottom: 5px;
}

/* 見出し3のスタイル */
.article h3 {
    color: #A59683;
    border-left: 4px solid #F5E6D3;
    padding-left: 10px;
}

/* 見出し4のスタイル */
.article h4 {
    color: #B9AA97;
    font-style: italic;
}

/* 見出し6のスタイル */
.article h6 {
    color: #CDBEAB;
    font-style: italic;
    font-size: 0.9em;
}

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

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

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



/*---折り畳みアーカイブウィジェット---*/
.widget_archive a.year{ /*各年*/
	cursor: pointer;
	border-bottom: 1px dotted #ccc; /*各年に下線を引く*/
}
.widget_archive a.year::after{ /*各年横のアイコン*/
	font-family: "Font Awesome 5 Free";
	content: '▽'; /* アイコンの指定 */
	position: relative; /* 相対配置 */
	left: 5px; /* アイコンの位置 */
	font-weight: bold;

}
.widget_archive .years ul { /*各月*/
	display: flex;
	flex-flow: row wrap;
	margin-left: 5px; /*インデント*/
	font-size: 1rem;
	text-decoration: underline; /*各月に下線を引く*/
}
.widget_archive ul.years li {
	padding: 0 1px; /*各月の間隔*/
}
#sidebar .widget_archive ul.years li :hover { /*マウスホバー時*/
	background: none;
	transition: 0.1s;
	color: #72c7e6;
}
.widget_archive ul.years .hide { /*各年をクリックすると開閉*/
	margin: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
}