/*
Theme Name: niche
Description: nicheのオリジナルテーマ
Author: riant
*/
.formbox2 .wpcf7-not-valid-tip {
	margin-top: -5px;
	color: #C00;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
}
.formbox2 .wpcf7-not-valid-tip::before {
	content: "※";
}
.formbox2 div.wpcf7-validation-errors,
.formbox2 div.wpcf7-acceptance-missing {
	margin: 0 0 20px 0;
	padding: 10px;
	border: none;
	background-color: #fee4e4;
	color: #C00;
	font-size: 16px;
	font-weight: bold;
}
.formbox2 div.wpcf7-mail-sent-ok {
	margin: 0;
	padding: 10px;
	border: none;
	background-color: #dce7f9;
	color: #052355;
	font-size: 16px;
	font-weight: bold;
}

/* =======================================
	Instagram Feed
======================================= */
#sb_instagram #sbi_images {
	float: none;
	display: flex;
	width: calc(100% + 1.286em);
}
#sb_instagram #sbi_images .sbi_item {
	width: calc(20% - 1.286em)!important;
	margin-right: 1.286em!important;
}
@media screen and (max-width:768px){
	#sb_instagram #sbi_images .sbi_item {
		min-width: 9.5em!important;
	}
}

/* =======================================
	post
======================================= */
.wp-block-image img {
	height: auto;
}

/* =======================================
	youtube
======================================= */
.top_movie {
	margin-top: 7.143em;
	margin-bottom: 14em;
}
@media screen and (max-width:600px) {
	.top_movie {
		margin-bottom: 10em;
	}
}
.top_youtube_wrap {
	position:relative;
	width: 1000px;
	max-width: 100%;
	padding-top:56.25%;
	cursor: pointer;
}
.top_youtube {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.top_youtube_thumb {
	position:absolute;
	top:0;
	left:0;
	z-index:1;
}
.top_youtube_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.top_youtube_wrap iframe{
	position:absolute;
	top: 0;
	left: 0;
	width:100% ;
	height:100% ;
}
