@charset "utf-8";

/* -------------------------------------------------
	.works
------------------------------------------------- */

.works .work {
	overflow: hidden;
}
.works .work.youtube {
	position: relative;
	overflow: hidden;
}
.works .work.youtube .spacer {
	display: block;
	position: relative;
	z-index: 4;
}
.works .work.youtube iframe {
	width: 154%;
	height: 154%;
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	z-index: 2;
}

@media print, screen and (min-width:768px) {
	.works {
		padding-bottom: 100px;
	}
	.works::after {
		content: "";
		height: 0;
		display: block;
		clear: both;
	}
	.works .work {
		float: left;
		cursor: pointer;
		border: solid 0.1vw #fff;
		border-top: none;
		border-bottom-width: 0.15vw;
		transition: opacity 0.2s ease-out;
	}
	.works .work.fr {
		float: right;
	}
	.works .work:hover {
		opacity: 0.7;
	}
	.works .work.tile1 {
		width: 25%;
	}
	.works .work.tile2,
	.works .work.tile4 {
		width: 50%;
	}
}

@media screen and (max-width:767px) {
	.works {
		display: flex;
		flex-wrap: wrap;
	}
	.works .tile1 {
		width: 50%;
		margin-top: 1vw;
		padding: 0 0.5vw;
	}
	.works .tile2,
	.works .tile4 {
		width: 100%;
		margin-top: 1vw;
		padding: 0 0.5vw;
	}
}

/* -------------------------------------------------
	modal
------------------------------------------------- */

#modal-cont {
	width: 100%;
	height: calc(100vh - 120px);
	position: fixed;
	z-index: 80;
	left: 0;
	top: 120px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	opacity: 0;
}

#modal-cont iframe {
	width: 100%;
	height: 71vw;
}

#modal-cont .slick-arrow {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	font-size: 0;
	color: transparent;
	width: 18px;
	height: 18px;
	border: none;
	border-top: solid 1px #000;
	border-left: solid 1px #000;
	position: absolute;
	top: 50%;
	z-index: 10;
	cursor: pointer;
}
#modal-cont .slick-arrow.slick-prev {
	left: 4%;
	transform: translateY(-50%) rotate(-45deg);
}
#modal-cont .slick-arrow.slick-next {
	right: 4%;
	transform: translateY(-50%) rotate(135deg);
}
#modal-cont .col2 {
	margin-top: 60px;
}
#modal-cont .col2 .pics {
	display: flex;
}
#modal-cont .col2 .pics li img {
	width: 140px;
	cursor: pointer;
}
#modal-cont .col2 .texts {
	padding-right: 15px;
}
#modal-cont .col2 .texts .title {
	font-size: 14px;
	line-height: 1.4;
	font-family: 'Inter';
	font-weight: 600;
	letter-spacing: 0.06em;
}
#modal-cont .col2 .texts .info {
	margin-top: 1em;
	font-size: 10px;
	line-height: 1.4;
	font-family: 'Inter';
	font-weight: 400;
	letter-spacing: 0.06em;
}
#modal-cont .col2 .texts .desc {
	margin-top: 0.9em;
	font-size: 12px;
	line-height: 1.22;
	letter-spacing: 0.06em;
}
#modal-cont .col2 .texts .link {
	width: 63px;
	height: 20px;
	padding-top: 0.2em;
	margin-top: 1.2em;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 11px;
	background: #BEBEBE;
	font-weight: bold;
	font-family: 'Inter';
	font-weight: 400;
	letter-spacing: 0.06em;
}
#modal-cont .copyright {
	padding: 70px 0 60px;
	font-size: 14px;
	text-align: center;
	font-family: 'Inter';
	font-weight: 400;
}

@media print, screen and (min-width:768px) {
	#modal-cont .col2 {
		display: flex;
		justify-content: space-between;
		flex-direction: row-reverse;
	}
	#modal-cont .col2 .pics li + li {
		margin-left: 30px;
	}
}

@media screen and (max-width:767px) {
	#modal-cont {
		height: calc(100vh - 21.875vw);
		top: 21.875vw;
	}
	#modal-cont .slick-arrow {
		width: 2.4vw;
		height: 2.4vw;
	}
	#modal-cont .col2 {
		margin-top: calc(60 / 640 * 100vw);
	}
	#modal-cont .col2 .pics {
		width: calc(490 / 640 * 100vw);
		margin: 0 auto;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
	#modal-cont .col2 .pics li {
		margin-right: calc(35 / 640 * 100vw);
	}
	#modal-cont .col2 .pics li:nth-child(3n) {
		margin-right: 0;
	}
	#modal-cont .col2 .pics li:nth-child(3) ~ li {
		margin-top: 4vw;
	}
	#modal-cont .col2 .pics li img {
		width: calc(140 / 640 * 100vw);
	}
	#modal-cont .col2 .texts {
		padding-right: 0;
		margin-top: calc(80 / 640 * 100vw);
	}
	#modal-cont .col2 .texts .title {
		font-size: calc(36 / 640 * 100vw);
	}
	#modal-cont .col2 .texts .info {
		font-size: calc(26 / 640 * 100vw);
	}
	#modal-cont .col2 .texts .desc {
		font-size: calc(23 / 640 * 100vw);
	}
	#modal-cont .col2 .texts .link {
		width: calc(126 / 640 * 100vw);
		height: calc(38 / 640 * 100vw);
		font-size: calc(21 / 640 * 100vw);
	}
	#modal-cont .copyright {
		padding: calc(100 / 640 * 100vw) 0 calc(65 / 640 * 100vw);
		font-size: calc(20 / 640 * 100vw);
	}
}