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

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

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

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

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



/************************************
** プロフィールボックス
************************************/
.nwa .author-box {
  text-align: center;
  max-width: 100%;
}
.sidebar .author-box {
  background-color: #f2f2f2;
  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;
  background: url(https://ebookbrain.net/wp-content/uploads/featured-Images/world001.jpg) center no-repeat;
 background-color: #fff;
  background-size: cover;
  height: 0;
  padding-top: calc(100%*392/700);
  position: relative;
}
.sidebar .author-thumb img {
  border: 3px solid #f2f2f2;
  background-color: #f1f1f1;
  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; }
.author-box .note-button { background-color: #41C9B4 !important; }



/************************************
** 見出し
************************************/

.article h2 {
  padding: 0 15px;
  font-size: 20px;
  font-size: clamp(20px, 1rem + 5vw, 32px);
  font-weight: 800;
}

.article h2:not(:first-of-type) {
  padding: 30px;
  margin: 0 -30px;
  border-top: 50px solid #e5e5e5;
}

.article h3 {
  padding: 0 15px;
  border: none;
  border-bottom: 4px dotted #dedede;
}



/************************************
** 記事内シェアボタン
************************************/

#main .sns-share-buttons {
  justify-content: center;
}

#main .sns-share a {
  width: 78px;
  height: 78px;
  border-radius: 30%;
  margin: 0 10px;
  padding: 10px;
}

#main .sns-share a {
  width: 78px;
  height: 78px;
  border-radius: 30%;
  margin: 0 10px;
}

#main .share-count {
  right: 8px;
  bottom: 8px;
}



/************************************
** 目次
************************************/
.toc-list {
  list-style-type: none;
  counter-reset: item;
}

.toc-list > li {
  counter-increment: item;
}

.toc-list > li > a::before {
  content: counter(item);
  background-color: #000;
  color: #fff;
  width: 24px;
  height: 24px;
  display: inline-block;
  text-align: center;
  line-height: 150%;
  border-radius: 50%;
  margin-right: 0.5em;
}

.toc-list > li > ol {
  list-style-type: none;
}

.toc-list > li > ol > li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
  margin-right: 0.5em;
}



/************************************
** 装飾マーカー
************************************/

