@charset "UTF-8";

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

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

/* 記事リスト周り */
.entry-card-title, .related-entry-card-title {
  font-size: 24px;
  margin: 0;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: bold;
}
.entry-card-snippet, .related-entry-card-snippet {
  font-size: 0.8em;
  max-height: 7.8em;
  line-height: 2;
  overflow: hidden;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*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){
  /*必要ならばここにコードを書く*/
/* 記事リスト周り */
.entry-card-title, .related-entry-card-title {
  font-size: 20px;
  margin: 0;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: bold;
}
}

/* アイキャッチ画像にカテゴリがのっかるのを無効 */
.cat-label {
display: none;
}

/*-- 人気記事デザイン --*/
.widget-entry-card {
    font-size: 14px;
}

.comment-notes,.comment-form-email,.comment-form-url,
.form-allowed-tags { display: none; }

/**********************************
タグクラウドウィジェット
*********************************/
/*タグアイコンを非表示*/
.tagcloud a .tag-caption::before {
display: none;
}

/* タグクラウド　デザイン変更 */
.tagcloud a {
border-radius: 5px; /* 角の丸み */
font-size: 13px; /* 初期サイズ（12px） */
}

/* タグクラウド　ホバー時 */
.tagcloud a:hover {
border: 1px solid #F96E5B;
transition: 0.3s; /* 浮く速さ */
background: #F96E5B; /* 背景色 */
color: #fff; /* 文字色 */
}

/* モバイルのグローバルナビ(メニュー)の設定 */
#navi-menu-content{
  background-color: rgba(255,255,255,0.90) !important;
}
#navi-menu-content ul li {
  margin-right:2px;
  margin-right:5px;
  border: 1px solid #000;
  border-radius: 0px;
}
#navi-menu-content a { 
 color:#000;
}
#navi-menu-content ul li a{ 
 color:#000;
}

/* ナビメニュー 文字*/
#navi {
font-weight: bold; /* 太文字 */
}

/*------------------------------
  プロフィールカスタマイズ
-------------------------------*/
.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: 1.4% 2% 1.8%;
}
.nwa .author-box .author-thumb {
  float: none;
  width: 100%;
  margin: 9px auto 0;
    /* プロフィール背景画像変えたい場合はメディアのURL入れる -------------*/
  background: url(https://tiida-renovation.com/wp-content/uploads/2017/12/台湾_20150801_034-2.jpg) center no-repeat;
  background-size: cover;
  height: 0;
  padding-top: calc(100%*392/700);
  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;
  }
}




/* SANGO風に目次カスタマイズ */

/* 目次全体デザイン */
.toc{
	background:#F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
	border:none;
	display:block;
	border-top:5px solid;
	border-top-color:#F96E5B;
	box-shadow: 0 2px 2px rgba(0,0,0,0.2);
	padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
	text-align:left;
	margin: 0 20px 20px -10px;
	padding-left: -20px;
	font-size: 23px;
        font-weight: 700;
	color: #F96E5B; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
	top: 0;
        left: -45px;
        width: 50px;
        height: 50px;
	font-family: FontAwesome;
	content : "\f0ca"; /* アイコンを変える場合はここを変更 */
	font-size:20px;
	margin-right:5px;
	color:#FFF; /* アイコンの色を変える場合はここを変更 */
	background-color:#F96E5B; /* アイコンの背景色を変える場合はここを変更 */
	border-radius: 50%;
	-webkit-border-radius: 50%;
 	-moz-border-radius: 50%;
	padding:14px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
  	padding: 0 0.5em;
  	position: relative;
}
.toc-content ol li {
  	line-height: 1.5;
  	padding: 0.7em 0 0.5em 1.4em;
  	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: #F96E5B; /* 色を変える場合はここを変更 */
}
.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以降の文字サイズを普通に */
}

/* アイコンボックスをSWELL風にする */

/* アイコン */
.information-box::before, .information::before {
    border-right: 2px solid #bde4fc;
}
.question-box::before, .question::before {
    border-right: 2px solid #ffe766;
}
.alert-box::before, .alert::before {
    border-right: 2px solid #f6b9b9;
}
.memo-box::before {
    border-right: 2px solid #8dd7c1;
}
.information-box::before, .question-box::before, .alert-box::before, .information::before, 
.question::before, .alert::before, .memo-box::before, .comment-box::before, .common-icon-box::before {
    font-size: 30px;
}


/* 本文の幅調整 */

.single-post .entry-content {
    padding: 0 16px;
}
.article h2 {
    margin: 4em -20px 2em;
}
.article h3 {
    margin: 3em -16px 2em;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
}
.article h4 {
    border-top: 0;
}



/* SANGO風にボックスカスタマイズ */
/* 
 * 全ボックス共通CSS 
 * 1つでもコピーすれば他のボックスではコピーする必要なし。
 */
.title-box {
    font-size: 20px;
}
.box-inside {
    font-size: 16px;
}
@media screen and (max-width: 480px){
    .title-box {
	font-size: 16px;
    }
    .box-inside {
	font-size: 14px;
    }
}

/*
 * 個別ボックスCSS
 */
