@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.1
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*検索窓*/
.search-box .search-edit {
font-size: 14px;
padding: 5px 20px;
border: 1px solid #333;
border-radius: 30px;
height: 50px;
}
.search-box .search-submit {
top: 0;
right: 0px;
height: 100%;
width: 60px;
color: #333;
}

/*見出し*/ 
.article h2,
.sidebar h3 {
  position: relative;
  padding: 5px;
  background-color: unset;
  padding-bottom: 0px;
}

.article h2::after,
.sidebar h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}

.article h3,.article h4, .article h5, .article h6,#toc{
	border-color:#333;
}

.article h3{
	border-right:unset;
	border-bottom:unset;
	border-top:unset;
	border-left: solid 4px #333;
}

/*見出し太さ*/
.article h1,.article h2,.article h3,.sidebar h3, #archive-title{
	font-weight:500;
}

/*ページネーション*/
.pagination-next-link {
	display: none;
}
.page-numbers {
	color: #c0966d;
	border: 1px solid #c0966d;
	border-radius: 50%;
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	text-align: center;
	vertical-align: middle;
}
.pagination .current { /*現在のページ*/
	background-color: #c0966d;
         color: #fff;
}
.pagination .next{ /*次のページ*/
	background-color:  #c0966d;
	color:#fff;
}
.pagination .prev{ /*前のページ*/
	background-color:  #c0966d;
	color: #fff;
}
.page-numbers.dots { /*ドット「…」の部分*/
	opacity: 1;
	background: none;

}
.pagination a:hover { /*マウスホバー時*/
	background-color: #c0966d;
        color: #fff;
}

/* 目次上下余白 */
#toc {
	margin-top: 50px;
	margin-bottom: 50px;
}

/* ウィジェットにAwesomeアイコンを表示*/
.widget h3::before { font-family: FontAwesome; font-size: 120%; vertical-align: middle; font-weight: normal; margin-right: 8px; color:#333;}
.widget_popular_entries h3::before { content: '\f024'; } /* 人気記事 */
.widget_new_entries h3::before { content: '\f005'; } /* 新着記事 */
.widget_categories h3::before { content: '\f02b'; } /* カテゴリー */

#text-8 h3::before {
  content: '\f084'; /* Font Awesomeの鍵アイコン */
  font-family: FontAwesome;
  font-size: 120%;
  vertical-align: middle;
  font-weight: normal;
  margin-right: 8px;
  color: #333;
}

/*cat-label（カテゴリラベル）色*/
.cat-label
 {	
	 background-color: #c0966d;
}
/* フッター文字サイズ */
@media screen and (max-width: 768px) {
  .footer-bottom-content a {
    font-size: 13px;
  }
	
/* 表デザイン */
.td-left {
  padding: 15px;
  background-color: #F6F7F8;
  width: 200px;
  text-align: center;         /* 横方向の中央揃え */
  vertical-align: middle;     /* 縦方向の中央揃え */
  font-weight: bold;
  white-space: nowrap;
}

.td-right {
  padding: 15px;
  background-color: #ffffff;
  vertical-align: top;
}

@media screen and (max-width: 768px) {
  .td-left {
    display: block;
    width: 100%;
    white-space: normal;
    text-align: left;          /* スマホでは通常の左寄せに */
    vertical-align: top;
  }

  .td-right {
    display: block;
    width: 100%;
  }
}
.entry-card-wrap{
  border-style: none;
}
.entry-card-title, .related-entry-card-title {
    line-height: 1.5;
    padding: 8px;
    font-weight: 400;
  }
.related-entries.recb-entry-border .related-entry-card-wrap{
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  border-style: none;
  margin-bottom:7px;
}
.sidebar h3{
  padding: 0.5em 0.8em;
  font-size: 1em
}

/*人気・新着記事 タイトル*/
.widget-entry-card,new-entry-card {
font-size: 15px;
line-height: 1.5em;
}

/*cat-label（カテゴリラベル）の位置と文字のカスタマイズ*/
.entry-card .cat-label {	
top: 0%;	
left: 0%;	
line-height: 1.8;	
font-size: 0.67em;	
font-weight: 500;
	 border: 0;
}	

.balloon2-top {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 15px;
    padding: .8em 1.2em;
    border: 3px solid #d5477e;
    border-radius: 5px;
    background-color: #fff;
    color: #333333;
}

.balloon2-top::before,
.balloon2-top::after {
    position: absolute;
    top: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    content: '';
}

.balloon2-top::before {
    background-color: #d5477e;
}

.balloon2-top::after {
    top: -11px;
    background-color: #fff;
}

/*トップバナーPC４列*/
.recommend-2{
	display:flex;
}
.recommend-2 a img {
	display: block;
	padding: 30px 4px 0 4px;
	width: 100%;
}

/*トップバナースマホ２列*/
.recommend-3{
	display:flex;
}
.recommend-3 a img {
	display: block;
	padding:4px 2px 0 2px;
	width: 100%;}

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

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

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