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

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

/* タイトルを2行にする */
.entry-card-title,.card-title,.e-card-title,.wp-block-latest-posts__post-title,.related-entry-card-title{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 16px;
}

/* 記事の横並び対応 */
.content-column{
	flex-basis:45%;
}
.is-layout-flex{
	align-items: flex-start;	
}

/* 関連記事のタイトルを見せないようにする */
/* .post .related-entry-card-content{
	display: none;
} */

.a-wrap{
	margin-bottom: 0%;
	padding: 0.5%
}
.related-entries{
	margin-bottom: 0%;
}

.related-entry-card-title{
	margin-bottom: 0%;
	/* font-size: 14px !important; */
}

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

.article p{
	margin-bottom:0;
	margin-block-start: 4px;
}

.article h4{
	margin-bottom:0.5em;
}

.entry-card-content,.card-content,.e-card-content{
	padding-bottom:0;
}

figure img {
	max-width: 100%;	
	vertical-align: bottom;
	line-height: 1.0em;
	margin: 0 auto; 
}

.ect-vertical-card,.entry-card-wrap{
	margin-bottom: 0;
}

h2.wp-block-heading{
	margin:0.5em;
}

/* 記事欄の星の表示のアンダーバーを消す */
.show-stars,.show-status{
	text-decoration: none;
}

/* メニューバーの縦幅を変更する */
.navi-in > ul li {
	display: block;
	width: 176px;
	height: 44px;
	line-height: 44px;
	position: relative;
}
.navi{
	padding:8px;
}

/* 検索条件を表示するエリア */

.search-condition-area {
	/* border-style:solid;
    border-color:#10268d!important; */
    background-color: #d3d6db!important;
	padding:1em;
	margin-bottom: 2em;
}

/* 現在のページの数字が大きくなるのがダサいので修正 */
.pagination .current {
    /* color: #fbfcfe; */
    /* background-color: #19295a; */
    font-size: 100%;
    /* border: 2px solid #d3d6db; */
    border-radius: 0%;
}

.page-numbers {
    background-color: #d3d6db;
    border-radius: 0%;
    border: none;
}

/* 画像にある動画コンテンツというラベルを削除する */
.cat-label {
	display: none;
}

/* ワンクリック応援エリアを右側にフロートさせる */
.ouen-right{
	float:right;
	width: 20%;
	margin: 30px;
	padding: 10px;
	background-color: #3E4989;
	/* border: 2px solid #EA3535; */
	font-size: 14px;
	text-align: center;
}

.ouen-right a{
	font-size: 20px;
	color: white;
}

a.a-ouen-right:link {
	color:white;
}


.header{
	display:flex;
}

.wp-block-columns{
	margin-bottom: 1.8em !important;
}


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

/*834px以下*/
@media screen and (max-width: 781px){
  /*必要ならばここにコードを書く*/
  .category-image{
	display:none;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .entry-card-title,.card-title,.e-card-title,.wp-block-latest-posts__post-title,.related-entry-card-title{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 10px !important;
	line-height: 11px
 }

/*本文の見出し*/
.entry-title,
.article h2 {
	padding: 0.2em;
}
.content-column{
	flex-basis:100%;
}

}