.s_memo {
    margin-bottom: 1.5em;
    padding: 1em;
    background: #fff9e5;
    color: #545454;
}
.s_memo_ttl {
    margin-bottom: 5px;
    color: #ffb36b;
    font-weight: bold;
}
.s_memo_ttl:before {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 0 6px 0 0;
    border-radius: 50%;
    color: #fff;
    font-family: FontAwesome;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
}
.s_memo .s_memo_ttl:before {
	background-color: #ffb36b;
	content: "\f040";
}

/* 
 * ボックス1でCSSをコピーしている場合は上記のコードをコピーする必要は無く
 * 以下のコードのみコピーしてください 
 */
.s_memo.s_alert {
    background: #ffebeb;
}
.s_memo.s_alert .s_memo_ttl {
    color: #ff8376;
}
.s_memo.s_alert .s_memo_ttl:before {
    background: #ff8376;
    content: "\f12a";
}



/* 
 * ブログカードカスタマイズ（続きを読む）
 */

.blogcard {
	padding: 1rem;
	color: #666;
	position: relative;
	border-color: #ccc !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: 60%;
	line-height: 1.6;
	padding-right: 10%;
}

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

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

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


/* ギャラリーインスタ風カスタマイズ */
.wp-caption-text.gallery-caption{
	display: none !important;
}

.gallery-item{
	margin: 0 !important;
}

.gallery-icon{
	margin: 1px !important;
	padding: 0 !important;
}
.gallery-icon img{
	border: none !important;
}





    .sb-id-27 .speech-balloon {
      background: #ddebfd; /* 吹き出しメイン部分の背景色 */
      border: 2px dashed #7aa7df; /* 吹き出しメイン部分のボーダー */
      color: #186bb2; /* セリフの文字色 */
    }
    div.sb-id-27 .speech-balloon::before { /* 丸パーツ(大)の指定 */
      border: 2px dashed #7aa7df;
      background: #ddebfd;
    }
    div.sb-id-27 .speech-balloon::after { /* 丸パーツ(小)の指定 */
      border: 2px dashed #7aa7df;
      background: #ddebfd;
    }



/* アイコン SWELL」のように表示させるカスタマイズ */
.information-box::before, .information::before {
    border-right: 2px solid #bde4fc;
}
.question-box::before, .question::before {
    border-right: 2px solid #ffe766;
}
.alert-box::before, .alert::before {
    border-right: 2px solid #f6b9b9;
}
.memo-box::before {
    border-right: 2px solid #8dd7c1;
}
.information-box::before, .question-box::before, .alert-box::before, .information::before, 
.question::before, .alert::before, .memo-box::before, .comment-box::before, .common-icon-box::before {
    font-size: 30px;
}

@media screen and (max-width: 480px){
    .information-box, .common-icon-box {
        padding: 1em 1em 1em 4.25em;
        line-height: 1.6;
    }
    .information-box::before, .question-box::before, .alert-box::before, .information::before, 
    .question::before, .alert::before, .memo-box::before, .comment-box::before, .common-icon-box::before {
        font-family: "FontAwesome";
        position: absolute;
        line-height: 1em;
        top: 50%;
        left: 1em;
        padding-right: .45em;
        display: inline-block;
        font-size: 30px;
    }
}


/* 改ページカスタマイズ */

    .page-numbers { /*通常時*/
      color: #000;
      border: 1px solid #000;
    }
    .pagination .current { /*現在のページ*/
      background-color: #000;
      color: #fff;
    }
    .page-numbers.dots { /*ドット「…」の部分*/
      opacity: 1;
      background: none;
    }
    .pagination a:hover { /*マウスホバー時*/
      background-color: #000;
      color: #fff;
    }

/* リンクターゲットにblank指定がされていなかったらアイコンを表示しない */
a:not([target="blank"]):after {
	display: none;
}


/* 拡張スタイル「タブボックス」のラベルを日本語化 */
.bb-check .bb-label::after{
  content: "チェック";
}
.bb-comment .bb-label::after{
  content: "コメント";
}
.bb-point .bb-label::after{
  content: "ポイント";
}
.bb-hint .bb-label::after{
  content: "ヒント";
}
.bb-pickup .bb-label::after{
  content: "ピックアップ";
}
.bb-bookmark .bb-label::after{
  content: "ブックマーク";
}
.bb-memo .bb-label::after{
  content: "メモ";
}

/* ボックスメニュー */
.textwidget > pre {
    background-color: #fff;
    border: 0px solid #ccc;
    overflow: auto;
    padding: 1px;
    margin: 0;
}
.box-menus {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0;
}
.box-menu {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  width: 100%;
  text-align: center;
  min-height: 100px;
  cursor: pointer;
  background: #fff;
  width: calc(100%/4);
  color: #777;
  transition: none;
}

/*------------------------------------
  　　　　SNSシェアボタン
--------------------------------------*/
.button-caption { display: none; }
.sns-share-buttons a {
 font-size: 14px; /*ロゴサイズ*/ 
 border-radius: 3px; /*角の丸み*/
 height: 25px; /*ボタンの高さ*/
}
