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





/*------------------------------------------------------------------
common（投稿ページのcommonは下述）
-------------------------------------------------------------------*/
body {
  background: #F9F9F9;
  color: #444444;
}

.navi {
  display: none;
}

.pagination-next { /* 次のページへボタン非表示 */
  display: none;
}

.page-numbers { /* ページネーション */
  border-radius: 50%;
  border: 1.7px solid #E7E7E7;
}
.pagination .current { 
  background: #e60012;
  color: #fff;
  border: 1px solid #e60012;
}
.next.page-numbers,
.prev.page-numbers { /* ページネーション 矢印 */
  border: transparent;
}
.pagination a:hover { /* ページネーション ホバー */
  background: transparent;
  opacity: 0.5;
}

.list-more-button { /* もっと見るボタン */
  width: 400px;
  border: 1px solid #ccc;
  border-radius: 0px;
}
.list-more-button:hover {
  background: #e60012;
  border: 1px solid #e60012;
  color: #fff;
}

.cat-label { /* カテゴリーラベル */
  font-size: 12px;
  padding: 2px 6px;
  background-color: #fff;
  border: transparent;
  left: 5px;
  top: 5px;
} 
.cat-label.cat-label-13 { /* カテゴリー 「入稿データガイド」 */
  color: #E052B8;
  border: 1px solid #E052B8;
}
.cat-label.cat-label-124 { /* カテゴリー 「お役立ち情報」 */
  color: #E01010;
  border: 1px solid #E01010;
}
.cat-label.cat-label-58 { /* カテゴリー 「メディア掲載情報」 */
  color: #E88C03;
  border: 1px solid #E88C03;
}
.cat-label.cat-label-15 { /* カテゴリー 「初めての方へ」 */
  color: #0ABC31;
  border: 1px solid #0ABC31;
}
.cat-label.cat-label-2 { /* カテゴリー 「商品紹介」 */
  color: #10AEE0;
  border: 1px solid #10AEE0;
}

.cat-label.cat-label-149 { /* カテゴリー 「飾り方・収納・持ち運び方」 */
	color: #6d1cca;
	border: 1px solid #6d1cca;
}

.cat-link.cat-link-149 { /* 記事ページ 「飾り方・収納・持ち運び方」 タグ 色調整*/
	color: #fff;
}

.entry-title, 
.archive-title { /* カテゴリ別記事一覧ページ タイトル */
  font-size: 20px;
}



@media screen and (max-width: 480px) {
  .logo-menu-button img {
    margin-top: 4px;
  }

  .list-more-button { /* もっと見るボタン */
    width: 80%;
  }
  .cat-label { /* カテゴリーラベル */
    font-size: 13px;
  }
}



/*-----------------------------------------------------------------
フロントページ
-------------------------------------------------------------------*/

/*--------- ハンバーガーメニュー ---------*/
.navi-menu-content { /* メニューを右から出す */
  left: auto;
  right: 0;
  transform: translateX(105%);
}
.menu-close-button {
  text-align: right;
  padding-right: 25px;
}


/*--------- カルーセル ---------*/
.carousel {
  margin-bottom: 80px;
}
.carousel-in {
  background-color: transparent;
}
.carousel-entry-card-title, 
.blogcard-snippet { /* カルーセルタイトル */
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4em;
}
.carousel-entry-card-title, .blogcard-snippet {
  overflow: visible;
}

@media screen and (max-width: 480px) {
  .carousel {
    margin-bottom: 0;
  } 
  .carousel-content .slick-slide {
    max-height: 250px; /* カルーセル部分の高さ調整 */
  }
  .carousel-entry-card-title, 
  .blogcard-snippet {
    line-height: 1.6em;
    margin-top: 8px;
  }
}



/*--------- スマホ時コンテンツ上 検索ボタン ---------*/
.content-top {
  display: none;
}

@media screen and (max-width: 480px) {
  .content-top {
    display: none;
    margin: 1em 1.2em;
  }
}



