@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){
  /*必要ならばここにコードを書く*/
}

/* Otakuwallet social UI: keep hubs clean and article sharing compact. */
.page .sns-share,
.page .sns-follow,
.single-post .sns-follow {
  display: none !important;
}

.single-post .sns-share .facebook-button,
.single-post .sns-share .hatebu-button,
.single-post .sns-share .pinterest-button,
.single-post .sns-share-message,
.single-post .sns-share .share-count {
  display: none !important;
}

.single-post .sns-share {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.single-post .sns-share-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.single-post .sns-share .sns-button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 7px 12px !important;
  border: 1px solid #d7dee7 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #34465a !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
}

.single-post .sns-share .sns-button *,
.single-post .sns-share .sns-button:hover * {
  color: inherit !important;
}

.single-post .sns-share .sns-button:hover {
  background: #f5f7fa !important;
  color: #1f3349 !important;
}

.single-post .sns-share .button-caption {
  font-size: 13px !important;
}

/* Home: align the page title with the main content edge. */
.home .entry-title {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Keep Jetpack related-post metadata readable against the page background. */
.single #jp-relatedposts .jp-relatedposts-post-context,
.single #jp-relatedposts .jp-relatedposts-post-excerpt,
.single #jp-relatedposts .jp-relatedposts-post-date {
  color: #333 !important;
  opacity: 1 !important;
}

/* Match the existing single-post breadcrumb contrast on static pages. */
.page #breadcrumb,
.page #breadcrumb a {
  color: #666 !important;
}

/* Native button version of Cocoon's mobile "back to top" control. */
.mobile-menu-buttons .top-menu-button > button.menu-button-in {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cocoon-black-color);
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Native button version of Cocoon's copy-share action. */
.sns-buttons button.sns-button {
  align-content: center;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  position: relative;
  text-align: center;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.sns-share-buttons button.copy-button {
  border: 0;
}

/* Mobile footer: remove the empty sidebar action and distribute four useful actions evenly. */
@media screen and (max-width: 1023px) {
  .mobile-footer-menu-buttons .sidebar-menu-button {
    display: none !important;
  }

  .mobile-footer-menu-buttons > .menu-button {
    width: 25% !important;
  }
}
