/*
Template: jin
Theme Name: jin-child
Author: CrossPiece
Version: 1.00
*/
/* 余白を小さくする */
.cps-post-main p {
  padding-bottom: 1rem;
}

.cps-post-main blockquote {
  padding-bottom: 1rem;
}

.estimated-reading-time {
  text-align: right;
}

/* 共有の点を消す */
.cps-post-main .sd-content ul>li:before {
	  background: none !important;
}

/* アイキャッチ画像の大きさを揃える */
.pickup-image,
.new-entry-item .eyecatch,
.post-list-thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.pickup-image:before,
.new-entry-item .eyecatch:before,
.post-list-thumb:before {
    content:"";
    display: block;
    padding-top: 56.25%; /* 16:9 */
}
.pickup-image img,
.new-entry-item .eyecatch img,
.post-list-thumb img {
    position: absolute;
    top: 50%;
    left: 50%;
   -webkit-transform: translate(-50%, -50%) !important;
   transform: translate(-50%, -50%) !important;
}

/*----------------------------------------------------------------------
  はてなブログ移行
----------------------------------------------------------------------*/
/* 強調表示を蛍光ペン風に */
article strong{
    margin:0 0.1em;
    padding:0.1em 0.2em;
    background:#fcfc60 !important;
    background:linear-gradient(to bottom, transparent 60%, rgba(255,153,255,1.8) 60%) !important;
}

/* アンダーライン表示を黄色蛍光ペン風に */
article u{ /*アンダーラインを編集*/
    font-weight:bold; /*太字にする*/
    text-decoration: none; /*下線などは引かない*/
    margin:0 0.1em;
     /*枠外の余白は、上下なし、左右はフォントサイズの0.1倍*/
    padding:0.1em 0.2em;
     /*コンテンツと枠内の余白は、上方向なし、右左はフォントサイズの0.1倍、下はフォントサイズの0.2倍*/
    background:#fcfc60 !important; /*背景色は黄色*/
    background:linear-gradient(to bottom, transparent 60%, rgba(252,252,84,0.8) 60%) !important;
    /*上から下に、透明60%から黄色に対してグラデーション*/
}

.follow-btn{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
.follow-btn a {
    display: inline-block;
    height: 45px;
    line-height: 22px;
    width: 25%;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
}
.follow-btn .hatena {
    color: #3D3F44;
    border: 2px solid #3D3F44;
    background: #ffffff; 
}
.follow-btn .twitter {
    color: #00ACEE !important;
    border: 2px solid #00ACEE !important;
    background: #ffffff; 
}
.follow-btn .feedly { 
    color: #70CA3B;
    border: 2px solid #70CA3B;
    background: #ffffff;
}
.follow-btn .hatena:hover {
    color: #ffffff;
    background: #3D3F44;
    transition: all .3s;
}
.follow-btn .twitter:hover {
    color: #ffffff !important;
    background: #00ACEE !important;
    transition: all .3s;
}
.follow-btn .feedly:hover {
    color: #ffffff;
    background: #70CA3B;
    transition: all .3s;
}
.text-small{
    font-size: 8px;
}

/* 文字の大きさを微調整 */
.entry-content {
  font-size:16px;
}

.hl-custom h2{
  position: relative;
  padding: 0.2em 0.5em;
  background: -moz-linear-gradient(to right, rgb(255, 124, 111), #ffc994);
  background: -webkit-linear-gradient(to right, rgb(255, 124, 111), #ffc994);
  background: linear-gradient(to right, rgb(255, 124, 111), #ffc994);
  color: white;
  font-weight: lighter;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.56);
}
.hl-custom h3{
  position: relative;
  color: #fff;
  padding: 8px 12px;
  background-color: #129b98;
  border-radius: 6px;
}
.hl-custom h3::before {
  position: absolute;
  top: 100%;
  left: 32px;
  width: 0;
  height: 0;
  border-width: 10px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #129b98;
  content: '';
}

.hl-custom h4{
  color: #6594e0;/*文字色*/
  border-bottom: dashed 2px #6594e0;
}

/* 目次 ステッチ風 */
.entry-content #toc_container {
    position: relative;
    color:#555;/* 文字色 */
    background: #F2FBF7 !important;/* 背景色 */
    border: 2px dashed  #7fdbb6;/* ステッチ風ボーダー */
    box-shadow: 0 0 0 10px #F2FBF7, 4px 5px 6px 5px rgba(0,0,0,0.5);
    padding: 10px 25px;
    width: 97%!important;
    margin: 2em auto;
    box-sizing: border-box;
    border-radius: 8px;
}

#toc_container .toc_list {
  padding: 0;
  padding-bottom: 20px;
}

.entry-content #toc_container::before {
    display: block;
    font-family: 'Font Awesome 5 Free';
    content: '\f0fe';
    font-weight: 900;
    font-size: 130%;
    padding-left: 3px;
    position: absolute;
    top: 35px;
    left: 10px;
    color: #7fdbb6 !important;/* アクセントカラー */
    border: none;
    opacity: 1;
}

#toc_container .toc_title {
  margin-top: 20px;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  padding-left: 12px;
}