/*--------- タブボタン ---------*/
#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"],
#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"], 
#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"], 
#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"] {
  background: none #EC031E;
  border: 1px solid #EC031E;
  color: #fff;
  font-weight: 700;
  position: relative;
}
#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"]::after,
#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"]::after, 
#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"]::after, 
#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"]::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 10px 0 10px;
  border-color: #EC031E transparent transparent transparent;
}
.index-tab-buttons {
  margin: .6em 0 1.8em;
}


@media screen and (max-width: 834px) {
	.index-tab-buttons {
		margin-top: 0;
  	}
  	#index-tab-1 ~ .index-tab-buttons .index-tab-button[for="index-tab-1"],
  	#index-tab-2 ~ .index-tab-buttons .index-tab-button[for="index-tab-2"], 
  	#index-tab-3 ~ .index-tab-buttons .index-tab-button[for="index-tab-3"], 
  	#index-tab-4 ~ .index-tab-buttons .index-tab-button[for="index-tab-4"] {
    	margin-bottom: 12px;
  	}
}

@media screen and (max-width: 480px) {
  .index-tab-buttons {
    margin-top: 0;
  }
  #index-tab-1 ~ .index-tab-buttons .index-tab-button[for="index-tab-1"],
  #index-tab-2 ~ .index-tab-buttons .index-tab-button[for="index-tab-2"], 
  #index-tab-3 ~ .index-tab-buttons .index-tab-button[for="index-tab-3"], 
  #index-tab-4 ~ .index-tab-buttons .index-tab-button[for="index-tab-4"] {
    margin-bottom: 12px;
  }
  #index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-1"]::after,
  #index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-2"]::after, 
  #index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-3"]::after, 
  #index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for="index-tab-4"]::after {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
  }
}




/*--------- メインコンテンツ部分 ---------*/ 
.content {
  margin-top: 50px;
}
.content-in {
  flex-wrap: nowrap;
}

@media screen and (max-width: 480px) {
  .content {
    width: 95%;
    margin: 0 auto 0;
    box-shadow: 0 0 1px rgba(0,0,0,.12);
  }
}



/*--------- フロントページ記事一覧 ---------*/ 
.a-wrap { /* 記事カード */
  border-bottom: 1px solid #f4f4f4;
}
.a-wrap:hover {
  background-color: transparent;
  opacity: 0.7;
}

.entry-card,
.related-entry-card {
  display: flex;
  justify-content: space-between;
}

.entry-card-thumb,
.widget-entry-card-thumb,
.related-entry-card-thumb,
.carousel-entry-card-thumb {
  float: none;
}

.entry-card-thumb { /* サムネイル */
  margin-right: 0;
  width: 44%;
}
.entry-card-content {
  margin-left: 0;
  width: 53%;
}
.cf::after {
  display: none;
}

.entry-card-title,
.related-entry-card-title { /* 記事一覧タイトル */
  margin-bottom: 10px;
}
.entry-card-meta, 
.related-entry-card-meta { /* 記事作成日 */
  color: #979797;
}

.entry-card-snippet,
.related-entry-card-snippet { /* 記事抜粋文 */
  font-size: 13px;
  line-height: 1.55;
  color: #777;
}


@media screen and (max-width: 750px) {
  .entry-card,
  .related-entry-car {
    flex-wrap: wrap;
  }
  .entry-card-thumb { /* サムネイル */
    width: 100%;
  }
  .entry-card-content {
    width: 100%;
  }

}

@media screen and (max-width: 480px) {
  .a-wrap article { /* サムネとタイトル縦並びに */
    display: flex;
    flex-wrap: wrap;
  }
  .ect-entry-card .card-thumb, 
  .rect-entry-card .card-thumb, 
  .ect-big-card-first .card-thumb {
    width: 100%;
    margin-right: 0;
  }
  .entry-card-info > * { /* 記事作成日のサイズ */
    font-size: 0.8em;
  }
  .entry-card, 
  .related-entry-card, 
  .e-card-title {
    line-height: 1.5em;
  }
}



