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

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


/* 画像キャプション */
.wp-block-image{
	position: relative;
}
.wp-block-image figcaption{
	position: absolute;
	right: 0;
	bottom: 9px;
	font-size: 12px;
	font-weight: bold;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
}
@media screen and (max-width: 480px) {
	.cf .wp-block-image figcaption {
            font-size: 10px;
        }
}

/* ヘッダーを低くする */
.logo.logo-header.logo-text {
	padding: 0px;
}

/* 見出しタグ設定 */
.article h4,
.article h5,
.article h6{ /*見出し初期化*/
  padding: 0;
  margin: 0;
  font-size: medium;
  border-collapse: separate;
  border-spacing: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  line-height: normal;
  position:relative;
}
.article h2{
	padding: 5px;
	margin: 40px 0 10px;
	border-top: double 5px #265c00;
	border-bottom: double 5px #265c00;
	background: #fff;
	font-size: 24px;
}
.article h3{
	padding: 5px;
	margin: 20px 0;
	border-left: solid 5px #265c00;
	border-right: 0;
	border-top: 0;
	border-bottom: 0;
	background: #fff;
	font-size: 20px;
}
.article h4{
	padding-left: 10px;
	margin: 20px 0;
	border-left: solid 3px #265c00;
	background: #fff;
	font-size: 18px;
}
.article h5{
	padding-left: px;
	margin: 20px 0;
	background: #fff;
	font-size: 16px;
}

/* 目次 */
.toc-title{
	font-size: 16px;
}
.toc-list {
	font-size: 12px;
}
@media (min-width: 834px){
.article .toc{
	display: none;
}
	.toc-list{
		font-size: 14px;
	}
}

/* リンク */
.article a{
	text-decoration: none;
	font-weight: bold;
}
.article a:visited{
  color : #872fd8;
}
.article a:hover{
  text-decoration: underline;
}
.toc-list a:visited{
	color: #000000;
}

/* ヘッダーロゴ */
.site-logo-image{
	max-width: 70%;
	vertical-align: middle;
}

/*検索窓*/
.search-box {
	width:20%;
	margin:0 15px 15px; 
	position: relative;
	float: right;
}
.search-edit {
	width:auto; /*入力部分の長さ*/
	height:33px ;/*検索窓の高さ*/ 
	background: #fff; /*入力部分の背景色*/
}
.search-box input::placeholder {
font-size: 16px;/*プレースホルダーのフォント大きさ*/
}

/*表の中央配置*/



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

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

/* ヘッダー */
.site-logo-image{
	max-width: 60%;
	padding: 0 0 0;
}

/*検索窓*/
.search-box{
	width:90%;
	margin: auto; 
	position: relative;
	float: none;
}
.add-header-contents{
	display: none;
}
	
/* 見出しタグ設定 */
.article h2{
	padding: 5px;
	margin: 40px 0 10px;
	border-top: double 5px #265c00;
	border-bottom: double 5px #265c00;
	background: #fff;
	font-size: 18px;
}
.article h3{
	padding: 5px;
	margin: 20px 0;
	border-left: solid 5px #265c00;
	border-right: 0;
	border-top: 0;
	border-bottom: 0;
	background: #fff;
	font-size: 16px;
}

}

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