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

/************************************
** 子テーマ用のスタイルを書く
************************************/
.cat-label {
	display: none;
}

.ranking-items .ranking-item-detail a {
	background-color: #3eb370;
}

.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link {
	box-shadow: 2px 2px 4px 0px gray;
}

.wp-block-heading {
	margin-top: 2em;
}
.wp-block-heading:first-child{
	margin-top: 0;
}
.article h2 {
	padding: .75em;
	font-size: 18px;
}

.entry-card-title{
	font-size: .875rem;
}

figure.nmrk-table table{
	width: 100%;
}
figure.nmrk-table tr td:first-of-type{
	min-width: 5.5em;
}

.widget-sidebar .new-entry-cards {
	container: new-entry-cards / inline-size;
	display: flex;
	flex-wrap: wrap;
}

@container new-entry-cards (min-width: 350px) {
	.widget-sidebar .new-entry-card-link {
		width: 50%;
	}
}

@container new-entry-cards (min-width: 680px) {
	.widget-sidebar .new-entry-card-link {
		width:33.333%;
	}
}


.side-coupon{
	container: side-coupon / inline-size;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.side-coupon{
	container: side-coupon / inline-size;
	--gap: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
}

.side-coupon > p {
	--count: 1;
	width: calc( ( 100% - var(--gap) * (var(--count) - 1) ) / var(--count) );
}

@container side-coupon (min-width: 450px) {
	.side-coupon > p {
		--count: 2;
	}
}
@container side-coupon (min-width: 600px) {
	.side-coupon > p {
		--count: 3;
	}
}

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

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

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