@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: #f8fafb;
  color: #444444;
}

.blogcard-thumbnail img, 
.card-thumb img {
	aspect-ratio: 1!important;
}



/*--------- ヘッダー ---------*/
.tagline { /* ヘッダー上部の文を非表示 */
	display: none;
}

.logo a { /* ロゴ */
	max-width: 400px;
	padding: 0;
}

.site-name-text {
	font-size: 0px;
}

.navi {
	display: none;
}

.menu-close-button {
	text-align: right;
	padding-right: 25px;
}

@media screen and (max-width: 480px) {
	#header-container {
		display: none;
	}
	
	.logo-image {
		padding: 4px;
}
	
	.logo a {
		width: 200px;
	}
}




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

/*--------- カルーセル ---------*/
.carousel-in.wrap { /* カルーセルのコンテナ */
	background: transparent;
}

.carousel-entry-card-content { /* カルーセルの記事のタイトル部分 */
	font-weight: bold;
}




/*--------- メイン　コンテナ ---------*/
.content {
	margin-top: 72px;
}

.main {
	box-shadow: 0px 0px 12px 0 rgba(100, 100, 100, 0.1), 0px 0px 12px 0px rgba(100, 100, 100, 0.01);
}

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



/*--------- タブボタン ---------*/
#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 #108CCF;
  border: 1px solid #108CCF;
  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: #108CCF transparent transparent transparent;
}

.index-tab-buttons {
  margin: .6em 0 1.8em;
}



@media screen and (max-width: 834px) {
	#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: -11px;
	}
}
	
@media screen and (max-width: 480px) {
	.index-tab-buttons {
		margin: 0;
	}
}

	
	



/*--------- 記事一覧 ---------*/
.a-wrap:hover { /*記事　ホバー */
    background-color: transparent;
    opacity: 0.7;
}
	
.entry-card { /* 記事 カード */
	display: flex;
	justify-content: space-between;
}

.entry-card-content { /* 記事 タイトル・記事抜粋部分 */
	margin-left: 0;
	width: 55%;
}

.entry-card-thumb { /* 記事 サムネイル */
	width: 40%;
}

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

#list, .list-wrap {
	margin-bottom: 0;
}

@media screen and (max-width: 480px) {
	.entry-card {
		flex-wrap: wrap;
	}
}






/*--------- カテゴリータグ ---------*/
.cat-label { /* カテゴリーラベル */
  font-size: 12px;
  padding: 2px 6px;
  background-color: #fff;
  border: transparent;
  left: 5px;
  top: 5px;
} 

.cat-label.cat-label-2 { /* カテゴリー 「商品紹介」 */
  color: #0ABC31;
  border: 1px solid #0ABC31;
}

.cat-label.cat-label-3 { /* カテゴリー 「商品紹介」 */
  color: #10AEE0;
  border: 1px solid #10AEE0;
}

.cat-label.cat-label-11 { /* カテゴリー 「商品紹介」 */
  color: #E88C03;
  border: 1px solid #E88C03;
}

.cat-label.cat-label-65 { /* カテゴリー 「商品紹介」 */
  color: #E01010;
  border: 1px solid #E01010;
}

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




/*--------- ページネーション ---------*/
.pagination-next {
	display: none;
}

.page-numbers { /* ページネーション */
  border-radius: 50%;
  border: 1.7px solid #E7E7E7;
}

.pagination .current { 
  background: #108CCF;
  color: #fff;
  border: 1px solid #108CCF;
}

.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: #108CCF;
  border: 1px solid #108CCF;
  color: #fff;
}

@media screen and (max-width: 480px) {
	.list-more-button { /* もっと見るボタン */
		width: 90%;
	}
}





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

.widget-sidebar-standard { /* サイドバー各コンテンツ */
	background: #fff;
	padding: 18px 18px 20px;
	box-shadow: 0px 0px 12px 0 rgba(100, 100, 100, 0.1), 0px 0px 12px 0px rgba(100, 100, 100, 0.01);
}

