@charset "UTF-8";

/*==========================================
PC［1080px~］
TOPページのスタイル
===========================================*/
main {
	overflow: hidden;
}

.serviceTop {
	width: 90vw;
	margin: 0 calc(50% - 45vw);
	padding: 0;
	border-radius: clamp(40px, 5vmax, 80px);
}

.serviceTop .inner {
	padding: 80px 0;
}

.serviceTopMainImg {
	margin-bottom: 80px;
	width: min(100%, 1040px);
	height: auto;
	aspect-ratio: 16/9;
	border-radius: 2vmax;
	display: block;
	box-shadow: 0 0 15px rgba(0, 0, 0, .1);
	overflow: hidden;
}

.serviceTopMainImg figure {
	width: 100%;
	height: 100%;
}

.serviceTopMainImg img {
	width: 100%;
	height: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	object-position: center;
}

.box.serviceTop .text-lead {
	margin-bottom: 80px;
	font-size: clamp(1.6rem, 1.209rem + 1.74vw, 2.6rem);
}

.serviceTop .flex.flex-start .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 70px;
	width: 100%;
}

.serviceTop .btm,
.serviceTop .btm.fit-content a {
	margin: 0;
	min-width: auto;
	width: auto;
}

/*----
contentsArea
----*/
#contentsArea {
	margin-bottom: 0;
}

.contentsWrap {
	position: relative;
	padding-bottom: 120px;
}

.contentsWrap :has(.cardDescBox).wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
	display: flex;
}

.contentsBgImg {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	height: 550px;
	position: absolute;
	bottom: 0;
	z-index: -1;
}

.contentsBgImg::before {
	content: '';
	width: 100%;
	height: 70%;
	background: linear-gradient(360deg, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 1) 100%);
	position: absolute;
	top: 0;
}

.contentsBgImg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-position: top;
}

/*----
caseArea
----*/

#caseArea.w100 {
	background-color: var(--bg-color);
}

#caseArea .inner {
	margin-bottom: 0;
	width: 100%;
}


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

#caseArea .box.slideWrap {
	margin: 0;
	padding: 5em;
	background-color: #fff;
	border-radius: 80px 0 0 80px;
}

.casestudyAreaWrap .textWrap {
	width: min(100%, 320px);
	position: relative;
}

.slideWrap.box {
	width: calc(100% - 320px)
}

@container (max-width: 700px) {

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

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

}

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

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

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

.caseSlider .splide__pagination li {
	height: 100%;
	position: relative;
	z-index: 1;
	top: -17px;
}

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

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

/*再生・停止ボタン*/
.splide__toggle {
	cursor: pointer;
	background: none;
	border: none;
	position: relative;
	left: 220px;
	top: -40px;
	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);
}


/*----
blogArea
----*/
.newsWrap {
	position: relative;
}

#blogArea .btm {
	position: absolute;
	top: 0;
	right: 0;
}


/*==========================================
 tb［540px-1080px以下］
===========================================*/
@media screen and (max-width: 1080px) {
	.serviceTop .inner {
		padding: 3em 0;
	}
}

/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 540px) {
	.serviceTop {
		width: 100vw;
		margin: 0 calc(50% - 50vw);
	}

	.box.serviceTop .text-lead {
		margin-inline: auto;
		margin-bottom: 3em;
		width: 98%;
		font-size: 1.8rem;
	}

	.serviceTopMainImg {
		margin-bottom: 2em;
	}

	.serviceTop .flex.flex-start .wp-block-group__inner-container {
		flex-direction: column;
	}

	/*----
	caseArea
	----*/
	#contentArea #caseArea .inner {
		padding-bottom: 0;
	}

	#caseArea .box.slideWrap {
		padding: 2em 0 2em 2em;
		border-radius: 40px 0 0 40px;

	}

	#caseArea .btm {
		position: relative;
		top: 0;
		right: inherit;
	}

	/*----
	blogArea
	----*/
	#blogArea {
		margin-bottom: 0;
	}

	#contentArea .inner {}

	#blogArea .btm {
		position: relative;
		top: 0;
	}

}