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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*body {
	font-family: source-han-serif-japanese, serif;
	font-weight: 300;
	font-style: normal;
}*/


/*テキストカラー*/
body,.a-wrap,.header, .header .site-name-text, #navi .navi-in a, #navi .navi-in a:hover, .appeal-content .appeal-button, .article h2, .sidebar h2, .sidebar h3, .cat-link, .cat-label, .blogcard-type .blogcard::before, #footer, #footer a {
    color: #444;
}


.entry-card-snippet.card-snippet.e-card-snippet {
    color: #aaa;
}

.fz-18px {
    font-size: 16px;
}

#main p strong {
    background: linear-gradient(to top,#abdff7 8px,transparent 8px);
}

/* .article h2 {
    background-color: transparent;
    border-bottom: 4px solid #666;
    width: 100%;
    padding: 5px;
    font-size: 22px;
    margin-top: 10px;
} */

.article h2 {
    width: 100%;
    padding: 5px;
    font-size: 24px;
    margin-top: 2em!important;
    padding: 20px 20px 20px 80px;
    border-radius: 10px;
	position: relative;
	background-color: #F3F3F3;
}
/*h2用カウンター*/
body {
  counter-reset: counter;
}
.article h2:before {
    background: #d9b62d;
    border-radius: 50px;
    content: '';
    display: block;
    height: 24px;
	width: 4px;
    top: 22px;
    left: 62px;
    margin-right: 10px;
    position: absolute;
}
.article h2:after {
    counter-increment: counter;
    content: counter(counter, decimal-leading-zero) "";
    color: #d9b62d;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    top: 18px;
    left: 20px;
    position: absolute;
}

.article h3 {
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
	padding-left: 8px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 22px;
	border-color:#d9b62d;
}
.article h4 {
	font-size: 16px;
	border-color:#d9b62d;
}
.article h5,
.article h6 {
  font-size: 16px;
  padding: 9px 10px;
}

.article h2, .article h3, .article h4, .article h5, .article h6 {
    margin-top: 2em;
}

a.cat-link {
    color: #666;
}
.tag-link, .comment-reply-link {
    color: #666;
}
.navi-in > ul li {
    width: 150px;
}

/*FBボタン*/
.fb-like.fb_iframe_widget {
    display: flex;
    justify-content: flex-end;
}

/*サイトヘッダー*/
header#header {
    background-color: #f5f5a5;
}
#header-container .navi {
    background-color: #f6f6d4;
}
.tagline {
    color: #888;
    margin-bottom: 0;
}

.navi-in a {
    font-size: 14px;
}
a.site-name.site-name-text-link {
    line-height: 0;
}
.header .header-in {
    min-height: 70px;
}
.navi-in > ul li {
    height: 40px;
    line-height: 40px;
}

.navi-entry-cards.widget-entry-cards.no-icon.card-large-image.large-thumb-on img {
    max-width: 180px;
}

/*記事一覧*/
h2.entry-card-title.card-title.e-card-title {
    font-size: 14px;
}

/*表組でのテキスト折り返し*/
.scrollable-table th {
  white-space: nowrap;
}
.scrollable-table td {
  white-space: normal;
}

/*表組での1列目の背景色*/
.scrollable-table.stfc-sticky tr > *:first-child {
  background-color: transparent;
}

/*Quicktag*/
figcaption.source, figcaption.source a, .blockquote-source, .blockquote-source a, .cite-name, .cite-name a {
    color: #999;
}
figcaption.source {
    /*margin-top: -25px;*/
	margin-bottom: 15px;
}
.blockquote-source {
    margin: 0;
    font-size: 0.7em;
    opacity: 0.8;
    padding: 0 6px;
}
.cite-name {
    margin: 0;
    font-size: 0.7em;
    opacity: 0.8;
    padding: 0 6px;
    margin-bottom: 20px;
    margin-top: -20px;
}
figcaption.pic-description {
    text-align: center;
    /*margin-top: -25px;*/
	margin-bottom: 15px;
}
.textbox {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px 10px;
}
p.annotation {
    font-size: 0.7em;
    color: #999;
    line-height: 1.4;
}
div.mini-copy span {
    background: linear-gradient(transparent 50%, #f2f39e 70%);
}
div.mini-copy {
    text-align:center;
    margin-bottom: 3px;
}

/*問い合わせフォーム*/
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #eded78;
}

