/*
 Theme Name:   coldbox-child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Twenty Fifteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     coldbox
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/

/*--------------------- common ---------------------*/

/* 記事の見出しに装飾 */
.main-single h2 {
	border-left: 6px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding-left: 1.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* 記事冒頭のアイキャッチに余白 */
.main-single .entry-inner .post_thumbnail  {
	margin-bottom: 3rem;
}

.back-to-top {
	background-color: #ff0000;
}

/* テキストの装飾 */

.decoration-txt-marker-yellow strong {
  display: inline;
  background: linear-gradient(transparent 50%, #ff9 60%);
}


/* table */

.wp-block-table thead {
  border-bottom: 1px solid;
}

.entry table td, .entry table th {
  border: 1px solid #ddd;
}

/*--------------------- 会話の吹き出し（class１つで成り立つ） ---------------------*/

.commment_block {
  position: relative;
  width: inherit;
  background-color: #ccc;
  margin: 5px 0 0 70px;
  padding: 20px;
  border-radius: 12px;
  background-color: #d7ebfe;
}

.commment_block::after {
  content:"";
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: -70px;
  background-image: url(/wp-content/uploads/tw_icon_01.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-radius: 50%;
  z-index:7;
}

.commment_block::before {
  content:"";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: -23px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}






/*------------------ 外部リンクをカード形式で表示させる時のスタイル ------------------*/

.blogcard {
  margin: 40px 0;
  line-height: 1;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  word-wrap: break-word;
  word-break: break-all;
  box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.025);
  color: black;
}
.blogcard.ex {
  background-color: #f7f7f7;
  display: flex;
}
.blogcard a {
  text-decoration: none;
  opacity: 1;
  transition: all 0.2s ease;
  color: black;
}
.blogcard a:hover {
  opacity: 0.6;
  color: #0066ca;
}
.blogcard_thumbnail {
  float: left;
  padding: 20px 10px;
  width: 100%;
}
.blogcard_thumbnail img {
  margin-bottom: 0px !important;
}
.blogcard_title {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.4;
  padding: 20px 20px 10px;
}
.blogcard_excerpt {
  font-size: 0.85em;
  line-height: 1.6;
  padding: 0 17px 15px 20px;
}
.blogcard_link {
  font-size: 0.65em;
  padding: 0 17px 15px 20px;
  text-align: left;
}

.blogcard_link .icon-external-link-alt::before {
  font-size: 0.75em;
}

@media screen and (max-width: 768px) {
  .blogcard {
  /*  margin: 40px 0; */
  }
  .blogcard_title {
    font-size: 0.95em;
    padding-bottom: 17px;
  }
  .blogcard_excerpt {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .blogcard_thumbnail {
    overflow: hidden;
    width: 200px; 
    height: 200px;
    position: relative;
    margin-right: 10px;
    background-color: #2b2b2b;
  }
  .blogcard_thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
  }
}
