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

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

.box-menu{
	padding: 0;
	min-height: 0;
}

.box-menu:hover{
	box-shadow:none;
	opacity: 0.8;
} 

.box-menu-label,
.box-menu-description{
	display: none;
}

.box-menu-icon *{
	margin: 0;
	max-width: 100%;
	max-height: 300px;}

.box-menu:first-child{
    margin-left: auto;
}

/*グローバルナビメニュー マウスオーバーでアンダーライン*/
#navi .navi-in a:after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
left: 0px;/*線の位置*/
bottom: 1px;/*線の位置*/
height: 1px;/*線の高さ*/
width: 100%;/*幅いっぱいに線を引く*/
background: #1b68ae;/*線の色*/
transform: scale(0,1);/*マウスオーバーの前は線を消す*/
transition: 0.3s;/*線が0→100%になるまでの秒数*/
}

#navi .navi-in a:hover:after{
transform: scale(1);/*マウスオーバー後、線を100%出す*/
}

#navi .navi-in > .menu-header .item-label{
	font-size: 18px;
}
#navi .navi-in a:hover{
	color: #ffffff!important;
	background: #8b4513;
	transition: all 0.5s ease;
}

/************************************
** プロフィールボックス
************************************/
/* ↓↓ボックスをカード型に */
.author-box {
  border-radius: 10px;
  box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.5);
  background: white;
  padding: 0 !important;
  border: 0;
}
/* ↑↑ボックスをカード型に */


/* ↓↓背景画像・プロフィール写真 */
/* プロフィール背景カスタム＝＝＝ここから↓↓ */
#sidebar .author-thumb {
    float: none;
    width: 100%;
    margin: 9px auto 0;
    background: url(https://st-egg.net/blog/wp-content/uploads/2022/03/0000.jpg) center no-repeat;
    background-size: cover;
    height: 0;
    padding-top: calc(100%*250/700); /* ここの数値で大きさを調整 */
    position: relative;
}
/* プロフィール背景カスタム＝＝＝ここまで↑↑ */
/* ↓プロフィール写真 */
.author-box figure.author-thumb img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -35%;
  width: 35%;
  max-width: 200px;
  margin: 0 auto;
  border: 5px solid #fffafa;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
/* ↑プロフィール写真 */
/* ↑↑背景画像・プロフィール写真 */


/* ↓↓テキスト部分・SNSボタン */
.author-box .author-content {
  margin-top: 13% !important;
}

/*↓作者名（「はるか」の部分） */
.author-box .author-content .author-name {
  text-align: center;
  font-size: 1.3rem;
}

.author-box .author-content .author-name a {
  text-decoration: none;
}

.author-box .author-content .author-name a:hover {
  text-decoration: underline;
}
/*↑作者名（「はるか」の部分） */

/*↓プロフィール文 */
.author-box .author-content .author-description p {
  max-width: 500px;
  margin: 1em auto;
  line-height: 1.5 !important;
  font-size: 85%;
}
/*↑プロフィール文 */

/* ↓SNSボタン 形など*/
.author-box .author-follows .sns-buttons a.follow-button {
  border-radius: 50%;
  box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.3);
  width: 40px;
  height: 40px;
  margin-bottom: .5em;
  margin-right: .5em;
  border: none;
  color: white;
}
/* ↑SNSボタン 形など*/

/* ↓マウスオーバー時の動き */
.author-box .author-follows .sns-buttons a.follow-button:hover {
  box-shadow: 0;
  transform: translateY(-2px);
  transition: all .3s ease;
}
/* ↑マウスオーバー時の動き */

/* ↓SNSボタン 中のアイコン */
.author-box .author-follows .sns-buttons a.follow-button span {
  line-height: 40px;
}

.author-box .author-follows .sns-buttons a.follow-button span::before {
  font-size: 20px !important;
}
/* ↑SNSボタン 中のアイコン */


/* ↓SNSボタン 背景色 */
.author-box .bc-brand-color.sns-follow .twitter-button {
  background-color: #7dcdf7 !important;
}

.author-box .bc-brand-color.sns-follow .github-button {
  background-color: #4078c0 !important;
}

.author-box .bc-brand-color.sns-follow .facebook-button {
  background-color: #7c9dec !important;
}

.author-box .bc-brand-color.sns-follow .hatebu-button {
  background-color: #2c6ebd !important;
}

.author-box .bc-brand-color.sns-follow .instagram-button {
  background: linear-gradient(135deg, #427eff 0%, #f13f79 80%) no-repeat !important;
}

.author-box .bc-brand-color.sns-follow .line-button {
  background-color: #00c300 !important;
}

.author-box .bc-brand-color.sns-follow .website-button {
  background-color: #6eb6fd !important;
}

.author-box .bc-brand-color.sns-follow .youtube-button {
  background-color: #cd201f !important;
}
/* ↑SNSボタン 背景色 */

/* ↓デフォルトで表示される「Feedly」ボタンと「RSS」ボタンを非表示 */
.author-box .bc-brand-color.sns-follow .feedly-button, .author-box .bc-brand-color.sns-follow .rss-button {
  display: none;
}



/* ↑↑テキスト部分・SNSボタン */

/************************************
**　　サイドバー
************************************/
/* 背景を半透明に */
.sidebar {
  background: rgba(255,255,255,0.5);
}



#sidebar>.widget{
border-radius:10px;
}
.widget_search{
padding:0;
}
span.fas.fa-search::before{
color:#90C31F;/*検索マーク色変更はこちら*/
}
.sidebar h3{
color:#7b7b7b;
border-radius: 0%;
border-bottom:3px dotted;
border-color:#90C31F;
padding-bottom:0.3em;
margin-top:-0.5em;
margin-bottom:1em;
}
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
background-color:#f7f7f7;
color:#7b7b7b!important;
margin: 6px 0;
padding: 4px 10px;
border-radius:20px;
transition: 0.4s
}
.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover{
background-color:#90C31F;
color:#fffff4!important;
}
.tagcloud a{
background-color:#f7f7f7;
color:#afafb0!important;
}
.tagcloud a:hover{
background-color:#90C31F;
color:#fffff4!important;
transition: 0.4s ;
}
.nwa .recommended.rcs-card-margin a {
margin: 0 0 1em;
width: 90%
}	
/************************************
**　　新着記事
************************************/
/* 背景を半透明に */
.front-top-page .main {
  background: rgba(255, 255, 255, 0.7)
}


.ect-vertical-card .entry-card-wrap{
    max-width: 43%;
    box-shadow: 0 2px 4px rgb(0 0 0 / 25%);
    border-radius: 3px;
    padding:0;
}
@media screen and (max-width:480px){
    .ect-vertical-card .entry-card-wrap{
        max-width: 46%;
    }
    .e-card-title {
        font-size: 13px;
    }
}
.entry-card-title{
    color: #5a5a5a; /*見出しの色*/
    line-height: 1.6;
}
.ect-vertical-card .entry-card-wrap .entry-card-content {
    margin: 8px 12px 9px 12px;
}
.entry-card-meta, .related-entry-card-meta {
    color: #b7b7b7;
    margin: 4px 8px;

}
.ect-vertical-card {
    justify-content: space-around;
}
/* フッター画像 */
#footer {
background-image: url( https://st-egg.net/blog/wp-content/uploads/2022/03/フッター背景.jpg );
}


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

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

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