/*記事ヘッダー*/
.entry-title, .archive-title {
    font-size: 24px;
    line-height: 1.5;
}
.article-header-meta {
    display: flex;
    margin-bottom: -25px;
}
.article-comme-count {
    width: 100px;
    text-align: right;
}
.article-date {
    width: calc(100% - 100px);
}
span.kiji_comme a {
    text-decoration: none;
    color: #333;
}
span.comme_count i {
    margin-right: 3px;
}
h1.entry-title {
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.date-tags {
    padding: 3px;
    text-align: left;
}
.post-date, .post-update{
    color: #999;
}
span#email-notes {
    display: none;
}

/*ライター名*/
span.author-name.fn {
    color: #333;
}
a.author-link {
    text-decoration: none;
}

/*アイキャッチ画像*/
figure.eye-catch img {
    width: 90%;
}
figure.eye-catch {
    text-align: center;
}

/*吹き出しno11*/
.sb-id-11 .speech-balloon{
background:#eeefa3;/*コメント部分の「背景色」*/
border-color:#eeefa3;/*コメント部分の「枠の色」*/
}
.sb-id-11 .speech-balloon::before,.sb-id-11 .speech-balloon::after{
background:none;
border-right-color:#eeefa3;/*コメントの「三角形の部分の色」*/
}
.sb-id-11 .speech-balloon p {
    font-weight: bold;
    color: #895f4a;
}

/*Twitter埋め込み*/
.twitter-tweet.twitter-tweet-rendered {
    margin: auto;
}

/*画像最大高さ指定*/
main#main img {
    /* max-height: 600px; */
    width: auto;
	height: auto;
}

figure.eye-catch img {
    max-height: 700px!important;
    width: auto;
}

/*アイキャッチのカテゴリーを非表示*/
header figure span.cat-label {
    display: none;
}

/*目次*/
div#toc {
	/* background-color: rgba(237,237,120,.1); */
	border-color: #d9b62d;
}
.toc-title {
  font-weight: 600;
}
div#toc li {
    list-style-type: none; /*点を非表示*/
    position: relative; /*基準位置*/
    padding-left: 0.8em;
    margin-left:50px;
}
div#toc ol {
    counter-reset: li;
}
div#toc ol li:before {
    counter-increment: li;
    content: counter(li, decimal-leading-zero);
    color: #d9b62d;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    /* left: 0; */
    position: absolute;
    top: 0px;
    left: -20px;
}
div#toc ol li ol li:before {
    border-radius: 50%; /*丸くする*/
    width: 6px; /*点の幅*/
    height: 6px; /*点の高さ*/
    display: block;
    position: absolute; /*絶対配置*/
    left: 0; /*点の位置*/
    top: 0.6em; /*点の位置*/
    content: "";
    background: #d9b62d; /*点の色*/
}
div#toc ol li {
    font-weight:normal;
}
div#toc ol li ol li {
    font-weight:normal;
    font-size:14px;
}
.toc .toc-list ul, .toc .toc-list ol {
  padding-left: 0em;
  margin: 0;
}


