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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 記事ー追加PHPのCSS */
div.related_post_wrap{
	display: flex;
    flex-wrap: wrap;
    text-align: center;
	width: 98%;
	max-width:98%;
}

div.related_post_innner_content {
    width: 25%;
    margin: 0.1em;
}

/* 全表示 固定ページ ページネーション */
div.all_related_post_innner_content{
    width: 24%;
    margin: 0.1em;
	text-align:center;
}

ul.page-numbers {
	display: flex;
    align-items: center;
    flex-basis: content;
    padding: 2em;
    list-style: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
	justify-content: center;
}
span.page-numbers.current {
    font-size: x-large;
    border: 1px solid #898383;
    border-radius: 30px;
}

div.all_related_post_innner_content > a{
	display:block;
}

/* 検索  function */
form.my_searchform > input {
    margin: 0.1em;
}
form.my_searchform > select {
    margin: 0.1em;
}
form.my_searchform {
    display: flex;
    flex-wrap: inherit;
    width: 100%;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	div.related_post_innner_content{
		width:48%;
	}
	div.all_related_post_innner_content {
		width:48%;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	div.category-wrap > li{
		width: 48%;
	}
	div.related_post_innner_content{
		width:100%;
	}
	div.all_related_post_innner_content {
		width: 100%;
	}
	form.my_searchform {
    	flex-wrap: wrap;
    }
	.widget-entry-cards.card-large-image .a-wrap {
       width: 48%;
	}
    /* twitter-timeline*/
	div.twitter-timeline{
		width:100%;
	}
}

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