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

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



/* 囲い枠の線太 */
.blank-box, .is-style-blank-box-red, .is-style-blank-box-navy, .is-style-blank-box-blue, .is-style-blank-box-yellow, .is-style-blank-box-green, .is-style-blank-box-pink, .is-style-blank-box-orange, .is-style-sticky-gray, .is-style-sticky-yellow, .is-style-sticky-red, .is-style-sticky-blue, .is-style-sticky-green {
    border: 1px solid #949495;
}


/*タイトル非表示*/
.logo-text {
    display: none;
}
.header-in {
    display: none;
}

/*フッター非表示*/
.footer {
    display: none;
}
.article-footer,
.entry-footer {
    display: none;
}

/*もくじ*/
.toc {
    border: 1.5px solid #ffce80!important;
    border-radius: 4px;
    border-color: #ffce80;
    width: 85%;
	margin: 5px auto;
    padding: 0;
}
.toc-title {
    padding: 0;
    background-color: #ffce80;
	font-size: 1.5em;
    text-align: center;
    display: block;
    width: 100%;
}
.toc-checkbox:checked~.toc-content {
	padding-left: 1.5em;
}

/*タイトル*/
h1.entry-title:before, h1.entry-title:after, h1.archive-title:before, h1.archive-title:after {
    display: none;
}
h1.entry-title, h1.archive-title {
    padding-left: 0.5em;
    border-top: 1.3px solid black!important;
    border-bottom: 1.3px solid black!important;
}
.entry-title {
    padding-top: 20px;
    padding-bottom: 20px;
}
.header-container:after, .footer:before {
    display: none;
}
/*見出し*/
/*.article h3 {
/*    border-top: 2px solid #3f3f3f!important; */
/*	border-bottom: 2px solid #3f3f3f!important; */
/*	border-left: none;
	border-right: none;
    margin-top: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
    background: #fff7ef;
    font-size: 16px;
}
*/
/*
.article h3 {
	border-top: none;
	border-left: none;
	border-right: none;
    margin-top: 2em;
    font-size: 16px;
	color: #ef5350;
	border-bottom: solid 1px #ef5350;
}

.article h3 {
	padding: 0.5em;
	padding-left: 15px;
	color: #494949;
	background: #fffaf4;
	border-left: solid 5px #ffaf58;
}
*/

.article h3 {
	font-size: 22px;
    /*border-left: 4px solid #3f3f3f;*/
    border-left: none;
    border-top: none;
    border-bottom: 3px solid #3f3f3f;
    padding-left: 1em;
}
/*
.article h5 {
    border-bottom: none;
    border: 1.5px solid #3f3f3f;
	font-size: 17px;
}
*/

/* 左横に縦線 */
.article h4 {
	font-size: 20px;
	margin-bottom: 20px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 15px;
	color: black;
	line-height: 30px;	
    border-top: none!important;
	border-bottom: none!important;
	border-bottom-width: none!important;;
	border-color: black!important;
	border-left: solid 4px #ffaf58;/*左線（実線 太さ 色）*/
}

/*
.article h6 {
    border: 1px solid #3f3f3f;
}

.article h6 {
	font-size: 20px;
	position: relative;
	padding: 0.6em;
	background: #e0edff;
	border-color: #e0edff;
}
.article h6:after {
	position: absolute;
	content: '';
	top: 100%;
	left: 30px;
	border: 15px solid transparent;
	border-top: 15px solid #e0edff;
	border-bottom: none;
	width: 0;
	height: 0;
}
*/



/*ボックス*/
.blank-box.sticky.st-yellow, .sticky.st-yellow.is-style-blank-box-red, .sticky.st-yellow.is-style-blank-box-navy, .sticky.st-yellow.is-style-blank-box-blue, .sticky.st-yellow.is-style-blank-box-yellow, .sticky.st-yellow.is-style-blank-box-green, .sticky.st-yellow.is-style-blank-box-pink, .sticky.st-yellow.is-style-blank-box-orange, .st-yellow.is-style-sticky-gray, .st-yellow.is-style-sticky-yellow, .st-yellow.is-style-sticky-red, .st-yellow.is-style-sticky-blue, .st-yellow.is-style-sticky-green
{
	border-color: #ffd899;
	background-color: #ffebcc;
}

/* 表 */
table {
	border-collapse: collapse;
	border: 1px solid #ccc;
	/*border: 3px solid green;   太さ3pxで黒色の実線 */
}
table th, table td {
	vertical-align: middle;
	padding: 5px;
	border: 1px solid #ccc;
}
table th{
    /*background-color: var(--thead-color--bg,var(--color_main));*/
	/*background-color: #888888;*/
    border: thin solid white;
    /*color: var(--thead-color--txt,#fff)!important;*/
    color: black;

	border: 1px solid #ccc;
	padding: 7px;
	text-align: center;
    vertical-align: middle!important;  /* 中央揃え */
	font-size: 15px;
	background-color: #F7F7F7!important;
}
table tr td{
	vertical-align: middle;
	padding: 5px;
	border: 1px solid #ccc;
}

table td{
	background: #ffffff;
}

table td p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/* 折りたたみショートコードの背景色 */
.su-spoiler-style-fancy>.su-spoiler-title {
    background: #fff!important;
}
.su-spoiler-style-fancy>.su-spoiler-content {
    background-color: #fffaf0;
}




/* 目次（大学ノート風） */
.entry-content .table-of-contents {
    position: relative;    
    margin: 0;
    display: inline-block;
    background: #fff;
    padding: 1em 1em 1.2em 1em;
    border-top: 1px solid #d9d9d9;
    border-right: 0;
    border-bottom: 1px solid #d9d9d9;
    border-left: 28px solid #99ccb7;/*アクセントカラー*/
    box-shadow: 1px 0 0 #959595d4, 2px 0 0 #fff, 3px 0 0 #898989de, 4px 0 0 #fff, 5px 0 0 #858585de, 9px 3px 10px #ababab96;
}
.entry-content .table-of-contents::before {
    content: "目次";
    position: static;
    display: block;
    text-align: start;
    font-size: 120%;
    top: -30px;
    left: 10px;
    margin: 0 0 .8em;
    font-weight: normal;
    border-bottom: 5px solid #99ccb7;
}
.entry-content .table-of-contents::after {
    content: "TABLE OF CONTENT";
    position: absolute;
    display: block;
    transform: rotate(-90deg);
    transform-origin: top left;
    bottom: -20px;
    left: -27px;
    font-size: 120%;
    color: #ffffff;
}
.entry-content .table-of-contents a {
    color: #5a5a5a;
    display: block;
    text-decoration: none;
    background: linear-gradient(transparent 0, transparent 93%, #d8d8d8 100%);
    background-size: 100% 2em;
    line-height: 2em;
}
.entry-content .table-of-contents > li::before {
    font-family: "blogicon";
    content: "\f024";
    font-weight: normal;
    color: #99ccb7;/*アクセントカラー*/
    position: absolute;
    top: 2px;
    left: -18px;
}
.entry-content .table-of-contents li {
    list-style-type: none;
    margin: 0 0 0 1.4em;
    position: relative;
    font-size: 1.1em;
}
.entry-content .table-of-contents li ul {
    margin: 0 0 1em .5em;
    padding: 0;
}
.entry-content .table-of-contents li ul li {
    list-style-type: disc;
    color: #99ccb7;/*アクセントカラー*/
    font-size: .9em;
}

/************************************
** ボックスの文言
************************************/

/* 目次 */
.bb-mokuji .bb-label::after {
    content: "気になるところから読む";	
}

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

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

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

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