/*--------- サイドバー ---------*/ 
.sidebar {
  width: 340px;
  background: transparent;
  padding: 0;
}

.sidebar h3 {
  margin-top: 0;
  background-color: transparent;
  color: #333333;
  padding: 0;
  border-bottom: 2px solid #EDEDED;
  position: relative;
  font-size: 20px;
}
.sidebar h3::after {
  content: '';
  display: block;
  height: 2px;
  width: 120px;
  background: #EC031E;
  position: absolute;
  bottom: -2px;
}

.search-box { /* 検索ボックス */
  margin-top: 0;
}
#search-4.widget-sidebar-standard { /* 検索ボックス周辺の背景 */
  background: transparent;
}
.search-edit, input[type="text"], 
input[type="password"], 
input[type="date"], 
input[type="datetime"], 
input[type="email"], 
input[type="number"], 
input[type="search"], 
input[type="tel"], 
input[type="time"], 
input[type="url"], 
textarea, 
select {
	appearance: none;
	-webkit-appearance: none;
  border: transparent;
  box-shadow: 0px 0px 15px -5px #c5c5c5;
  font-size: 16px;
}
.search-submit { /* 検索ボックス右のアイコン */
  background: #333333;
  height: 100%;
  width: 45px;
  top: 0;
  right: 0;
  border-radius: 0 4px 4px 0;
  color: #fff;
}

.widget-entry-card {
  display: flex;
  justify-content: space-between;
}
.widget-entry-cards figure {
  width: 38%;
}
.widget-entry-card-content {
  margin-left: 0;
  width: 59%;
  font-size: 15px;
}

.author-box {
  border: none;
}

.widget-sidebar-standard { /* サイドバー各コンテンツ */
  background: #fff;
  /* padding: 18px 18px 20px; */
}
.widget-sidebar-standard:not(#search-4.widget-sidebar-standard) {
  padding: 18px 18px 20px;
}

#categories-4 ul { /* サイドバー カテゴリー */
  font-size: 16px;
}
.post-count { /* カテゴリー記事数 */
  background: #f6f6f6;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  line-height: 28px;
}

.sidebar-scroll {
	background: #fff;
}
/*達人サイトとSNSリンク*/
.site_logo_area {
	background-color:#f9f9f9;
	padding-top:30px;
}
.site_logo_inner {
	background-color:#fff;
	padding:30px 20px 20px 20px;
}
.site_logo_inner a {
    transition: all 0.3s ease-in-out;
}
.site_logo_inner a:hover {
    opacity: 0.7;
}
.site_logo_img {
	width:150px;
	margin:0 auto;
}
.site_logo_inner img {
	width:100%;
}
.side_sns_wrap {
	margin-top:20px;
}
.side_sns_wrap p {
	font-size:14px;
	text-align:center;
	margin-bottom:10px;
}
.side_sns_list {
	padding-left:0;
	display:flex;
	justify-content:center;
	gap:0 10px;
}
.side_sns {
	width:40px;
	list-style:none;
}
.side_sns img {
	width:100%;
}


@media screen and (max-width: 1023px) {
	#search-4.widget-sidebar-standard { /* 検索ボックス周辺の背景 */
  		padding: 0 18px;
	}
}

@media screen and (max-width: 480px) {
	#search-4.widget-sidebar-standard { /* 検索ボックス周辺の背景 */
  		padding: 0;
	}
	
  #slide-in-sidebar .widget-sidebar-standard:not(#search-4.widget-sidebar-standard) {
    padding: 0;
  }
  .sidebar h3 {
    font-size: 16px;
  }
  #categories-4 ul {
    font-size: 14px;
  }
  #categories-4 ul li a {
    padding: 8px 0;
    border-bottom: 1px solid #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .cf::after {
    display: none;
  }
  .author-box {
    padding: 0;
  }
}



