.header img,
.nav img,
.footer img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
}
@media screen and (min-width: 768px), print {
	.main::before {
		top: 800px;
	}
}
.p-firstview {
	position: relative;
	z-index: 2;
	margin: 30px 0 0;
}
.p-firstview img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
}
.p-firstview__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.p-firstview__heading span {
	white-space: nowrap;
}
.p-firstview__heading span > * {
	display: inline-block;
	opacity: 0;
	transform: skew(50deg, 30deg) rotate(-40deg) translate(20px, 40px) scale(0.8, 0.8);
	transition: 0.5s 0.15s ease-in;
}
.p-firstview.active .p-firstview__heading span span {
	opacity: 1;
	transform: none;
}
.p-firstview__text {
	margin: 40px 0 0;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.9;
	opacity: 0;
	transition: opacity 0.6s ease-in;
}
.p-firstview.active .p-firstview__text {
	opacity: 1;
}
@media (max-width: 767px) {
	.p-firstview__block {
		flex: 0 0 100%;
		width: 100%;
		padding: 0 20px;
	}
	.p-firstview__heading span {
		font-size: 28px;
		font-weight: 500;
		letter-spacing: 0;
		line-height: 1.4;
	}
	.p-firstview.active .p-firstview__heading,
	.p-firstview.active .p-firstview__text {
		opacity: 1;
		transform: none;
	}
	.p-firstview__image {
		flex: 0 0 100%;
		width: 100%;
	}
	.p-firstview__image picture {
		display: block;
		width: 0;
		overflow: hidden;
		transition: width 1s ease-out;
	}
	.p-firstview__image img {
		width: 100vw;
		max-width: none;
	}
	.p-firstview.active .p-firstview__image picture {
		width: 100%;
	}
}
@media screen and (min-width: 768px), print {
	.p-firstview {
		margin: 40px 0 0;
	}
	.p-firstview__block {
		order: 2;
		flex: 1 1 567px;
		width: 567px;
	}
	.p-firstview__image {
		order: 1;
		position: relative;
		flex: 1 1 712px;
		width: 100vw;
		min-width: 100%;
		height: 345px;
	}
	.p-firstview__image picture {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: 0;
		overflow: hidden;
		transition: width 0.6s ease-in;
	}
	.p-firstview__image img {
		width: max(100%, 100vw);
		max-width: none;
	}
	.p-firstview.active .p-firstview__image picture {
		width: max(1033px, 100%);
	}
	.p-firstview__heading {
		width: 188px;
		margin: -50px auto;
		writing-mode: vertical-rl;
		-webkit-text-orientation: upright;
		text-orientation: upright;
	}
	.p-firstview__heading span {
		position: relative;
		font-size: 60px;
	}
	.p-firstview.active .p-firstview__heading {
		opacity: 1;
		transform: none;
	}
	.p-firstview__text {
		margin: 120px 0 0;
		text-align: center;
		font-size: 20px;
		white-space: nowrap;
	}
}
.fab {
	margin: 100px 0 0;
}
@media screen and (min-width: 768px), print {
	.fab {
		margin: 120px 0 0;
	}
}
