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

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

/*facebook埋め込み用*/

.facebook1 {
	background-color: #f0f2f5;
	text-align: center;
}

/* スマホ用 */
@media screen and (max-width: 767px) {
	.fb-container {
		width: 100%;
		max-width: 500px;
	}
}
 
/* PC用 */
@media screen and (min-width: 768px) {
	.fb-container {
		text-align: center!important;
		margin: 0 auto;
		width: 500px;
	}
}

/*リンクの下線を消す*/
a {
	text-decoration: none;
}


/*見出し*/
h3 {
	position: relative;
	padding: 0.5em 1em 0.5em 2.2em;
	background: -webkit-linear-gradient(to top, #606060, #c3c2c2);
	background: linear-gradient(to top, #606060, #c3c2c2);
	color: #fff;
	font-size: 0.8em!important;
	line-height: 1.2em;
	border-radius: 0.5em;/*角丸*/
	margin-top: 1em;
	margin-bottom: 1em;
}
h3:before {
	content: '●';
	color: white;
	margin-right: 8px;
	position: absolute;/*絶対位置*/
	font-size: 1.4em;/*サイズ*/
	left: 0.4em;/*アイコンの位置*/
	top: 0.4em;/*アイコンの位置*/
}

/*サイドバーの見出し*/
.sidebar h3 {
	position: relative;
	padding: 0.5em 1em 0.5em 2.2em;
	background: -webkit-linear-gradient(to top, #7b1b1b, #c82c2c);
	background: linear-gradient(to top, #7b1b1b, #c82c2c);
	color: #fff;
	font-size: 0.8em!important;
	line-height: 1.2em;
	border-radius: 0.5em;/*角丸*/
	margin-top: 1em;
	margin-bottom: 1em;
	max-width: 240px;
}

/*サイドバーの投稿月別アーカイブ*/
.sidebar select{
	max-width: 240px;
	margin-bottom: 1em;
}

/*トップページの記事のhover着色無効*/
.a-wrap:hover {
	background-color: #FFF;
	transition: none;
}

/*ヘッダー*/
.tagline {
	margin: 0 1em;
}

.logo{
	text-align:left;
}

.logo-image * {
	display: block;
}

.logo-image {
	padding: 0;
}

.header {
	height: 140px;
}

body, .header, .appeal {
	background-repeat: repeat;
	background-size: auto;
}

/*ナビメニュー*/
#header-container .navi, #navi .navi-in > .menu-header {
	background: -webkit-linear-gradient(to top, #7b1b1b, #c82c2c);
	background: linear-gradient(to top, #7b1b1b, #c82c2c);
}
.sub-menu {
	background-color: #333!important;
}

.navi-in > ul {
	justify-content: left;
	text-align: center;
}

.navi-in > ul li {
	height: 45px;
	line-height: 45px;
}

#navi .navi-in > ul > li > a {
	padding: 0 1.2em;
}

.navi-in a:hover {
  background-color: #333;
  transition: none;
}

.navi-in .has-icon {
	right: 0;
}

/*カテゴリー*/
.cat-label{
	display: none;
}

.cat-link {
	background-color: #a81b21;
	text-decoration: none;
	display: inline-block;
	margin-right: 4px;
	padding: 4px;
	font-size: 12px;
}

.cat-link .fa {
	display: none;
}

/*エントリーカード*/
.entry-card-title{
	font-size: 17px;
	margin: 0 0 5px 0;
	line-height: 1.2;
	font-weight: normal;
}

.related-entry-card-title {
	font-size: 17px;
	margin: 0 0 5px 0;
	line-height: 1.2;
	font-weight: bold;
}

.entry-card-meta, .related-entry-card-meta {
	text-align: left;
}

.entry-meta {
	clear: both;
	color: #993333;
	font-size: 12px;
	line-height: 18px;
}

.entry-utility {
	clear: both;
	color: #993333;
	font-size: 12px;
	line-height: 18px;
}

.entry-title, .archive-title {
	margin: 16px 0 3px;
}

.entry-content {
    margin-bottom: 1em;
}

.entry-content > *, .demo .entry-content p {
	line-height: 1.1;
}

/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
	display: none;
}

/*フロント固定ページの投稿日を非表示*/
.home.page .post-date{
	display: none;
}

/*フロント固定ページの更新日を非表示*/
.home.page .post-update{
	display: none;
}

/*フロント固定ページの投稿者名を非表示*/
.home.page .author-info{
	display: none;
}

/*トップページの各投稿の最下部カテゴリーを非表示*/
.entry-category{
  display: none;
}

/*トップページのサイト内検索*/
.search-edit, input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea, select {
	padding: 5px;
	font-size: 16px;
}

.search-edit, input[type="text"] {
	width: 100%!important;
}

/*ウィジェット*/
.widget-index-top-title {
	display: none;
}



p, .paragraph {
	margin: 0;
}



.index_list_bottom {
	text-align: center;
	margin: 0;
}

.widget-index-bottom {
	display: inline-block;

}

.widget-index-bottom-title,.widget-page-content-bottom-title,.widget-below-related-entries-title,.widget-content-bottom-title {
	display: none;
}

/*Youtubeの埋め込みレスポンシブ*/
.youtube {
	width: 100%;
	height: 0;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
	margin-bottom: 1.5em;
}

.youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/*3列レイアウトの左揃え*/
.ect-3-columns {
	justify-content: flex-start;
}

/*スマホ表示のサイドバー幅*/
.menu-content {
	max-width: 280px;
}



.article h1 {
	line-height: 1.25;
	font-weight: bold;
	font-size: 20px;
	border-bottom: 1px solid #a0a0a0;
}


.archive-title span:before {
	content:"";
	background: url(../../../wp-content/uploads/2020/11/apple-icon2.jpg) no-repeat; /* 背景 */
	background-size: contain; /* 背景を領域におさめる */
	display: inline-block; /* これが無いと高さ指定がね… */
	width: 1.5em; /* 幅：例）1.5文字分 */
	height: 1.5em; /* 幅と高さで画像の大きさがかわる */
	vertical-align: -23%; /* 画像上下の位置調整を */
}

.archive-title {
	font-size: 22px;
	line-height: 1;
	border-bottom: 2px solid #0c0c0c;
	margin: 0 0 3px;
	color: #641312;
}


.pager-post-navi a .iconfont {
    font-size: 1.8em;
    color: #333;
    padding: 8px;
}

.author-info {
	display: none;
}


.content-top, .content-bottom {
    margin: 0;
}


/*フッター*/
.footer-title {
	display: none;
}

.footer-widgets-mobile {
	display: block;
}

.footer-mobile {
	padding: 10px 0;
}


.footer-mobile .widget_media_image {
	display: inline-block;
	padding: 0 5px;
}


.footer-bottom-logo {
	float: none;
	bottom: auto;
	position: relative;
}

.logo-footer {
	margin: 8px auto;
}

.footer-bottom-logo .logo-image {
	padding: 0;
	max-width: 180px;
}

.footer-bottom-logo img {
	height: 80px;
	width: auto;
}

.footer-bottom-content {
	display: none;
}

.footer-menu {
	text-align: center;
	margin: 0 10px;
}

.footer-bottom {
    margin-top: 0;
    padding: 8px;
}

.footer {
    margin-top: 0;
    padding-top: 0;
}


/*contactform7のチェックボックスを1列に*/

span.wpcf7-list-item {
	display: block!important;
	padding: 5px;
}

.article h6 {
	font-size: 17px;
	border-bottom: none;
	margin: 0;
}

/*広告バナーを２列に*/

*, *:before, *:after {
	box-sizing: border-box;
}
.col_2{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_2 > div{
	width: 50%;
	padding: 10px;
}


/************************************
** 入力フォーム（Form）
************************************/
input[type="text"],
input[type="url"],
input[type="password"],
input[type="email"],
input[type="tel"],
select{
  width: auto;
}

textarea 
{
    max-width:100%;
    color: black;
    background-color: white;
}


ul.r34otd > li {
	width: 33%;
	float: left;
	padding: 7px;
}

.r34otd-headline {
	line-height: 1.2;
}

.widget-title {
	display: none;
}

.widget-index-bottom {
    display: inline;
}

.boxContainer{
	display: flex;
}
.box {
	width:50%;
	padding: 5px;
}



input[type='submit'], #bbp_reply_submit, .bp-login-widget-register-link a {
	-webkit-appearance: none;
	padding: 11px;
	width: 100%;
	margin-top: 20px;
	cursor: pointer;
	color: #000!important;
}


/*-- PC版表示CSS  --*/
.pc_only{
	display:block;
}
.sp_only{
	display:none;
}

@media screen and (max-width: 768px){
  .pc_only{
    display:none;
  }
  .sp_only{
    display:block;
  }
}


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

}

/*960px以下*/
@media screen and (max-width: 960px) {
	.col_2 > div{
		width: 100%;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
    .sub-menu {
	background-color: #fff!important;
    }
    ol, ul {
        margin: 0 0 1em;
    }
    .footer-mobile {
	text-align: center;
    }
    ul.r34otd > li {
	width: 49%;
    }
}

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

    .widget-below-related-entries img {
	width: 160px!important;
	height: auto;
    }
    .widget-page-content-bottom img {
	width: 160px!important;
	height: auto;
    }

    .footer-menu {
	text-align: left;
	margin: 0 10px;
    }
    ul.r34otd > li {
	width: 49%;
    }
}




.r34otd-excerpt {
	display: none;
}