@charset "UTF-8";
/* ------------------------------------------------
                    事例紹介
--------------------------------------------------- */
.case{
	border-bottom: 8px solid;
	border-image: linear-gradient(to right, #e9be44, #f4eeb0 50%, #e9be44) 1;

}
.case .lead-txt{
	text-align: center;
	color:#fff;
	margin-bottom: 60px
}

@media (max-width: 768px) {
	.case{
		border-top: 1.5vw solid;
	}
	.case .lead-txt{
		margin-bottom: 8vw;
	}
}

.case-wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-bottom: 0;
}

.case-wrap .case-item{
	width:calc(100%  / 4 - 20px);
	margin:0 10px 30px;
	border-radius: 20px;
	padding: 4px;
	background: linear-gradient(to right, #e9be44, #f4eeb0 50%, #e9be44);
	background: -moz-linear-gradient(left, #e9be44, #f4eeb0 50%, #e9be44);
	background: -webkit-linear-gradient(left, #e9be44, #f4eeb0 50%, #e9be44);
}

.case-wrap .case-item .item-inn{
	height:100%;
	background: #fff;
	border-radius: 16px;
	padding: 15px;
	text-align: center;
	font-size:1.8rem;
	font-weight: 700;
	color:#dd1312
}

.case-wrap .case-item .item-inn .img{
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 6px
}
.index .case-wrap .case-item{
	width:calc(100% / 3 - 20px);
}
.index .case-wrap .case-item .item-inn{
	font-size:2.3rem;

}

@media (max-width: 1080px) {
	.index .case-wrap .case-item,
	.case-wrap .case-item{
		width:calc(100% / 3 - 2vw);
		margin:0 1vw 2vw;
	}
	.index .case-wrap .case-item .item-inn,
	.case-wrap .case-item .item-inn{
		font-size:1.8vw;
		 padding: 1vw;
	}
	.index .case-wrap .case-item .item-inn{
		font-size:2vw
	}
}

@media (max-width: 768px) {
	.case-wrap{
		justify-content: space-between;
		margin-bottom:6vw;
	}


	.index .case-wrap .case-item,
	.case-wrap .case-item{
		width:calc((100% - 4vw) / 2);
		margin:0 0 4vw;
		border-radius: 6vw;
		padding: 1.2vw;
	}

	.index .case-wrap .case-item .item-inn,
	.case-wrap .case-item .item-inn{
		border-radius:5vw;
		padding:2vw;
		font-size:3.6vw;
	}

	.case-wrap .case-item .item-inn .img{
		border-radius: 4vw;
		margin-bottom: 2vw
	}

}



/*----modal-----*/
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
	left:0;
    width: 100%;
	z-index: 9999
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    width: 100%;
	position: absolute;
}
.modal__content{
    position: absolute;
	border-radius: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
	max-width: 800px;
	max-height: 85vh;
    overflow-y: auto;
    box-sizing: border-box;
	padding: 6px;
	background: linear-gradient(to right, #e9be44, #f4eeb0 50%, #e9be44);
	background: -moz-linear-gradient(left, #e9be44, #f4eeb0 50%, #e9be44);
	background: -webkit-linear-gradient(left, #e9be44, #f4eeb0 50%, #e9be44);

}
.modal__content .close-btn{
	position: absolute;
	content:'';
	top: 0.5em; /* -1.5em */
	right: 1em;
	color:#000;
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}
.modal__content_inn{
	padding: 20px;
	background: #fff;
	border-radius: 16px;
}

.modal__content_inn .m_ttl{
	display: flex;
	align-items: center;
}
.modal__content_inn .m_ttl .line{
	width: calc((100% - 24em) /2);
	padding: 0 5px ;
	height: 2px;
	display: block;
	background: #cfac53;
	position: relative
}
.modal__content_inn .m_ttl .line::before,
.modal__content_inn .m_ttl .line::after{
	position: absolute;
	content:'';
	width:10px;
	height:10px;
	background: #cfac53;
	top:0;
	left:0;
	bottom:0;
	transform: rotate(45deg);
	margin: auto
}
.modal__content_inn .m_ttl .line::after{
	top:0;
	right:0;
	left:auto;
	bottom:0;
}

.modal__content_inn .m_ttl .txt{
	width: 24em;
	text-align: center;
	font-size: 2.4rem;
	color: #dd1312;
	font-weight: 700;
	flex-grow: 1;
}

.modal__content_slide{
	width:80%;
	margin: 20px auto;
	font-size:1.5rem
}
.modal__content_slide img{
	width: 100%;
	max-width: 310px;
	margin: 0 auto;
}

.js-modal-close{
	display: block;
	text-align: center;
	font-size:1.3rem;
}

@media (max-width: 768px) {
	.modal__content{
		position: absolute;
		border-radius: 6vw;
		width: 90%;
		max-width: inherit;
		padding: 1.4vw;
	}
	.modal__content .close-btn{
		font-size: 5vw
	}
	.modal__content_inn{
		padding: 4vw 2vw;
		border-radius: 5vw;
	}


	.modal__content_inn .m_ttl .line{
		width:calc((100% - 20em) /2);
		padding: 0 2vw;
		height:0.5vw;
		display: block;
		background: #cfac53;
		position: relative
	}
	.modal__content_inn .m_ttl .line::before,
	.modal__content_inn .m_ttl .line::after{
		width: 2vw;
		height: 2vw;
	}

	.modal__content_inn .m_ttl .txt{
		width: 20em;
		font-size:4.8vw;
		line-height: 1.2
	}

	.modal__content_slide{
		width:90%;
		margin: 4vw auto;
		font-size:3.4vw
	}

	.js-modal-close{
		display: block;
		text-align: center;
		font-size:3.2vw;
	}

}


/*----slide-----*/
.slide-item{
	border-radius: 20px;
	overflow: hidden
}
.slide-arrow {
	margin: auto;
	position: absolute;
	z-index: 3;
	top: 0;
	width: 50px;
	height: 100%;

}
.slide-arrow::before{
	position: absolute;
	content:'';
	width:40px;
	height:40px;
	border-radius: 50%;
	background: #dd1312;
	top:50%;
}
.slide-arrow::after{
	position: absolute;
	content:'';
	width:15px;
	height:15px;
	top:calc(50% + 10px);

}
.prev-arrow{
	left: -50px;
}
.next-arrow{
	right: -50px;
}
.next-arrow.slide-arrow::before {
	right:0
}
.prev-arrow.slide-arrow::after {
	border-top:2px #fff solid;
	border-left:2px #fff solid;
	transform: rotate(-45deg);
	left: 15px;
}
.next-arrow.slide-arrow::after {
	border-top:2px #fff solid;
	border-right:2px #fff solid;
	transform: rotate(45deg);
	right: 15px;
}

.slick-dots li button:before{
	font-size:12px;
}
.slick-dots li.slick-active button:before{
   color:#dd1312
}
@media (max-width: 768px) {
	.slide-item{
		border-radius: 6vw;
	}
	.slide-arrow {
		margin: auto;
		position: absolute;
		z-index: 3;
		top: 0;
		width: 10vw;
		height: 100%;

	}
	.slide-arrow::before{
		position: absolute;
		content:'';
		width:10vw;
		height:10vw;
		border-radius: 50%;
		background: #dd1312;
		top:calc(50% - 5vw);
	}
	.slide-arrow::after{
		position: absolute;
		content:'';
		width:4vw;
		height:4vw;
		top:calc(50% + -2.5vw);

	}
	.prev-arrow{
		left: -5vw; /* -10vw */
	}
	.next-arrow{
		right: -5vw; /* -10vw */
	}
	.next-arrow.slide-arrow::before {
		right:0
	}
	.prev-arrow.slide-arrow::after {
		left: 3.5vw;
	}
	.next-arrow.slide-arrow::after {
		right: 3.5vw;
	}

	.slick-dots li button:before{
		font-size:3vw;
	}

}