/* デフォルトマーカー変更　 */
.marker {
	background: linear-gradient(rgba(255, 255, 255, 0) 0%, #f0e68c 20%, #f0e68c 100%);
	font-weight: 700;
}

.yellow-marker {
	background: linear-gradient(rgba(255, 255, 255, 0) 0%, #f0e68c 20%, #f0e68c 100%);
}

.pink-marker {
	background: linear-gradient(rgba(255, 255, 255, 0) 0%, #e08d93 20%, #e08d93 100%);
}

.bule-marker {
	background: linear-gradient(rgba(255, 255, 255, 0) 0%, #bbddd6 20%, #bbddd6 100%);
}



/************************************
** 装飾ラベル
************************************/

/* WP Responsive Menuの高さ100%が指定されてしまうため、paddingに!importantをつけています */
.bule-label {
    padding: 3px !important;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background-color: #8fb0a9;
    border-radius: 3px;
}
  
.pink-label {
    padding: 3px !important;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    word-break: break-all;
    background-color: #ca525c;
    border-radius: 3px;
}

.orange-label {
    padding: 3px !important;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    word-break: break-all;
    background-color: #d07b3a;
    border-radius: 3px;
}

.green-label {
    padding: 3px !important;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    word-break: break-all;
    background-color: #aab828;
    border-radius: 3px;
}

.violet-label {
    padding: 3px !important;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    word-break: break-all;
    background-color: #a987aa;
    border-radius: 3px;
}



/**************************************************
** テーブル
**************************************************/

table {
    font-size: 14px;
}

body .content table th,
body .content table td{
  border: 1px solid #111;
}



/************************************
** アプリーチ
************************************/
.appreach {
    text-align: left;
    padding: 10px;
    border: 1px solid #7C7C7C;
    overflow: hidden;
}
.appreach:after {
    content: "";
    display: block;
    clear: both;
}
.appreach p {
    margin: 0;
}
.appreach a:after {
    display: none;
}
.appreach__icon {
    float: left;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 3% 0 0 !important;
    width: 25% !important;
    height: auto !important;
    max-width: 120px !important;
}
.appreach__detail {
    display: inline-block;
    font-size: 20px;
    line-height: 1.5;
    max-width: 72%;
}
.appreach__detail:after {
    content: "";
    display: block;
    clear: both;
}
.appreach__name {
    font-size: 16px;
    line-height: 1.5em !important;
    max-height: 3em;
    overflow: hidden;
}
.appreach__info {
    font-size: 12px !important;
}
.appreach__developper, .appreach__price {
    margin-right: 0.5em;
}
.appreach__posted a {
    margin-left: 0.5em;
}
.appreach-links {
    float: left;
    height: 40px;
    margin-top: 8px;
    white-space: nowrap;
}
.appreach__aslink img {
    margin-right: 10px;
    height: 40px;
    width: 135px;
}
.appreach__gplink img {
    height: 40px;
    width: 134.5px;
}



/************************************
** 広告の中央合わせ
************************************/

.ad-center {
	text-align: center;
}



/************************************
** PRのカスタマイズ(折り込みラベル風)
************************************/
.pr-label-s {
  display: inline-block;
  position: absolute;
  top: -6px;
  left: 27px;
  margin: 0;
  padding: 6px 10px 5px;
  width: auto;
  text-align: center;
  color: #fff;
  font-size: 12px;
  background-color: #434343;
  border-radius: 3px 0 0 0;
  border: none;
  white-space: nowrap;
}
.pr-label-s:before {
  position: absolute;
  content: '';
  top: 0;
  right: -6px;
  border: none;
  border-bottom: solid 6px #111;
  border-right: solid 6px transparent;
}



/************************************
** カテゴリページの表示
************************************/

/*サムネイル画像のサイズを変更（変更前320px）*/
figure.entry-card-thumb.card-thumb.e-card-thumb {
    width: 120px;
  }
  
  .cat-label {
    display: none;
  }
  
  .entry-card-content {
    margin-left: 0;
  }
  
  .ect-entry-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 1%;
  }
  
  .entry-card-wrap {
    width: 49.5%;
    display: inline-block;
  }



/************************************
** タグ風ボックス(アイボリーペーパー)
************************************/

.npaper-iconbox,
.npaper-holebox {
  position: relative;
  padding: 20px 20px 20px 86px;
  margin: 1em 0;
  background-color: #eee9d3;
  border-left: 8px solid #e0e0e0;
}

.npaper-iconbox::before,
.npaper-holebox::before {
  position: absolute;
  top: 50%;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Font Awesome 5 Free', sans-serif;
  content: '';
  transform: translateY(-50%);
}

.npaper-hole-iconbox ul {
  list-style: none;
}

.npaper-hole-iconbox li::before {
  position: absolute;
  left: 100px;
  width: 20px;
  height: 20px;
  font-family: 'Font Awesome 5 Free', sans-serif;
  content: '';
  background-color: #f2f2f2;
  border-radius: 50%;
  box-shadow:
    inset 3px 3px 4px #bebebe,
    inset -3px -3px 4px #fff;
}

.npaper-iconbox::before {
  font-size: 42px;
}

.npaper-note-iconbox {
  border-left: 8px solid #000;
}

.npaper-note-iconbox::before {
  width: 42px;
  height: 42px;
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #f2f2f2;
  content: '\f304';
  background-color: #413833;
  border-radius: 50%;
}

.npaper-idea-iconbox {
  border-image: linear-gradient(to bottom, #aab828, #cfbc3f);
  border-image-slice: 1;
}

.npaper-idea-iconbox::before {
  width: 42px;
  height: 42px;
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #f2f2f2;
  content: '\f0eb';
  background: linear-gradient(to bottom, #aab828, #cfbc3f);
  border-radius: 50%;
}

.npaper-question-iconbox {
  border-image: linear-gradient(to bottom, #a987aa, #30b4f5);
  border-image-slice: 1;
}

.npaper-question-iconbox::before {
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #413833;
  content: '\f059';
  background: linear-gradient(to bottom, #a987aa, #30b4f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.npaper-caution-iconbox {
  border-image: linear-gradient(to bottom, #ca525c, #ffa17f);
  border-image-slice: 1;
}

.npaper-caution-iconbox::before {
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #413833;
  content: '\f06a';
  background: linear-gradient(to bottom, #ca525c, #ffa17f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.npaper-good-iconbox {
  border-image: linear-gradient(to bottom, #4bc0c8, #8fb0a9);
  border-image-slice: 1;
}

.npaper-good-iconbox::before {
  width: 42px;
  height: 42px;
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #f2f2f2;
  content: '\f164';
  background: linear-gradient(to bottom, #4bc0c8, #8fb0a9);
  border-radius: 50%;
}

.npaper-bad-iconbox {
  border-image: linear-gradient(to bottom, #fd50ac, #ed719d);
  border-image-slice: 1;
}

.npaper-bad-iconbox::before {
  width: 42px;
  height: 42px;
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #f2f2f2;
  content: '\f165';
  background: linear-gradient(to bottom, #fd50ac, #ed719d);
  border-radius: 50%;
}

.npaper-change-iconbox {
  border-image: linear-gradient(to bottom, #fbb034, #a33725);
  border-image-slice: 1;
}

.npaper-change-iconbox::before {
  width: 42px;
  height: 42px;
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #f2f2f2;
  content: attr(data-icon);
  background-image: linear-gradient(to bottom, #fbb034, #a40606);
  background-image: linear-gradient(to bottom, #fbb034, #a33725);
  border-radius: 50%;
}

.npaper-holebox {
  border-image: linear-gradient(to bottom, #ca525c, #ffa17f);
  border-image-slice: 1;
}

.npaper-holebox::before {
  z-index: 2;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow:
    inset 8px 8px 12px rgba(174, 174, 192, 0.4),
    inset -8px -8px 12px #fff;
}

.npaper-holebox::after {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-family: 'Font Awesome 5 Free', sans-serif;
  content: '';
  background: linear-gradient(to bottom, #ca525c, #ffa17f);
  border-radius: 50%;
  transform: translateY(-50%);
}