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

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

.article h2,
.article h3 {
	background-color:initial;/*背景色リセット*/
	border:initial;/*上下左右の枠線リセット*/
	border-radius:initial;/*角の丸みリセット*/
}


/*トップページ新着マーク*/
 .new-icon {
     position: relative
}
.new-icon::before {
    position: absolute;
    content: "";
    top: -50px;
    left: -20px;
    width: 100px;
    height: 83px;
    background-image: url(https://necolifenote.com/wp-content/uploads/2024/05/newicon.png);
    background-size: 100px;
    background-repeat: no-repeat;
    z-index: 999;
}
            .new-icon .widget-entry-cards.large-thumb a {
                width: 100%;
                margin: 0 auto;
                /*padding: 15px*/
            }

/*新着右カラムのpaddin*/
.widget-entry-cards .a-wrap {
  padding: 10px;
  line-height: 1.3;
  margin-bottom: 4px;
}

/*新着左カラムのアイキャッチ大きさ*/
.widget-entry-cards.card-large-image .a-wrap {
  max-width: none;/*最大幅400pxの指定を初期化する*/
}


/* アイキャッチ画像内のカテゴリラベルをつける*/
/* カテゴリ開始 */
.cat-label {
background-color: #803C23;/* ここはラベル背景色の変更 */
color: #ffffff;
border: 0px!important;
top: 0em;
left: 0em;
}
.eye-catch .cat-label {
padding: 0px 10px;
padding-left: 20px;
padding-right: 20px;
text-align: center;
opacity: 0.9;
top: 0em;
left: 0em;
font-size: 13px;
min-width: 120px;
}

/* カテゴリ終了*/




/* フッター見出し */
.footer h3 {
	font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
	  display: flex;
	font-size:30px;
  align-items: center;/* 縦位置の調整 */
  justify-content: center;/* 横位置の調整 */
}

.footer h3::before,
.footer h3::after {
  content: '';
  flex-grow: 0.3;/* 少数にする */
  height: 3px;
  background: gray;
}

/* 見出しの文字と横棒の間隔を開ける */
.footer h3::before {
  margin-right: 20px;
}

.footer h3::after {
  margin-left: 20px;
}



/* サイドバー見出し */

.sidebar h3 {
	font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
	color:#333333;
	font-size: 30px;
	background: transparent;
display: inline-block;
position: relative;
width: 100%;
padding: 0;
text-align: center;
}
.sidebar h3::before, .sidebar h3::after {
content: '';
position: absolute;
top: 50%;
width: 20%;
border-top: 3px solid #d4dfbb;
}
.sidebar h3::before {
left: 0;
}
.sidebar h3::after {
right: 0;
}





/*新着記事に投稿日表示*/
.new-entry-card-date {
  display: block;
  text-align: right;
}
.new-entry-card-date .post-date::before {
  font-family: "Font Awesome 5 Free";
  content: "\f303";
  font-weight: bold;
  padding-right: 3px;
}
.new-entry-card-update-date {
  display: none;
}

/*トップページカスマイズ***************************************/
body {
  background-color:#fff;/*背景色を白に*/
}

.section-wrap{
	padding-top:3em;/*内側余白をあける（上）*/
	padding-bottom:3em;/*内側余白をあける（下）*/
}

/* 見出し---------------------------------------------- */
div.title{
	margin:2rem 0;/*外側余白*/
	padding:0;/*内側余白*/
	text-align:center;/*中央寄せ*/
	font-size:3.0rem;/*文字の大きさ*/
	letter-spacing:4px;/*文字間の余白*/
	line-height:1.6;/*行の高さ*/
	  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
}

div.title:after{
	display:block;
	font-size:.7rem;/*下段サブ見出しの文字の大きさ*/
	  font-weight: 400;
}

div.newpost:after{
	content:'新着記事';
}

div.contents:after{
	content:'このブログのコンテンツご紹介';
}

div.category:after{
	content:'カテゴリー別の記事';
}
div.popular:after{
	content:'今日、読まれている記事';
}


/* リンクボタン---------------------------------------------- */
.link-btn{
	display:block;/*ブロック要素にする*/
	margin:1em auto;/*外側余白*/
	padding: 0.7em 2.5em;/*内側余白*/
	text-align: center;/*中央寄せ*/
	text-decoration: none;/*文字装飾なし*/
	border:1px solid #ccc; /*枠線（太さ、種類、色）*/
	font-size:.9em;/*文字の大きさ*/
	color:#333;/*文字色*/
	width:250px;/*ボタンの幅*/
	letter-spacing:4px;/*文字間の余白*/
}

/* 記事横並べ(flex)---------------------------------------------- */
.widget-entry-cards.large-thumb{
	display: flex; /* フレックス配置にする */
	flex-wrap: wrap;
}


/*新着、人気記事サムネイル（大）}*/
.new-entry-cards.large-thumb a{
	width:calc(100% / 4);/*pcで横4列に並べる*/
	padding: 0 10px;
}

/*暫定新着←カラム用*/
.new-entry-cards.widget-entry-cards.no-icon.cf.card-large-image.large-thumb.card-title-bold a{
	width:calc(100% / 1);/*pcで横1列に並べる*/
}

/************************************
** カルーセル
************************************/
.carousel-in {
  background: transparent;
}

.slick-dots {
  bottom: -15px;
}


.carousel-entry-card {
  border-radius: 10px;
  box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.5);
  background: white;
  padding: 5%;
}

