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

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

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

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

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

/*---------------------------------
親カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li a{ 
  border-bottom: 1px dashed #CCCCCC; /* 下線の種類 */
}

.widget_categories ul li a::before{
  font-family: "Font Awesome 5 Free";
　font-weight: 900;
  content: "\f152"; /* "FontAwesomeのユニコード */
  color: #b22222; /* アイコンの色 */
  padding-right: 6px;
}

.widget_categories > ul > li > a:first-child{ 
}

/*---------------------------------
子カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li ul li a::before{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0da"; /* FontAwesomeのユニコード */
  color: #b22222; /* アイコンの色 */
  padding-right: 6px;
}

/*---------------------------------
区切りがある横並びのメニュー
--------------------------------*/
.fas_menu_horizonsplit{
	margin: 0;
	padding: 15px 30px; 
	background: #961e3e; 
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;	
}
.fas_menu_horizonsplit li{
	list-style: none;
	margin: 0 15px 0 0;
}
.fas_menu_horizonsplit li:last-child{
	margin-right: 0px;
}
.fas_menu_horizonsplit li a{
	text-decoration: none;
	display: inline-block;
	line-height: 1.4;
	color: #fff;
}
.fas_menu_horizonsplit li a:before{
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f0da';
	margin-right: 3px;
}
.fas_menu_horizonsplit li a:after{
	content: '|';
	margin-left: 15px;
	color: #fff;
}
.fas_menu_horizonsplit li:last-child a:after{
	content: '';
	margin-left: 0;
}

/*---------------------------------
縦並びのメニュー サイドメニュー
--------------------------------*/
.fas_menu_vertical{
	margin: 0;
	padding: 0; 
}
.fas_menu_vertical li{
	list-style: none;
	margin: 0 0 8px 0;
}
.fas_menu_vertical li:last-child{
	margin-bottom: 0px;
}
.fas_menu_vertical li a{
	text-decoration: none;
	display: inline-block;
	position: relative;
	padding: 0 0 0 calc(1em + 5px);	
	line-height: 1.4;
	color: #3366cc;
}
.fas_menu_vertical li a:before{
	position: absolute;
	top: 0;
	left: 0;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f101';
}

/************************************
** ■コンテンツ領域の上下間調整
************************************/
.content {
  margin-bottom: 8px /*フッターとコンテンツ間の縦幅*/
}

/************************************
** ■人気記事サムネイル表示文字サイズ
************************************/
.large-thumb-on .widget-entry-card-title {
  font-size: 14px;
}

/************************************
****　ロゴ画像　余白調整
************************************/
.header-in {width: 100%;}
.header-in img {width: 100%;}
.logo-image span, .logo-image a {width: 100%;}
.logo-image, .logo-image a {padding: 0;}

/*人気記事ランキング・記事見出しのテキストサイズ*/
.popular-entry-card-title{font-size:12px;}

/*新着記事ランキング・記事見出しのテキストサイズ*/
.new-entry-card-title{
font-size:13px;
}
.new-entry-card-content{
font-size: 13pt;
}

/*ウィジェットのテキストサイズ*/
.widget-entry-card-content{
 font-size: 13pt;
}

/************************************
** ■関連記事見出しカスタマイズ
************************************/
.related-entry-card-title.card-title.e-card-title{
  font-size: 13px; /*フォントサイズ*/
}
.large-thumb-on .widget-entry-card-title {
  font-size: 13px;
}
.border_square .widget-entry-card-title {
  font-size: 13px;
}


/* タブ切り替え */
.tab-rank {
	background: White;
	display: flex;
	flex-wrap: wrap;
    overflow: hidden;	
	padding: 0 0 20px;
}

.tab-label {
	color: Gray;
	cursor: pointer;
	flex: 1;
	font-weight: bold;
	order: -1;
	padding: 12px 24px;
	position: relative;
	text-align: center;
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s;
	user-select: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	border-bottom: 3px solid #ddd;
}

.tab-label:hover {
	background: rgba(100, 100, 100,.1);
}

.tab-switch:checked + .tab-label {
	color: #545454;
}

.tab-label::after {
	background: #545454;
	bottom: -3px;
	content: '';
	display: block;
	height: 3px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(100%);
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms;
	width: 100%;
	z-index: 1;
}

.tab-switch:checked ~ .tab-label::after {
	transform: translateX(-100%);
}

.tab-switch:checked + .tab-label::after {
	opacity: 1;
	transform: translateX(0);
}
.rank-content {
	height:0;
	opacity:0;
	padding: 0 10px;
	transform: translateX(-30%);
	transition: transform .3s 80ms, opacity .3s 80ms;
	width: 100%;
}

.tab-switch:checked ~ .rank-content {
	transform: translateX(30%);
}

.tab-switch:checked + .tab-label + .rank-content{
	height: auto;
	opacity: 1;
	order: 1;
	pointer-events:auto;
	transform: translateX(0);
}

.tab-rank::after {
	content: '';
	height: 20px;
	order: -1;
	width: 100%;
}

.tab-switch {
	display: none;
}