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

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

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

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

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


/*ヘッダー、メイン、サイドバー、フッターの背景を黒に設定*/
.header-container,
.main,
.sidebar,
.footer {
background-color: ##000000;
}

/*検索ボックス修正*/
.search-edit, .search-box input[type="text"] {
	color: #4d4435;
	border-radius: 50px;
	outline: none;
	padding-left: 20px;
}

/* ②検索ボタン */
[type=submit].search-submit {
	top: 0;
	right: 0;
	height: 100%;
	padding: 8px 15px;
	/*background: #d98030; （一時的）*/
	color: #6c3de3; 
	font-size: 20px;
	font-weight: bold;
	border: none;
	border-radius: 0 50px 50px 0;
	transition:0.3s;
}

/* ③検索ボタン虫眼鏡の色変更(hover) */
@media screen and (min-width: 980px) {
	[type=submit].search-submit:hover {
		color: #000000;
		/*background: #e7b07e;（一時的*/
	}
}

/*固定ページの人気記事一覧をクラス分けし、2列表示*/
/* 固定ページの急上昇記事一覧をグリッドで2列表示 */
.fp-popular-entry-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列レイアウト */
    gap: 1%; /* カラムと行の間隔を調整 */
    box-sizing: border-box;
}

/* 各カードがグリッドセルの幅全体を占めるように */
.fp-popular-entry-cards .popular-entry-card-link.a-wrap {
    width: 100%;
    box-sizing: border-box;
}

/* モバイル端末用のレスポンシブスタイル */
@media (max-width: 768px) {
    .fp-popular-entry-cards {
        grid-template-columns: repeat(2, 1fr); /* モバイルでも2列表示 */
        gap: 1%; /* モバイルの間隔も調整 */
    }
}

/*固定ページの急上昇記事一覧をクラス分けし、2列表示
.popular-entry-cards fp-popular-entry-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
}

.fp-popular-entry-cards .popular-entry-card-link.a-wrap {
    display: inline-block;
    width: 49.5%;
}
*/

/*新着記事一覧（女性向け）をクラス分けし、2列表示*/
.fp-new-entry-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columns layout */
    gap: 1%; /* Adjust gap between columns and rows as needed */
    box-sizing: border-box;
}

.fp-new-entry-cards .new-entry-card-link.a-wrap {
    width: 100%; /* Make sure each card takes full width of its grid cell */
    box-sizing: border-box;
}




/* === 景品表示法対応 === */
/* Cocoon設定メインカラム左上のPR表記 */
.pr-label-s {
  display: inline-block;
  position: absolute;
  top: -6px; /* メインカラム上端からの位置調整 */
  left: 27px; /* メインカラム左端からの位置調整 */
  margin: 0;
  padding: 6px 0 5px 0;
  width: 60px;
  text-align: center;
  color: #fff; /* 文字の色 */
  font-size: 12px;
  background: #959595; /* ラベルの色 */
  border-radius: 3px 0 0 0;
  border: none;
  }
.pr-label-s:before {
  position: absolute;
  content: '';
  top: 0;
  right: -6px;
  border: none;
  border-bottom: solid 6px #333;
  border-right: solid 6px transparent;
}

/* === 景品表示法対応 === */
/* Cocoon設定本文上のPR表記 */
.pr-label-l {
    border-top: 1px dotted #fff; /* 上の点線 */
    border-bottom: 1px dotted #fff; /* テキスト下の点線 */
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 13px; /* 文字サイズ */
    color: #fff; /* 文字の色 */
    text-align: center; /* テキスト中央揃え */
    background: #000000;
    padding: 3px 0;
    margin-bottom: 2em;
}

/*タグ一覧追加*/
.tag_display::before {
	color: #6495ed;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f02b";
}

.tag-container {
	display: flex;
	flex-wrap: wrap;
}

.tag_display {
	display: inline-block;
	margin-right: 10px; /* タグ間の余白 */
	white-space: nowrap; /* タグを単語の途中で改行しない */
}

