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

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


/***** 全体 *****/
.a-wrap:hover {
  background-color: transparent !important;
}
.single-post .content-in,
.page .content-in{
	max-width:880px;
}

/***** ヘッダー *****/
.logo-header{
  padding-top:0;
}
.site-name-text{
  font-weight:700;
}
header .tagline{
  margin-bottom:0;
}


.navi-in > ul li {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 20px;
}

.navi-in .item-label {
  padding: 8px 16px;
  border-radius: 10px;
  display: inline-block;
  line-height: 1.4;
}

.menu-item.current-menu-item a .item-label {
  background-color: #eeeeee !important;
}

.navi-in a:hover {
  background-color: transparent;
}

/***** トップ *****/
.entry-card-wrap:hover{
	background-color:#ffffff;
}
.entry-card{
	padding:1%;
}
.entry-card-thumb img{
	transition: all .3s ease;
	box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
	border-radius: 4px;	
}
.entry-card-thumb img:hover{
	box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
	transform: translateY(-5px);
}
.ect-vertical-card .entry-card-wrap .entry-card-content {
	margin-top:0.3em;
}
.cat-label{
	display:none;
}
.archive-title {
	display:none;
}

/***** 投稿 *****/
.entry-content {
	margin-bottom:10em;
}

/* 見出し */
.article h4,
.article h5,
.article h6 {
  font-size: 18px;
  padding: 6px 8px;
}
.article h2 {
  font-size: 22px;
  padding: 16px;
  color:#FFF;
  background-color: #333;
  margin-top:3rem;
}
.article h3 {
  border:none;
  border-top: 2px solid  #333;
  border-bottom: 2px solid  #333;
  font-size: 20px;
  padding: 12px 16px;
}
.article h4 {
  border: none;
  border-left: 3px solid  #333;
}
.article h5 {
  border: none;
}
.article h6 {
  border: none;
  font-size:16px;
}

/* 目次 */
.toc-list>li {
  font-weight:bold;
}
.toc-list li>ol {
  font-weight:normal;
}

/* 画像に枠線をつける */
figure.frame img {
    border: solid 1px #ddd;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.entry-card{
		padding:0;
	}
	.ect-vertical-card .entry-card-wrap .entry-card-content {
		margin-top:0;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
  /*本文の見出し*/
  .article h2,
  .article h3,
  .article h4,
  .article h5,
  .article h6 {
    padding: 0.6em;
  }
  .entry-title,
  .article h2 {
    font-size: 20px;
    padding: 0.6em 0.8em;
  }
  .article h3 {
    font-size: 18px;
  }
  .article h4,
  .article h5,
  .article h6 {
    font-size: 16px;
  }

}

