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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
}*/

/* PC navi search box */
.header-search {
    width: 200px !important;
}

.header-search .search-box {
    margin: 3px;
}

.header-search input[type="text"] {
    padding: 3px 14px;
    font-size: 14px;
    border-radius: 14px 14px 14px 14px / 50% 50% 50% 50%;
}

.header-search .search-submit {
    color: #F5B700;
}

.search-submit {
	top:calc(50% - 8px)!important;
}


/* ロゴサイズ */
.site-logo-image {
	max-width:130px;
}

/* PCのロゴの位置 を 右上に*/
.header-in {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home .logo {
    text-align: right;
}


.cf::after {
	clear: none!important;
    content: none!important;
    display: none!important;
}


.tagline {
	color: #F5B700;
	font-weight:bold;
	font-size:1.0rem;
}

/** ヘッダー画像 **/
/* トップページ以外はトップ画像表示させない */
body:not(.home) #header,
.single #header,
.blog #header {
	display:block;
	background-image:none;
	background-color:unset;
	height:60px;
}

/* トップページ以外は キャッチフレーズ表示しない */
body:not(.home) .tagline {
	display:none;
}


/* モバイルの場合 */
@media screen and (max-width: 480px){
	.home #header {
		height:400px;
	}
	body:not(.home) #header{
		display:none;
	}
}

#navi .caption-wrap {
	color:#fff;
}

/* 引用のブログカード */
.blogcard-footer.internal-blogcard-footer.cf {
	height:1.6em;
}

.blogcard-wrap {
	margin-left:0;
	margin-right;0;
	width:100%;
}

/* モバイルのヘッダ部分 */
ul.mobile-header-menu-buttons  {
	background-color:rgba(245, 183, 0,1);
 color:#ffffff;
}

/* モバイルのメニュー */
.navi-menu-content { 
	background-color:rgba(255,255,255,0.6);
	-webkit-backdrop-filter: blur(20px);
		backdrop-filter: blur(20px);
}

/* モバイルメニューの後ろのオーバレイ */
#navi-menu-close {
	background:#fff;
}

.navi-menu-close-button { /* クローズボタン */
	color:#F5B700;
	opacity:0.6;
}


.menu-close-button {
    display: block;
    cursor: pointer;
    text-align: right;
    font-size: 2em;
    padding: 0em 30px;
}


@media screen and (max-width: 480px) {
    .menu-content {
        max-width: 70%;
    }
}

#navi-menu-input:checked~#navi-menu-close, #sidebar-menu-input:checked~#sidebar-menu-close, #search-menu-input:checked~#search-menu-close, #share-menu-input:checked~#share-menu-close, #follow-menu-input:checked~#follow-menu-close {
    display: block;
    opacity: 0;
}


.menu-drawer a { /* メニューアイテム */
	color:#333333;
	font-size:16px;
	font-weight:700;
}
.menu-drawer a:hover { 
	background:none;
}

/* モバイルメニューアイコン*/
.mobile-menu-buttons .menu-icon {
	font-size:25px;
	opacity:0.7;
}

/* モバイルメニューアイコンの下の文字*/
.mobile-menu-buttons .menu-caption {
	display:none;
}



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

.header-in { 
	min-height: 400px;
	}
	
}

/*834px以下*/
@media screen and (max-width: 834px){

  /* --- 1階層目 --- */
  .navi-menu-content .menu-drawer > .menu-item > a {
    font-weight: 700;              /* 太字 */
    font-size: 16px;               /* やや大きく */
    color: #333333;                /* 濃い文字色 */
    text-transform: none;          /* 必要なら大文字化を防止 */
    border-bottom: 1px solid rgba(0,0,0,0.1); /* 区切り線を追加（任意） */
    padding: 12px 20px;            /* 余白を広く */
  }

  /* --- 2階層目 --- */
  .navi-menu-content .menu-drawer .sub-menu > .menu-item > a {
    font-weight: 400;              /* 標準 */
    font-size: 15px;               /* 少し小さく */
	line-height:0.5em;
    color: #666666;                /* やや淡い文字色 */
    padding: 10px 30px;            /* インデントを少し右へ */
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
		.entry-title, .article h2 {
		padding:0.6em １em;
	}

}

