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



/*ミドルナビ（会社情報、お問い合わせページ）
-----------------------------------------------------------*/
#middle-nav{
    z-index: 300;/*palalax 指定------------------300*/
}

.navi-contents{
	width: 100%;
}

.navi-contents ul li.box{
	float: left;
	width: 50%;
	cursor: pointer;
	overflow: hidden;
	position: relative;
}

.navi-contents ul li .box-bg{
	width: 100%;
	height: 400px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: transform .6s ease;
}
.box:hover .box-bg {
	transform: scale(1.1);
}

@media screen and (max-width: 1000px) {

.navi-contents ul li.box{
	width: 100%;
}

.navi-contents ul li .box-bg{
	height: 250px;
}

}

.middle-nav-text .eg-text,.middle-nav-text .text-16{
	align-items: center;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	width: 90%;
	z-index: 2;
	color: #fff;
	filter:drop-shadow(3px 3px 3px rgba(0,0,0,0.9));
}
.middle-nav-text .eg-text{
	top: -5%;
    /*font-family: 'Urbanist', sans-serif;*/
    font-family: "Quicksand", sans-serif;
	font-size: clamp(24px, 2vw, 36px);
}
.middle-nav-text .text-16{
	top: 15%;
}

/* マスク */
.box::before {
	background: rgba(0, 0, 0, .5);/* マスクの色(黒の50%) */
	bottom: 0;
	content: '';
	height: auto;
	left: 0;
	opacity: 0;/* 最初は透明（非表示） */
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity .6s ease;/* ゆっくりopacityのみへ変化させる */
	width: 100%;
	z-index: 1;
}
.box:hover::before {
	opacity: 1;
}


.navi-contents ul li .company-nav{
	background-image: url(../images/company-nav.png);
}
.navi-contents ul li .product-nav{
	background-image: url(../images/product-nav.png);
}
.navi-contents ul li .contact-nav{
	background-image: url(../images/contact-nav.png);
}



















