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

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



/*掲示板の不要な欄削除*/

.topic-wra,
.wpf-author-nicename {
	display:none
} 

.comment-form-url,
.comment-form-email,
.author-joined !important {
	display:none;
}

.wpforo-topic-footer.wpfbg-9,
#wpforo-footer {
	display:none
}

.author-rating-full {
  display: flex !important;
  justify-content: center;  /* 横方向中央揃え */
}

/* スマホ用: 画面幅が920px以下の場合、左寄せ */
@media (max-width: 920px) {
  .author-rating-full {
    justify-content: flex-start;  /* 左寄せ */
  }
}


/*左よせ*/
.post .entry-content label {
	display:none
}
.entry-card-title.card-title.e-card-title {
    margin-left: 5px;
}


/*ボタン装飾*/
.post button {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  background-color: #ffa300;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 24px;
	border-radius: 4px;
  border-bottom: 4px solid #d37800;
}

.post button:active {
    transform: translateY(4px);
    border-bottom: none;
}

/*メインテキスト*/
.main-widget-label {
	font-weight:bold;
	font-size:30px;
	text-align:center
}

/*カテゴリー表示を消す*/
.cat-link {
	display: none
}

/*新着情報中央寄せ*/
h1 {
	text-align:center
}

/*投稿本文のリストスタイル削除*/
.post ul {
  list-style-type: none;
  padding: 0;
}
.wpuf-field-data-radio_field {
	display:none
}

/*ランキングを横並び表示*/
@media screen and (min-width: 400px) {
	.widget-entry-cards.card-large-image .a-wrap {
		width: 32%;
		display: inline-block;
	}
}

@supports (object-fit: contain) {
  .widget-entry-cards.card-large-image .a-wrap img {
    height: 250px;
    object-fit: contain;
  }
}

/*インデックスのサムネイルサイズを補正*/
@supports (object-fit: contain) {
  .ect-entry-card .entry-card-thumb img {
    height: 250px;
    object-fit: contain;
  }
}

@media screen and (max-width:480px) { 
	@supports (object-fit: contain) {
  .ect-entry-card .entry-card-thumb img {
    height: 100px;
    object-fit: contain;
  }
}
}

/*アドセンス中央揃え*/
.ad-wrap {
	text-align:center;
}

.content-top {
	display: flex;
  justify-content: center;
}

/*保存期間の横並び*/
.wpuf-el.left_second.field-size-large .wpuf-fields {
	display:flex;
	gap: 15px;
}

/*URLのテキストエリア*/
.post textarea {
    width: 100%;
    height: 100px;
}


/*サイドバー　アカウント*/
.um-misc-ul {
	display:none
}

/*LINE登録のサイズ調整*/
#media_image-2 {
	text-align: center;
  }

#media_image-2 img {
    width: 40%;
  }

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

/*保存期間の横並び*/
.wpuf-el.left_second.field-size-large .wpuf-fields {
	display:flex;
	flex-wrap: wrap;
	}

}