/*--------- フッター ---------*/
.footer {
  background-color: #3c3c3c;
  margin-top: 150px;
}
.footer h3 {
  color: #fff;
  margin-bottom: 15px;
}
.footer .new-entry-cards .a-wrap,
.footer .widget-entry-cards .a-wrap {
  border-bottom: none;
  padding: 0;
}
.footer .new-entry-cards .a-wrap:not(:first-child),
.footer .popular-entry-cards .a-wrap:not(:first-child) {
  margin-top: 10px;
}
.footer .tagcloud a {
  background-color: #fff;
}

.footer .new-entry-cards .widget-entry-card-content,
.footer .popular-entry-cards .widget-entry-card-content {
  color: #f8f8f8;
  margin-left: 0;
}
.twitterBox {
  max-height: 650px;
  overflow: auto;
}

.copyright {
  color: #fff;
}

@media screen and (max-width: 480px) {
  .footer {
    margin-top: 30px;
  }
}




/*--------- ページトップにスクロールするボタン ---------*/
.go-to-top-button {
  width: 50px;
  height: 50px;
  background: #e60012;
  border-radius: 50%;
  position: relative;
  opacity: 0.7;
}
.go-to-top-button::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

.go-to-top-button > span {
  display: none;
}







/*-----------------------------------------------------------------
投稿ページ common
-------------------------------------------------------------------*/

/************************************
****　目次
************************************/
.toc-title{
font-weight:bold;
}
.toc-title::after {
color:#337ab7;
}
.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: #ecb303;
}
.toc-list > li li a {
font-weight: normal;
font-size: 95%;
margin-top:0;
margin-left: 2em;
}
.toc-list > li li a::before {
content: "";
width: 7px;
height: 7px;
left: -2px;
display: inline-block;
border-radius: 50%;
background: #cccccc;/*こちらで緑点の色を変更できます*/
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;
}



/*--------- 見出し ---------*/
.article h2 {
	background-color: #EC031E;
	color: #fff;
	margin-top: 70px;
	padding: 20px;
	position: relative;
}
.article h2::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 35px 20px 0;
  border-color: transparent #9e0012 transparent transparent;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.article h3 {
  border: none;
  border-bottom: 2px solid #ededed;
  position: relative;
  padding: 10px 0 10px 5px;
	margin-top: 50px;
}
.article h3::after {
  content: '';
  display: block;
  background: #EC031E;
  height: 2px;
  width: 150px;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.article h4 {
  border: none;
  border-left: 6px solid #EC031E;
  padding: 4px 11px;
}

.article h5 {
  border: none;
  position: relative;
  padding-left: 14px;
}
.article h5::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EC031E;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 480px) {
  .article h1 {
    padding: 0;
    margin-bottom: 15px;
  }

  .article h2 {
    font-size: 20px;
    padding: 14px;
  }

  .article h3 {
    padding: 7px 0 7px;
  }
}


/*--------- ボタン ---------*/
.wp-block-cocoon-blocks-button-1 a {
  display: block;
  width: 400px;
  padding: 15px;
  font-size: 18px;
  margin: 0 auto;
  background: #fff;
  color: #EC031E;
  border: 1px solid #EC031E;
}
.wp-block-cocoon-blocks-button-1 a:hover {
  background: #EC031E;
  color: #fff;
  /* filter: opacity(1); */
}

@media screen and (max-width: 480px) {
  .wp-block-cocoon-blocks-button-1 a {
    width: 80%;
    padding: 10px 15px;
    font-size: 15px;
  }
}


/*--------- 注意ボックス ---------*/
.is-style-information-box, 
.information-box, 
.information {
  line-height: 1.3!important;
}
.comment-btn {
  display: none;
}



/*--------- 関連記事 ---------*/
.pager-post-navi .a-wrap {
  border: 1px solid #fff;
}
.rect-mini-card .related-entry-card-thumb {
  margin: 0;
  width: 40%;
}
.rect-mini-card .related-entry-card-content {
  margin-left: 0;
  width: 57%;
}


/*--------- SNSボタンを丸くする ---------*/
#main .button-caption {
	display: none; /*キャプション非表示*/
}