.carousel-entry-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  transition: all .3s ease;
}

.carousel .slick-track {
  padding: 10px 0;
  /*border: dotted 2px #ba7373;*/
}

.carousel .slick-arrow:before {
  color: #5b4130;
  font-size: 28px;
}

.card-title {
  color: #5b4130;
	font-size: 12px;
}

/************************************
** カルーセルおわり
************************************/

/* 新着のタイトルサイズ　*/
.widget-entry-cards:not(.large-thumb-on) .card-title {
	font-size: 15px;
}



.popular-entry-cards.large-thumb a{
	width:calc(100% / 4);/*pcで横4列に並べる*/
}

/*834px以下*/
@media screen and (max-width: 834px){
       .new-entry-cards.large-thumb a{
		width:100%;/*スマホで横１列に*/
	}
       .cate .new-entry-cards.large-thumb a,
       .popular-entry-cards.large-thumb a{
	       width:calc(100% / 2);/*スマホで横２列*/	
	}	
}

/*モバイルで文字の大きさを調整する場合*/
/*834px以下*/
@media screen and (max-width: 834px){
       .cate .large-thumb .new-entry-card-title,
	.popular-entry-card-title{
		font-size: 14px!important;/*カテゴリー、人気記事タイトルを少し小さめに*/
	}
}

/* タブ切り替え---------------------------------------------- */

/* タブの横並びのため親要素にflexを指定*/
.tab-wrap {
	--active-tab-color:#b5b5ae; /*選択したタブの色をここに指定*/
	display: flex;
	flex-wrap: wrap;
	gap:0 5px; /*タブ間の余白*/
}

/* タブ１～３と書いているタブメニュー部分*/
.tab-label {
	color: var(--active-tab-color);
	border-bottom:1px solid var(--active-tab-color);
	text-align: center;
	padding: .5em 1em;
	order: -1;/*タブを上段に表示する*/
	cursor: pointer;
	flex: 1;/*flexアイテムを伸ばす*/
	position:relative;
}

/* タブのコンテンツ部分*/
.tab-content {
	width: 100%;
	display: none;/*いったん非表示状態に設定*/

}

/* アクティブなタブ、チェックされているradioボタンの隣にあるlabelの背景色を変える*/
.tab-switch:checked+.tab-label {
	background-color:var(--active-tab-color);
	color:#fff;
}

/*吹き出し部分*/
.tab-switch:checked+.tab-label:after{
	content: "";
	position: absolute;
	top: 100%;
	left: calc(50% + 5px);
	margin-left: -15px;
	border: 10px solid transparent;
	border-top:10px solid var(--active-tab-color);
	width: 0;
	height: 0;
}

.tab-switch:checked+.tab-label+.tab-content {
	display: block;/*選択されたらコンテンツ表示する*/
	padding: 1em 0 0 0;
}
	
