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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
nav#navi, .menu-header .sub-menu{
	font-weight: bold;
}

/************************/
/* 見出しタグ */
/************************/
.entry-content h2 {
color: #fff;
margin: 5px;
padding: 0.5em 1em;
border-radius:5px;
background: linear-gradient(#007ab5 0%, #007ab5 50%, #004364 50%, #0099e3 100%);
}
.entry-content h3{
padding: 0.5em 1em;
margin: 5px;
font-size: 20px;
border:none;
background: linear-gradient(transparent 80%, #0099e3 80%);
}
.entry-content h4 {
width: 95%;
margin: 15px;
padding: 0.5em 1em;
font-size: 18px;
border:none;
}
.entry-content h4::after {
position: absolute;
content: '';
left: 0;
bottom: 0;
width: 100%;
height: 7px;
box-sizing: border-box;
border-top: 3px solid #0099e3;
border-bottom: 1px solid #0099e3;
}
.entry-content h5{
padding: 0.5em 1em;
margin: 15px;
font-size: 16px;
color: #0099e3;
border-bottom: solid 1px #0099e3;
}

.sidebar h3,.footer-in h3 {
font-size: 20px; /*文字サイズ*/
line-height: 20px; /*行の高さ*/
width:100%; /*幅*/
padding: 10px 15px; /*余白*/
margin-top: 20px;
border-radius: 8px; /*角の丸み*/
background-color:#007ab5; /*背景色*/
color:#fff; /*文字色*/
}

.new-entry-card-date { /* 新着記事一覧に日付を表示 */
  display: block;
}

/************************/
/* メニューバー */
/************************/
nav#navi, .menu-header .sub-menu{
	font-weight: bold;
	box-shadow:0 5px 15px -5px rgba(0,0,0,.8);
}
.menu-header .menu-item:hover{
	 border-bottom:3px solid #FDD835 !important;/*線の太さ色*/
	    transition: all .3s;/*線が出てくる時間*/
}
.sub-menu .menu-item:hover{
	border-bottom:none !important;
}

/************************************
** サイトタイトル非表示
************************************/
 
.site-name-text{
  display:none;
}
 
/*ヘッダーレイアウトがトップメニューのとき*/
.header-container-in.hlt-top-menu.site-name-text{
  display:none;
}
 
/*ヘッダーレイアウトがトップメニュー（小）のとき*/
.header-container-in.hlt-top-menu.hlt-tm-small.site-name-text{
  display:none;
}
 
/*端末幅が768px以下のとき*/
@mediascreenand(max-width:768px){
  #header .site-name-text{
    display:none;
  }
}
 
/*端末幅が480px以下のとき*/
@mediascreenand(max-width:480px){
  #header .site-name-text{
    display:none;
  }
}

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

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

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