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

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

/** カエレバっぽいリンク ********************/
.showcase-box {
	padding: 22px 25px;
	width: 96%;
	margin: 1.6em auto;
	border: 3px solid #dfdfdf; /* 外枠の枠線 */
	box-sizing: border-box;
	position: relative;
}
.showcase-image {
	width: 160px;
	min-width: 160px;
	margin: 0 auto 1em !important;
	float: none !important;
	text-align: center;
}
.showcase-image * {
	display: block;
}
.showcase-image > a > img {
	margin: 0 auto;
}
.showcase-info {
	line-height: 125%;
	width: 100%;
}
.showcase-detail {
	color: #333;
	font-size: 12px;
	margin: 0 0 10px;
}
.showcase-link > * {
	 background: none !important;
	 padding: 0 !important;
	 display: block !important;
}
.showcase-link img {
	display: none;
}
.showcase-link a {
	width: 90%;
	display: block;
	margin: 0px auto 8px;
	padding: 10px 0;
	text-decoration: none;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	border-radius: 3px; /* ボタンの角の丸み */
	color: #fff; /* ボタンの文字色 */
}
.showcase-link a:hover {
	opacity: 0.6;
}
.showcase-amazon a {
	background: #f79901;; /* Amazonのボタンの色 */
}
.showcase-kindle a {
	background: #0074c1; /* Kindleのボタンの色 */
}
.showcase-rakuten a {
	background: #bf0000; /* 楽天市場のボタンの色 */
}
.showcase-yahoo a {
	background: #E60033; /* Yahoo!ショッピングのボタンの色 */
}
@media screen and (max-width: 834px) {
	.showcase-box {
		padding: 10px 10px 24px;
		display: block;
	}
	.showcase-image {
		width: 120px;
		min-width: 120px;
		margin-right: 3% !important;
		float: left !important;
		height: 100% !important;
	}
	.showcase-link {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.showcase-link > * {
		width: auto;
		margin: 0 .5% !important;
		flex: 1 1 auto;
	}
	.showcase-link > * > a {
		width: auto;
		font-size: 11px;
		padding: 6px 0;
		border-radius: 3px; /* ボタンの角の丸み */
	}
}
@media screen and (min-width: 769px) {
	.showcase-box {
		text-align: left;
		display: flex;
		font-size: inherit !important;
	}
	.showcase-image {
		vertical-align: top;
		box-sizing: border-box;
		min-width: auto !important;
	}
	.showcase-info {
		line-height: 125%;
		vertical-align: top;
		box-sizing: border-box;
		padding-left: 25px;
		width: 100%;
	}
	.showcase-detail {
		margin: 0 0 14px;
	}
	.showcase-link {
		display: flex;
		flex-wrap: wrap;
	}
	.showcase-link a {
		width: auto;
		text-align: center;
	}
	.showcase-link a img {
		position: absolute;
		bottom: 0;
		right: 0;
	}
	.showcase-link > * {
		width: 31.5%;
		margin: 0.5%;
		box-sizing: border-box;
	}
}
@media screen and (max-width: 480px) {
	.showcase-image {
		width: 80px;
		min-width: 80px;
	}
	.showcase-info {
		width: auto !important;
		overflow: visible !important;
		text-align: center !important;
		padding: 0 !important;
	}
	.showcase-link > * {
		width: 49%;
		margin: 0 .5% !important;
	}
}


code {
    font-size: 14px;
}





/* kattene */

.kattene {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 3px;
padding: 10px;
margin-bottom: 1em;
box-sizing: border-box; }

.kattene__imgpart {
text-align: center; 
font-family: Noto Sans JP,Meiryo,"Hiragino Kaku Gothic ProN",sans-serif;}

.kattene__imgpart img {
-webkit-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
-moz-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
-o-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
-ms-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8); }

.kattene__description {
font-size: 0.8em; }

.kattene__btns {
width: 100%;
margin-top: 1.2em; }

.kattene__btns:after {
display: block;
clear: both;
height: 0px;
visibility: hidden;
content: "."; }

.kattene__btns > div {
float: left;
margin-bottom: 5px; }

.kattene__btns .btn {
width: 100%;
padding-left: 0;
padding-right: 0;
}

