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

/************************************
** 子テーマ用のスタイルを書く
************************************/
div.toc-content ul.toc-list > li {
  padding-top: 6px;
  border-top: 4px dotted #75d631;
}
div.toc-content ul.toc-list > li > ul > li > * + * {
  margin-top: 12px;
  padding-top: 6px;
  border-top: 4px dotted #75d631;
}
div.toc-content ul.toc-list > li > a::before {
  content: none;
}
article.article div.entry-content.cf h2,
article.article div.entry-content.cf h3 {
  margin-top: 2em;
  margin-bottom: 1em;
}
.small {
  font-size: 0.8em;
}
.center {
  text-align: center;
}
span.text {
  white-space: nowrap;
}

header#header > div#header-in .logo-image,
header#header > div#header-in .site-name.site-name-text-link {
  padding: 0;
}
.wp-block-buttons>.wp-block-button {
  display: grid;
  margin: auto;
  flex: 1;
}
div.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
  gap: 1rem;
}
div.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex>div.wp-block-button a {
  display: inline-flex;
  text-align: center;
  vertical-align: baseline;
  justify-content: center;
  text-decoration: none;
  background: #75d631;
  border-radius: 100vh;
  color: #fff;
  transition: 0.5s;
  line-height: 1.4;
  border: 3px solid #ffffff;
  -webkit-box-shadow: 0 6px 15px 0 rgba(0, 0, 0, .16);
  box-shadow: 0 6px 15px 0 rgba(0, 0, 0, .16);
}
div.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex>div.wp-block-button a:hover {
  opacity: 0.5;
}
div.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex>div.wp-block-button a > span.fas.fa-sign-out-alt.external-icon.anchor-icon {
  display: none;
}

div.entry-content.cf > h1 {
  width: 100%;
  position: relative;
  margin-top: 1.8em;
  padding: 0.25em 1em;
  display: inline-block;
  top:0;
  line-height: 1.4;
  text-align: center;
  font-size: 2em;
}
div.entry-content.cf > h1:before,
div.entry-content.cf > h1:after { 
  position: absolute;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
  display: inline-block;
}
div.entry-content.cf > h1:before {
  border-left: solid 1px black;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
  left: 0;
}
div.entry-content.cf > h1:after {
  content: '';
  border-top: solid 1px black;
  border-right: solid 1px black;
  border-bottom: solid 1px black;
  right: 0;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  header#header > div#header-in .site-name.site-name-text-link .site-logo-image.header-site-logo-image {
    display: none;
  }
  header#header > div#header-in .site-name.site-name-text-link .site-fixed-logo-image {
    display: inline-block;
    padding: 0;
    width: 100%;
    height: auto;
    vertical-align: middle;
  }
  .entry-title, .article h2 {
    padding: 0.6em;
    background-color: #eee;
    border-radius: 4px;
  }
  div.entry-content.cf > h1 {
    padding: 0.2em 0.5em;
    font-size: 1.4em;
  }
  .wp-block-button__link {
    padding: calc(0.2em + 2px) calc(0.5em + 2px);
  }
}

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