/*
blog.css
custom
*cssのコードを追加する際はこちらに入力してください。
single
*記事ページのcssはこちらに記載されています。
top
*記事一覧のcssはこちらに記載されています。
product-items
*取扱商品記事一覧のcssはこちらに記載されています。
blog-footer
*最新の記事、アーカイブのssはこちらに記載されています。
mobile
*レスポンシブ用css
*/

/* custom */
.subsidy{
	background: #ff0000 !important;
}
/* single */
.single-header{
	background: #dff5ff;
	padding: 10px 0;
}
.single-area,
.single-title,
.single-topimg,
.sns-area,
.page-n,
.category-page{
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
}
.single-title h1{
	font-size: 30px;
	font-weight: bold;
	margin: 3% 0;
}
.single-data{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.category-group{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.single-category{
	background: #016ad4;
	color: #fff;
	padding: 5px 8px;
	margin: 0 5px;
	font-weight: bold;
}
.single-topimg{
	margin: 5% auto;
}
.single-topimg img{
	width: 100%;
}
.sns-area ul{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: space-between;
}
.sns-area li{
	display: block;
	width: 24%;
	text-align: center;
}
.sns-area a{
	display: block;
	color: #fff;
	font-size: 24px;
}
.single-area{
	font-size: 16px;
	margin: 5% auto;
}
.single-area h3{
	background: #dff5ff; /* top */
	font-size: 18px;
	font-weight: bold;
	text-align: left;
	border-left: 5px solid #24b9fe;
	padding: 5px 10px;
	margin: 2% 0;
}
.page-n{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: space-between;
	margin: 8% auto 5%;

}
.single-pn{
	max-width: 300px;
	width: 40%;
	height: 200px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	overflow: hidden;
	padding-top: 0%;
}
.single-pn img{
	display: block;
	width: 100% !important;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.label-prev,
.label-next{
	position: absolute;
	background: #5eb0c5;
	color: #fff;
	padding: 5px 10px;
}
.label-prev{
	top: 0;
	left: 0;
}
.label-next{
	top: 0;
	right: 0;
}
.pn-title{
	position: absolute;
	bottom: 0;
	background: rgba(255,255,255,0.8);
	text-align: left;
	font-size: 12px;
	padding: 5px;
	width: 100%;
}
.pn-title h5{
	text-align: left;
	font-size: 14px;
}
.category-page{
	margin: 5vw auto;
}
.category-page h5{
	font-weight: bold;
}
.category-page li{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	margin: 1vw auto;
}
/* top */
.blog-top-img{
	position: relative;
	width: 100%;
	margin-bottom: -20vw;
	z-index: -1;
}
.blog-top{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.blog-top::after{
	display: block;
	content:"";
	width: 30vw;
  max-width: 280px;
}
.blog-block,
.blog-block-s{
	position: relative;
	width: 30vw;
	max-width: 280px;
	background: #fff;
	margin: 1%;
	font-size: 16px;
	text-align: left;
}
.blog-block{
	width: 30vw;
	max-width: 280px;
}
.blog-block-s{
	width: 24vw;
	max-width: 230px;
	padding: 10px;
}
a.blog-link:hover img{
	opacity: 1;
}
.blog-block a,
.blog-block a:visited,
.blog-block-s a,
.blog-block-s a:visited{
	color: #000;
}
.blog-link{
	display: block;
}
.label-new{
	position: relative;
}
.label-new::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 60px solid transparent;
    border-left: 60px solid #fb9504; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}
.label-new::after {
    content: "new";
    display: block;
    top: 5px;
		left: 5px;
    color: #fff; /* 文字色はここで変更 */
    position: absolute;
    z-index: 101;
}
.blog-title{
	text-align: left;
	font-size: 20px;
	color: #000;
	font-weight: bold;
	padding: 10px 0;
	border: none;
}
.blog-img,
.blog-img-s{
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
.blog-img img{
	width: 30vw;
	height: 30vw;
	max-width: 280px;
	max-height: 280px;
	object-fit: cover;
	object-position:50% 50%;
}
.blog-img-s img{
	width: 24vw;
	height: 24vw;
	max-height: 200px;
	object-fit: cover;
	object-position:50% 50%;
}
.blog-img img::before{
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 200px 200px 0 0;
	border-color: #fb9504 transparent transparent transparent;
}
.jx-image img{margin: 0 !important;}
.category-label{
	display: inline-block;
	border-radius: 15px;
	padding: 5px 15px;
	margin: 5px;
	min-width: 80px;
	text-align: center;
}
.c-blue{
	background-color: #bef1fd;
}
.category-area{
	margin: 0;
	background-color: #fbeeee;
	padding: 20px;
	margin-bottom: 5%;
}
.category-area h3{
	text-align: left;
	font-size: 16px;
	padding-top: 20px;
}
.category-area h3 span{
	font-size: 22px;
}
.category-list{
	width: 100%;
	max-width: 1080px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 1% auto;
}
.category-list li{
	margin: 1.5% 1%;
}
.category-list a,
.category-list a:visited{
	background-color: #fff;
	font-size: 16px;
	color: #000;
	margin: 0;
	padding: 5px 15px;
	border: 1px solid #000;
	border-radius: 30px;
	white-space: nowrap;
}

.blog-category{
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
}
.side-category{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-top: 3%;
}
.label-category{
	background: #016ad4;
	color: #fff;
	padding: 3px 5px;
	margin-left: 3px;
	margin-bottom: 3px;
	font-weight: bold;
}
.blog-des{
	padding: 0.5vw 0;
}
/* product-item */
.product-top{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.product-block{
	position: relative;
	width: 30vw;
	max-width: 300px;
	background: #fff;
	margin: 1% 1% 150px;
	font-size: 16px;
	text-align: left;
	padding-bottom: 100px;
}
.product-title{
	text-align: center;
	font-size: 24px;
	color: #000;
	border: none;
	padding: 5px;
	border-bottom: 2px solid #e36969;
}
.product-img{
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
.product-img img{
	width: 30vw;
	height: 30vw;
	max-width: 280px;
	max-height: 280px;
	object-fit: cover;
	object-position:50% 50%;
}
.product-des{
	padding: 3% 0;
	height: 70px;
}
/* product-child */
.product-content{
	width: 95%;
  max-width: 1080px;
	margin: 0 auto;
}
.product-content h2{
	text-align: left;
	font-size: 22px;
}
.product-content > div,
.wp-block-separator{
	margin: 5% auto;
}
.product-content > div.wp-block-spacer{
	margin: 0 auto;
}

/* blog-footer */
.wp-pagenavi{
	text-align: center;
}
.wp-pagenavi a,
.wp-pagenavi span{
	border: 1px solid #f19c96 !important;
	background: #f19c96 !important;
	color: #fff !important;
}
.blog-sub{
	margin: 5% auto 3%;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: space-between;
}
.blog-subt{
	font-size: 18px;
	font-weight: bold;
}
.blog-subt h3{
	display: inline-block;
	padding: 5px 20px;
}
.subt{
	position: relative;
}
.subt h4{
	margin: 5% 0 3%;
}
.subt a:hover,
.subt a:visited{
	color: #666;
}
.new-archive li{
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	justify-content: flex-start;
	margin: 3% auto;
}
.new-archive li a{
	width: 40%;
}
.new-archive{
	width: 45%;
	margin: 0 auto;
}
.archive-list,
#archives-dropdown-2,
.postform{
	background: url(./img/widget_cat_drop_down.png) no-repeat right 10px center;
	background-color: #f19c96;
	display: block;
	overflow: hidden;
	color: #fff;
	font-size: 18px;
	width: 90%;
	border: none;
	cursor: pointer;
	margin: 3% auto;
	padding: 5px 10px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	/* box sizing */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
.widget_archive h2,
.widget_categories h2{
	display: none !important;
}
/* mobile */
@media screen and (max-width: 767px){
	/* single */
	.single-area,
	.single-title,
	.single-topimg,
	.sns-area,
	.page-n,
	.category-page{
		width: 95%;
		margin: 0 auto;
	}
	.single-title h1{
		font-size: 20px;
		margin: 3% 0;
	}
	.single-topimg{
		margin: 5% auto;
	}
	.sns-area a{
		font-size: 22px;
	}
	.blog-img img,
	.blog-img-s img,
	.product-img img{
		width: 90vw;
		height: 90vw;
	}
	.blog-img-s img{
		max-width: 280px;
		max-height: 280px;
	}

	.single-area{
		font-size: 14px;
		margin: 5% auto;
	}
	.single-area h3{
		font-size: 16px;
		border-left: 10px solid #24b9fe;
		padding: 5px;
		margin: 5% 0;
	}
	.single-area h3 span::before,
	.single-area h3 span::after{
		content: none;
	}
	.page-n{
		display: block;
		margin: 8vw auto 5vw;
	}
	.single-pn{
		position: relative;
		width: 100%;
		margin: 5vw 0;
	}
	.label-category,
	.label-prev,
	.label-next{
		font-size: 4vw;
		font-weight: bold;
	}

	.pn-title{
		font-size: 3.5vw;
		padding: 10px;
		box-sizing: border-box;
	}
	.pn-title h5{
		text-align: left;
		font-size: 4vw;
		font-weight: bold;
	}
	.category-page{
		margin: 5vw auto;
	}
	.category-page h5{
		font-weight: bold;
	}
	.category-page li{
		display: block;
		margin: 3vw auto;
	}
	.category-list li{
		margin: 3% 1%;
	}
	/* single_relation (image) */
	/*
	.blog-img-m{
		width: 100%;
		margin: 0 auto;
		text-align: center;
		position: relative;
		overflow: hidden;
		width: 20vw;
		margin-right: 15px;
		max-width: 250px;
		height: 200px;
		padding: 0;
	}
	.blog-img-m img{
		display: block;
		width: 100% !important;
		height: auto;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		object-fit: cover;
	}
 */
 .mbnot{
	 display: none!important;
 }
	.side-category{
		margin: 0 auto 5%;
		justify-content: flex-end;
	}
	/* top */
	.blog-top-img{
		position: static;
		margin-bottom: 0;
	}
	.blog-top{
		display: block;
	}
	.blog-block,
	.product-block,
	.blog-block-s{
		position: relative;
		width: 95%;
		margin: 5vw auto;
		padding: 10px;
		font-size: 16px;
	}
	.product-block{
		margin: 5vw auto 70px !important;
		padding: 10px 10px 70px !important;

	}
	.blog-block-s{
		max-width: 300px;
	}
	.label-new{
		left: 0;
		padding:0;
	}
	.blog-title,
	.product-title{
		font-size: 5vw;
		font-weight: bold;
	}
	.label-category{
		padding: 0.3vw 0.5vw;
	}
	.blog-des,
	.product-des{
		padding: 0.5vw 0;
		font-size: 3.5vw;
	}
	/* blog-footer */
	.blog-sub{
		width: 95%;
		margin: 8vw auto ;
		display: block;
	}

	.widget_archive,
	.widget_categories{
		font-size: 4vw;
	}

	.widget_archive h2,
	.widget_categories h2{
		display: inline-block;
		padding: 0.5vw 2vw;
		border-bottom: 5px solid #999;
	}
	.subt h4{
		margin: 1vw 0;
	}
	.new-archive li{
		margin: 3vw auto;
	}
	.new-archive li a {
    width: auto;
	}
	.new-archive,.blog-archive{
		width: 100%;
		margin: 0 auto;
	}
	.archive-list{
		font-size: 12px;
		margin: 5vw auto;
		padding: 2vw 3vw;
	}
	.archive-list,
	#archives-dropdown-2,
	.postform{
		font-size: 5vw;
	}
}
