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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* タブ切り替え 新着記事-人気記事 開始 */
.tab-wrap {
	background: #ffff;
	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);
}

.tab-content {
	height:0;
	opacity:0;
	padding: 0 10px;
	pointer-events:none;
	transform: translateX(-30%);
	transition: transform .3s 80ms, opacity .3s 80ms;
	width: 100%;
}

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

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

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

.tab-switch {
	display: none;
}
/* タブ切り替え 新着記事-人気記事 終了 */




/************************************
** ボックスメニューの設定 **
************************************/
.box-menu:first-child{
    margin-left: auto;
/*センター寄せ*/
}

.box-menu{
    background: #fff; /* 背景色 */
    box-shadow: none; /* 枠線の設定 */
}
.box-menu-icon{
    color: #ffdc00;  /* アイコンの色 */
}
.wwa .box-menu {
	width: calc(100%/6); /* メニューの数 */
}
/* オンマウス時の設定 */
.box-menu:hover{
    box-shadow: none; /* 枠線を消す */
    background: #F2F0EE; /* 背景色 */
}

/* モバイル用の設定 */
@media screen and (max-width: 599px){
    .box-menus .box-menu {
	width: calc(100%/3); /* メニューの数 */
	}
    .box-menu-label{
	font-size: 10px; /* 文字サイズ */
	}
	.box-menu{
	min-height: 50px; /* 高さ */
	}
}

/************************************
** ボックスメニュー色指定 **
************************************/
.my-box1 {color: #3b4c8e}
.my-box2 {color: #ffdc00}

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


/************************************
** プルフィール欄RSSアイコン非表示 **
************************************/
#author_box-2 .author-follows {
    display: none;
}

/************************************
** モバイルインスタ2カラム表示**
************************************/
.ath-colfix{
flex-wrap:nowrap;
}
@media (max-width: 768px){
.ath-colfix .wp-block-column:not(:first-child) {
    margin-left: 10px;
	}
}

.blank-box{
 border-width: 3px;
border: 3px dashed;
}

/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}

/*フロント固定ページの投稿日を非表示*/
.home.page .post-date{
  display: none;
}

/*フロント固定ページの更新日を非表示*/
.home.page .post-update{
  display: none;
}

/*フロント固定ページの投稿者名を非表示*/
.home.page .author-info{
  display: none;
}

 /** 記事本文内の行の高さを調整 */
  .content p {
     margin-top: 0;
     margin-bottom: 0.5em;
     line-height: 160%;
 }

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

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

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

@media screen and (max-width: 768px) {
	.single #header-container {
		display: none;
	}
}

