@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 {
    padding: 0.5em;/*文字周りの余白*/
    color: #010101;/*文字色*/
    background: #eaf3ff;/*背景色*/
    border-bottom: solid 3px #516ab6;/*下線*/
}

.article h3 {
    border-left: 6px solid #2196F3;
    border-right: 0px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    padding: 10px 6px;
}

.article h4 {
    border-top: 2px solid #357ae8;
    border-bottom: 2px solid #357ae8;
    font-size: 16px;
    padding: 7px 10px;
}

.article h5{
	background :#f9d274;
	border-bottom: 2px;
	font-size: 18px;
	font-weight:bold;
    padding: 10px 7px;
}

.sidebar h3 {
    background-color: #dcf0f9;
    border-left: 6px solid #2196F3;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
	 color: #0078d9;
    padding: 6px 10px;
}


/*エントリーカード設定
.entry-card-title, .related-entry-card-title {
    font-size: 14px;
    margin: 0 0 5px 0;
    line-height: 1.6;
    font-weight: bold;
}*/

/*ヘッダーメニュー設定*/
#navi .navi-in > .menu-header .item-label{
	font-size: 14px;
}

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



/*ぬりえ用枠線 高度な操作にwaku*/
.waku{
	 border:1px solid #000;
}

/*PDFダウンロードのボタン設定 追加CSSで設定
.wp-block-file .wp-block-file__button {
    background: #8bc34a;
    border-radius: 1em;
    color: #fff;
    font-size: .9em;
	 font-weight:bold;
    padding: 1em 6em;
}*/

/*本文下のタグの表示設定*/
.tag-link, .comment-reply-link {
    color: #fff;
    background-color: #ffa507;
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    padding: 1px 5px;
    font-size: 12px;
    border: 0px solid #999;
    border-radius: 2px;
    word-break: break-all;
}

/*本文下のカテゴリの表示設定*/
.cat-link {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    padding: 2px 6px;
    font-size: 12px;
    background-color: #0095d9;
    border-radius: 2px;
    word-break: break-all;
}

/*固定ページトップを２列*/
/* 新着記事表示設定 */
.new-entry-cards.large-thumb {
display: flex;
flex-wrap: wrap;
}

.new-entry-cards.large-thumb a {
width: 33%;
}

.widget-entry-cards .a-wrap {
    padding: 10px;
    line-height: 2;
    margin-bottom: 12px;
    margin-right: 1px;
    margin-left: 1px;
    border: 1px solid #ccc;
}
.widget-entry-cards.card-large-image .e-card {
    font-size: 15px;
}

/*カテゴリー一覧表示３列*/
.ect-vertical-card .entry-card-wrap {
    width: 33%;
    display: inline-block;
    margin-bottom: 12px;
}

/*人気記事ランキング順位カスタム*/
.sidebar .widget-entry-cards.ranking-visible .card-thumb::before {
	color: #fff; 
	background:#2ca9e1; 
	font-size:15px; 
	font-weight: 800; 
	border-radius: 15px; 
	font-style: italic; 
	left: -5px; 
	top: -5px; 
	opacity: 1; 
	padding-left:2px; 
	padding-right:4px; 
	padding-top:3px; 
	padding-bottom:2px; 
}

/*サイドタグ一覧の表示設定*/
.tagcloud a {
    border: 1px solid #eee;
    border-radius: 2px;
    color: #555;
    padding: 1px 2px;
    text-decoration: none;
    font-size: 12px;
    margin: 1px;
    flex: 1 1 auto;
    display: flex;
    background-color: #d5f0ff;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}
/************************************
** ボトムシェアボタンを小さくする
************************************/

/*ボトムシェアボタンの枠組み*/
.sns-share.ss-bottom .sns-share-buttons {
	justify-content: left; /*中央に寄せる*/
}

/*ボトムシェアボタンのリンク*/
.sns-share.ss-bottom .sns-buttons a {
	width: 60px; /*横幅*/
	height: 28px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	border-radius: 3px; /*丸み*/
}

/*ボトムシェアボタンのアイコン*/
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 16px; /*アイコンの大きさ*/
}

/*ボトムシェアボタンのキャプション*/
.sns-share.ss-bottom .sns-buttons a .button-caption {
	display: none; /*非表示*/
}

/*ボトムシェアボタンのシェア数*/
.sns-share.ss-bottom .sns-buttons a .share-count {
	right: 1px; /*右側からの距離*/
	bottom: 0; /*下側からの距離*/
	font-size: 10px; /*文字の大きさ*/
}

/*タグ一覧の設定*/
.tagcloud a {
    border: 1px solid #eee;
    border-radius: 2px;
    color: #555;
    padding: 3px 8px;
    text-decoration: none;
    font-size: 12px;
    margin: 2px;
    flex: 1 1 auto;
    display: flex;
    background-color: #d5f0ff;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}

/*エントリーカードタイトルサイズと色*/
.widget-entry-cards.card-large-image .e-card {
    font-size: 16px;
}

.a-wrap {
    text-decoration: none;
    display: block;
    color: #2ca9e1;
    padding: 1.5%;
    margin-bottom: 3%;
    transition: all 0.3s ease-in-out;
}

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

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


/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.entry-card-title, .related-entry-card-title {
    font-size: 15px;
    margin: 0 0 5px 0;
    line-height: 1.5;
    font-weight: bold;
}
}

@media screen and (max-width: 480px){
.new-entry-cards.large-thumb a {
width: 100%;
}
}

/*
select.year {
}
.search-edit, input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea, select {
    padding: 11px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
     width: 60%; 
}*/

/************************************
**モバイル表示　ヘッダーメニュー・検索アイコン
************************************/
.mobile-menu-buttons{
height:50px;
}
.mobile-menu-buttons > li {
padding-top:0;
}
.menu-button{
color: #0095d9!important;
margin: auto;
}
.mobile-menu-buttons .menu-button:hover{
background-color:white;
}
span.fas.fa-search::before{
margin-left:1em;
}
span.fas.fa-bars::before{
margin-right:1em;
}
.navi-menu-caption.menu-caption,.home-menu-caption.menu-caption,.search-menu-caption.menu-caption,.top-menu-caption.menu-caption,.sidebar-menu-caption.menu-caption{
display:none;
}
	
/*カテゴリーの色
.cat-label {
    position: absolute;
    top: 0.3em;
    left: 0.3em;
    border: 1px solid #eee;
    font-size: 11px;
    color: #fff;
    background-color: #e60033;
    padding: 1px 5px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/
	
	
	/*WPアソシエイトポストR2デザイン変更
.wpap-tpl.wpap-tpl-with-detail .wpap-link a {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	height: 25px;
	width: 100%;
	font-size: 15px;
	border-radius: 5px;
	font-weight: bold;
}
.wpap-tpl.wpap-tpl-with-detail .wpap-link {
	display: block;
	width: 95%;
	padding-top: 10px;
}
@media(min-width: 599px) {
  .wpap-tpl.wpap-tpl-with-detail .wpap-link {
		display: flex;
		margin-top: 20px;
  }
}
.wpap-tpl.wpap-tpl-with-detail .wpap-link a:not(:first-child) {
	margin-top: 20px;
}
@media(min-width: 599px) {
  .wpap-tpl.wpap-tpl-with-detail .wpap-link a:not(:first-child) {
		margin-top: 0;
  }
}
*/