@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.header {
	line-height: 1;
}
.content {
	margin-top: 0;
}
/* 見出し */
.article h2 {
	padding: 12px 20px;
	color: #333;
	border-bottom: 1px solid #333;
	font-weight: bold;
	background: none;
}
.article h3 {
	padding: 6px 20px;
	color: #333;
	font-weight: normal;
	border: none;
	border-left: 6px solid #606060;
}
.article h4 {
	padding: 12px 20px;
	color: #333;
	font-weight: normal;
	border: none;
	background-color: #FFF;
	box-shadow: 0 0 4px rgba(0,0,0,0.23);
}
.sidebar h3 {
	padding: 6px 12px;
	color: #333;
	font-size: 18px;
	border-bottom: 3px solid #444d53;
	background: none;
}
/* タグクラウド */
.tagcloud a {
	border-color: #CCC;
}
/* 目次カスタマイズ */
/* 目次全体デザイン */
.toc{
	background: #F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
	border: none;
	display: block;
	border-top: 5px solid;
	border-top-color: #c82c55;
	box-shadow: 0 2px 2px rgba(0,0,0,0.2);
	padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
	text-align: left;
	margin: 0 20px 15px -10px;
	font-size: 18px;
	font-weight: 700;
	color: #c82c55; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title::before {
	top: 0;
        left: -45px;
        width: 20px;
        height: 20px;
	font-family: FontAwesome;
	content : "\f0ca"; /* アイコンを変える場合はここを変更 */
	font-size: 14px;
	margin-right: 5px;
	color: #FFF; /* アイコンの色を変える場合はここを変更 */
	background-color: #c82c55; /* アイコンの背景色を変える場合はここを変更 */
	border-radius: 50%;
	-webkit-border-radius: 50%;
 	-moz-border-radius: 50%;
	padding: 10px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
  	padding: 0 0.5em;
  	position: relative;
}
.toc-content ol li {
  	line-height: 1.5;
  	padding: 0.7em 0 0.5em 10px;
  	border-bottom: dashed 1px silver;
  	list-style-type: none!important;
}

/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
  	font-family: FontAwesome;
  	content: "\f138"; /* アイコンを変える場合はここを変更 */
  	position: absolute;
  	left : 0.5em;
  	color: #c82c55; /* 色を変える場合はここを変更 */
}
.toc-content ol li:last-of-type {
	border-bottom: none;
}
.toc-content .toc-list li {
	font-weight: 700; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
	font-weight: normal; /* h3以降の文字サイズを普通に */
}

/* プロフィール */
.nwa .author-box {
    text-align: center;
    max-width: 100%;
}
.sidebar .author-box {
    border: none;
    border-radius: 4px;
    margin: 1em 0;
    line-height: 1.4;
    position: relative;
    padding: 0;
}
.nwa .author-box .author-thumb {
    float: none;
    width: 100%;
    margin: 9px auto 0;
    background: url("https://laugh.rinazo.com/wpdir/wp-content/uploads/2020/01/392357-PCDK7Y-312.jpg") center no-repeat;
    background-size: cover;
    height: 0;
    padding-top: calc(100%*533/800);
    position: relative;
}

