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





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

a, a.a-wrap,
a:hover, a.a-wrap:hover {
	color: var(--color_link) ;
	background: transparent;
	text-decoration: none;
}


.afx-relatedlink {
	position: relative;
	background-color: color-mix(in srgb, var(--cocoon-text-color) 3%, transparent);
	padding: 5rem 1rem 1rem;
	margin: 4rem -16px 0;
}
.afx-relatedlink::before {
	position: absolute;
    content: "ついでに読みたい記事";
	font: bold 1.2em 'IBMPlex', sans-serif;
	top: 1rem;
	left: 50%;
	transform: translateX(-50%);
}




figure.entry-card-thumb.card-thumb.e-card-thumb,
figure.related-entry-card-thumb.card-thumb.e-card-thumb {
	margin-top: 0;
}
.entry-card-thumb {
    width: 180px;
}
.entry-card-content {
    margin-left: 180px;
}
@media screen and (max-width: 480px) {
    .entry-card-thumb {
    	width: 128px;
	}
	.entry-card-content {
    	margin-left: 128px;
	}
}


/*.toc, 
.toc * { all: revert; }
*/

/*
.toc {
    background: linear-gradient(135deg, transparent 25%, rgba(73, 94, 105, 0.05 ) 25%, rgba(73, 94, 105, 0.05 ) 50%, transparent 50%, transparent 75%, rgba(73, 94, 105, 0.05 ) 75%, rgba(73, 94, 105, 0.05 ));
    background-size: 4px 4px;
    background-clip: padding-box;
    border-top: 4px double #E2E2E2;
    border-bottom: 4px double #E2E2E2;
	box-sizing: border-box;
    font-size: 0.9em;
    padding: 1.5em 1em 1em;
    margin-bottom: 2rem;
    width: 100%;
}
.toc-title {
    text-align: center;
    margin-bottom: 1em;
}
.toc a,
.toc a:hover {
    text-decoration: none;
    display: block;
    line-height: 1.4;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.toc-list > li > a {
    display: block;
    padding-left: 1.2em;
    position: relative;
}
.toc-list > li > a::before {
    content: "●";
    position: absolute;
    left: 0;
    width: 1em;
    text-align: center;
    font-size: 0.25em;
	top: 2em;
}
.toc-list > li > ul > li > a {
    display: block;
    padding-left: 1.4em;
    position: relative;
}
.toc-list > li > ul > li > a::before {
    content: "└";
    position: absolute;
    left: 0;
    width: 1.2em;
    text-align: center;
    font-size: 0.9em;
}
*/

/*
.toc {
    background: linear-gradient(135deg, transparent 25%, rgba(73, 94, 105, 0.05 ) 25%, rgba(73, 94, 105, 0.05 ) 50%, transparent 50%, transparent 75%, rgba(73, 94, 105, 0.05 ) 75%, rgba(73, 94, 105, 0.05 ));
    background-size: 4px 4px;
    background-clip: padding-box;
    border-top: 4px double #E2E2E2;
    border-bottom: 4px double #E2E2E2;
	box-sizing: border-box;
    font-size: 0.9em;
    padding: 1.5em 1em 1em;
    margin-bottom: 2rem;
    width: 100%;
}
.toc-title {
    text-align: center;
    margin-bottom: 1em;
}
.toc a,
.toc a:hover {
    text-decoration: none;
    display: block;
    line-height: 1.4;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}
.toc-list {
    list-style: none;
    margin-left: 1em;
}
.toc-list > li {
    list-style-type: disc;
}
.toc-list > li > a {
    display: block;
    position: relative;
}
.toc-list > li > ul > li {
    position: relative;
    left: -1.5em;
}
.toc-list > li > ul > li > a {
    display: block;
    padding-left: 1.5em;
    position: relative;
}
.toc-list > li > ul > li > a::before {
    content: "└";
    position: absolute;
    left: 0;
    width: 1.5em;
    text-align: center;
    font-size: 0.9em;
}
*/






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

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

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