@charset "UTF-8";
/* CSS Document */
/* ===============================

INDEX WORKS スライダー

=============================== */
/* =================
コンテナ */
.index-works__slider {
	--index-works-slide-width : min(
			calc(100% - calc(var(--gutter-var-xl) * 2)),
			calc(560rem / 16)
		);
	width: var(--index-works-slide-width);
	max-width: 100%;
	margin-inline: auto;
}
.index-works__slider .splide__track {
	overflow: visible ;
}
.index-works__slider .splide__list {
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.index-works__inner {
	display: block;
}
.index-works__slide:not([class*=-active]) {
	pointer-events: none;
}
.index-works__photo {
	display: block;
	overflow: hidden;
}
.index-works__photo span {
	display: block;
	aspect-ratio: 3 / 2;
}
.index-works__slide img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
}
/* ----------------
タイトル */
.index-works-txt__wrapper {
	padding: 1em;
	display: grid;
	grid-template-areas:
	"arrow	time"
	"arrow	ttl";
	grid-template-rows: auto auto;
	grid-template-columns: auto 1fr;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 0 1em;
}
.index-works__arrow {
	grid-area: arrow;
	padding: 0.5em;
	background-color: var(--color-accent);
	border-radius: 50%;

	display: -webkit-box;

	display: -ms-flexbox;

	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.index-works__arrow svg {
	stroke: var(--color-white);
}
.index-works__time {
	grid-area: time;
	font-family: var(--number);
	font-weight: 500;
	color: var(--color-main-soft);
}
.index-works__headline {
	grid-area: ttl;
	font-size: var(--txt-md);
	font-weight: 700;
}
/* ----------------
アニメーション */
/* スライドの幅 */
.index-works__slide:not([class*=-active]) {
	width: calc(var(--index-works-slide-width) * 0.8) !important;
	max-width: 100%;
}
.index-works__slide[class*=-active] {
	width: var(--index-works-slide-width);
}
/* テキストのアニメーション */
.index-works-txt__wrapper {
	visibility: hidden;
	opacity: 0;
	-webkit-transform: translateX(2em);
	        transform: translateX(2em);
	-webkit-filter: blur(4px) saturate(110%) brightness(70%);
	        filter: blur(4px) saturate(110%) brightness(70%);

	-webkit-transition: opacity .3s var(--easeInOutSine),
	-webkit-transform .4s var(--easeInOutSine),
	-webkit-filter .4s var(--easeInOutSine);

	transition: opacity .3s var(--easeInOutSine),
	-webkit-transform .4s var(--easeInOutSine),
	-webkit-filter .4s var(--easeInOutSine);

	transition: transform .4s var(--easeInOutSine),
	opacity .3s var(--easeInOutSine),
	filter .4s var(--easeInOutSine);

	transition: transform .4s var(--easeInOutSine),
	opacity .3s var(--easeInOutSine),
	filter .4s var(--easeInOutSine),
	-webkit-transform .4s var(--easeInOutSine),
	-webkit-filter .4s var(--easeInOutSine);
	-webkit-transition-delay: 0.5s;
	        transition-delay: 0.5s;
}
.index-works__slide[class*=-active] .index-works-txt__wrapper {
	visibility: visible;
	opacity: 1;
	-webkit-transform: translateX(0);
	        transform: translateX(0);
	-webkit-filter: none;
	        filter: none;
}
/* 画像のフィルター */
.index-works__slide:not([class*=-active]) img {
	-webkit-filter: blur(4px) saturate(110%) brightness(70%);
	        filter: blur(4px) saturate(110%) brightness(70%);

	-webkit-animation-name: index-works-close-filter;

	        animation-name: index-works-close-filter;
	-webkit-animation-timing-function: var(--liner);
	        animation-timing-function: var(--liner);
	-webkit-animation-duration: 1.25s;
	        animation-duration: 1.25s;
	-webkit-animation-fill-mode: both;
	        animation-fill-mode: both;

	pointer-events: none;
}
.index-works__slide[class*=-active] img {
	-webkit-animation-name: index-works-filter;
	        animation-name: index-works-filter;
	-webkit-animation-timing-function: var(--liner);
	        animation-timing-function: var(--liner);
	-webkit-animation-duration: 1.15s;
	        animation-duration: 1.15s;

	pointer-events: all;
}
@-webkit-keyframes index-works-filter {
	0% {
		-webkit-transform: scale(0.8);
		        transform: scale(0.8);
		-webkit-filter: blur(4px) saturate(110%) brightness(70%);
		        filter: blur(4px) saturate(110%) brightness(70%);
	}
	100% {
		-webkit-filter: none;
		        filter: none;
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
}
@keyframes index-works-filter {
	0% {
		-webkit-transform: scale(0.8);
		        transform: scale(0.8);
		-webkit-filter: blur(4px) saturate(110%) brightness(70%);
		        filter: blur(4px) saturate(110%) brightness(70%);
	}
	100% {
		-webkit-filter: none;
		        filter: none;
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
}
@-webkit-keyframes index-works-close-filter {
	0% {
		-webkit-filter: none;
		        filter: none;
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
	100% {
		-webkit-filter: blur(4px) saturate(110%) brightness(70%);
		        filter: blur(4px) saturate(110%) brightness(70%);
		-webkit-transform: scale(0.97);
		        transform: scale(0.97);
	}
}
@keyframes index-works-close-filter {
	0% {
		-webkit-filter: none;
		        filter: none;
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
	100% {
		-webkit-filter: blur(4px) saturate(110%) brightness(70%);
		        filter: blur(4px) saturate(110%) brightness(70%);
		-webkit-transform: scale(0.97);
		        transform: scale(0.97);
	}
}
/* スライドが1つの場合スライダーを無効にしてスタイルを変更する */
.is-destroy .index-works__slide {
	width: 100% !important;
	pointer-events: all !important;
}
.is-destroy .index-works__slide img {
	-webkit-filter: none !important;
	        filter: none !important;
	-webkit-animation: none !important;
	        animation: none !important;
	-webkit-transform: none !important;
	        transform: none !important;
}
.is-destroy .index-works-txt__wrapper {
	visibility: visible !important;
	opacity: 1 !important;
	-webkit-transform: none !important;
	        transform: none !important;
	-webkit-filter: none !important;
	        filter: none !important;
	-webkit-transition: none !important;
	transition: none !important;
}
/* ----------------
hover */
@media (any-hover: hover) {
	.index-works__headline,
	.index-works__time {
		-webkit-transition: color .2s var(--easeInOutSine);
		transition: color .2s var(--easeInOutSine);
	}
	.index-works__inner:hover .index-works__headline,
	.index-works__inner:focus-visible .index-works__headline,
	.index-works__inner:hover .index-works__time,
	.index-works__inner:focus-visible .index-works__time {
		color: var(--color-accent);
	}
	.index-works__photo span {
		-webkit-transition: -webkit-transform .3s var(--linear);
		transition: -webkit-transform .3s var(--linear);
		transition: transform .3s var(--linear);
		transition: transform .3s var(--linear), -webkit-transform .3s var(--linear);
	}
	.index-works__inner:hover .index-works__photo span ,
	.index-works__inner:focus-visible .index-works__photo span {
        -webkit-transform: scale(1.08);
                transform: scale(1.08);
	}
	.index-works__arrow .arrow {
		-webkit-transition: -webkit-transform .2s var(--easeInQuad);
		transition: -webkit-transform .2s var(--easeInQuad);
		transition: transform .2s var(--easeInQuad);
		transition: transform .2s var(--easeInQuad), -webkit-transform .2s var(--easeInQuad);
	}
	.index-works__inner:hover .index-works__arrow .arrow,
	.index-works__inner:focus-visible .index-works__arrow .arrow {
		/* アニメーションはcomponent.cssを参照 */
		-webkit-animation-name: hover-arrow;
		        animation-name: hover-arrow;
		-webkit-animation-timing-function: var(--easeInQuad);
		        animation-timing-function: var(--easeInQuad);
		-webkit-animation-duration: .3s;
		        animation-duration: .3s;
		-webkit-animation-delay: .05s;
		        animation-delay: .05s;
		-webkit-animation-fill-mode: both;
		        animation-fill-mode: both;
	}
}

/* =================
arrow */
.index-works__slider .splide__arrow {
	top: calc(50% - calc(var(--slide-arrow-width) / 2) - var(--txt-reg) - var(--txt-md));
	color: var(--color-main-thin);
}
.index-works__slider .splide__arrow--prev {
	left: calc(0px - var(--gutter-var-lg));
}
.index-works__slider .splide__arrow--next {
	right: calc(0px - var(--gutter-var-lg));
}
/* =================
ページネイション */
.index-works__slider .splide__pagination {
	position: static;
	margin-top: 1em;
}
.index-works__slider .splide__pagination__page:not(.is-active) {
	background-color: var(--color-main-pale);
}