.sidebar .author-thumb img {
    border: 3px solid #fff;
    width: 30%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25%;
}
.nwa .author-box .author-content {
    margin-top: 16%;
    font-size: 0.9em;
}
.author-name {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}
.author-box .author-name a {
    text-decoration: none;
    color: #333;
}
.author-box p {
    margin-top: 0.3em;
    line-height: 1.6;
}
.author-box p a {
    text-decoration: none;
    color: #008cee;
}
.author-box p a:hover {
    text-decoration: underline;
    color: #008cee;
}
.author-box .sns-follow-buttons a.follow-button {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    margin-bottom: 4px;
    margin-right: 8px;
    background: none;
    color: #fff;
}
.author-box a.follow-button span {
    line-height: 40px;
}
.author-box a.follow-button span::before {
    font-size: 22px;
}
.author-box .icon-twitter-logo::before {
    font-family: FontAwesome;
    content: "\f099"
}
.author-box .icon-facebook-logo::before {
    font-family: FontAwesome;
    content: "\f09a";
}
.author-box .icon-instagram-new::before {
    font-family: FontAwesome;
    content: "\f16d";
}
.author-box .icon-hatebu-logo::before {
    font-family: Verdana;
    content: 'B!';
    font-weight: bold;
}
.author-box .icon-google-plus-logo::before {
    font-family: FontAwesome;
    content: "\f0d5";
}
.author-box .icon-youtube-logo::before {
    font-family: FontAwesome;
    content: "\f167";
}
.author-box .icon-pinterest-logo::before {
    font-family: FontAwesome;
    content: "\f231";
}
.author-box .icon-amazon-logo::before {
    font-family: FontAwesome;
    content: "\f270";
}
.author-box .icon-github-logo::before {
    font-family: FontAwesome;
    content: "\f09b";
}
.author-box .website-button { background-color: #47555c !important; }
.author-box .twitter-button { background-color: #1da1f2 !important; }
.author-box .facebook-button { background-color: #3b5998 !important; }
.author-box .hatebu-button { background-color: #2c6ebd !important; }
.author-box .google-plus-button { background-color: #dd4b39 !important; }
.author-box .instagram-button { background: #e1306c !important; }
.author-box .youtube-button { background-color: #ef1515 !important; }
.author-box .flickr-button { background-color: #0063dc !important; }
.author-box .pinterest-button { background-color: #bd081c !important; }
.author-box .line-button { background-color: #00c300 !important; }
.author-box .amazon-button { background-color: #ff9900 !important; }
.author-box .rakuten-room-button { background-color: #c42e7f !important; }
.author-box .github-button { background-color: #333 !important; }
.author-box .feedly-button { background-color: #2bb24c !important; }
.author-box .rss-button { background-color: #f26522 !important; }
.author-box .soundcloud-button { background-color: #ff7700 !important; }
#main .author-box {
    border: none;
    border-radius: 3px;
    margin: 1em 0;
    line-height: 1.4;
    position: relative;
    padding: 1.4% 2% 1.8% 0;
    box-shadow: 0 5px 20px -5px rgba(105,115,131,.35);
}
#main .author-widget-name {
    display: inline-block;
    position: relative;
    margin: 10px 0 0 -170px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #eaedf2;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
}
#main .author-widget-name::before {
    position: absolute;
    content: '';
    z-index: -1;
    bottom: -30px;
    left: 60px;
    border: 15px solid transparent;
    border-top: solid 30px #eaedf2;
    transform: rotate(-40deg);
}
#main .author-thumb {
    float: left;
    margin: 0;
    padding-top: 70px;
    width: 200px;
    text-align: center;
}
#main .author-thumb img {
    border: solid 5px #dfe2e8;
    width: 100px;
}
#main .author-content {
    margin: -30px 0 0 200px;
    padding-left: 30px;
    border-left: 2px #eaedf2 dashed;
}
#main .author-box .author-name {
    line-height: 1;
}
#main .author-box p {
    font-size: .95em;
}
@media screen and (max-width: 480px){
    #main .author-box {
        margin: 1em 10px;
        padding: 16px;
        text-align: center;
    }
    #main .author-widget-name {
        margin: 0;
    }
    #main .author-widget-name::before {
        left: 50px;
    }
    #main .author-thumb {
        float: none;
        margin: 0;
        padding-top: 20px;
        width: 100%;
    }
    #main .author-box .author-name {
        font-size: 14px;
    }
    #main .author-content {
        margin: 10px 0 0 0;
        padding-left: 0;
        border: none;
    }
    #main .author-box p {
        font-size: 14px;
        text-align: left;
    }
    #main .author-box .sns-follow-buttons {
        justify-content: center;
    }
}

/* ウィジェット */
/* カテゴリー */
.widget_categories>ul>li>a:last-child {
	border-bottom: 1px dotted #ccc;
}
.widget_categories ul li a::before {
	font-family: FontAwesome;
	content: "\f0da";
	padding-right: 10px;
}

/* コードエディタ装飾 */
.hljs {padding: 40px 12px 12px;position: relative;}
.hljs::before {color: #fff;content: "";font-family: "Noto Sans JP", sans-serif;font-weight: 700;left: 0;padding: 2px 8px;position: absolute;top: 0;}
.hljs.html::before {content: "HTML";background-color: #e44d26;}
.hljs.css::before {content: "CSS";background-color: #006eb9;}
.hljs.javascript::before {content: "JavaScript";background-color: #e5a228;}
.hljs.php::before {content: "PHP";background-color: #8892bf;}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*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){
  /*必要ならばここにコードを書く*/
	.alignleft {
		float: none;
	}
	img.alignleft {
		display: block;
		margin: 0 auto 1em auto;
		text-align: center;
	}
}
