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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*  #container h1 {
    width: 50% !important;
  }

add-header-contents{
	max-width: 50%;
}*/

.main {
    width: 936px;
    padding: 20px 29px;
    border: 1px solid transparent;
    border-radius: 4px;
    position: relative;
}

.sidebar {
    width: 300px;
    border: 1px solid transparent;
    padding: 19px;
    border-radius: 4px;
    background-color: #fff;
}

#navi .navi-in > .menu-header .item-label{
	font-size: 14px;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1280px以下*/
@media screen and (max-width: 1280px){
	.main {
    	width: calc(100% - 330px);
	}
	.sidebar {
		padding: 1.5%;
		width: 300px;
	}
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	#header .site-name-text {
		font-size: 0;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	#header .site-name-text {
		font-size: 0;
	}
}


.widget-entry-cards.card-large-image figure img {
    width: 100%;
    display: block;
    padding: .2em .5em;
}

.card-title-bold .card-title {
    padding: 0em .5em;
}

.widget-entry-card-snippet {
	font-size: 16px;
	padding: 0px 10px 20px 10px;
}

.widget-entry-cards.card-large-image .a-wrap {
	max-width: 420px;
	margin: .3em;
	padding: .3em;
	background-image: repeating-linear-gradient(135deg,#f7fafd 0%,#f7fafd 80%,#fdebf2);
}

.new-entry-cards.large-thumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.new-entry-cards.large-thumb a {
	width: 47%;
}

/*600px以下*/
@media screen and (max-width: 600px){
	.widget-entry-cards.card-large-image .a-wrap {
		max-width: 590px;
	}
	.new-entry-cards.large-thumb a {
		width: auto;
	}
	.new-entry-cards.large-thumb {
		flex-direction: column;
	}
}


/* ボックスメニューの設定 */
.box-menus {
    padding: 0px 0px 7px 0px;
}

.box-menus * {
	line-height: 1.3em;
}

.box-menu{
	background: #fff; /* 背景色 */
	border: 1px solid #839b5c; /*枠線の形状・色*/
	min-height: 88px;
	padding: 0px 3px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.box-menu-icon{
   color: #00B564; /* アイコンの色 */
}
.box-menus .box-menu {
   width: calc(100%/8); /* メニューの数 */
}
.box-menu-icon * {
    max-height: 40px;
	margin: 5px 0;
    width: auto;
}
.box-menu-label{
	font-size: 15px; /* 文字サイズ */
	padding: 5px 0px 0px 0px;
}
/* オンマウス時の設定 */
.box-menu:hover{
    box-shadow: none; /* 枠線を消す */
    background: #F2F0EE; /* 背景色 */
}
/* レスポンシブの設定 */
@media screen and (max-width: 1210px){
	.box-menu-label{
		font-size: 11px; /* 文字サイズ */
	}
	.box-menu{
		min-height: 88px; /* 高さ */
	}
}
@media screen and (max-width: 720px){
	.box-menus .box-menu {
		width: calc(100%/4); /* メニューの数 */
	}
	.box-menu-label{
		font-size: 14px; /* 文字サイズ */
	}
	.box-menu{
		min-height: 88px; /* 高さ */
	}
}
@media screen and (max-width: 480px){
	.box-menus .box-menu {
		width: calc(100%/4); /* メニューの数 */
	}
	.box-menu-label{
		font-size: 10px; /* 文字サイズ */
	}
	.box-menu{
		min-height: 78px; /* 高さ */
	}
}


.new-entry-card-date {
	display: block;
	position: absolute;
	right: 0.2px;
	bottom: 0.2px;
	text-align: right;
}

.new-entry-card-post-date::before{ /*投稿日のアイコンの変更*/
	font-family: "Font Awesome 5 Free";
	content: "\f017"; /*fa-clockアイコン*/
	padding-right: 4px; /*右余白*/
	font-weight: 400; /*アイコンの太さ*/
}

.new-entry-card-update-date::before{ /*更新日のアイコンの変更*/
	font-family: "Font Awesome 5 Free";
	content: "\f1da"; /*fa-historyアイコン*/
	padding-right: 4px; /*右余白*/
	font-weight: 900; /*アイコンの太さ*/
}


.label-box.has-watery-red-background-color .box-content {
    background-color: #FFE6ED;
}


.nwa .toc{
    border: 0;
    padding: 0 0 0 .2em;
}


/* 目次全体デザイン */
.toc{
    background:#F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#FFC679;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px 40px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 0px -10px;
    padding-left: -20px;
    font-size: 23px;
    font-weight: 700;
    color: #00B564; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -45px;
    width: 50px;
    height: 50px;
    font-family: "Font Awesome 5 Free";
    content : "\f0ca"; /* アイコンを変える場合はここを変更 */
    font-size:20px;
    margin-right:5px;
    color:#FFF; /* アイコンの色を変える場合はここを変更 */
    background-color:#00B564; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:14px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.2em;
    position: relative;
}
.toc-content ol li {
    line-height: 1.5;
    padding: 0.2em 0 0.2em .7em;
    list-style-type: none!important;
}
/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
    content: "\f138"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color: #00B564; /* 色を変える場合はここを変更 */
}

.toc-content ol li:last-of-type {
    border-bottom: none;
}
.toc-content .toc-list li {
    font-weight:700; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
    font-weight:normal; /* h3以降の文字サイズを普通に */
}

.sidebar .toc-content {
  overflow-y: scroll;
  max-height: 400px;
  background: #fff;
  padding: .1em .1em;
}

.toc li .current {/*現在位置*/
	color: #333;/*文字色*/
	padding: 6px 6px 6px;
	background-color: #E0E0E0;/*背景色*/
}


.header-container {
	overflow: hidden;
}


.header {
	max-width: 1256px;
	width: auto;
	margin: 0 auto;
	padding: 0 0 0 0;
	background-size: 190px;
	background-position: right bottom;
	background-repeat: no-repeat;
	box-sizing: border-box;
}

.logo {
	text-align: left;
}

.logo-header {
	padding-top: 6px;
	padding-bottom: 6px;
}

.logo-header img{
	margin-left: 10pt;
	max-width: 270px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.site-name-text {
	font-size: 0;
	display: inline;
	vertical-align: middle;
}

.tagline {
	background-color: rgb(60,60,60);
	margin: 0 calc(50% - 50vw);
    width: 100vw;
    padding: 4px calc(50vw - 50% + 8px);
	color: white;
	font-size: 16px;
	line-height: 1.5em;
	margin-top:0;
	padding-top: 7px;
	padding-bottom: 5px;
	text-align: left;
}


@media (max-width: 500px) {
  .header {
		 background-size: 40%;
	}
	.logo-header {
		padding-top: 6px;
		padding-bottom: 6px;
	}
	.logo-header img {
		width: 65%;
	}
	.tagline {
	font-size: 14px;
	padding-top: 4px;
	padding-bottom: 4px;
	}
}

@media (max-width: 350px) {
  .header {
		 background-size: 40%;
	}
	.logo-header {
		padding-top: 6px;
		padding-bottom: 6px;
	}
	.logo-header img {
		width: 55%;
	}
	.tagline {
		font-size: 12px;
		padding-top: 2px;
		padding-bottom: 1px;
	}
}


.search-box {
    margin: 0em 1px 1em;
}
	
.author-description {
	font-size: 14px;
}

.nwa .author-box .author-thumb {
	width:200px;
}

.author-box .sns-follow-buttons a.follow-button {
	margin: 2px 5px;
	height: 32px;
	width: 32px;
	font-size: 24px;
} 

.author-box .author-follows .sns-follow a.twitter-button {
	color: white;
	background: #1da1f2;
}

.author-box .author-follows .sns-follow a.twitter-button {
	color: white;
	background: #1da1f2;
}

.author-box .author-follows .sns-follow a.youtube-button {
	color: white;
	background: #FF0000;
}

.author-box .author-follows .sns-follow a.feedly-button {
	color: white;
	background: #2BB24C;
}

.author-box .author-follows .sns-follow a.rss-button {
	color: white;
	background: #F26522;
}

.author-box .sns-follow-message {
  display:block;
	font-size: 17px;
}

.nwa .author-box {
  text-align: center;
  padding-top: 20px;
	padding-bottom: 10px;
}

.nwa .author-box .author-content {
   padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0%;
	padding-right: 0%;
}

.nwa .author-box .author-description {
	padding-left: 4%;
	padding-right: 0%;
}

.menu-content {
	width: 320px;
	padding; 0 0;
}

/*370px以下*/
@media screen and (max-width: 370px){
	.author-description {
		font-size: 11px;
	}
	.nwa .author-box .author-thumb {
		width:180px;
	}
}

/*article-header, .page-id-40 .entry-title,*/
article-header, .page-id-40 .sns-share,
article-header, .page-id-40 .post-date  {
    display: none;
}

/*　reCaptcha のアイコン非表示 */
.grecaptcha-badge { visibility: hidden; }

/* TOPページの投稿日・更新日が被ってしまう対応 */
.widget-entry-cards.card-large-image .e-card {
    height: 100%;
    padding-bottom: 0.5em;
    .new-entry-card-date {
        margin-bottom: 0.15em;
    }
}
