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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#header-in {
	display: none;
}
#search-menu-open {
	display: none;
}



@media screen and (max-width: 768px) {

.menu-content {
	max-width: 70%;
}
@media screen and (max-width: 1023px){
/** SPナビゲーション
 ******************************/
.menu-drawer li {
	border-bottom-width: 1px;
	padding-bottom: 6px;
	padding-top: 6px;
	border-bottom-color: #ccc;
    border-bottom-style: solid;
}
.menu-drawer a {
    position: relative;
}
.menu-drawer li a[href^="https://rikizen.com"]::after {
	content: "";
	position: absolute;
	width: 4px;
	height: 4px;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	transform: rotate(45deg);
	right: 12px;
	top: 45%;
}
.navi-menu-content {
	right: 0;
	-webkit-transform: translateX(150%);
	transform: translateX(150%);
}

#navi-menu-input:checked ~ #navi-menu-content, #sidebar-menu-input:checked ~ #sidebar-menu-content, #search-menu-input:checked ~ #search-menu-content, #share-menu-input:checked ~ #share-menu-content, #follow-menu-input:checked ~ #follow-menu-content {
	-webkit-transform: translateX(43%);
	transform: translateX(43%);
}
.menu-content .menu-drawer {
	margin-top: 2.8em;
}

.menu-close-button {
	position: absolute;
	right: 20px;
	margin-top: 3px;
}
#navi-menu-content .fa-close::before {
	font-size: 0.55em;
	vertical-align: middle;
	margin: 0;

	color: #4d4d4d;
}
.menu-item-has-children>a {
    position: relative;
    cursor: pointer;
}
.sub-menu {
    display: none;
}
.sub-menu li:last-child {
	padding-bottom: 0;
	border: 0;
}
.menu-item-has-children > a.active + .sub-menu {
	display: block;
	animation: show 0.5s linear 0s;
	font-size: 0.9em;
	padding-top: 3px;
	padding-bottom: 3px;
}
@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.menu-item-has-children > a::before,.menu-item-has-children > a::after {
    content: "";
    background-color: #000;
    position: absolute;
    width: 12px;
    height: 2px;
    top: 48%;
  }
  .menu-item-has-children > a::before {
	right: 10px;
}
  .menu-item-has-children > a::after {
	right: 10px;
}
  .menu-item-has-children > a:before {
  transform: translateY(-50%) rotate(90deg);
  top: 50%;
  }
  .menu-item-has-children > a.active:before {
  transform: rotate(180deg);
  transition: .2s;
  }
  .menu-item-has-children > a.active:after {
  opacity: 0;
  transition: .1s;
  }
}
}
/** 共通していらないもの
 ******************************/
#pager-post-navi {/*いらないnavi）*/
	display: none;
}
.article-footer {/*いらないfooter*/
	display: none;
}
#breadcrumb {
	display: none;/*パンくず（下）*/
}


/** 共通パーツ
 ******************************/

/** 記事＿パンくず **/
main {
	padding: 0 !important;
}

/** 関連記事＿見出し**/
#toc {
	padding: 6px;
	background-color: #f2f2f2;
	border: solid 1px #ccc;
	border: solid 1px #ccc;
}
h2 span {
	color: #FFF;
}
h2 span.related-entry-main-heading {
	color: #333;
}
.article h2 {
	border: none;
}
/** 記事タイトル **/
.article h2:before,
.article h2:after {
	content: unset
}

#aioseo-breadcrumb-widget-3 {
	margin-bottom: 10px;
}

/** 関連記事＿タイトル **/
h2 span.related-entry-main-heading {
    font-size: 18px;
    letter-spacing: 3px;
}
/** 関連記事＿タグ **/
.cat-label {
    background-color: #333;
}

/** 見出し
 ******************************/

#archive-title {
	font-size: 1.45em;
}
@media screen and (max-width: 768px){
#archive-title {
	font-size: 1.25em;
}
}
.day_tag {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.date-tags {
	margin-bottom: 0.5em;
	order: 1;
	width: 20%;
}
.entry-categories-tags {
	order: 0;
	width: 80%;
	margin-bottom: 0;
}
@media screen and (max-width: 768px){
.day_tag {
	display: block;
}
.entry-categories-tags {
	width: 100%;
	margin-bottom: 0;
}
.date-tags {
    margin-bottom: 0;
    width: 100%;
	font-size: 0.9em;
}
}
/** サイドカラム
 ******************************/
.sidebar {
	width: 340px;
}
.widget-entry-card {
    font-size: 13px;
	line-height: 20px;
	text-decoration: underline;
}
.widget_categories ul li a .post-count {
	float: none!important;
	display: inline;
    background-color: #216382;
    border-radius: 50px;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 7px;
    margin-left: 10px;
    color: #FFF;
}
#tag_cloud-2 {
  margin-bottom: 20px;
}
#block-8 {
	margin-bottom: 20px;
	max-height: 250px;
}
#categories-2 {
  margin-bottom: 20px;
}
#tag_cloud-2 .tagcloud {
	display: inline-flex;
	flex-wrap: wrap;
}
#tag_cloud-2 .tagcloud a {
  border: 1px #aaa solid;
  border-radius: 15px;
}
form .search-edit {
  font-size: 1em;
}
.search-box.input-box {
  margin-bottom: 5px;
  margin-top: 20px;
}
@media screen and (max-width: 1151px){
.main {
    width: 60%;
}
.content-in {
    justify-content: space-around;
}
}
/** 子メインカラム
 ******************************/
body:not(.single) #main {
  background: transparent;
}

#list .entry-card-wrap {
  background: #FFF;
  width: calc(50% - 10px);
  display: block;
  padding: 0;
}
.entry-card-wrap:nth-of-type(2n-1){margin-right: 10px;}
.entry-card-content.card-content.e-card-content {
  padding: 10px 15px;
}
.entry-card-title.card-title.e-card-title {
  min-height: 50px;
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 10px;
  letter-spacing: 1px;
  line-height: 1.6;
}
.entry-card-snippet.card-snippet.e-card-snippet {
  color: #777;
  font-size: 0.8em;
  text-align: justify;
  line-height: 1.65;
  margin-bottom: 5px;
}
.entry-card-wrap.a-wrap.border-element.cf:hover {
  background: #FFF;
}
@media screen and (max-width: 768px){
#list .entry-card-wrap {
  width: 100%;
}
.entry-card-wrap:nth-of-type(2n-1){margin-right: 0;}
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*768px以下*/
@media screen and (max-width: 768px){
	.wrap {
		padding: 0;
		background-color#FFF;
	}
	.article h2 {
		padding: 0.8em 0.6em;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){

}

/*1023px以上*/
@media screen and (min-width: 1023px){
  /*必要ならばここにコードを書く*/

}

* {
	font-family: 'Noto Sans JP','ヒラギノ角ゴ W3','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','Meiryo UI','メイリオ',Meiryo,Osaka,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}