.kattene__btns.__three > div {
width: 32.66667%; }

.kattene__btns.__three > div:not(:last-child) {
margin-right: 1%; }

.kattene__btns.__two > div {
width: 49.5%; }

.kattene__btns.__two > div:nth-child(odd) {
margin-right: 1%; }

/* mobile */
@media screen and (max-width: 900px) {

.kattene {
display: table;
width: 100%;
font-size: 1.1em;}

.kattene__imgpart img {
margin-bottom: 25px }

.kattene__btns.__four > div {
width: 49.5%; }

.kattene__btns.__four > div:nth-child(odd) {
margin-right: 1%; }

.kattene__btns.__one > div {
width: 100%;  } }

/* PC */
@media screen and (min-width: 901px) {

.kattene {
display: table;
width: 100%; }

.kattene__imgpart {
display: table-cell;
width: 20%; }

.kattene__infopart {
display: table-cell;
vertical-align: top;
position: relative;
padding-left: 10px;
width: 80%; }

.kattene__btns {
position: absolute;
bottom: 0;
box-sizing: border-box;
padding-right: 10px; }

.kattene__btns.__four > div {
width: 24.25%; }
.kattene__btns.__four > div:not(:last-child) {
margin-right: 1%; }

.kattene__btns.__two > div {
width: 49.5%; }
.kattene__btns.__two > div:not(:last-child) {
margin-right: 1%; }

.kattene__btns.__one > div {
width: 32.6%;} 
.kattene__btns.__one > div:not(:last-child) {
margin-right: 1%; }
}

/* button */
.btn {
appearance: none;
background-color: #54c0d1;
border: 0;
border-radius: 0;
color: #fff;
cursor: pointer;
display: inline-block;
font-family: Noto Sans JP,Meiryo,"Hiragino Kaku Gothic ProN",sans-serif;
font-size: 1.0em;
-webkit-font-smoothing: antialiased;
font-weight: 600;
line-height: 1;
padding: 0.75em 1.5em;
text-decoration: none;
transition: background-color 150ms ease;
user-select: none;
vertical-align: middle;
white-space: nowrap; }

