@charset "UTF-8";

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

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

.entry-content pre {
  line-height: 1;
  font-size: 14px;
}


.no_dots{list-style:none}

#toc {
  border: 1px solid #aaa;
  padding: 10px;
  margin-bottom: 1em;
  width: auto;
  display: table;
  font-size: 95%;
  line-height: 1.6;
}

.toc label.toc-title {
  color: #39585b;
  font-weight: 700;
  font-size: 1em;
  margin: 0;
  padding: 0;
}

.toc label.toc-title::after {
  font-weight: 400;
  font-size: 90%;
}

.toc .toc-content li, .toc .toc-content a, .toc label.toc-title::after {
  color: #3687D8;
}

.toc .toc-content a:hover, .toc label:hover.toc-title::after {
  color: #e53900;
}

.toc .toc-content ol {
  margin: 0;
  padding: 0;
}

.toc .toc-content ol ol {
  margin-left: 1em;
}

.toc.tnt-number-detail ol li:before {
  margin-right: 0.4em;
  counter-increment: toc;
  content: counters(toc,".");
}
/* toc end */

.author-box {
  border-radius: 4px;
}

.pager-post-navi a.next-post {
  margin-left: auto;
}

.eye-catch img {
    max-height: 451px;
    object-fit: cover;
    font-family: 'object-fit: cover;'
}

.sns-share-buttons {
  flex-wrap: wrap;
  align-content: center;
}

.sns-follow-buttons {
  display: flex;
  align-items: center;
}

.sns-share-buttons {
  justify-content: space-around !important;
}

.sns-share-buttons a {
  width: 32%;
  margin-bottom: 8px;
  margin-right: 0;
  font-size: 18px;
  display: inline-flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  position: relative;
}

.article-footer .sns-share-message, .article-footer .sns-follow-message, .entry-footer .sns-share-message, .entry-footer .sns-follow-message {
  margin-right: 20px;
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.article-footer .sns-share-message:before, .article-footer .sns-follow-message:before, .entry-footer .sns-share-message:before, .entry-footer .sns-follow-message:before {
    margin-right: 10px;
    border-top: 1px solid #202020;
    content: "";
    flex-grow: 1;
}

.article-footer .sns-share-message:after, .article-footer .sns-follow-message:after, .entry-footer .sns-share-message:after, .entry-footer .sns-follow-message:after {
    margin-left: 10px;
    border-top: 1px solid #202020;
    content: "";
    flex-grow: 1;
}

.sns-share-buttons a {
  width: 32% !important;
  height: 45px;
}

.button-caption, .share-count {
 display: block !important;
}


blockquote::before {
  top: 12px;
}

blockquote::after {
  display: inline-block;
  position: absolute;
  bottom: 8px;
  right: 12px;
  color: #dde8ea;
  font-family: FontAwesome;
  font-size: 30px;
  vertical-align: middle;
  line-height: 1;
  content: "\f10e";
}

.main, .sidebar {
  background-color: #fafafa;
}

.amazon-wrap {
  height: 240px;
  width: 120px;
  margin-top: 0;
  margin-bottom: 0;
}

.header-container {
  background-color: transparent;
  box-shadow: none;
}

.related-entry-card-thumb img {
  max-height: 90px;
  object-fit: cover;
  font-family: 'object-fit: cover;'
}

.new-entry-card-thumb img {
  max-height: 68px;
  object-fit: cover;
  font-family: 'object-fit: cover;'
}

.prev-post-thumb img, .next-post-thumb img {
  max-height: 67.5px;
  object-fit: cover;
  font-family: 'object-fit: cover;'
}

.go-to-top-button {
    background-color: transparent;
    color: #3687D8;
  opacity: 0.7;
    width: auto;
    height: auto;
  font-size: 4em;
}

a.go-to-top-button:hover {
    background-color: transparent;
  color: #C03;
}

#go-to-top {
    right: 20px;
      bottom: 20px;
}