/* radioボタンは仕組みだけ利用するため非表示に、トップページヘッダーまわり非表示*/
.tab-switch,
.home .article-header,
.home .article-footer{
	display: none;
}

/*見出し */
.article h2 {
  position: relative;
  background: #EFEBD2;
  box-shadow: 0px 0px 0px 5px #EFEBD2;
  border: dashed 2px white;
  padding: 0.6em 0.5em;
  color: #454545;
}

.article h2:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #DED8B2;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}


.article h3{
        position: relative;
        padding: 0.3em 0;/*内側余白調整*/
        border-bottom: solid 3px #EFEBD2;/*下線１：実線・太さ・色*/
        color:#454545;/*文字色（黒）*/
}

.article h3:after{
	position: absolute;
	content: '';
	display: block;
	border-bottom: solid 3px #85442C;/*下線２：実線・太さ・色*/
	bottom:-3px;
	width:30%;/*下線２の幅*/
}


/* アピールエリア---------------------------------------------- *
/*全体*/
.appeal{
	height: calc(100vh - 200px); /*パソコンでの高さ調整*/
	background-size: cover; /*背景をフィットさせる*/
	clip-path: polygon(0 0, 100% 0, 100% 100%, 84% 96%, 63% 100%, 43% 96%, 22% 100%, 0 94%);
}

@media screen and (max-width: 834px){
	.appeal{
		height:calc(100svh - 50px); /*モバイルでの高さ調整*/
	}
}

.appeal-in {
	height:100%; /*パソコン、スマホ高さ調整*/
	width:100%; /*幅を最大に*/

}

.appeal-content {
	margin:initial;
}

/*コンテンツエリア*/
.appeal-content {
	background-color:initial; /*デフォルトの背景色無効化*/
/*background: rgba(255, 255, 255, 0.7);*/
	 border-radius: 50px 10px;
	margin-top: auto;
    margin-bottom: 70%;
    margin-right: auto;
padding: 0px;
text-align: left;
}

/* アピールエリアタイトル文字の色とサイズ、影 */
.appeal-title { 
	font-size:30px;
	color: #ffffff;
	text-shadow: 2px 2px 4px #542311;
}
/* アピールエリアメッセージ文字の色とサイズ、影 */
.appeal-message {  
	font-size:20px;
	color: #803C23;
	text-shadow: 2px 2px 3px #ffffff;
}


/*ボタン（アイコン部分）*/
.appeal-button{
	background-color:initial; /*ボタンの背景色無効化*/
	font-size:.8em; /*文字を少し小さく*/
	color:#ffffff;/*アイコンの色はここで設定*/
}

/*アイコンを追加*/
.appeal-button:before{
	display:block;
	font-family: "Font Awesome 5 Free";
	font-weight:bold;
	content: "\f103"; /*アイコン指定（シングル矢印は\f107にする）*/
	font-size: 1.5em; /*アイコンの大きさ*/
	animation: move 1s infinite alternate ease-in-out; /*アイコンをゆっくり動かす*/
}

@keyframes move{
  from {
	  transform: translateY(0);
  }
  to {
	  transform: translateY(10px);
  }
}

/*スムーズにスクロール*/
html { scroll-behavior: smooth;}

/*アイコンを下に配置する場合*/
.appeal{
	position:relative;/*ここを起点に*/
}

.appeal-button{
	position: absolute;/*アイコンを配置する*/
	bottom:30px;/*下から30pxの位置*/
	left: 50%;/*中央寄せにする*/
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}





/************************************
****　目次
************************************/
.toc-title {
    font-weight: bold;
}

.toc .toc-list {
    padding-left: 0;
}

.toc-title::after {
    color: #803C23;
}

.toc-list > li a {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    margin-left: 10px;
}

.toc-list > li a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f144";
    margin-right: 7px;
	color: #803C23; /* 緑点の色 */
}

.toc-list > li li a {
    font-weight: normal;
    font-size: 95%;
    margin-top: 0;
    margin-left: 1em;
}

.toc-list > li li a::before {
    content: "";
    width: 7px;
    height: 7px;
    left: -2px;
    display: inline-block;
    border-radius: 50%;
    background: #803C23; /* 緑点の色 */
    position: relative;
    margin-bottom: 2px;
}