#search-2 { /* 検索ボックス コンテナ*/
	background: transparent;
	margin-bottom: 0;
	padding: 0;
}

.search-box.input-box { /* 検索ボックス */
	margin: 0 0 30px;
}

.search-edit, input[type="text"] {
	border: none;
}

.search-submit { /* 検索ボックス右のアイコン */
  background: #333333;
  height: 100%;
  width: 45px;
  top: 0;
  right: 0;
  border-radius: 0 4px 4px 0;
  color: #fff;
}

.sidebar h3 {
	display: block;
  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: #108CCF;
  position: absolute;
  bottom: -2px;
}

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

.widget-entry-cards figure {
	width: 38%;
}

.widget-entry-card-content {
    margin-left: 0;
    width: 57%;
    font-size: 15px;
}

.new-entry-cards {
	margin-bottom: 0!important;
}

.sidebar-scroll { /* スクロール追従部分 */
	background: #fff;
/*	box-shadow: 0px 0px 12px 0 rgba(100, 100, 100, 0.1), 0px 0px 12px 0px rgba(100, 100, 100, 0.01);*/
}

.author-box { /* プロフィール */
	border-color: transparent;
}

/*達人サイトとSNSリンク*/
.site_logo_area {
	background-color:#f8fafb;
	padding-top:25px;
}
.site_logo_inner {
	background-color:#fff;
	padding:30px 20px 20px 20px;
	box-shadow: 0px 0px 12px 0 rgba(100, 100, 100, 0.1), 0px 0px 12px 0px rgba(100, 100, 100, 0.01);
}
.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%;
}
.author-box.border-element.no-icon.cf {
    margin-bottom: 0;
}
.widget.widget-sidebar.widget-sidebar-scroll.widget_author_box {
    margin-bottom: 0;
    box-shadow: 0px 0px 12px 0 rgba(100, 100, 100, 0.1), 0px 0px 12px 0px rgba(100, 100, 100, 0.01);
}



/*--------- フッター ---------*/
.footer {
	background: #1a1a1a;
	margin-top: 100px;
}

.copyright {
	color: #fff;
}

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









/*------------------------------------------------------------------
記事
-------------------------------------------------------------------*/

/*--------- 目次 ---------*/

.toc-list { /* 目次のol */
	list-style-type: none;
	counter-reset: number 0 !important; /* counterを0にセット */
}

.toc-list > li {
	position: relative;
	padding-left: 35px !important;
	list-style-type: none;
}

.toc-list > li:not(:first-child) {
	margin-top: 12px;
}

.toc-list > li::before { /* 目次のカウンタ */
	content: counter(number) ""; /* カウンタ増加 */
	counter-increment: number 1;
	display: block;
	color: #fff;
	background: #4497d4;
	width: 24px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	font-size: 13px;
	border-radius: 50%;
	margin-right: 5px;
	position: absolute;
	left: 0;
	top: 2px;
}

.toc-list > li > a {
	color: #4497d4;
	font-weight: bold;
}

.toc-list > li > ol > li {
	color: #777777;
}

.toc-list > li > ol > li > a {
	color: #777777;
}





/*--------- 記事 タイトル ---------*/

.article h2 { /* 記事 h2タイトル */
	background: #3893d7;
	border-radius: 5px;
	color: #fff;
	display: block;
	font-size: 26px;
	font-weight: bold;
	margin-top: 5rem;
	margin-bottom: 40px;
	line-height: 1.4em;
	padding: 22px 25px;
	position: relative;
}

.article h2::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 13px 13px 0 13px;
	border-color: #3893d7 transparent transparent transparent;
	position: absolute;
	bottom: -12px;
	left: 60px;
}

.article h3 {
	border: none;
	padding: 0;
	position: relative;
}

.article h3 span {
	font-size: 22px;
	font-weight: bold;
	padding: 11px 0;
	display: block;
	border-bottom: 2px solid #EAEAEA;
	margin-top: 4.375rem;
	margin-bottom: 30px;
	line-height: 1.5em;
}

