@charset "UTF-8";


/* ====================================
	共通スタイル
 ==================================== */

.swiper_testmovie {
	width: 100%;
	position: relative;
}

.swiper_testmovie .swiper-slide {
	width: 20%;
	box-sizing: border-box;
}

.swiper_testmovie .swiper-slide button {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
}

.swiper_testmovie .swiper-slide button span {
	display: block;
	position: absolute;
	right: 20px;
	bottom: 20px;
	width: 55px;
	height: 55px;
	background: #000;
	border-radius: 50%;
}

.swiper_testmovie .swiper-slide button span svg {
	display: block;
	position: absolute;
	top: calc(50% - 12px);
	left: calc(50% - 10px);
	fill: #fff;
	width: 24px;
	height: 24px;
}

.swiper_testmovie .swiper-slide button * {
	transition: all .4s;
}

.swiper_testmovie .swiper-slide video {
	width: 100%;
	height: auto;
}

.swiper-button-prev,
.swiper-button-next {
	display: block;
	inline-size: 60px;
	block-size: 60px;
	background-image: url(/souji/assets/index/add_shortmovie/images/cg-arrow.svg);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	transition: all .4s;
}

.swiper-button-next:after,.swiper-button-prev:after {
	display: none;
}

.swiper-button-next {
	right: 10px;
}

.swiper-button-prev {
	left: 10px;
	transform: rotate(180deg);
}



/* モーダル */

body.scrollstop {
	overflow-y: hidden;
}

.hayawakari_popup_wrapper {
	position: fixed;
	left: 0;
	top: 0;
	z-index: -999;
	display: grid;
	place-content: center;
  place-items: center;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	display: none;
}

.hayawakari_popup_wrapper.is-active {
	display: grid;
	z-index: 999;
}

/* モーダル背景のオーバーレイ部分 */
.hayawakari_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.hayawakari_close {
	display: grid;
	place-content: center;
  place-items: center;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #00000090;
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 1000;
}

.hayawakari_close svg {
	fill:#fff;
	width: 30px;
	height: auto;
}

.hayawakari_popup_slide {
	position: relative;
  max-height: 90vh;
	max-width: 90vw;
	width: auto;
	height: auto;
	aspect-ratio: 9 / 16;
	margin-inline: auto;
}

.hayawakari_popup .hayawakari_popup_video {
	width: 100%;
	height: auto;
}

.hayawakari_popup .hayawakari_popup_video video {
  width: 100%;
  height: auto;
}

.hayawakari_popup_video_detail {
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-content: center;
  place-items: center;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: -999;
	display: none;
}

.hayawakari_popup_video.is-ended .hayawakari_popup_video_detail {
  display: block;
	z-index: 999;
}

.hayawakari_popup_video_detail button {
	display: grid;
  place-content: center;
  place-items: center;
  grid-auto-flow: column;
	width: 290px;
	max-width: 100%;
	height: 60px;
	margin-inline: auto;
	background: #fff;
	border-radius: 30px;
	transition: all .4s;
}

.hayawakari_popup_video_detail button svg {
	width: 18px;
	height: 17px;
	fill: #000;
	margin-inline-end: .6em;
	transition: all .4s;
}

.hayawakari_popup_video_detail p {
	display: block;
	margin-block-start: 2em;
	font-size: 1.6rem;
	font-weight: 500;
}

.hayawakari_popup_video_detail p a {
	color: #fff;
	display: grid;
  place-content: center;
  place-items: center;
  grid-auto-flow: column;
	transition: all .4s;
}

.hayawakari_popup_video_detail p a svg {
	width: 8px;
	height: 15px;
	fill: #fff;
	margin-inline-end: .6em;
	transition: all .4s;
}

.modal-button-prev,
.modal-button-next {
	display: block;
	inline-size: 60px;
	block-size: 60px;
	background-image: url(/souji/assets/index/add_shortmovie/images/icon_movie_arrow.svg);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	z-index: 1000;
	transition: all .4s;
}

