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

/************************************
** 子テーマ用のスタイルを書く
************************************/

.main {
    background: #fff;
}

.wp-caption {
	border: none;
	background: none;
}

/*
** アイキャッチ画像を記事タイトルの上に移動する
*/

/*記事ヘッダーの枠組み*/
.article-header {
    display: flex; /*フレックスボックスレイアウト*/
    flex-direction: column; /*ブロック要素を縦に並べる*/
}

/*アイキャッチの枠組み*/
.eye-catch-wrap {
    order: -1; /*順番*/
    overflow: hidden; /*はみ出した部分を非表示 ※IE対策*/
}

/*アイキャッチ*/
.eye-catch {
    margin-bottom: 0; /*下の余白*/
}

/* 見出し */
.article h2 {
    background: #eaf4fc;
    border: none;
    border-left: 6px solid #1E7CD1;
    color: #333;
    font-size: 22px;
}

.article h3 {
    border-left: 6px solid #1E7CD1;
    background: none;
    color: #333;
}

.article h4 {
    border: none;
    border-bottom: 6px solid #eaf4fc;
}

.header {
    background: #1E7CD1;
}

.menu-header .item-label {
    font-size: 14px;
}

.cl-slim .navi-in > ul li,
.cl-slim .navi-in > ul li a{
    height: 50px;
    line-height: 50px;
    padding-top: 2px;
}

.cl-slim .navi-in > ul li {
    border-right: 1px solid #e9e9e9;
}

.cl-slim .navi-in > ul li:first-child {
    border-left: 1px solid #e9e9e9;
}

#navi-in.navi-in > ul li a:hover {
    border-bottom: 3px solid #1E7CD1;
    color: #1E7CD1;
    transition: none;
}

#navi-in.navi-in .sub-menu li {
    border: none;
}

#navi-in.navi-in .sub-menu li a:hover {
    background: #1E7CD1;
    color: #fff;
    transition: none;
}

/************************************
** 目次
************************************/
.toc {
    padding: 0;
}

.toc-title{
    font-weight:bold;
    background: #F5F5F5;
    padding: 10px 0;
}

.toc-title::after {
    color: #1967d2;
}

.toc-content .toc-list {
    padding: 0 0 20px;
}

.toc-list > li a {
    font-weight: bold;
    display: block;
    margin: 10px;
}

.toc-list > li a::before {
    font-family: "Font Awesome 5 Free";
    content : "\f144";
    margin-right: 7px;
    color: #1E7CD1;
}

.toc-list > li li a {
    font-weight: normal;
    font-size: 95%;
    margin: 0 2em;
}

.toc-list > li li a::before {
    content: "";
    width: 7px;
    height: 7px;
    left: -2px;
    display: inline-block;
    border-radius: 50%;
    background: #1E7CD1;
    position: relative;
    margin-bottom: 2px;
}


/************************************
**ステマ規制対策
************************************/

#text-3 {
	padding: 5px;
	background: #f5f5f5;
	color: #7e7e7e;
}

#text-3 .textwidget {
	text-align: center;
}

#text-3 .textwidget p {
	margin: 0;
}


/************************************
**プロフィール
************************************/
#author_profile {
  border: 1px solid #005488;
  overflow: hidden;
}

#author_profile p.label {
  color: #fff;
  background: #005488;
  padding: 10px 15px;
  text-align: center;
}

#author_profile .left {
  width: 20%;
  float: left;
  margin: 0 5% 10px;
}

#author_profile .left p {
  margin: 0;
  text-align: center;
  font-weight: bold;
}

#author_profile .left img {
  width: 100%;
  background: #EAF4FC;
  border-radius: 50%;
  border: none;
}

#author_profile .right {
  width: 70%;
  float: right;
}

#author_profile .right ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

#author_profile .right ul i {
  color: #005488;
}

#author_profile .img {
  margin: 0 0 5px;
  padding: 0 5%;
}

#author_profile .caption {
  text-align: center;
  font-size: 12px;
  color: #797979;
}

/************************************
**モバイルスライドインメニュー
************************************/

span.fas.fa-times::before {
    color: #333;
}

.menu-drawer {
    background: #f4f5f7;
}

.menu-drawer:before{
    font-size: 22px;
    color: #333;
    margin-bottom: 1em;
    padding: .7em 0 .5em;
    border-bottom: 3px dashed #1E7CD1;
    content: "メニュー";
    display: block;
    text-align: center;
}

.menu-drawer li a {
    border-bottom: 1px dotted #ccc;
    padding: 16px 0 15px;
}

.menu-drawer .sub-menu li{
}

.menu-drawer .sub-menu li a::before {
    font-family: "Font Awesome 5 Free";
    content : "\f105";
    color: #333;
    margin: 0 .5em 0 1em;
}