@media (max-width: 880px) {
    .toc-list > li a {
        margin-left: -10px;
    }

    .toc-list > li li a {
        margin-left: -2em;
    }

    .toc-list > li li a::before {
        left: 3px;
        margin-bottom: 1px;
    }
}

.toc a:hover {
    color: #333333;
    text-decoration: underline;
}

.toc ol.toc-list > li,
.toc ol.toc-list > li li {
    font-size: 1em;
    list-style: none;
}

/*各種SNS埋め込みを中央揃え*/
.video-container, 
.instagram-container, 
.facebook-container,
.twitter-tweet,
.instagram-media {
    margin: 30px auto !important;
} 

/*吹き出しのいち調整*/

.cocoon-block-balloon.not-nested-style>.speech-balloon {
    margin-right: 20px;
    /*margin-top: 5px;*/
}

div.speech-balloon p {
	font-size: 14px;
}

/************************************
** 人気記事ランキング表示のカスタマイズ
************************************/
.widget-entry-cards.ranking-visible .widget-entry-card-thumb::before{ /*順位数表示のカスタマイズ*/
	 border-radius: 50%; /*丸にする*/
	 top: -4px;  /*丸の位置上に*/
	 left: -4px;  /*丸の位置左に*/
	 width: 14px;  /*丸のサイズを小さく*/
	 height: 14px;  /*丸のサイズを小さく*/
	 font-family: 'Lato', sans-serif;  /*数字をグーグルフォントに変更*/
	 font-size: 12px;  /*数字のフォントサイズを小さく*/
}

.widget-entry-cards.ranking-visible .no-1 .card-thumb::before {/*1位の数字を上に*/
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-2 .card-thumb::before {/*2位の数字を上に*/
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-3 .card-thumb::before {/*3位の数字を上に*/
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-4 .card-thumb::before {/*4位の数字を上にし背景色変更*/
	background: #d0d0d1;
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-5 .card-thumb::before {/*5位の数字を上にし背景色変更*/
   　　　　 background: #d0d0d1;
	line-height: 14px;
}

.sidebar div.popular-entry-card-content.widget-entry-card-content.card-content{/*タイトル*/
        padding: 0.2em 0 0 0.8em !important;  /*タイトル周りの余白を調整*/
	letter-spacing: 0.8px;  /*字間を広げる*/
}

.sidebar a.popular-entry-card-link.a-wrap{/*miniブログカード*/
        margin-bottom: 8px;  /*カード間の余白を広げる*/
}



/* === 景品表示法対応 === */
/* Cocoon設定メインカラム左上のPR表記 */
.pr-label-s {
  display: inline-block;
  position: absolute;
  top: -6px; /* メインカラム上端からの位置調整 */
  left: 27px; /* メインカラム左端からの位置調整 */
  margin: 0;
  padding: 6px 0 5px 0;
  width: 60px;
  text-align: center;
  color: #fff; /* 文字の色 */
  font-size: 12px;
  background: #F19B62; /* ラベルの色 */
  border-radius: 3px 0 0 0;
  border: none;
  }
.pr-label-s:before {
  position: absolute;
  content: '';
  top: 0;
  right: -6px;
  border: none;
  border-bottom: solid 6px #C66F35;
  border-right: solid 6px transparent;
}

/* === hover設定 === */

/*記事一覧の画像*/
.entry-card:hover figure img{
opacity: 0.6;
transition: all 0.8s ease;
}
/*人気記事の画像*/
.popular-entry-card-link.a-wrap:hover figure img{
opacity: 0.6;
transition: all 0.8s ease;
}
/*新着記事の画像*/
.new-entry-card-link.a-wrap:hover figure img{
opacity: 0.6;
transition: all 0.8s ease;
}
/*記事内の画像*/
.article img:hover {
	opacity: 0.6;
	transition: all 0.8s ease;
}

/*角丸*/
img {
    border-radius: 8px;
}

/*Rinkerのmargin設定*/
div.yyi-rinker-contents {
    margin:  0 0 2em 0;
}

/*コンテンツ*/

.contents-info {
    color: #40210f;
    width: 220px;
    text-align: justify;
		    margin: 0 auto;

}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){

}

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

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