@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    0.0.5
*/

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

/*角丸*/
.pbox2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #330066;/*文字色*/
    background: #FFF;
    border: solid 3px #9933cc;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.pbox2 p {
    margin: 0; 
    padding: 0;
}

.pibox2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #cc0033;/*文字色*/
    background: #FFF;
    border: solid 3px #ff66cc;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.pibox2 p {
    margin: 0; 
    padding: 0;
}

.obox2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #cc3300;/*文字色*/
    background: #FFF;
    border: solid 3px #ff9900;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.obox2 p {
    margin: 0; 
    padding: 0;
}

.bbox2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #000099;/*文字色*/
    background: #FFF;
    border: solid 3px #3366ff;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.bbox2 p {
    margin: 0; 
    padding: 0;
}

/* サイドバーリンク文字 */
#sidebar a:link{
  color: #663399; /*文字色*/
}
#sidebar a:visited{
  color: #663399; /*文字色*/
}
#sidebar a:hover {
  background-position: -100% 0;
  color: #330066;
}

/* サイドバー */
#sidebar h3{
    position: relative;
    color: #fff;
    background: #9933cc;
    font-size: 1.143em;
    font-weight: bold;
    margin: 0 -1.8em 1.5em -1.8em;
    padding: 0.8em;
    box-shadow: 0 1px 3px #777;
    -moz-box-shadow: 0 1px 3px #777;
    -webkit-box-shadow: 0 1px 3px #777;
    -o-box-shadow: 0 1px 3px #777;
    -ms-box-shadow: 0 1px 3px #777;
}
 
#sidebar h3:after,
#sidebar h3:before{
    content: "";
    position: absolute;
    top: 100%;
    height: 0;
    width: 0;
    border: 5px solid transparent;
    border-top: 5px solid #333;
}
 
#sidebar h3:before{
    right: 0;
    border-left: 5px solid #333;
}
 
#sidebar h3:after{
    left: 0;
    border-right: 5px solid #333;
}

#sidebar h3  {
   color: #ffffff;/* 文字の色 */
   font-size: 18px;/* 文字の大きさ*/
}

/* スライドイン背景色（モバイル） */
.mobile-menu-buttons {
background: #cc99ff; /* カラーコード */
}

/* ナビメニュー 文字*/
#navi {
font-weight: bold; /* 太文字 */
text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* 影 */
}
/* ナビメニュー（アイコン） */
#navi .menu-item-has-children>a::after {
display: none; /* 非表示 */
}

/*-----目次中央-----*/
.toc {
margin: 1.5em auto; /* 数値で調整 */
background-color: rgba(221,221,221, 0.1); /* 0.1~0.9で調整 */
font-size: 0.9em; /* 必要なければ削除 */
}

/* 文字装飾 */
.article h1 {
border: none; 
padding: 0.7em;/*文字周りの余白*/
color: #663399;/*文字色*/
background: #ffffff;/*背景色*/
border-left: solid 10px #9966ff;/*左線（実線 太さ 色）*/
}

.article h2 {
border: none; 
position: relative;
padding: .7em .75em;
margin-bottom: 1.5em;
background-color: #9933cc;
color: #fff;
border-radius: 6px;
border-bottom: 0px
}
.article h2::after {
position: absolute;
top: 100%;
left: 30px;
content: '';
width: 0;
height: 0;
border: 10px solid transparent;
border-top: 15px solid #9933cc;
border-bottom: 0px
}

.article h3 {
border: none; 
padding: 0.7em;/*文字周りの余白*/
color: #663399;/*文字色*/
background: #F3FEF1;/*背景色*/
border-left: solid 10px #9966ff;/*左線（実線 太さ 色）*/
}

.article h4,
#comment-area h4,
#related-entries h4{
border: none; 
position: relative;
padding-bottom: .5em;
border-bottom: 4px solid #ccc;
}
.article h4::after {
position: absolute;
bottom: -4px;
left: 0;
z-index: 2;
content: '';
width: 20%;
height: 4px;
background-color: #69B560;
}

.article h5 {
position: relative;
padding-left: 1.2em;/*アイコン分のスペース*/
line-height: 1.4;
border: none; 
padding:0px 30px 10px;
margin-top: 30px !important;
color: #69B560;/*文字色*/
}
.article h5:before {
font-family: FontAwesome;/*アイコンフォント*/
content: "\f138";/*アイコンのユニコード*/
position: absolute;/*絶対配置*/
font-size: 1em;/*サイズ*/
left: 0;/*アイコンの位置*/
top: 0;/*アイコンの位置*/
color: #69B560; /*アイコン色*/
}

.article h6{
position: relative;
border-top: solid 2px #66cc66;
border-bottom: solid 2px #66cc66;
background: #f4f4f4;
line-height: 1.4;
padding: 0.4em 0.5em;
margin: 2em 0 0.5em;
}
h6:after {/*タブ*/
position: absolute;
font-family: FontAwesome,'Quicksand','Avenir','Arial',sans-serif;
content: '\f0a7\ Check';
background: #66cc66;
color: #fff;
left: 0px;
bottom: 100%;
border-radius: 5px 5px 0 0;
padding: 5px 7px 3px;
font-size: 0.7em;
line-height: 1;
letter-spacing: 0.05em;
}

/* ブログカードカスタマ */
.blogcard {
	padding: 1rem;
	color: #666;
	position: relative;
	border-color: #3333ff !important; /* 枠線の色を変更 */
}

a.blogcard-wrap:hover{
	background-color: transparent!important;
	opacity: 0.8;
}

a.blogcard-wrap:hover img.blogcard-thumb-image{
	transform: scale(1.1);
	transition: .3s;
}

.blogcard-thumbnail {
	line-height: 0;
	margin-right: 1rem;
	overflow: hidden;
}

.blogcard-title{
	margin-bottom: .5rem;
}

.blogcard-snipet{
	font-size: 70%;
	line-height: 1.7;
	padding-right: 10%;
}

@media screen and (max-width: 480px){
	.blogcard-thumbnail{
		width: 40%;
	}
	.blogcard-snipet{
		display: none;
	}
}

.internal-blogcard-footer{
	display: none; /* 内部ブログカードのアイコンとURLを非表示 */
}

.blogcard::before{
	content: 'あわせて読みたい'; /* タイトルの文言 */
	position: absolute;
	top: -.8rem;
	left: auto;
	font-size: 50%;
	background-color: #9933ff; /* タイトルの背景色 */
	padding: .6em 1em;
	font-weight: bold;
	color: #fff;  /* タイトルの文字色 */
	border-radius: 2px;
}

.internal-blogcard::after{
	content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #660099; /* 内部リンク右下枠の背景色 */
	padding: .4em 3em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}

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

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

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

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