@charset "utf-8";
/* CSS Document */

/* ---------- cate1 ---------- */
.cate {
	position: relative;
}
.cate::after{
	position: absolute;
	content: "";
	background-image: url("https://okabecha.net/system_panel/uploads/images/commitment-bg.jpg");
	top:150px;
	left: 0;
	width: 80%;
	height: 40vw;
	z-index: 1;
}
.cate1 .box_wrap{
	position: relative;
	gap: 50px;
	z-index: 2;
}
.cate1:nth-of-type(even) .box_wrap{
    flex-direction: row-reverse;
}
.cate_wrap > .cate:nth-child(even)::after{
	left: auto;  
	right: 0;    
}
.cate1 .box_wrap .txtbox{
	width: calc(50% - 25px);
}
.cate1 .box_wrap .imgbox{
	width: calc(50% - 25px);
	margin-top: 30%;
}
.cate1 .box_wrap .txtbox .topbox .titlebox .title1{
	font-size: 40px;
	font-family: "Zen Old Mincho",  sans-serif;
}
.cate1 .box_wrap .txtbox .topbox .titlebox .title1 span{
	font-size: 50px;
	font-family: "Zen Old Mincho",  sans-serif;
	color: #53743B;
}
.cate1 .box_wrap .txtbox .topbox{
	position: relative;
}
.cate1 .box_wrap .txtbox .topbox .deco-item1{
	position: absolute;
	top:-50px;
	left:-50px;
}
/* ---------- cate2 ---------- */

/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
	.cate::after{
		top:150px;
		height: 60vw;
	}
	 .cate1 .box_wrap .txtbox .topbox .titlebox .title1 {
		font-size: 34px;
	}
	.cate1 .box_wrap .txtbox .topbox .titlebox .title1 span{
		font-size: 40px;
	}
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
	.cate1 .box_wrap {
		flex-direction: column-reverse;
	}
	.cate1:nth-of-type(even) .box_wrap {
		flex-direction: column-reverse;
	}
	.cate1 .box_wrap .imgbox {
		width: 50%;
		margin-top: 0%;
	}
	.cate1 .box_wrap .txtbox {
		width: 80%;
		margin-top: 0%;
	}
	.cate::after{
		top: 10%;
		width: 100%;
		height: 30vw;
	}

}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
	.cate::after{
		top: 10%;
		width: 100%;
		height: 50vw;
	}
	.cate1 .box_wrap .imgbox {
		width: 80%;
	}
	.cate1 .box_wrap .txtbox {
		width: 100%;
	}
	.cate1 .box_wrap .txtbox .topbox .deco-item1 {
		top: -50px;
		left: -20px;
	}
	.cate1 .box_wrap .txtbox .topbox .titlebox .title1 {
		font-size: 28px;
	}
	.cate1 .box_wrap .txtbox .topbox .titlebox .title1 span{
		font-size: 30px;
	}
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
	.cate1 .box_wrap .txtbox .topbox .deco-item1 {
		top: -50px;
		left: -0px;
	}
	.cate1 .box_wrap .txtbox .topbox .titlebox .title1 {
		font-size: 24px;
	}
	.cate1 .box_wrap .txtbox .topbox .titlebox .title1 span{
		font-size: 28px;
	}
	.cate::after{
		top: 20%;
		width: 100%;
		height: 60vw;
	}
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

