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

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

.logo-text {
	padding: 20px 0px 0px;
}

.entry-title {
	margin: 16px 0 32px;
}

.tagline {
  margin-bottom: 1.5em;  /* 好みに応じて 1em〜3em くらいで調整 */
}


span.line {
    background: linear-gradient(transparent 70%, #007fff 100%);
}

.ff-kosugi-maru,
.wf-active .ff-kosugi-maru {
	font-family: Arial, "Kosugi Maru" ,sans-serif;
}

.index-tab-button[for=index-tab-1], .tab-cont.tb1 {
	display: none;
}

.read-time {
	line-height: 3em;
	margin-bottom: 3em;
}

.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: 25px;
    border-left: 2px #eaedf2 dashed;
}

#main .author-box .author-name {
    line-height: 1;
}

#main .author-box p {
    font-size: .95em;
}

/************************************
SNS ボタンをまとめて小さくする
************************************/

/*トップシェアボタンの枠組み*/
.sns-share.ss-top .sns-share-buttons {
	/*justify-content: flex-start; 左寄せ*/
}

/*ボトムシェア・フォローボタンの枠組み*/
.sns-share.ss-bottom .sns-share-buttons,
.sns-follow.sf-bottom .sns-follow-buttons,
.sns-follow.sf-widget .sns-follow-buttons {
	/*justify-content: flex-start; 左寄せ*/
	flex-wrap: wrap; /*折り返す*/
}

/*シェア・フォローボタンの形*/
.sns-share.ss-top .sns-buttons a,
.sns-share.ss-bottom .sns-buttons a,
.sns-follow.sf-bottom .sns-buttons a,
.sns-follow.sf-widget .sns-buttons a {
	width: 60px; /*横幅*/
	height: 60px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	/*border-radius: 50%; 丸み*/
	border: none;/*ボタンの枠線*/
}

/*シェアボタンのアイコン*/
.sns-share.ss-top .sns-buttons a .social-icon,
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 25px; /*アイコンのサイズ*/
}

/*フォローボタンのアイコン*/
.sns-follow.sf-bottom .sns-follow-buttons .follow-button,
.sns-follow.sf-widget .sns-follow-buttons .follow-button {
	font-size: 25px; /*アイコンのサイズ*/
}

/*シェアボタンのキャプション*/
.sns-share.ss-top .sns-buttons a .button-caption,
.sns-share.ss-bottom .sns-buttons a .button-caption {
	display: none; /*非表示*/
}

/*シェア・フォローボタンのシェア数*/
.sns-share.ss-top .sns-buttons a .share-count,
.sns-share.ss-bottom .sns-buttons a .share-count,
.sns-follow.sf-bottom .sns-buttons a .follow-count,
.sns-follow.sf-widget .sns-buttons a .follow-count {
	right: 1px; /*右側からの距離*/
	bottom: 0; /*下側からの距離*/
	font-size: 10px; /*文字の大きさ*/
}

/*シェアメッセージ*/
.sns-share-message {
	/*text-align: left;*/
}

.entry-categories-tags {
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center;    /* 垂直方向の中央寄せ */
}

.related-entry-heading {
	text-align: center;
}

/************************************
**　目次
************************************/

.toc {
    border: 1px solid #666; /*全体の枠線の色*/
    font-size: 0.9em;
   /* line-height: 1.5;*/
    padding: 0;
    margin-bottom: 1em;
    display: block; /*横幅いっぱいに広げる*/
}

.toc-title {
    background: #666; /*目次タイトルの背景色*/
    color: #fff; /*目次タイトルの文字色*/
    font-size: 1.1em;
    text-align: center;
    padding: 6px 16px;
	/*font-weight:bold;*/
}

.toc-title::before {
	font-family: "Font Awesome 5 Free";
	content: "\f138"; /*目次タイトルのアイコン*/
    margin-right: 0.5em;
}
.toc-list > li a {
	font-weight: bold;
	display:block;
	margin-top:10px;
	margin-left: 10px;
}

.toc-list > li a::before {
	font-family: "Font Awesome 5 Free";
	content : "\f138";
	margin-right: 7px;
}

.toc-list > li li a {
	font-weight: normal;
	font-size: 95%;
	margin-top:0;
	margin-left: 2em;
}

.toc-list > li li a::before {
	content: "";
	width: 7px;
	height: 7px;
	left: -2px;
	display: inline-block;
	border-radius: 50%;
	background: #666;/*こちらで緑点の色を変更できます*/
	position: relative;
	margin-bottom: 2px;
}

.toc-content {
    padding: 8px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1024px以上*/
/*　タブレット横、パソコン用　*/

#header .site-name-text {
	font-size: 26px;
	font-weight: bold;
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*　タブレット縦用　*/
	#header .site-name-text {
	font-size: 26px;
	font-weight: bold;
}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*　スマホ横用　*/
	#header .site-name-text {
	font-size: 22px;
	font-weight: bold;
}
}

/*480px以下*/
@media screen and (max-width: 480px){ 
/*　スマホ縦用　*/
	
#header .site-name-text {
	font-size: 22px;
	font-weight: bold;
}

.entry-title {
	text-align: center;
	margin-bottom:12%;

}
	
.entry-title span{
	display: block;
}
.entry-title, .archive-title{
	font-size: 17px;
	margin: 16px 0 32px;
	}
	
.e-card-title span{
	display: block;
}

.article h2 {
	font-size: 17px;
}

.article h3 {
	font-size: 17px;
}

.read-time {
	font-size:1em;
	margin:10% 3%;
	padding:10px;
}
	
/*@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 {
    line-height: 2em;
}
	
#main .author-content {
    margin: 10px 0 0 0;
    padding-left: 0;
    border: none;
}
	
#main .author-box p {
    /*font-size: 14px;*/
    text-align: left;
	line-height:2em;
}
	
#main .author-box .sns-follow-buttons {
    justify-content: center;
}
	
.related-entry-heading, h2 {
	font-size:17px;
	}

}