@charset "UTF-8";

/*==========================================
PC［1080px~］
TOPページのスタイル
===========================================*/
main {
	overflow: hidden;
	/*win50% -50vw対策*/
}

/*------------
 mainArea
------------*/
#mainArea,
.mainWrap {
	position: relative;
}

.mainWrap {
	margin-top: 85px;
	width: 100%;
	max-height: 800px;
	overflow: hidden;
}

/*
.videoWrap {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}*/

.mainWrap video {
	margin: auto;
	width: 100%;
	max-height: 800px;
	object-fit: cover;
	object-position: center;
	/*position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);*/
}


/*------------
aboutArea
------------*/
#aboutArea .inner {
	padding-top: 80px;
}

#aboutArea .text-lead {
	font-weight: bold;
}

/*------------
casestudyArea
------------*/
:is(#casestudyArea, #serviceArea, #newsArea) .inner {
	padding: 120px 0;
	position: relative;
}

.casestudyAreaWrap {
	margin: 0 calc(50% - 50vw) 0 0;
	width: 100vw;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	container-type: inline-size;
}

.casestudyAreaWrap .textWrap {
	width: min(100%, 400px);
}

.slideWrap.box {
	padding: 5em 0 5em 5em;
	border-radius: 80px 0 0 80px;
	width: calc(100% - 400px)
}

@container (max-width: 700px) {

	.casestudyAreaWrap .textWrap,
	.slideWrap.box {
		width: 100%;
	}
}

@container (min-width: 600px) and (max-width: 700px) {
	.casestudyAreaWrap .textWrap {
		margin-bottom: 50px;
	}

	.casestudyAreaWrap .textWrap .btm {
		position: absolute;
		top: 120px;
		right: 0;
	}
}

/*splide*/
.caseSlider .splide__track {
	margin-bottom: 30px;
}

.splide-parts {
	width: min(100%, 250px);
	position: relative;
}

/*ページャー*/
.caseSlider .splide__pagination {
	width: 130px;
	height: 5px;
	background: var(--sub-color);
	left: 30px;
	top: 13px;
	position: absolute;
	display: block !important;
}

.caseSlider .splide__pagination li {
	height: 100%;
	overflow: hidden;
	position: relative;
	top: -10px;
}

.caseSlider .splide__pagination li button {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	border: none;
	background: var(--sub-color);
}

.caseSlider .splide__pagination li button.is-active {
	background: var(--main-color);
	z-index: 1;
}

/*再生・停止ボタン*/
.splide__toggle {
	cursor: pointer;
	background: none;
	border: none;
	position: relative;
	left: 220px;
	top: -35px;
	width: 40px;
	height: 40px;
	background-color: var(--bg-color);
	border: solid 1px var(--wh-color);
	border-radius: 50vmax;
	padding: 0;
}

.splide__toggle span::before {
	content: '';
	position: absolute;
	width: 9px;
	height: 10px;
	background-image: url('../images/btm-pause.svg');
	background-repeat: no-repeat;
	margin: auto;
	right: 0;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.splide__toggle.is-active span::before {
	background-image: url('../images/btm-play.svg');
	left: 3px;
}

/*矢印*/
.splide__arrow {
	position: relative;
	width: 30px;
	height: 30px;
	background-color: inherit;
	border: none;
}

.splide__arrow.splide__arrow--next {
	right: -130px;
}

.splide__arrow::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 10px;
	height: 10px;
	margin: auto;
	border-top: 2px solid var(--main-color);
	border-right: 2px solid var(--main-color);
	transform: rotate(45deg);
	box-sizing: border-box;
}

.splide__arrow--prev::before {
	right: inherit;
	left: 0;
	transform: rotate(-135deg);
}

/*------------
serviceArea
------------*/
.serviceWrap {
	margin: auto;
	padding: 0;
	width: 90%;
	border-radius: 80px;
}

.ttlWrap {
	margin-bottom: 65px;
	align-items: center;
	column-gap: 1em;
}

/*------------
newsArea
------------*/
.newsWrap .btm {
	position: absolute;
	top: 100px;
	right: 0;
}

.newsWrap h2 {
	margin-bottom: 80px;
}

/*==========================================
 tb［540px-1080px以下］
===========================================*/
@media screen and (max-width: 1080px) {}

/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 540px) {

	/*------------
	mainArea
	------------*/
	.mainWrap {
		margin-top: 70px;
	}

	/*------------
	casestudyArea
	------------*/
	.slideWrap.box {
		padding: 2em 0 2em 2em;
		border-radius: 40px 0 0 40px;
	}

	/*------------
	serviceArea
	------------*/
	.serviceWrap {
		border-radius: 40px;
	}

	#serviceArea .inner {
		padding: 3em 0;
	}

	/*------------
	newsArea
	------------*/
	.newsWrap h2 {
		margin-bottom: 2em;
	}

	.newsWrap .btm {
		position: relative;
		top: 0;
	}

}