.article h3 span::after {
	content: '';
	height: 2px;
	width: 175px;
	display: block;
	background: #3893d7;
	position: absolute;
	left: 0;
	bottom: 0px;
}

.article h4 {
	border: none;
	border-left: 6px solid #3893d7;
	margin-top: 3rem;
	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: #3893d7;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}


@media screen and (max-width: 480px) {
	.article h2 {
		font-size: 20px;
		padding: 16px 18px;
		margin-top: 60px;
		margin-bottom: 20px;
	}
	
	.article h3 span {
		font-size: 18px;
		margin-top: 30px;
		margin-bottom: 20px;
	}
	
	.article h4 {
		margin-top: 20px;
	}
}




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

.blank-box.bb-tab {
	margin-top: 3em;
}

.blank-box { /* タブボックス 「ポイント」 */
	border-color: #ffc107 !important;
}

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

.primary-box { /* 案内ボックス */
	background-color: #fffaed;
	border-color: #fffaed;
	color: #444444;
}

.wp-block-table table {

}

.wp-block-table tr {
	border: 2px solid #e0e0e0;
}

.wp-block-table tr > td:first-child {
	background-color: #f8f9fa;
	border-right: 2px solid #e0e0e0;
	font-weight: bold;
	text-align: center;
	width: 25%;
}

.wp-block-table tr > td:not(:first-child) {
	background-color: #fff;
}

.blogcard { /* ブログカード */
	padding: 20px 20px 10px;
}

.blogcard-content { /* ブログカード 文字部分マージン調整 */
	margin-left: 180px;
}



@media screen and (max-width: 834px) {
	.article .wp-block-columns :nth-child(odd):nth-last-child(2) {
		margin-bottom: 1.8em;
	}
	
	.blogcard-thumbnail { /* ブログカード 画像 */
		width: 170px;
	}
	
	.blogcard-content { /* ブログカード 文字部分マージン調整 */
		margin-left: 190px;
	}
	
	.blogcard-title.internal-blogcard-title { /* ブログカード タイトル */
		font-size: 18px;
	}
	
	.blogcard-snippet.internal-blogcard-snippet { /* ブログカード テキスト */
		font-size: 15px;
		margin-top: 10px;
	}
}

@media screen and (max-width: 599px) {
	.blogcard {
		display: flex;
		flex-wrap: wrap;
	}
	
	.blogcard-content { /* ブログカード 文字部分マージン調整 */
		margin-left: 0;
	}
	
	.blogcard-thumbnail { /* ブログカード 画像 */
		margin: 0;
		width: 100%;
	}
	
	.blogcard-title.internal-blogcard-title { /* ブログカード タイトル */
		font-size: 16px;
	}
	
	.blogcard-snippet.internal-blogcard-snippet { /* ブログカード テキスト */
		font-size: 14px;
	}
	
	.blogcard-footer.internal-blogcard-footer.cf { /* ブログカード 参照記事URL */
		margin-top: 8px;
	}
}

@media screen and (max-width: 480px) {
	.wp-block-columns.is-layout-flex {
		gap: 0;
	}
	
	.blogcard-thumbnail { /* ブログカード 画像 */
		width: 100%;
	}

	.blogcard-content { /* ブログカード 文字部分マージン調整 */
		margin-left: 0;
	}
}





/*--------- 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;
}

.icon-twitter::before { /* X ロゴ変更 */
	content: "";
	background: url('http://can-blognew.local/wp-content/uploads/2024/06/logo-white.png');
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
	width: 20px;
	height: 20px;
}

.bc-brand-color.sns-share .twitter-button {
	background-color: #333333;
}


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

@media screen and (max-width: 480px) {
	.sns-share-buttons a {
		margin: 0 5px;
	}
}


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

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





/*--------- コメント ---------*/

.comment-area {
	display: none;
}