/*目次折りたたみ*/
  .toc-content {
    overflow-y: hidden;
    position: relative;
    transition: all .5s ease-in;
  }
  .toc-content.expand {
    padding: 0 0 30% 0;
  }
  .toc-content .tocMore {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50%;
    text-align: center;
    padding: 1em 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(180deg, transparent, #fff 40%);
  }
  .toc-content .tocMore .tocMoreBtn {
    background: #fcfcfc;
    line-height: 1;
    display: inline-block;
    padding: .75em 1.5em;
    border-radius: 2em;
    border: 1px solid #d9b62d;
    cursor: pointer;
  }
  .toc-content.expand .tocMore {
    background: transparent;
    height: auto;
  }


/*インスタ埋め込み*/
.instagram-center {
    margin: auto!important;
    max-width: 450px;
}

/*ライタープロフィール*/
.author-follows {
    display: none;
}
.author-name a {
    color: #444;
    text-decoration: none;
}
.author-box.border-element.no-icon.cf {
    background-color: #fdfded66;
}

/*おすすめカード*/
@media screen and (max-width: 834px){
    .recommended{
    overflow: auto;
	margin: 0;
    }
    .recommended .navi-entry-cards {
    flex-wrap: nowrap;
    width: 170%;
    margin-bottom: 5px;
    }
}

/*監修者プロフィール*/
.supervision_box {
    /* border: 2px solid #d9b62d; */
    border-radius: 8px 8px 8px 8px;
    padding: 10px;
    font-size: 12px;
    position: relative;
    width: 95%;
    margin: 0 auto;
    background-color: #efefef;
}

.supervision_container {
    display: flex;
}

.supervision_box_left {
    margin-right: 10px;
}

figure.supervision_waku {
    overflow: hidden;
    /* border-radius: 5px; */
}

.supervision_name {
    font-size: 16px;
    font-weight: bold;
    margin-top: -5px;
    margin-bottom: 5px;
}

.supervision_image {
    width: 100%;
    height: 150px;
}

.supervision_prof {
    color: #999;
    line-height: normal;
}

.supervision_website {
    text-align: right;
	margin-top: 10px;
}

.supervision_head {
    /* position: absolute; */
    /* background-color: #d9b62d; */
    /* border-radius: 13px 13px 0 0; */
    /* padding: 0.2em 1.3em 0.2em; */
    /* top: calc(-.9em - .82em - 0.6em); */
    /* left: -2px; */
    /* color: #fff; */
    /* font-size: 14px; */
}
.supervision_remarks {
    font-size: 11px;
    color: #999;
    width: 90%;
    margin: 0 auto;
    line-height: 16px;
    margin-top: 5px;
}
/*監修者プロフ834px以下*/
@media screen and (max-width: 834px){
		.supervision_container {
		display: block;
	}
	
	.supervision_image {
    width: 100%;
	}
	
	.supervision_image img {
    height: 150px!important;
    object-fit: cover;
	}
	
	.supervision_image {
    text-align: center;
	}
}


/*埋め込みSNS*/
.sns-center {
	margin:0 auto;
	max-width: 350px;
}

/*ブログカード*/
.blogcard-footer.internal-blogcard-footer.cf {
    display: none;
}
.blogcard-label.internal-blogcard-label,.blogcard-label.external-blogcard-label{
    color: #999;
}
.blogcard {
    border: 1px solid;
	border-color:#d9b62d!important;
    background-color: #fffcf0;
}
.blogcard-title.internal-blogcard-title {
    color: #555;
}
.blogcard-snippet.internal-blogcard-snippet {
    color: #949495;
}
.blogcard-content.internal-blogcard-content {
    font-size: 16px;
}

/*アフィリエイト記事*/
.caption_affi {
    color: #888;
    font-size: 12px;
    padding: 0.8em 1em;
    line-height: 1.6;
	margin-bottom: 7px;
}

a.link_affi.link_type1:before {
    content: ">";
}

/*引用文*/
blockquote {
    color: #999;
}

blockquote>p {
    margin: 0px!important;
}

/*こちらの記事もどうぞ*/
.crp-list-item.crp-list-item-image-left.crp-list-item-has-image {
    border: 2px solid #ddd;
    background-color: #fff;
    padding: 5px;
}
.crp-list-item-title a {
    text-decoration: none;
    font-size: 15px;
    color: #666;
}
img.attachment-thumbnail.size-thumbnail.wp-post-image {
    max-width: 150px!important;
}


/*あわせて読みたい*/
.yarpp-related-entry-heading {
    padding: 0.8rem 0;
    background-image: linear-gradient(90deg, #eded78 0 20%, #dedede 20%);
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: bottom;
    font-weight: bold;
    font-size: 18px;
}

.yarpp-related-post {
    margin-top: 5px;
    overflow: hidden;
    width: 100%;
}

.yarpp-related-post-title {
    line-height: 18px;
    margin-bottom: -20px;
    color: #666;
    width: 100%;
    margin-left: 1px;
    padding: 2px;
}

.yarpp-related-post-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.yarpp-related-entry {
    float: left;
    font-size: 14px;
    line-height: 15px;
    min-height: 150px;
    margin-bottom: 15px;
    margin: 10px 5px;
    display: block;
    width: 222px;
    height: 210px;
    overflow: hidden;
    position: relative;
}
.yarpp-related a {
    color: #666;
}
a.yarpp-relatedpost-link img {
    height: 150px;
    object-fit: cover;
}

/*テキストボックス内ul*/
.textbox ul {
    margin-bottom: 0px;
}

/*main ul,li*/
article ul,article ol:not(.toc-list,.toc-list ol){
  background: #fffcf0;/*枠背景色*/
  border-radius :5px;
  border: solid 2px #d9b62d;/*ボーダー色*/
  padding: 0.5em 0.5em 0.5em 2em;
  position: relative;
}
main ul li,main ol li:not(.toc-list,.toc-list ol){
  margin-left: 0.5em!important;
  line-height: 1.5!important;
  padding: 0.2em 0;
  font-weight:bold;
  color: #555;
}
main ul li:before:not(.toc-list,.toc-list ol){
  content: "●";/*アイコンの種類*/
  position: absolute;
  left : 1em;/*左端からのアイコンまでの距離*/
  color: #eded78;/*アイコン色*/
}

#main ul,#main ol {
    list-style: none;
}
#main ul li,#main ol li{
    position: relative;
}

