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

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

/* サイトタイトルの設定 */
.site-name-text{
	font-size: 48px;
	font-weight: bold;
}

/* カテゴリーラベル非表示 */
.entry-card .cat-label{
	display: none;
}

/* 見出しの設定 */
.article h1{
	color: #fff;		/*文字色*/
	font-size: 16px;	/*フォントサイズ*/
	padding: 10px 15px;	/*上下、左右への余白（要素内側）*/
	background: #000;	/*背景色（古いブラウザ用）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#000));	/*グラデーション*/
	background: -webkit-linear-gradient(#222, #000);	/*同上*/
	background: linear-gradient(#222, #000);			/*同上*/
}
.article h2{
	color: #000;		/*文字色*/
	font-size: 16px;	/*フォントサイズ*/
	padding: 10px 15px;	/*上下、左右への余白（要素内側）*/
	margin-top: 0px;	/*上への余白（要素外側）*/
	background: #ddd;	/*背景色（古いブラウザ用）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));	/*グラデーション*/
	background: -webkit-linear-gradient(#fff, #ddd);	/*同上*/
	background: linear-gradient(#fff, #ddd);			/*同上*/
	border: 1px solid #bbb;	/*枠線の幅、線種、色*/
}
.article h3{
	color: #000;		/*文字色*/
	font-size: 16px;	/*フォントサイズ*/
	padding: 10px 0px;	/*上下、左右への余白（要素内側）*/
	margin-top: 0px;	/*上への余白（要素外側）*/
	background: #fff;	/*背景色*/
	border: none;
}
/* 見出し1文字目への設定 */
h1::first-letter{
	border-left: 3px solid #fff;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;				/*アクセントラインと文字の間にとる余白*/
}
h2::first-letter{
	border-left: 3px solid #000;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;				/*アクセントラインと文字の間にとる余白*/
}
h3::before{
	content: "■";
}

/* Contact Form 7 */
.wpcf7 input[name="your-name"],
.wpcf7 input[name="tel-number"] {
	width: 300px!important
}
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-email_confirm"] {
	width: 600px!important
}
.wpcf7 input[name="your-message"] {
	width: 100%!important
}
.wpcf7 input[type="submit"] {
	width: 100px!important
}

/* 固定ページの投稿日・更新日を非表示にする */
.page .post-date {
    display: none;
}

/* 折り畳み月別アーカイブのデザイン---------------------------------------------- */

.widget_archive a.year{ /*各年*/
	cursor: pointer;
}

/*各年左横のアイコン*/
.widget_archive a.year::before{ 
	font-family: "Font Awesome 5 Free";
	content: '\f0da'; /* アイコンの指定 */
	position: relative; /* 相対配置 */
	right: 5px; /* アイコンの位置 */
	font-weight: bold;
}

/*各年右横のアイコン*/
.widget_archive a.year::after{ 
	font-family: "Font Awesome 5 Free";
	content: '\f107'; /* アイコンの指定 */
	position: relative; /* 相対配置 */
	left: 5px; /* アイコンの位置 */
	font-weight: bold;
}

/*各月*/
.widget_archive .years ul { 
	display:block;
	margin-left: 20px; /*インデント*/
	font-size: 1em;
	-webkit-transition: 300ms ease;
	transition: 300ms ease-out;
}

.widget_archive ul.years li {
	border-bottom: 2px dotted #ccc;
}

/*マウスホバー時*/
#sidebar .widget_archive ul.years li :hover {
	background: none;
}

 /*各年をクリックすると開閉*/
.widget_archive ul.years .hide {
	margin: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
}

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

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

@media screen and (max-width: 650px){
	/* Contact Form 7 */
	.wpcf7 input[name="your-email"],
    .wpcf7 input[name="your-email_confirm"] {
		width: 100%!important
	}
}

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