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

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

/****投稿のカスタマイズ****/
/**初期設定**/
/* IEだけに適応 */
_:lang(x)::-ms-backdrop, .selector {
font-family: "Segoe UI", Meiryo, sans-serif;
}

/**全体**/
.box-reidai ol {
	margin-bottom: 0;
}

/**目次デザイン**/
/* 目次全体枠 */
.toc{
border-top:5px solid; color:#f27391;
padding: 20px;
width: 100%;
}
/* 目次アイコン */
.toc-title:before {
width: 40px;
height: 40px;
font-family: "Font Awesome 5 Free";
content : "\f03a";
font-size:18px;
margin-right:8px;
color:#FFF;
background-color:#f27391;
border-radius: 50%;
padding:10px;
}
/* 目次の文字 */
.toc-title {
text-align:left;
font-size: 20px;
font-weight: 600;
color: #333333;
}
/*見出し2（H2）の設定*/
.toc-content > .toc-list > li:before { 
font-family: "Font Awesome 5 Free";
content: "\f35a";
font-weight: 900;
color: #f27391;
padding-right:8px;
}
.toc-content .toc-list li {
font-weight:600;
}
/*H3以降の文字サイズ*/
.toc-content .toc-list li li {
font-weight:normal;
}

/**見出しデザイン**/
/* 見出しデザインのリセット */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    background-color: transparent; /* 背景色を透明に */
    border: none; /* 枠線なし */
    /* border-radius: 0; 角の丸みなし */
}
/* 各見出しデザイン*/
.article h2{
	position: relative;
    padding: 0.3em 0;/*内側余白調整*/
    border-bottom: solid 3px #f5f5f5;/*下線１：実線・太さ・色*/
}
.article h2:after{
	position: absolute;
	content: '';
	display: block;
	border-bottom: solid 3px #f27391;/*下線２：実線・太さ・色*/
	bottom:-3px;
	width:30%;/*下線２の幅*/
}

/**ボックスのデザイン**/
/*例題ボックス*/
.box-reidai{
	margin: 2em auto; /* ボックスの余白 */
	background: #ffffff; /* ボックス背景色 */
	/* border-radius:4px;ボックス角丸 */
	/* max-width:600px; ボックス横幅 */
	padding: 3em 0 1em 0; /*ボックス内側余白 */
	position:relative; /* 配置に関するもの(ここを基準に) */
	border-bottom: 3px solid #e0e0e0;
}
.box-reidai-number {
	background: #f27391;
	width: 100px;
	text-align: center;
}
.box-reidai-navi{
	padding-left: 0.5rem;
}
.box-reidai .box-reidai-title {
	background: #e0e0e0; /* タイトル背景色 */
	font-weight: bold; /* タイトル文字の太さ */
	font-size: 1rem;/* タイトル文字の大きさ */
	padding: 0;/* タイトル周りの余白 */
	/* text-align: center;	タイトル中央寄せ */
	/* border-radius: 4px 4px 0px 0px;タイトル角丸 */
	position:absolute;	/* 配置に関するもの(ここを動かす) */
	top:0;	/*上から(0px)に配置 */
	left:0; /*左から(0px)に配置 */
	width:100%;/*横幅最大幅 */
	display: flex;/*横幅最大幅 */
}
.box-reidai-number {
	color: #fff;
}
.box-reidai p {
	margin: 0;/* 文字の余白リセット */
	padding: 0; /* 文字の内側余白リセット*/
}
.box-reidai ul {
	margin: 20px 0;
}
/*仕訳・転記*/
.answer {
	display: flex;
    align-items: center; /* 垂直中心 */
    color: #f27391;
	font-weight: bold;
}
.answer-title {
	width: 100px;
}
.answer:after {
	border-top: 2px dotted;
    content: "";
    width: 100%; /* 線の長さ */
}


/******削除予定******/

/*上下線色付きボックス（まとめ）*/
.box-recap {
	border-top: 2px solid #f27391;
	border-bottom: 2px solid #f27391;
	background: #fdf2f2;
}
.box-recap ul {
	margin: 20px 0;
}
/*参考ボックス（共通）*/
.box-reference-title {
	font-size: 1.5rem;
}

/*参考ボックス*/
.box-reference {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #333333;
    background: #ffebe9;
    border-top: solid 10px #ff7d6e;
}
.box-reference p {
    margin: 0; 
    padding: 0;
}
/*関連記事*/
.blogcard-footer {
	display: none;
}










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

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

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