article ul li::before {
    border-radius: 50%;
    width: 6px;
    height: 6px;
    display: block;
    position: absolute;
    left: -15px;
    top: 0.6em;
    content: "";
    background: #d9b62d;
}

#main ol{
    counter-reset: li;
}
#main ol li::before{
    counter-increment: li;
    content: counter(li);
    color: #d9b62d;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    /* left: 0; */
    position: absolute;
    top: 2px;
    left: -20px;
}


main ul li,main ol li:not(.toc-list,.toc-list ol){
  font-weight: normal;
}
li img {
    margin-bottom: 25px;
}
ul {
    margin-top: -0.8em;
}

/*SNSシェアボタン*/
span.button-caption {
    display: none;
}
.sns-share.ss-col-4 a {
    width: 40px;
    margin-right: 10px;
}
.sns-share-buttons a {
    font-size: 20px;
	background-color: #999;
}
.sns-buttons a {
    border-radius: 25px;
    height: 40px;
}
.sns-buttons {
    display: block;
}
.sns_article_bottom {
    text-align: center;
}

/*コメントボタン*/
input[type='submit'] {
    background-color: #eded78;
}

p.form-submit {
    margin-top: 15px;
}

/*コメント*/
.st-comment-meta.st-commentmetadata {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

/*サイド最新コメント*/
.recent-comment-article {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-comment-author {
    display: none;
}
.recent-comment-avatar {
    width: 18px;
    margin-bottom: 3px;
}
.recent-comment-info,
.recent-comment-article {
  font-size: 12px;
}

/*2色見出し*/
h2.related-entry-heading,.comment-title {
    padding: 0.8rem 0;
    /*background-image: linear-gradient(90deg, #e4cdc5 0 20%, #dedede 20%);*/
    background-image: linear-gradient(90deg, #eded78 0 20%, #dedede 20%);
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: bottom;
    font-weight: bold;
    font-size: 18px;
}

h3#reply-title {
    font-size: 16px;
}

/*ページトップボタン*/
.go-to-top-button {
    background-color: #f5f5a5;
}

/*サイドバー*/
div#sidebar h2,div#sidebar h3 {
    background-color: transparent;
    border-bottom: 1px solid #ddd;
    padding: 0;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.sidebar {
    font-size: 14px;
}
div#sidebar .widget-entry-card-title {
    font-size: 12px;
}
a.wp-block-latest-posts__post-title {
    line-height: 1.3;
}

/*フッター*/
.footer-bottom-logo img {
    height: auto;
}

/*PCヘッダ下広告*/
.ad_pc-head {
    text-align: center;
    /* min-height: 280px; */
}

/*PC記事下広告*/
.ad_article-under {margin: 2em 1em;overflow: hidden;}
.ad_article-under_left {
    float: left;
    width: 336px;
}
.ad_article-under_right {
    float: right;
    width: 336px;
}
.clearhr {
    clear: both;
}
hr.clearhr {
    display: none;
}

/*広告エリア*/
.adarea {
    margin: 10px auto;
    /* background-color: #f9f8f4; */
    /* padding: 15px 0; */
    text-align: center;
    /* min-height: 330px!important; */
}
.article-adarea {
    margin: 10px auto;
	text-align: center;
}
.adarea-mid {
    margin: 10px auto;
    text-align: center;
    /* min-height: 175px!important; */
}

/*h2広告エリア*/
.ad-title {
    font-weight: bold;
    font-size: 18px;
}
.inarticle-ad {
    border: solid 1px #d9b62d;
    padding: 10px;
	width: 95%;
    margin: 0 auto;
}
p.ad-description {
    margin-bottom: 1em;
}
.inarticle-ad img,.inarticle-ad-noborder img {
    height: revert-layer;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
	.fz-18px {
    font-size: 16px;
	}
	img.site-logo-image.header-site-logo-image {
		width: 40%;
	}
.article h2 {
    font-size: 18px;
    padding: 20px 10px 20px 70px;
}
.article h2:before {
    height: 24px;
    width: 4px;
    top: 20px;
    left: 54px;
}
.article h2:after {
    font-size: 22px;
    top: 19px;
    left: 14px;
}

	.article h3 {
		font-size: 18px;
	}

	div#navi-in {
		overflow: hidden;
		overflow-x: auto;
	}
	nav#navi ul {
		width: 700px;
		padding: 0 0 0 1px;
	}
	#navi .navi-in > .menu-mobile li {
		width: auto;
		height: auto;
		line-height: 30px;
	}
	.navi-in > ul {
    justify-content: left;
	}
	li.menu-item+ li {
    border-left: 1px solid #eee;
	}
	li.menu-item {
		padding: 0 10px 0 10px;
	}
	
	/*SPソーシャルアイコン*/	
	span.social-icon {
    font-size: 20px;
	}
	
	/*SPサイドバー*/
	div#sidebar h3 {
		border-bottom: 0px;
	}
	div#sidebar h3 {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 16px;
		line-height: 1;
	}
	div#sidebar h3::before,div#sidebar h3::after {
		content: "";
		display: block;
		width: 50px;
		height: 1px;
		background-color: #444;
	}
	div#sidebar h3::before {
		margin-right: 10px;
	}
	div#sidebar h3::after {
		margin-left: 10px;
	}
	
	/*あわせて読みたい*/
	.yarpp-related-entry {
		font-size: 13px;
		line-height: 13px;
		min-height: 200px;
		margin: 5px 1px;
		width: 49%;
		height: auto;
	}
	a.yarpp-relatedpost-link img {
		height: 100px;
		object-fit: cover;
	}
	
}

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