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

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

/*百字百読--------------------------*/

/*グローバルメニュー*/
nav#navi {
  background-color: #376D7C !important;
  border: 1.5px solid #376D7C;
  height: 42px;
}
@media (max-width: 1023px) {
  nav#navi {
    display: none;
  }
}
.caption-wrap {
  height: 40px;
}
.item-label {
  height: 40px;
  line-height: 40px;
}
.item-label:first-child {
  border-left: 1px solid #fff;
}
.item-label {
  color: #fff;
  border-right: 1px solid #fff;
}
a .item-label:hover {
  background-color: #fff;
  color: #376D7C;
}
/*プロフィールページ--------------------------*/
.page-id-32 h1.entry-title {
  text-align: center;
  margin-bottom: 60px;
}
.page span.post-date {
  display: none;
}
p.name {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 0px;
  letter-spacing: .15em;
}
p.title {
  margin-top: 0px;
  font-size: .9em;
}

/*トップ画面投稿欄--------------------------------*/
a.entry-card-wrap.a-wrap.border-element.cf:hover {
  background-color: #fff;
}
a.entry-card-wrap.a-wrap.border-element.cf:hover h2 {
  color: #A5C6CF;
}
a.entry-card-wrap.a-wrap.border-element.cf:hover .entry-card-snippet.card-snippet.e-card-snippet {
  color: #A5C6CF;
}
figure.entry-card-thumb.card-thumb.e-card-thumb {
  overflow: hidden;
  height: 180px;
}
@media (max-width: 480px) {
  img.site-logo-image.header-site-logo-image {
    width: 160px;
  }
  .home article {
    display: flex;
    flex-flow: wrap;
  }
  figure.entry-card-thumb.card-thumb.e-card-thumb {
    width: 100%;
    height: calc( 100vw * 0.5 )
  }
  h2.entry-card-title.card-title.e-card-title {
    width: 100%;
  }
  .entry-card-snippet.card-snippet.e-card-snippet {
    display: block;
    width: 100%;
  }
  .admin-pv {
    display: none;
  }
}
a figure.entry-card-thumb.card-thumb.e-card-thumb img {
  transition: 0.5s all;
}
a.entry-card-wrap.a-wrap.border-element.cf:hover figure.entry-card-thumb.card-thumb.e-card-thumb img {
  transform: scale(1.1);
}

/*ウィジェット--------------------------------*/
div#sidebar h2.wp-block-heading, h3.widget-sidebar-title.widget-title {
  background-color: #fff;
  color: #376D7C;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  position: relative;
  padding: 0.25em 0 .5rem;
  margin-top: 60px;
  margin-bottom: 0;
}
div#sidebar h2.wp-block-heading:after, h3.widget-sidebar-title.widget-title::after {
  content: "";
  display: block;
  height: 8px;
  background: -webkit-linear-gradient(to right, rgb(219, 206, 150), transparent);
  background: linear-gradient(to right, rgb(219, 206, 150), transparent);
}
/*検索*/
label.wp-block-search__label {
  display: none;
}
.wp-block-search__inside-wrapper {
  margin-top: 32px;
}
button.wp-block-search__button.wp-element-button {
  background-color: #376D7C;
  border: 1px solid #376D7C;
}
button.wp-block-search__button.wp-element-button:hover {
  background-color: #fff;
  color: #376D7C;
  border: 1px solid #376D7C;
}
/*カテゴリ*/
aside#nav_menu-2 ul .menu-item a {
  line-height: 1em;
  font-weight: 600;
}
aside#nav_menu-2 ul .menu-item .sub-menu a {
  font-weight: 400;
}

aside#nav_menu-2 ul .menu-item a:hover {
  background-color: #fff;
  color: #A5C6CF;
}
/*固定ページ-----------------------------------*/
/*固定ページリンク*/
.page a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.page a:hover {
  color: #A5C6CF;
}

/*投稿----------------------------------------*/
/*SNSシェアボタン*/
.sns-share-buttons.sns-buttons {
  justify-content: left; 
}
.sns-share-buttons.sns-buttons a {
  color: #fff;
  font-weight: 400;
}
span.button-caption {
  display: none !important;
}
a.sns-button.share-button {
  width: 40px;
  height: 40px;
  border-radius: 40px;
}
@media (max-width: 834px) {
  a.sns-button.share-button.facebook-button.facebook-share-button-sq {
    width: 40px;
  }
  a.sns-button.share-button.twitter-button.twitter-share-button-sq.x-corp-button.x-corp-share-button-sq {
    width: 40px;
  }
}
/*引用を太字に*/ 
blockquote.wp-block-quote.is-layout-flow.wp-block-quote-is-layout-flow {
  font-weight: 600;
}
/*投稿リンク*/
.single-post a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.single-post a:hover {
  color: #A5C6CF;
}
.single-post .cat-link {
  background-color: #376D7C;
  color: #fff;
  font-weight: 400;
}
.single-post .cat-link:hover {
  background-color: #fff;
  color: #376D7C;
  border: 1px solid #376D7C;
}
/*アソシエイトリンク*/
.blogcard-snippet.external-blogcard-snippet {
  font-weight: 400;
}
/*ボタン*/
a.wp-block-button__link.wp-element-button {
  background-color: #8CABB4;
  border: 1px solid #8CABB4 !important;
  border-radius: 2em;
  height: 2.2em;
  padding: .5em 1em;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 1em;
  font-size: .9em;
}
a.wp-block-button__link.wp-element-button:hover {
  background-color: #ffffff;
  border: 1px solid #376D7C !important;
  color: #376D7C;
}
.wp-block-button {
  line-height: 1em;
}

/*フッターメニュー------------*/
div#navi-footer-in a:hover {
  background-color: #fff;
}
.blogcard-domain.external-blogcard-domain {
  font-weight: 400;
}
a .blogcard.external-blogcard.eb-left.cf:hover {
  background-color: #fff;
}

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

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

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