@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){
  /*必要ならばここにコードを書く*/
}

/***************************
** グローバルナビのカスタマイズ
****************************/
/* ナビメニュー 文字*/
#navi {
	font-family: '○○', sans-serif;/*〇〇にはお好きなGoogleフォントを入力*/
	font-weight: bold; /* 太文字 */
	letter-spacing: 0.12em;/*字間を広げる*/
	color: #333;
}
.navi-in a {
	font-size: 13px;/*文字サイズ*/
}

/* safari文字の太さ指定 */
_::-webkit-full-page-media, _:future, :root  
#navi {
	-webkit-text-stroke-width: .1px !important; 
}

 /* ブラウザChromeのみ太文字にする */
@media screen and (-webkit-min-device-pixel-ratio:0){
  #navi {
	-webkit-text-stroke-width: .4px !important;
}
}

/* ナビメニュー 下線*/
#navi .navi-in a::after {
	position: absolute;/*線の位置を絶対配置に*/
	bottom: 12px;/*線の位置*/
	left: 0;
	content: '';
	width: 100%;
	height: 2px;/*線の太さ*/
	background: #FFF035;/*線の色*/
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform 0.3s;/*変形の時間*/
}

#navi .navi-in a:hover::after {
	transform: scale(1, 1);
}

/* タブレットメニュー中央寄せ */
@media screen and (max-width: 768px){
#navi-in{
	display: flex;
	justify-content: center;
}
}

/*スマホメニューを横スクロール*/
@media screen and (max-width: 480px){
#header-container .navi-in > ul li {
   height: auto;
   font-weight: 600;
   line-height:1.3;
}
#header-container #navi a{
   color:#222; /* 文字色 */
   padding:0.8em 1em;
}
#header-container #navi a:hover{
   color:#222; /* マウスホバー時の文字色 */
}
#header-container .navi-in > ul > .menu-item-has-children > a::after {
   top: 0.8em;
   font-size: 1.2em;
   font-weight: 600;
}
#header-container .sub-menu .caption-wrap{
   padding-left:1em;
}
.navi-in > ul .menu-item-has-description > a > .caption-wrap{
   height:auto;
}
}	
@media screen and (max-width: 1030px){
  #header-container .menu-mobile{
    display:none;
  }
  .navi-in > .menu-mobile{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  #header-container #navi a{
    font-size:0.8em;
    padding: 1em 1.2em;
  }
  #header-container .navi-in > ul > .menu-item-has-children > a::after{
    display:none;
  }
  #navi .navi-in > .menu-mobile li {
    height: auto;
    line-height: 1.8;
  }
  .mblt-header-mobile-buttons {
    margin-top: 53px;
  }
}

/*H2見出し*/
main h2.wp-block-heading {
    position: relative;
    color:#6d5353;/*文字色*/
    background: #efece0;/*背景色*/
    display: block;
    padding: 20px;/*文字回りの余白*/
    font-size: 20px;/*文字サイズ*/
    background-image: repeating-linear-gradient(-60deg,#fff 0 3px,transparent 3px 5px);/*背景ストライプの角度・色・太さなど*/
    box-shadow: 3px 3px 5px #c7c4b2;/*影（左右距離 上下距離 ぼかしサイズ 色*/
}
/*H3見出し*/
main h3.wp-block-heading {
    color: #6d5353;/*文字色*/
    font-size: 18px;/*文字サイズ*/
    padding: 20px 15px;/*文字回りの余白（上下 左右）*/
    display: block;
    position: relative;
}
main h3.wp-block-heading:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 10px;
    background-image: linear-gradient(120deg, #ffffff 33.33%, #816930 33.33%, #816930 50%, #ffffff 50%, #ffffff 83.33%, #816930 83.33%, #816930 100%);/*背景ストライプの角度・色・位置など*/
    background-size: 6.93px 12.00px;/*繰り返す背景ストライプのサイズ*/
}
/*H4見出し*/
main h4.wp-block-heading{
    color: #6d5353;/*文字色*/
    font-size: 16px;/*文字サイズ*/
    padding: 5px 35px;/*文字回りの余白（上下 左右）*/
    display: block;
    position: relative;
}
main h4.wp-block-heading:before {
    content: "✿";
    font-weight: 900;/*マーク部の太さ*/
    position: absolute;
    font-size: 25px;/*マーク部のサイズ*/
    left: 0;
    top: 0;
    color: #cbb276;/*マーク部の色*/
}

/**************************************
カテゴリーのもっと見るボタン
************************************/
/*カテゴリーごと表示の「もっと見る」ボタン*/
.list-more-button:hover{
background: #efece0; /*背景色*/
color:#6d5353; /*文字色*/
}

/**************************************
トップページの「カテゴリごと」のタイトル変更
************************************/
.list-title-in{
color: #6d5353;;/*文字の色*/
font-size: 24px;/*文字の大きさ*/
}
.list-title-in:before, .list-title-in:after {
background-color: #6d5353;/*線の色*/
top: 40%;/*線の高さ*/
}

/**************************************
ブログカード角丸
************************************/
.entry-card-thumb img,
.widget-entry-card-thumb img,
.related-entry-card-thumb img {
    border-radius: 15px;  /* 数字を変えると丸みの強さが調整できます */
}