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

/* ヘッダー */
#header-container {
  margin-bottom:40px;
}
.header .header-in {
  min-height: 100px;
}
.logo-image{
  padding: 0 !important;
  margin-top: 20px!important;
}
.site-name-text {
  font-size: 16px;/*ロゴ画像高さ調整*/
}
/* ヘッダーナビ */
.navi-in a {
  font-size: 15px;
  font-weight: bold;
}
#navi .navi-in a:hover {
  color: #199270;
}
/* モバイルヘッダー */
.mobile-menu-buttons{
height:80px;
box-shadow: none;
}
.mobile-menu-buttons > li {
padding-top:0;
}
.menu-button{
margin: auto;
}
.mobile-menu-buttons .menu-button:hover{
background-color:white;
}
.logo-menu-button img {
  width: 180px;
}
.fa-search::before, .fa-bars::before, .fa-close:before{
  color: #8B9699;
  font-size: 24px;
}
.navi-menu-caption.menu-caption,.home-menu-caption.menu-caption,.search-menu-caption.menu-caption,.top-menu-caption.menu-caption,.sidebar-menu-caption.menu-caption{
display:none;
}

/* モバイルスライドメニュー */
.menu-close-button {
  text-align: right;
  margin: 10px 20px;
}
.menu-drawer {
  padding: 1em 30px;
}
.menu-drawer li{
  font-weight: bold;
}
.menu-drawer a{
  margin: 20px 0;
}
.menu-drawer a:hover{
  color:#199270;
}

/* コンテンツ幅 */
.main {
  padding: 40px;
}
/* サイドナビなしのコンテンツ幅 */
.no-sidebar .content .main {
  max-width: 800px;
  width: auto;
  margin: auto;
}

/* フッター */
.footer {
  margin-top:40px;
}
.navi-footer-in {
  margin-bottom: 40px;
}
.navi-footer-in a:hover  {
  background-color: #333333!important;
  text-decoration: underline;
  opacity: 0.8;
}
.navi-footer-in > .menu-footer li {
  border: none;
  padding: 0 16px;
}
.navi-footer-in > .menu-footer li:last-child {
  border: none;
}

/***********/
/* サイドナビ */
/***********/
.sidebar a:hover{
  color: #199270;
  opacity: 0.8;
}
.sidebar p{
  font-size: 0.9em;
}
.sidebar h2, .sidebar h3 {
  background-color: #fff;
  border-bottom: 2px solid #333;
  margin: 40px 0 16px 0!important;
  padding: 8px !important;
}
.sidebar .widget-entry-card{
  font-size: 0.9em;
  line-height: 1.6;
}
/* 検索バー */
.wp-block-search__label {
  display: none;
}
.wp-block-search__inside-wrapper {
  padding: 20px 0;
}
/* プロフィール */
.author-box {
  border: none;
  padding: 0!important;
}
.author-box p {
  margin-top: 20px;
  line-height: 1.8;
}
.author-box .sns-follow {
  display: none;
}


/***********/
/* リスト */
/***********/

.ect-vertical-card a:hover{
  opacity: 0.8;
}
.entry-card-title {
  margin: 0 0 20px 0;
}
.entry-card-snippet, .related-entry-card-snippet {
  font-size: 14px;
  line-height: 1.6;
  color: #777777;
}
.related-entry-card-thumb{
  width: 240px;
  margin-right: 16px;
}
.related-list a:hover{
  background-color: #f2f2f2;
  opacity: 0.8;
}
.pagination-next{
  display: none;
}
.page-numbers {
  border-color: #333333 !important;
}


/***********/
/* 記事詳細 */
/***********/

/* リンクホバー */
.entry-content a:hover {
  text-decoration: none;
  color: #199270;
  opacity: 0.8;
}

/* 日付 */
.post-date, .post-update {
  font-size: 0.9em!important;
  color: #777777!important;
}
.date-tags {
  margin-bottom: 30px;
}