/* 見出し */
.article h1, p.toc_title, .entry-card-title, .new-entry-card-title, .related-entry-card-title, .prev-post-title, .next-post-title {
  color: #39585b;
}
.article h1:first-letter {
  font-size: 1.5em;
  color: #28b6bc;
}

.entry-content {
  line-height: 1.6;
}

/* リンクイメージ、マウスオーバーで拡大 */
/* 一覧と関連記事は拡大 */
.entry-card-thumb, .related-entry-card-thumb {
  overflow:hidden;
}

.related-entry-card-thumb img, .list .card-thumb .entry-card-thumb-image {
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

img.entry-card-thumb-image:hover, img.related-entry-card-thumb-image:hover, img.related-entry-card-no-image:hover {
  -webkit-transform: scale(1.2,1.2);
  transform: scale(1.2,1.2);
}

/* ナビは左右へ飛んでいく */
@keyframes bounceoutleft {
  20% {
    transform: translate3d(60px, 0px, 0px) rotate(6deg);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  30% {
    transform: translate3d(60px, 0px, 0px) rotate(6deg);
    animation-timing-function: linear;
    opacity: 1;
  }
  80% {
    transform: translate3d(-2000px, 0px, 0px);
    animation-timing-function: ease;
    opacity: 0;
  }
  90% {
    transform: translate3d(0px, 0px, 0px) scale(0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0px, 0px, 0px) scale(1, 1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

@keyframes bounceoutright {
  20% {
    transform: translate3d(-60px, 0px, 0px) rotate(-6deg);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  30% {
    transform: translate3d(-60px, 0px, 0px) rotate(-6deg);
    animation-timing-function: linear;
    opacity: 1;
  }
  80% {
    transform: translate3d(2000px, 0px, 0px);
    animation-timing-function: ease;
    opacity: 0;
  }
  90% {
    transform: translate3d(0px, 0px, 0px) scale(0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0px, 0px, 0px) scale(1, 1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}
.prev-post-thumb:hover img {
/* .navigation #prev-next #prev:hover img { */
  animation: bounceoutleft 1.6s 0s;
}

.next-post-thumb:hover img {
/* .navigation #prev-next #next:hover img{ */
  animation: bounceoutright 1.6s 0s;
}

/* 新着記事は拡大縮小でぷぉよんおん */
@keyframes puyonon {
  0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
  10%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
  20%  { transform: scale(1.2, 0.8) translate(0%, 5%); }
  33%  { transform: scale(0.8, 1.2) translate(0%, -5%); }
  46%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
  66%  { transform: scale(1.0, 1.0) translate(0%, 0%); }
  80%  { transform: scale(1.05, 0.95) translate(0%, 3%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}

/* .widget_new_entries ul li img:hover { */
.new-entry-card-thumb img:hover {
  -webkit-animation: puyonon 0.9s linear 0s;
  animation: puyonon 0.9s linear 0s;
}


/* コード表示の背景を黒より少し明るくする */
.hljs {
    background: #333333;
}

/* alt属性を表示にした場合、画像のalignrightなどが効かない修正方法 */
.hover-image {
  display: inline;
}

.front-top-page .main {
  background-color: transparent;
  padding-top: 0;
}
.entry-card-wrap {
/*     background-color: rgba(255, 255, 255, 0.95); */
  background-color: #f4f4f4;
  border-radius: 4px;
}
.list .a-wrap:hover {
  border-radius: 4px;
  background-color: #edf3f3;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.16), 0 3px 10px 0 rgba(0, 0, 0, 0.12), 0 -1px 5px 0 rgba(0, 0, 0, 0.16), 0 -1px 10px 0 rgba(0, 0, 0, 0.12);
}
.list .a-wrap:hover .entry-card-title {
  border-bottom: 2px solid #7faaaf;
}

.list .a-wrap .entry-card-title {
  transition: border-bottom 0.4s ease-out;
}

/* タイトル文字 枠 */
.header-in {
  justify-content: flex-start;
  line-height: 1.6;
}
.logo {
  text-align: left;
}
.logo-text {
  padding: 20px 20px 0;
}
.tagline {
  padding: 0 20px 0;
}
.tagline {
  margin: 0;
}
.site-name-text-link, .tagline {
  text-shadow: 0 0 10px black, 1px 1px 0px gray, -1px 1px 0px gray, 1px -1px 0px gray, -1px -1px 0px gray;
  color: white;
  text-align: left;
}
.site-name-text-link:hover {
  color: white;
}

/* ヘッダの画像表示位置の変更 */

#header {
  background-position: 50% 30%;
}

body {
  background-image: url("./images/argyle_gray.png");
  background-repeat: repeat;
  background-size: auto;
  background-attachment: scroll;
}

a {
  color: #3687D8;
  text-decoration: none;
}

.footer {
  background-color: #4d767b;
}
.copyright {
  color: #fff;
}
.footer-bottom-logo {
  display: none;
}
.footer-bottom {
  margin-top: 0;
}

.sidebar h3 {
  margin-bottom: 0.5em;
}

.dtree {
  line-height: 1.6;
  font-size: 16px;
}

ul.bogo-language-switcher {
  margin-top: 0;
    margin-bottom: 0;
}

/* パンくずの上マージンを無しにする */
.breadcrumb {
    margin-top: 0;
}

/* slickの位置を上に合わせる */
/* #main-visual {
  margin:-15px auto 15px;
} */

/* slickの縦横比を保つ */
/* .slick-slide img {
  height: auto;
} */

/* slickのナビボタン大きさ変更 */
/* .slick-prev:before, .slick-next:before {
  font-size: 40px !important;
  opacity: 0.5;
}
.slick-dots li button::before {
  font-size: 12px !important;
} */

/* slickのナビボタン位置変更 */
/* .slick-slider-wrapper .slick-slider .slick-arrow.slick-next {
  right: 38px !important;
}
.slick-slider-wrapper .slick-slider .slick-arrow.slick-prev {
  left: 20px !important;
} */

/* トップの投稿リストの左右マージンの調整 */
/* .blog div#main {
  background-color: transparent;
  border: none;
  padding: 0 6px;
} */

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

/*768px以上*/
@media screen and (min-width: 767px){

  /*必要ならばここにコードを書く*/

  .footer-bottom-content {
    float: none;
    text-align: center;
  }
  .navi-footer-in > .menu-footer {
    justify-content: center;
  }
  .navi-footer-in a, .copyright {
    color: #fff;
  }

  .front-top-page .main {
    padding-right: 0;
    padding-left: 0;
  }

}

/*1240px未満*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
  .eye-catch img {
      max-height: 434px;
  }
}

/*1030px未満*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
  .eye-catch img {
      max-height: 355px;
  }
}

/*1023px未満*/
@media screen and (max-width: 1023px){
  .eye-catch img {
      max-height: 524px;
  }
}

/*768px未満*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/
  .eye-catch img {
      max-height: 421px;
  }
  .logo-text {
    padding-top: 10px;
  }
  .sns-follow-buttons {
    flex-wrap: nowrap;
  }
}

/*480px未満*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .eye-catch img {
      max-height: 259px;
  }
  .sns-follow-buttons {
    flex-wrap: wrap;
    justify-content: space-around !important;
  }
  .sns-follow-buttons a {
    width: 32% !important;
    margin-right: 0;
  }
}

/*415px未満*/
@media screen and (max-width: 415px){
  /*必要ならばここにコードを書く*/
  .eye-catch img {
      max-height: 223px;
  }
  .prev-post-thumb img, .next-post-thumb img {
    max-height: 42.45px;
    object-fit: cover;
    font-family: 'object-fit: cover;'
  }
}

#slide-in-sidebar .wpdt-categories, #slide-in-sidebar .wpdt-archives {
  display: none;
}