/************************************
** プロフィール欄
************************************/

.sidebar .author-box {
    border: none;
    border-radius: 4px;
    position: relative;
    background: #fff;
    padding-top: 50px;
    margin-top: 80px;
}

.sidebar .author-thumb img {
    width: 30%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: -45px;
}

.nwa .author-box .author-content {
    padding: 5px 0;
}

.author-box .author-content .author-name a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
}

.author-box .author-content .author-description p {
    font-size: 14px;
    line-height: 1.7;
    margin: 1em;
}

.author-box .author-content .author-description p a{ text-decoration: none; }
.author-box .author-content .author-description p a:hover{ text-decoration: underline; }
.author-box .author-content .author-follows .sns-buttons{ justify-content: center; }
.author-box .author-content .author-follows .sns-buttons a.follow-button{
    border-radius: 50%!important;
    border: none;
    width: 44px;
    height: 44px;
    color: #fff!important;
    margin:0 5px;
    transition: .5s;
}

.author-box .website-button { background-color: #47555c !important; }
.author-box .twitter-button { background-color: #1da1f2 !important; }
.author-box .facebook-button { background-color: #3b5998 !important; }
.author-box .hatebu-button { background-color: #2c6ebd !important; }
.author-box .google-plus-button { background-color: #dd4b39 !important; }
.author-box .instagram-button { background: #e1306c !important; }
.author-box .youtube-button { background-color: #ef1515 !important; }
.author-box .flickr-button { background-color: #0063dc !important; }
.author-box .pinterest-button { background-color: #bd081c !important; }
.author-box .line-button { background-color: #00c300 !important; }
.author-box .amazon-button { background-color: #ff9900 !important; }
.author-box .rakuten-room-button { background-color: #c42e7f !important; }
.author-box .github-button { background-color: #333 !important; }
.author-box .feedly-button { background-color: #2bb24c !important; }
.author-box .rss-button { background-color: #f26522 !important; }
.author-box .soundcloud-button { background-color: #ff7700 !important; }
.author-box .note-button{background-color: #41C9B4!important;}

.author-box .author-content .author-follows .sns-buttons a.follow-button span{ line-height: 44px; }
.author-box .author-content .author-follows .sns-buttons a.follow-button span::before{ font-size: 22px !important; }

/************************************
** サイドバー
************************************/

#search-2 {
    background: none;
}

.sidebar .widget {
    background: #fff;
    padding: 0 15px;
}

.sidebar .widget.widget_common_ad {
    background: none;
    padding: 0;
}

.widget-entry-card {
	font-size: 14px;
}

.sidebar h3 {
    position: relative;
    border: none;
    padding-bottom: 0;
    background: #fff;
}

.sidebar h3:before {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 60px;
    height: 3px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #1E7CD1;
    border-radius: 2px;
}

/*=================================
** レスポンシブデザイン用のメディアクエリ
=================================*/
/*1023px以下*/
@media screen and (max-width: 1023px){
    /*枠組み*/
    .eye-catch-wrap {
        margin-left: -1em; /*左の余白*/
        margin-right: -1em; /*右の余白*/
    }
    
    /*ヘッダー*/
    .logo-text  {
        padding-bottom: 20px;
    }
        
    .content {
        margin-top: 0;
    }
    
    .mobile-header-menu-buttons {
        background: #1e7cd1;
        color: #fff;
    }
    .sidebar-menu-content.menu-content {
        color: #333;
    }
    
    .mobile-menu-buttons {
        align-items: center;
    }
    
    .logo-menu-button.menu-button > a {
        color: #fff;
    }
    
    .mblt-header-mobile-buttons {
        margin-top: 53px;
    }
    
    #navi .navi-in > .menu-mobile li {
        border-top: 1px solid #e9e9e9;
        border-right: 1px solid #e9e9e9;
    }
    
    .mobile-header-menu-buttons {
        box-shadow: none;
        padding: 4px 0;
    }
    
    .article h2 {
        padding: 0.6em 1em;
    }
    
    .breadcrumb {
        margin-top: 0;
    }
    
    #navi .navi-in > .menu-mobile li {
        height: 55px;
        padding: 4px 0;
}
	.entry-title {
		padding: 0.6em 0;
	}

/*834px以下*/
@media screen and (max-width: 834px){
    /*枠組み*/
    .eye-catch-wrap {
        margin-left: -1em; /*左の余白*/
        margin-right: -1em; /*右の余白*/
    }
    
    /*ヘッダー*/
    .logo-text  {
        padding-bottom: 20px;
    }
    
    /*ヘッダー下余白*/
    /*#main {
        margin-top: 0;
        padding-top: 0;
    }*/
    
    .content {
        margin-top: 0;
    }
    
#author_profile .left p {
  font-size: 14px;
}
}

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