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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.navi-in > ul li {
  border-radius: 40px;
}
/*グローバルメニューを丸くする*/
#navi .navi-in a::after {
  border-radius: 40px;
  background-color: rgba(50, 97, 171, 0.8);
}
#navi .navi-in a:hover {
  color: #fff !important;
}
.navi-in > ul .sub-menu {
  background-color: rgba(255, 255, 255, 0);
}
.navi-in > ul .sub-menu li {
  background-color: #fff;
/*ここまで*/
/*角をめくるアニメーション*/
	.entry-card-wrap.a-wrap:before,
.related-entry-card-wrap.a-wrap:before {
  opacity: 0;
}

.entry-card-wrap.a-wrap:after,
.related-entry-card-wrap.a-wrap:after {
  pointer-events: none;
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  right: 0;
  bottom: 0;
  background: white;
  background: linear-gradient(315deg, white 45%, #aaa 50%, #ccc 56%, white 80%);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: width, height;
  transition-property: width, height;
}

.entry-card-wrap.a-wrap:hover:after,
.related-entry-card-wrap.a-wrap:hover:after {
  width: 90px;
  height: 90px;
  z-index: 2;
}

.entry-card-wrap.a-wrap:nth-of-type(3n+1):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n+1):before {
  color: #a52175;
}

.entry-card-wrap.a-wrap:nth-of-type(3n+2):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n+2):before {
  color: #009250;
}

.entry-card-wrap.a-wrap:nth-of-type(3n+3):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n+3):before{
  color: #0086ab;
}

.entry-card-wrap.a-wrap:nth-of-type(3n+1):before,
.entry-card-wrap.a-wrap:nth-of-type(3n+2):before,
.entry-card-wrap.a-wrap:nth-of-type(3n+3):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n+1):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n+2):before,
.related-entry-card-wrap.a-wrap:nth-of-type(3n+3):before{
  transition: all .3s;
  z-index: 3;
  font-weight: bold;
  background:none;
}

.entry-card-wrap.a-wrap:hover::before,
.related-entry-card-wrap.a-wrap:hover:before {
  right: -210px;
  bottom: -210px;
  opacity: 1;
}
/*ここまで*/	
/*サイドバーの見出し*/
.sidebar h3 {
  background:none;
  position: relative;
  padding: 11px 0px 4px 28px;
  border: 0;
  border-bottom: 1px solid rgba(0, 134, 171, 0.6);
  background: none;
  border-radius: 0px;
}
.sidebar h3::before {
  position: absolute;
  content: '';
  top: 10px;
  left: 5px;
  width: 8px;
  height: 17px;
  background:none;
  background-color: #4c79c3;
  transform: skew(15deg);
  border:none;
}
.sidebar h3::after {
  position: absolute;
  content: '';
  top: 27px;
  left: 5px;
  width: 8px;
  height: 17px;
  background-color: #2fa770;
  transform: skew(-15deg);
  border-radius: 0px;
}	
/*ここまで*/

/*---------------------------------
ボックス（白抜き）の枠の色を変える
--------------------------------*/
.blank-box {border-width: 2px;border-color: #F6CEF5;} /* ピンク */

.blank-box.bb-yellow {border-color: #FAB162;} /* 黄色 */

.blank-box.bb-red {border-color: #FD8FA3;} /* 赤色 */

.blank-box.bb-blue {border-color: #5FB3F5;} /* 青色 */

.blank-box.bb-green {border-color: #95CE4B;} /* 緑色 */

/*固定ページの日付非表示*/
.page .date-tags,
.page .author-info {
display: none;
}


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

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

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