.btn:hover, .btn:focus {
background-color: #439aa7;
color: #fff; }

.btn:disabled {
cursor: not-allowed;
opacity: 0.5; }

.btn:disabled:hover {
background-color: #54c0d1; }

.btn.__small {
padding: 0.55em;
font-size: 0.9em; }

/*orange*/
.btn.__orange {
background-color: #FF9901;
-webkit-box-shadow: 0 5px 0 #cc7a01;
-moz-box-shadow: 0 5px 0 #cc7a01;
box-shadow: 0 5px 0 #cc7a01;
-o-box-shadow: 0 5px 0 #cc7a01;
-ms-box-shadow: 0 5px 0 #cc7a01;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__orange:hover {
background-color: #cc7a01; }

.btn.__orange i {
font-weight: bold; }

.btn.__orange i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*blue*/
.btn.__blue {
background-color: #007dcd;
-webkit-box-shadow: 0 5px 0 #0064a4;
-moz-box-shadow: 0 5px 0 #0064a4;
box-shadow: 0 5px 0 #0064a4;
-o-box-shadow: 0 5px 0 #0064a4;
-ms-box-shadow: 0 5px 0 #0064a4;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__blue:hover {
background-color: #0064a4; }

.btn.__blue i {
font-weight: bold; }

.btn.__blue i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*red*/
.btn.__red {
background-color: #c20004;
-webkit-box-shadow: 0 5px 0 #9b0003;
-moz-box-shadow: 0 5px 0 #9b0003;
box-shadow: 0 5px 0 #9b0003;
-o-box-shadow: 0 5px 0 #9b0003;
-ms-box-shadow: 0 5px 0 #9b0003;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__red:hover {
background-color: #9b0003; }

.btn.__red i {
font-weight: bold; }

.btn.__red i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*green*/
.btn.__green {
background-color: #0BBD80;
-webkit-box-shadow: 0 5px 0 #099766;
-moz-box-shadow: 0 5px 0 #099766;
box-shadow: 0 5px 0 #099766;
-o-box-shadow: 0 5px 0 #099766;
-ms-box-shadow: 0 5px 0 #099766;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__green:hover {
background-color: #099766; }

.btn.__green i {
font-weight: bold; }

.btn.__green i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*pink*/ 
.btn.__pink {
background-color: #e1325b;
-webkit-box-shadow: 0 5px 0 #b42849;
-moz-box-shadow: 0 5px 0 #b42849;
box-shadow: 0 5px 0 #b42849;
-o-box-shadow: 0 5px 0 #b42849;
-ms-box-shadow: 0 5px 0 #b42849;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__pink:hover {
background-color: #b42849; }

.btn.__pink i {
font-weight: bold; }

.btn.__pink i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*brown*/  
.btn.__brown {
background-color: #6f4b3e;
-webkit-box-shadow: 0 5px 0 #6c272d;
-moz-box-shadow: 0 5px 0 #6c272d;
box-shadow: 0 5px 0 #6c272d;
-o-box-shadow: 0 5px 0 #6c272d;
-ms-box-shadow: 0 5px 0 #6c272d;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__brown:hover {
background-color: #b42849; }

.btn.__brown i {
font-weight: bold; }

.btn.__brown i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/* kattene_end*/








/* kattene custom */

.kattene2 {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 3px;
padding: 10px;
margin-bottom: 1em;
box-sizing: border-box; }

.kattene2__imgpart {
text-align: center; 
font-family: Noto Sans JP,Meiryo,"Hiragino Kaku Gothic ProN",sans-serif;}

.kattene2__imgpart img {
-webkit-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
-moz-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
-o-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
-ms-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8); }

.kattene2__description {
font-size: 0.8em; }

.kattene2__btns {
width: 100%;
margin-top: 1.2em; }

.kattene2__btns:after {
display: block;
clear: both;
height: 0px;
visibility: hidden;
content: "."; }

.kattene2__btns > div {
float: left;
margin-bottom: 5px; }

.kattene2__btns .btn {
width: 100%;
padding-left: 0;
padding-right: 0;
}

.kattene2__btns.__three > div {
width: 32.66667%; }

.kattene2__btns.__three > div:not(:last-child) {
margin-right: 1%; }

.kattene2__btns.__two > div {
width: 49.5%; }

.kattene2__btns.__two > div:nth-child(odd) {
margin-right: 1%; }

/* mobile */
@media screen and (max-width: 900px) {

.kattene2 {
display: table;
width: 100%;
font-size: 1.1em;}

.kattene2__imgpart img {
margin-bottom: 25px }

.kattene2__btns.__four > div {
width: 49.5%; }

.kattene2__btns.__four > div:nth-child(odd) {
margin-right: 1%; }

.kattene2__btns.__one > div {
width: 100%;  } }

/* PC */
@media screen and (min-width: 901px) {

.kattene2 {
display: table;
width: 100%;
font-size: 1.1em;}

.kattene2__imgpart img {
margin-bottom: 25px }

.kattene2__btns.__four > div {
width: 49.5%; }

.kattene2__btns.__four > div:nth-child(odd) {
margin-right: 1%; }

.kattene2__btns.__one > div {
width: 100%;  }


/* button */
.btn {
appearance: none;
background-color: #54c0d1;
border: 0;
border-radius: 0;
color: #fff;
cursor: pointer;
display: inline-block;
font-family: Noto Sans JP,Meiryo,"Hiragino Kaku Gothic ProN",sans-serif;
font-size: 1.0em;
-webkit-font-smoothing: antialiased;
font-weight: 600;
line-height: 1;
padding: 0.75em 1.5em;
text-decoration: none;
transition: background-color 150ms ease;
user-select: none;
vertical-align: middle;
white-space: nowrap; }

.btn:hover, .btn:focus {
background-color: #439aa7;
color: #fff; }

.btn:disabled {
cursor: not-allowed;
opacity: 0.5; }

.btn:disabled:hover {
background-color: #54c0d1; }

.btn.__small {
padding: 0.55em;
font-size: 0.9em; }

/*orange*/
.btn.__orange {
background-color: #FF9901;
-webkit-box-shadow: 0 5px 0 #cc7a01;
-moz-box-shadow: 0 5px 0 #cc7a01;
box-shadow: 0 5px 0 #cc7a01;
-o-box-shadow: 0 5px 0 #cc7a01;
-ms-box-shadow: 0 5px 0 #cc7a01;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__orange:hover {
background-color: #cc7a01; }

.btn.__orange i {
font-weight: bold; }

.btn.__orange i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*blue*/
.btn.__blue {
background-color: #007dcd;
-webkit-box-shadow: 0 5px 0 #0064a4;
-moz-box-shadow: 0 5px 0 #0064a4;
box-shadow: 0 5px 0 #0064a4;
-o-box-shadow: 0 5px 0 #0064a4;
-ms-box-shadow: 0 5px 0 #0064a4;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__blue:hover {
background-color: #0064a4; }

.btn.__blue i {
font-weight: bold; }

.btn.__blue i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*red*/
.btn.__red {
background-color: #c20004;
-webkit-box-shadow: 0 5px 0 #9b0003;
-moz-box-shadow: 0 5px 0 #9b0003;
box-shadow: 0 5px 0 #9b0003;
-o-box-shadow: 0 5px 0 #9b0003;
-ms-box-shadow: 0 5px 0 #9b0003;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__red:hover {
background-color: #9b0003; }

.btn.__red i {
font-weight: bold; }

.btn.__red i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*green*/
.btn.__green {
background-color: #0BBD80;
-webkit-box-shadow: 0 5px 0 #099766;
-moz-box-shadow: 0 5px 0 #099766;
box-shadow: 0 5px 0 #099766;
-o-box-shadow: 0 5px 0 #099766;
-ms-box-shadow: 0 5px 0 #099766;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__green:hover {
background-color: #099766; }

.btn.__green i {
font-weight: bold; }

.btn.__green i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*pink*/ 
.btn.__pink {
background-color: #e1325b;
-webkit-box-shadow: 0 5px 0 #b42849;
-moz-box-shadow: 0 5px 0 #b42849;
box-shadow: 0 5px 0 #b42849;
-o-box-shadow: 0 5px 0 #b42849;
-ms-box-shadow: 0 5px 0 #b42849;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__pink:hover {
background-color: #b42849; }

.btn.__pink i {
font-weight: bold; }

.btn.__pink i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/*brown*/  
.btn.__brown {
background-color: #6f4b3e;
-webkit-box-shadow: 0 5px 0 #6c272d;
-moz-box-shadow: 0 5px 0 #6c272d;
box-shadow: 0 5px 0 #6c272d;
-o-box-shadow: 0 5px 0 #6c272d;
-ms-box-shadow: 0 5px 0 #6c272d;
margin-bottom: 5px;
border-radius: 3px;
text-align: center; }

.btn.__brown:hover {
background-color: #b42849; }

.btn.__brown i {
font-weight: bold; }

.btn.__brown i:before {
vertical-align: middle;
font-size: 1.2em;
margin-right: 0.2em; }

/* kattene_custom_end*/




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

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

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


/* はみ出た分をスクロール可能にするコード */
.sidebar #toc-2 .toc-content {
	overflow-y: scroll; /* 縦スクロールを可能に */
	max-height: 390px; /* 目次の高さ上限 */
}
/* スクロールバーを常に表示 */
.sidebar .toc-content::-webkit-scrollbar {
	-webkit-appearance: none; /* スタイルの初期化を禁止 */
	width: 8px; /* スクロールバーの横幅 */
}

/* スクロールできるツマミ部分 */
.sidebar .toc-content::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, .4); /* ツマミの色 */
}

	
.sidebar .toc-content {
  padding-left: 2em;
}

.sidebar .toc-content ol li ol li {
  font-size: 90%;
}
	

#toc-2 li.current {
	background-color: #ffbc0099; /* ハイライト色 */
}

.sidebar .widget_categories ul .children li {
  font-size: 90%;
}

.sidebar .btn-wrap > a {
	margin-top: 15px;	
	margin-bottom: 15px;
	min-width: 125px;	
}

.sidebar .column-wrap {
	margin-top: -20px;
	margin-bottom: -10px;
	margin-left: 5px;	
	margin-right: 5px;
}