.modal-button-next:after,.modal-button-prev:after {
	display: none;
}

.modal-button-next {
	right: -30px;
}

.modal-button-prev {
	left: -30px;
	transform: rotate(180deg);
}

@media screen and (1000px <=width) {
	.modal-button-prev,
	.modal-button-next {
		display: block;
		inline-size: 80px;
		block-size: 80px;
	}
		
	.modal-button-next {
		right: -90px;
	}
	
	.modal-button-prev {
		left: -90px;
		transform: rotate(180deg);
	}

}

.modal-button-prev.modal-button-disabled {
	pointer-events: all;
	transform: translate(0, 0) rotate(180deg);
}

.modal-button-next.modal-button-disabled {
	pointer-events: all;
	transform: translate(0, 0);
}

.modal-button-prev.swiper-button-disabled,
.modal-button-next.swiper-button-disabled {
	opacity: 0;
}



/* ====================================
	ホバーが有効な環境のみ
===================================== */
@media (hover:hover) and (pointer: fine) {

	.swiper_testmovie .swiper-slide:hover img {
		scale: 1.1;
	}

	.swiper_testmovie .swiper-slide:hover button span {
		background: #fff;
	}

	.swiper_testmovie .swiper-slide:hover button span svg {
		fill: #000;
	}

	.swiper-button-prev:hover {
		transform: translateX(-10px) rotate(180deg);
	}
	.swiper-button-next:hover {
		transform: translateX(10px);
	}

	.swiper-button-prev.swiper-button-disabled,
	.swiper-button-next.swiper-button-disabled {
		display: none;
	}

	.hayawakari_popup_video_detail button:hover {
		background: #000;
		color: #fff;
	}
	
	.hayawakari_popup_video_detail button:hover svg {
		fill: #fff;
	}

	.hayawakari_popup_video_detail p a:hover svg {
		transform: translateX(3px);
	}

	.modal-button-prev:hover {
		transform: translateX(-10px) rotate(180deg);
	}
	.modal-button-next:hover {
		transform: translateX(10px);
	}

}

/* ====================================
	スマートフォン専用スタイル
===================================== */
@media screen and (width < 768px) {
	
	.swiper_testmovie .swiper-slide button {
		border-radius: 10px;
	}

	.swiper_testmovie .swiper-slide button span {
		right: 10px;
		bottom: 10px;
		width: 40px;
		height: 40px;
	}

	.swiper_testmovie .swiper-slide button span svg {
		top: calc(50% - 10px);
		left: calc(50% - 9px);
		width: 20px;
		height: 20px;
	}

	.swiper-button-prev,
	.swiper-button-next {
		display: none;
	}
	
	.hayawakari_popup_video_detail button {
		width: 230px;
		max-width: 90%;
	}
	
	/* モーダル背景のオーバーレイ部分 */
	.hayawakari_close {
		width: 50px;
		height: 50px;
		top: 10px;
		right: 10px;
	}
	
	.hayawakari_close svg {
		width: 20px;
	}
	
	.modal-button-prev,
	.modal-button-next {
		inline-size: 50px;
		block-size: 50px;
	}
		
	.modal-button-next {
		right: -20px;
	}
	
	.modal-button-prev {
		left: -20px;
		transform: rotate(180deg);
	}
}

/* ====================================
	PC&タブレット、印刷専用スタイル
===================================== */
@media print,
screen and (width >=768px) {

}

/* ====================================
	タブレット専用スタイル（768px～1024px）
===================================== */
@media screen and (768px <=width < 1024px) {}

/* ====================================
	大画面スタイル（1200px～）
===================================== */
@media screen and (1300px <=width) {
}

@media screen and (1400px <=width) {
	.swiper-button-prev,
	.swiper-button-next {
		display: block;
		inline-size: 80px;
		block-size: 80px;
	}
		
	.swiper-button-next {
		right: -90px;
	}
	
	.swiper-button-prev {
		left: -90px;
		transform: rotate(180deg);
	}

}