.sns-share-buttons {
	flex-wrap: wrap;
	justify-content: center; /*中央寄せ*/
}
.sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-share a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
  margin-bottom: 10px;
}

/*SNSフォローボタン*/
.sns-follow-message{
	font-weight: bold; /*太字*/
	color: #875d5b; /*文字色*/
}
.sns-follow-buttons {
	justify-content: center; /*中央寄せ*/
}
.sns-follow-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-follow a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}

/*SNSシェアボタン*/
.sns-share-message {
	font-weight: bold; /*太字*/
	color: #333333; /*文字色*/
  position: relative;
}

/*feedlyなどのシェアボタン非表示*/
.sns-follow.bc-brand-color.fbc-hide.sf-bottom {
  display: none;
}


@media screen and (max-width: 750px)  {
  .sns-share-message {
    margin-bottom: 8px;
  }
}



/*--------- SNSボタンを丸くする ---------*/
.pager-post-navi {
  flex-direction: row;
}
@media screen and (max-width: 750px) {
  .pager-post-navi {
    flex-direction: column;
  }
}


/*--------- 投稿ページシェアボタン下 リンク ---------*/
.footer-meta {
  display: none;
}


/*--------- 関連記事 ---------*/
@media screen and (max-width: 480px) {
  .related-entry-heading {
    font-size: 20px;
    margin: 2.2em 0 0.8em;
  }
  .rect-mini-card .related-entry-card-wrap {
    padding: 0;
  }
  .under-entry-content .related-list article {
    flex-wrap: nowrap;
    align-items: center;
  }
  .under-entry-content .related-list article .related-entry-card-content {
    margin-left: 0;
  }
  .rect-mini-card .related-entry-card-thumb {
    width: 40%;
  }
  .under-entry-content .related-list article .related-entry-card-content {
    width: 58%;
    padding-bottom: 0;
  }
  .rect-mini-card .related-entry-card-title {
    font-size: 15px;
    margin-bottom: 0;
  }
	
	.related-list .cat-label {
		left: 0px;
		top: 0px;
	}
}



/*--------- 投稿ページ一番下 前後ページ ---------*/
.pager-post-navi a.prev-post,
.pager-post-navi a.next-post {
  width: 50%;
}
@media screen and (max-width: 750px) {
  .pager-post-navi a.prev-post,
  .pager-post-navi a.next-post {
    width: 100%;
  }
}


/*--------- コメント欄 ---------*/
.comment-area {
  display: none;
}



/*--------- table ---------*/
figure.wp-block-table table {
	width: 100%;
}



/*-----------------------------------------------------------------
ウィジェット
-------------------------------------------------------------------*/

/*--------- ブログカード ---------*/
.blogcard { /*ブログカード padding調整*/
	padding: 3% 2.2% 4.4%;
}

@media screen and (max-width:834px)  {
	.blogcard {
		padding: 5% 4.2% 3.2%;
	}
}

.blogcard-snippet.internal-blogcard-snippet { /*ブログカード 説明文 太さ調整*/
	font-weight: normal;
}

.blogcard-footer.internal-blogcard-footer.cf { /*ブログカード リンク&日付　調整*/
	font-size: 14px;
}

@media screen and (max-width: 834px) {
	.blogcard-thumbnail {
		width: 100%;
	}
	
	.blogcard-title {
		font-size: 1.3em;
	}
	
	.blogcard-footer.internal-blogcard-footer.cf {
		padding-top: 2.4%;
	}
}

@media screen and (max-width: 834px) {
	.blogcard.internal-blogcard.ib-left.cf {
		display: flex;
		flex-wrap: wrap;
	}
	
	.blogcard-content.internal-blogcard-content {
		margin-left: 0;
	}
}


/*--------- タブボックス ---------*/
.bb-label {/*ポイント　ボックス　色調整*/
	background-color: #ffc107!important;
}

.blank-box {
	border-color: #ffc107!important;
}