/* 目次 */
.article .toc {
  background-color: #f2f2f2;
  width: 80%;
  margin: auto;
  margin-top: 40px;
  padding: 20px 40px 40px!important;
}
.article .toc a {
  color: #777777!important;
  margin: 10px;
}
.article .toc-title {
  padding: 0 16px 20px;
}
.article .toc-content {
  color: #199270!important;
}
@media screen and (max-width: 480px){
  .article .toc {
    width: 100%;
    padding: 20px!important;
  }
}

/* アイキャッチのカテゴリ非表示 */
.cat-label{
  display: none;
}

/* タイトル */
.entry-title, .archive-title {
  font-size: 32px;
  line-height: 1.4!important;
  margin-bottom: 20px;
}
.archive-title span {
  display: none;
}
.article h2 {
  background-color: #fff!important;
  line-height: 1.4;
  position: relative;
  margin: 60px 0 20px 0!important;
  padding: 12px 20px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}
.article h2:before, .article h2:after {
  content: "";
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
   height: calc(100% + 14px);
   background-color: black;
 }
.article h2:before {
   left: 7px;
 }
.article h2:after {
   right: 7px;
 }

.article h3 {
  font-size: 20px;
  margin-top: 60px;
  line-height: 1.4;
  border: none;
  border-bottom: double 5px #333;
}

.article h4 {
  font-size: 18px;
  margin-top: 40px;
  border: none;
  border-bottom: dashed 2px #333;
}

/* 表組み */
.wp-block-table {
  font-size: 15px;
  line-height: 1.4;
}
.wp-block-table th {
  background-color: #333;
  color: #fff;
}
.wp-block-table td, .wp-block-table th {
  border: solid 1px #c4c4c4;
  padding: 12px;
}

/* マーカー */
.marker-under {
  background: linear-gradient(transparent 60%, #C8DE3D 60%);
}

/* ブログカード */
.blogcard {
  padding: 20px;
  border: 1px solid #199270!important;
}
.blogcard-wrap {
  width: 98%;
}
.blogcard-label {
  background-color: #199270!important;
}
.blogcard-title{
  margin-bottom: 10px;
}
.blogcard-snippet {
  color: #8B9699;
}
.blogcard-footer {
  display: none;
}
@media screen and (max-width: 480px){
  .blogcard {
    padding: 10px;
  }
  .blogcard-title {
    font-size: 1em;
    line-height: 1.4;
  }
  .blogcard-snippet {
    display: none;
  }
}
/* ボタン */
.wp-block-buttons {
  text-align: center;
}
.wp-block-button__link {
  background-color: #199270;
  border-radius: 36px;
  font-size: 18px;
  padding: 10px 36px;
}
.wp-block-button a:hover {
  background-color: #C8DE3D;
  color: #fff;
}

/* カテゴリ＆タグアイコン */
.cat-link {
  background-color: #199270!important;
  color: #ffffff!important;
}
.tag-link {
  background-color: #C8DE3D!important;
  border: 1px solid #C8DE3D;
}

/***********/
/* 固定ページ */
/***********/

/* 日付非表示 */
.post-3  .date-tags, .post-6 .date-tags {
display: none;
}
/* お問い合わせ */
input[type='submit'] {
  border: none;
  background-color: #199270;
  color: #fff;
  border-radius: 24px;
}



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

/*834px以下*/
@media screen and (max-width: 834px){
	/* コンテンツ幅 */
	main.main, div.sidebar{
    padding: 20px 20px 40px!important;
    margin: 10px!important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
	/* フッター */
	.navi-footer-in > .menu-footer li.menu-item{
    width: 100%;
  }
  /* 関連記事 */
  .entry-card-title, .related-entry-card-title {
    font-size: 16px;
    line-height: 1.6;
  }
  .related-entry-card-thumb{
    width: 100%;
    margin: 0px;
  }
  /* 記事タイトル */
  .entry-title {
    font-size: 24px!important;
    padding: 0!important;
    text-align: left!important;
  }
  .archive-title {
    font-size: 24px;
    padding: 0!important;
  }
  .article h2 {
    font-size: 20px;
  }
  .article h3 {
    font-size: 18px;
  }
  .article h4{
    font-size: 16px;
  }
}
