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

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

/*グローバルメニュー 文字の大きさを変更*/
#navi .navi-in > .menu-header .item-label{
	font-size: 21px;
}
/*マウスオーバー時のメニューの色を変更*/
#navi .navi-in a:hover{
	color: #ffffff!important;
	background: #dd4444;
	transition: all 0.2s ease;
}
/*すべての固定ページの更新日を非表示*/
.page .date-tags {
display: none;
}
/*トップページのタイトルの余白を消す*/
.home header {
margin :-3.1em;
}
/*ヘッダーモバイルボタンの文字色と背景色を変更*/
.search-menu-button.menu-button,
.logo-menu-button.menu-button{
	background-color: #dd2e2e;
	color: #ffffff;
}
.navi-menu-button.menu-button{
	background-color: #dd2e2e;
	color: #ffffff;
}
.mobile-menu-buttons{
	background: #dd2e2e;
}
/*スライドインメニューをカスタマイズ*/
.navi-menu-content{
	left: auto;
	right: 0;
	background-color: rgba(221,66,66,0.5);
	transform: translateX(101%);
}
.menu-drawer a{
	color: #ffffff;/*文字の色*/
}
/*トップページとフッター間の余白削除*/
.footer,.footer-bottom,.copyright {
	margin: 0;
	padding: 0;
}
.entry-content{
	margin-top: 0;
	margin-bottom: 0;
}
.front-top-page .article {
	margin-bottom: 0;
}
/*ヘッダー固定時のヘッダーロゴ画像サイズの統一*/
div.header-container-in.hlt-top-menu .logo-header img{
  width: 100px;
  height: auto;
}
/** カバーブロックの背景固定関連 **/
/* カバーブロックの基本設定 */
.wp-block-cover.has-parallax {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  position: relative;
  overflow: hidden;
}
/* 背景画像の設定 */
.wp-block-cover__image-background.has-parallax {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
/*左右の余白を消す*/
	main.main {
		padding: 0;
	}
/*ロゴ画像の位置を左端へ配置*/
	.logo-menu-button.menu-button {
  justify-content:flex-start;
  padding-left:0px;
	}
/** カバーブロックの背景固定関連 **/
/* オプション：モバイルデバイスでの最適化 */
  .wp-block-cover__image-background.has-parallax {
    transform: none;
    -webkit-transform: none;
  }
}