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

/************************************
** 子テーマ用のスタイルを書く
************************************/
.page .date-tags {
  display: none;
}

.header-search {
  width: 240px !important;
  padding: 0 0.8em;
}

.header-search .search-box {
  margin: 0;
}

.header-search input[type="text"] {
  padding: 0.4em 2.6em 0.4em 0.4em;
}

.header-search .search-submit {
  background-color: transparent;
  border-width: 0 !important;
}

blockquote {
  border-color: #888;
  border-left-color: #aaa;
  border-left-width: 0.4em;
  padding-top: 0.4em;
  padding-right: 0.4em;
  padding-bottom: 0.4em;
}
blockquote:before {
  color: #888;
}
blockquote:after {
  content: "";
}

.entry-content pre {
	padding: 0;
  text-indent: 0.6em;
}
.entry-content pre > code {
	text-indent: 0;
}
.entry-content pre > code > .hljs-deletion {
  display: inline-block;
  width: 100%;
	background-color: #440022;
  color: currentcolor;
}
.entry-content pre > code > .hljs-deletion:before {
  content: "-";
  color: red;
}
.entry-content pre > code > .hljs-addition {
  display: inline-block;
  width: 100%;
	background-color: #224400;
  color: currentcolor;
}
.entry-content pre > code > .hljs-addition:before {
  content: "+";
  color: limegreen;
}
.entry-content pre > code > .hljs-immutable:before {
  content: " ";
}

.entry-content .flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.entry-content .flex-box > a {
  text-align: center;
  flex-basis: 49%;
}

/* Skinデザイン調整 */
.entry-content .toc {
  min-width: 80%;
  border-color: #ddd;
}

h1, h2, h3, h4, h5, h6 {
  border-top-color: #ddd !important;
  border-right-color: #ddd !important;
  border-bottom-color: #ddd !important;
  border-left-color: #ddd !important;
}

input:-webkit-autofill {
  -webkit-text-fill-color: #eee;
  -webkit-box-shadow: 0 0 0 1000px black inset;
}

form.search-box .search-submit {
  border-color: #fff;
  border-width: 1px 1px 1px 0;
}
form input::placeholder {
  color: #888 !important;
}

.widget-footer-left-title,
.widget-footer-center-title,
.widget-footer-right-title {
  display: none;
}

#footer img {
  display: block;
  margin: auto;
}
#footer a:hover.tag-cloud-link {
  color: #000;
}

div.footer-left aside {
  position: relative;
  min-height: 160px;
}

div.footer-left aside img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.page .date-tags {
  display: none;
}

.sns-share-buttons > .share-button.twitter-button {
  background-color: #000000 !important;
}
.sns-share-buttons > .share-button.bluesky-button {
  background-color: #006ACC !important;
}
.sns-share-buttons > .share-button.facebook-button {
  background-color: #2F477A !important;
}
.sns-share-buttons > .share-button.hatebu-button {
  background-color: #235897 !important;
}
.sns-share-buttons > .share-button.line-button {
  background-color: #009C00 !important;
}
.sns-share-buttons > .share-button.copy-button {
  background-color: #262A2B !important;
}

/* コメントフォーム */
.logged-in-as,
#email-notes {
  display: none;
}
.avatar {
  border-radius: 50%;
}

.grecaptcha-badge {
  visibility: hidden;
}

.card-title,
.card-snippet {
  -webkit-text-stroke: 0.2px #000;
  text-shadow: 1px 1px 3px #000, 1px -1px 3px #000, -1px -1px 3px #000, -1px 1px 3px #000;
}

.widget-entry-cards.card-large-image.home-flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.widget-entry-cards.card-large-image.home-flex-box::after {
  display: none;
}

.widget-entry-cards.card-large-image.home-flex-box .a-wrap {
  max-width: 1024px;
  flex-basis: 48%;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  .widget-sidebar.widget_search,
  .show-pc {
    display: none;
  }
  .show-sp {
    display: block;
  }
  #wpadminbar {
    visibility: hidden;
  }
  div.footer-left aside {
    min-height: 80px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
  .widget-entry-cards.card-large-image.home-flex-box .a-wrap {
    max-width: 90%;
    flex-basis: 100%;
  }
  .entry-content .flex-box {
    flex-direction: column;
    justify-content: space-around;
  }
  .entry-content .flex-box > a {
    flex-basis: 80%;
  }
}

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